1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-21 07:51:12 +00:00

5328 Commits

Author SHA1 Message Date
Jean-Philippe Lang
0c78056a69 Send emails asynchronously (#26791).
Custom async_* delivery methods are removed in favor of ActiveJob (Async by default).

git-svn-id: http://svn.redmine.org/redmine/trunk@17588 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-10 17:13:09 +00:00
Jean-Philippe Lang
5533eeff23 Fixed that test_email raises an error with #deliver_later (#26791).
git-svn-id: http://svn.redmine.org/redmine/trunk@17587 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-06 16:07:45 +00:00
Jean-Philippe Lang
015ca36634 Send individual emails for each mail recipient (#26791).
We are creating multipe mails per class notification event, one per
recipient, wrapped in a Mailer::MultiMessage object to send them all at
once.

We keep the existing interface of all class methods intended to be used
by external code the same as they were before, with one exception:

We provide additional recipient addresses in options[:recipients] for
Mailer.security_notification. Since the first-class recipients have to
be users to render individual mails for them, additional recipient
addresses have to be provided with some other channel.

By providing additional recipients in options[:recipients], we can solve
the use-case for address change notifications for users, which probably
is the only real use-case for having to use a plain email address
instead of a User as a notification recipient.

Patch by Holger Just and Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@17583 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-06 13:08:52 +00:00
Go MAEDA
ece41123a1 Remove trailing whitespaces from test/functional/documents_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@17573 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-05 05:27:42 +00:00
Go MAEDA
0438d68db8 Remove trailing whitespaces from test/fixtures/documents.yml
git-svn-id: http://svn.redmine.org/redmine/trunk@17572 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-05 05:26:30 +00:00
Go MAEDA
86a13c5536 Remove trailing whitespaces from test/fixtures/attachments.yml
git-svn-id: http://svn.redmine.org/redmine/trunk@17571 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-05 05:25:33 +00:00
Go MAEDA
7d615fd516 Repository entry pagination (#29395).
Patch by Jens Krämer.


git-svn-id: http://svn.redmine.org/redmine/trunk@17568 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-04 13:24:06 +00:00
Go MAEDA
dcc7ecb34a Attachments prev/next navigation (#29395).
Patch by Jens Krämer.


git-svn-id: http://svn.redmine.org/redmine/trunk@17567 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-04 13:20:11 +00:00
Go MAEDA
28c231473f Custom queries are broken by updating with nil parameter values (#29701).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17566 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-04 12:46:32 +00:00
Go MAEDA
3952c4d264 Extend Issue Summary to include subprojects (#2529).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17563 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-03 07:16:47 +00:00
Go MAEDA
43d9adeb2a Wrong use of refute_includes in tests (#29708).
Patch by Felix Schäfer.


git-svn-id: http://svn.redmine.org/redmine/trunk@17559 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-02 02:12:39 +00:00
Jean-Philippe Lang
9123ae9cb7 SQLite3::ConstraintException
git-svn-id: http://svn.redmine.org/redmine/trunk@17534 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-29 09:19:39 +00:00
Jean-Philippe Lang
eb1e6d8c26 Syntax highlighter: replace CodeRay with Rouge (#24681).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@17532 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-29 06:57:40 +00:00
Jean-Philippe Lang
b9fa262165 Adds preview option to the wiki toolbar (#27758).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@17521 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-26 07:27:30 +00:00
Go MAEDA
c76c0900bb Use the id field as project_key in ProjectCustomField#visibility_by_project_condition by default (#29161).
Patch by Holger Just.


git-svn-id: http://svn.redmine.org/redmine/trunk@17517 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-24 05:31:13 +00:00
Jean-Philippe Lang
5282a45b9b Link to user in wiki syntax only works when login is written in lower case (#26892).
Patch by Marius BALTEANU and Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@17516 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-23 14:55:35 +00:00
Jean-Philippe Lang
daa7d2ba18 Support migration context for plugins (#28934).
git-svn-id: http://svn.redmine.org/redmine/trunk@17514 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-23 14:22:29 +00:00
Jean-Philippe Lang
8eb8cdc06d Remove link to current version, already present in the page breadcrumb (#26575).
git-svn-id: http://svn.redmine.org/redmine/trunk@17510 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-23 13:58:45 +00:00
Jean-Philippe Lang
a9eaf563a5 Support self-signed LDAPS connections (#29606).
Patch by Gregor Schmidt.

git-svn-id: http://svn.redmine.org/redmine/trunk@17505 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-23 13:28:36 +00:00
Jean-Philippe Lang
aac543dfba Column Project is no longer added by default to the list of default columns for time entries (#26537).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@17503 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-23 11:59:52 +00:00
Jean-Philippe Lang
5fbe5d74bc Test failures with sqlite3.
git-svn-id: http://svn.redmine.org/redmine/trunk@17502 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-23 11:57:38 +00:00
Jean-Philippe Lang
e856c9f879 Fixed that issue details page shows default values for custom fields that aren't actually set (#25726).
git-svn-id: http://svn.redmine.org/redmine/trunk@17499 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-23 08:25:25 +00:00
Go MAEDA
55ee0b8f7f Add assignable, issues_visibility, time_entries_visibility and users_visibility to Roles API response (#28191).
Patch by Alex Stanev.


git-svn-id: http://svn.redmine.org/redmine/trunk@17498 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-23 00:17:11 +00:00
Go MAEDA
0d29d3208d Expose the Admin flag on the users api to admin users (#29459).
Patch by Holger Just.


git-svn-id: http://svn.redmine.org/redmine/trunk@17496 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-20 14:54:38 +00:00
Go MAEDA
1d596677f2 Redmine::SortCriteria#normalize! does not limit properly the maximum number of elements (#29632).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17494 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-20 02:08:15 +00:00
Go MAEDA
4a5a68f19c Add assignee's icon to tooltips in gantt and calendar (#29306).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17493 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-18 23:44:42 +00:00
Jean-Philippe Lang
da64eb5aca Reverts r17354 (#28829).
git-svn-id: http://svn.redmine.org/redmine/trunk@17491 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-15 09:48:54 +00:00
Jean-Philippe Lang
e501cb3481 Special character like quote breaks wiki links (#22967).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@17490 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-15 09:11:13 +00:00
Jean-Philippe Lang
04c8246b23 Create fixture correctly.
git-svn-id: http://svn.redmine.org/redmine/trunk@17488 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-15 09:07:25 +00:00
Jean-Philippe Lang
04e94bd3dd Disable workflow checkboxes with no status change (#5593).
Patch by Mizuki ISHIKAWA.

git-svn-id: http://svn.redmine.org/redmine/trunk@17487 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-15 07:09:14 +00:00
Jean-Philippe Lang
9d00ca96a1 Custom field values for enumerations not saved (#28925).
Patch by Mizuki ISHIKAWA.

git-svn-id: http://svn.redmine.org/redmine/trunk@17484 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-15 06:45:10 +00:00
Go MAEDA
156b8e2ee6 Allow project bulk edit of time entries (#26534).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17482 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-14 03:40:37 +00:00
Go MAEDA
60ee5e109e Adds ##123 extended issue linking syntax (#29488).
Patch by Jens Krämer.


git-svn-id: http://svn.redmine.org/redmine/trunk@17478 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-08 06:43:13 +00:00
Go MAEDA
2cffbf1d45 Fix typo in test name: s/highligth/highlight/ (#29440).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17477 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-08-26 11:37:13 +00:00
Go MAEDA
bd08684e1d Test that Redmine::MimeType.css_class_of, main_mimetype_of and is_type? are case-insensitive (#29359).
git-svn-id: http://svn.redmine.org/redmine/trunk@17472 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-08-15 13:20:45 +00:00
Go MAEDA
371d84556f Test that Redmine::MimeType.of is case-insensitive (#29359).
git-svn-id: http://svn.redmine.org/redmine/trunk@17471 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-08-15 01:23:56 +00:00
Go MAEDA
d510c4e50e Mark default version in versions tab from project settings (#27799).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17467 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-08-09 11:49:53 +00:00
Go MAEDA
f42c4be21e Fix a test failure in test/functional/my_controller_test.rb that depends on time and zone (#2471).
git-svn-id: http://svn.redmine.org/redmine/trunk@17465 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-08-09 00:27:21 +00:00
Go MAEDA
83939be2b5 Export users list to CSV (#5957).
Contriubted by Mizuki ISHIKAWA and Yuki Kita.


git-svn-id: http://svn.redmine.org/redmine/trunk@17463 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-08-05 12:30:40 +00:00
Go MAEDA
c76a021e92 Time entry creation: preserve 'spent on' value when using 'Create and Continue' (#29308).
Patch by Jens Krämer.


git-svn-id: http://svn.redmine.org/redmine/trunk@17459 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-08-02 06:00:10 +00:00
Go MAEDA
cd6ab18209 Add a missing fixture (#2471).
git-svn-id: http://svn.redmine.org/redmine/trunk@17456 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-07-29 07:27:23 +00:00
Go MAEDA
399a66a9a9 Bulk delete wiki attachments (#16410).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17453 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-07-25 14:35:18 +00:00
Go MAEDA
81fcc06d55 Add CSS class to identify public projects (#28413).
Patch by Sho HASHIMOTO.


git-svn-id: http://svn.redmine.org/redmine/trunk@17452 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-07-22 05:02:12 +00:00
Go MAEDA
26f4b5181f Fix: Textile phrase modifiers break wiki macros (#29247).
Patch by Stephan Wenzel.


git-svn-id: http://svn.redmine.org/redmine/trunk@17450 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-07-21 00:16:27 +00:00
Go MAEDA
8b0d9cce92 Add a missing fixture for IssuesTest#test_create_issue_with_new_target_version (#29215).
Patch by Ed Tan.


git-svn-id: http://svn.redmine.org/redmine/trunk@17449 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-07-16 08:01:44 +00:00
Go MAEDA
391bc8b763 Only allow the use of visible custom fields in time entry reports (#29162).
Patch by Holger Just.


git-svn-id: http://svn.redmine.org/redmine/trunk@17446 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-07-12 21:58:22 +00:00
Go MAEDA
87a671ce75 Add my activities to my page (#2471).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17443 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-07-11 14:51:07 +00:00
Go MAEDA
3a894f3a91 Test for r17441 (#29189).
Contributed by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17442 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-07-10 07:05:51 +00:00
Go MAEDA
12b37ae754 Remove filename from attachment preview links (#27822).
Patch by Felix Schäfer and Gregor Schmidt.


git-svn-id: http://svn.redmine.org/redmine/trunk@17440 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-07-09 14:29:38 +00:00
Go MAEDA
5a2f924b76 Extend watched_by_me-issue filter to include all project-members instead of only <<me>>-substitution (#8160).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17439 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-07-09 06:07:26 +00:00