Go MAEDA
7be4200651
Fix broken tests due to r17593 ( #29739 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17594 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-11 16:14:37 +00:00
Jean-Philippe Lang
b4425f6ec1
#last_email already asserts that mail is not nil.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17592 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-10 19:06:21 +00:00
Jean-Philippe Lang
717bef36a3
Journal must be saved.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17589 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-10 18:41:12 +00:00
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
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
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
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
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
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
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
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
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
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
5484198d98
Ensure that only visible watchers on issues can be queried ( #29133 ).
...
Contributed by Holger Just and Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17436 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-07-08 07:23:23 +00:00
Go MAEDA
d1c84dbdf9
Fix: Allow to set no_notification option when receiving emails via IMAP or POP3 ( #29191 ).
...
Patch by Holger Just.
git-svn-id: http://svn.redmine.org/redmine/trunk@17432 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-07-06 00:51:28 +00:00
Go MAEDA
51fdc31e1c
"thumbnail" macro may break filename attribute of the attachment ( #29038 ).
...
Patch by Toru Takahashi.
git-svn-id: http://svn.redmine.org/redmine/trunk@17428 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-07-02 02:36:22 +00:00
Jean-Philippe Lang
d8a2024715
Dangerous query method deprecation warnings ( #23630 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17411 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-06-23 05:19:07 +00:00
Jean-Philippe Lang
ce1c652250
Upgrade to Rails 5.2.0 ( #23630 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17410 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-06-23 05:13:29 +00:00
Jean-Philippe Lang
f748296121
Image filename for HDPI monitors (image@2x.jpg) are misrecognized as email address ( #27968 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17394 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-06-17 06:00:21 +00:00
Go MAEDA
74d775166a
Clear subtask assignee during copy if is locked ( #28946 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17390 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-06-17 01:03:04 +00:00
Jean-Philippe Lang
4137ba8e81
Removes repository routes without repository_id ( #26522 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17386 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-06-16 14:27:51 +00:00
Jean-Philippe Lang
794a2a0180
Enable and add underline button to the toolbar for Markdown formatting ( #28169 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17385 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-06-16 10:56:52 +00:00
Jean-Philippe Lang
baab521b8b
Fixed that "test_editable_by_for_global_query" and "test_editable_by_for_global_query_with_project_set" are identical ( #28264 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17384 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-06-16 10:53:48 +00:00
Jean-Philippe Lang
c2bdc81124
Log automatic rescheduling of following issues to journal ( #28649 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17373 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-06-10 05:57:12 +00:00
Go MAEDA
b4d3715dc0
Include locked members in filters ( #15201 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17371 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-06-09 08:07:08 +00:00
Go MAEDA
85db9769bc
Clear target version when copying an issue if status is locked or closed ( #27863 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17368 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-06-07 00:33:29 +00:00
Go MAEDA
2943153eca
Fix: Copying an issue fails if the issue is watched by a locked user ( #28765 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17342 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-05-19 00:44:10 +00:00
Go MAEDA
45478883a4
Copy project attachments ( #26622 ).
...
Patch by Holger Just.
git-svn-id: http://svn.redmine.org/redmine/trunk@17333 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-05-13 08:49:18 +00:00
Go MAEDA
c2c2a9c9f7
Copy version attachments (i.e. Files) along with the versions on project copy ( #26622 ).
...
Patch by Holger Just.
git-svn-id: http://svn.redmine.org/redmine/trunk@17332 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-05-13 08:48:10 +00:00
Go MAEDA
b68e141d66
Add test for r17329 ( #28494 ).
...
Patch by Tomomi Yuzuriha.
git-svn-id: http://svn.redmine.org/redmine/trunk@17330 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-05-12 03:33:05 +00:00
Go MAEDA
ca2875fab2
Allow switching the encoding to UTF-8 when exporting to CSV ( #26279 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17328 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-05-07 01:13:12 +00:00
Go MAEDA
00b85dc8d9
Fix: Syntax highlighter does not work if language name is single-quoted ( #28469 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17322 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-05-02 02:27:10 +00:00
Go MAEDA
8662c7ef8b
Filter for version name should be case-insensitive ( #27122 ).
...
Patch by Holger Just and Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17316 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-04-28 23:31:49 +00:00
Go MAEDA
07f0c2791e
Copy wiki attachments on project copy ( #10282 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17315 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-04-28 04:44:32 +00:00
Go MAEDA
ea562ffa43
Allow to copy documents along with projects ( #26621 ).
...
Patch by Holger Just.
git-svn-id: http://svn.redmine.org/redmine/trunk@17314 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-04-28 03:45:23 +00:00
Go MAEDA
b178150761
Show renames in diff preview ( #28295 ).
...
Patch by Gregor Schmidt.
git-svn-id: http://svn.redmine.org/redmine/trunk@17313 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-04-27 09:14:36 +00:00
Go MAEDA
a9bf2b763c
Allow setting "Parent issue" attribute in emails ( #27070 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17304 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-04-24 02:40:21 +00:00
Go MAEDA
8b0bfbbc8b
Gantt bars with start date and end date on the same day don't become red by overdue ( #13521 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17294 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-04-09 13:00:41 +00:00
Jean-Philippe Lang
af2730de5e
Global and public custom queries are shown as editable to non administrators in projects ( #28264 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17292 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-04-08 13:23:30 +00:00
Jean-Philippe Lang
0e362e84ab
Security notification on password recovery is empty ( #28302 ).
...
Patch by Felix Schäfer.
git-svn-id: http://svn.redmine.org/redmine/trunk@17269 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-04-07 07:49:43 +00:00
Jean-Philippe Lang
040f31d867
Markdown pre-block could derive incorrect wiki sections ( #25299 ).
...
Patch by Kiichi Ozaki.
git-svn-id: http://svn.redmine.org/redmine/trunk@17266 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-04-07 07:34:43 +00:00
Go MAEDA
b4a703ce4e
Support for lastnames with spaces in user autocompleters ( #28154 ).
...
Patch by Gregor Schmidt.
git-svn-id: http://svn.redmine.org/redmine/trunk@17259 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-04-07 06:39:57 +00:00
Go MAEDA
e5a8bcfd72
Ignore archived project memberships when calculating issue query visibility ( #28180 ).
...
Patch by Holger Just.
git-svn-id: http://svn.redmine.org/redmine/trunk@17257 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-04-07 00:26:54 +00:00