Commit Graph

2547 Commits

Author SHA1 Message Date
Jean-Philippe Lang
e9322b9057 Merged r18743 to 4.0-stable (#31779).
git-svn-id: http://svn.redmine.org/redmine/branches/4.0-stable@18744 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-19 08:37:16 +00:00
Go MAEDA
d7e0394eb5 Merged r18356 from trunk to 4.0-stable (#31778).
git-svn-id: http://svn.redmine.org/redmine/branches/4.0-stable@18359 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-09 09:37:07 +00:00
Go MAEDA
bd8d4feed0 Backport the fix r18239 to 4.0-stable (#31503).
git-svn-id: http://svn.redmine.org/redmine/branches/4.0-stable@18240 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-10 02:07:46 +00:00
Go MAEDA
5b5298bac0 Merged r18122 from trunk to 4.0-stable (#29259).
git-svn-id: http://svn.redmine.org/redmine/branches/4.0-stable@18123 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-04 10:26:31 +00:00
Go MAEDA
002d065fe8 Merged r18103 from trunk to 4.0-stable (#31276).
git-svn-id: http://svn.redmine.org/redmine/branches/4.0-stable@18104 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-30 03:29:50 +00:00
Go MAEDA
5f884487dc Merged r18066 from trunk to 4.0-stable (#30457).
git-svn-id: http://svn.redmine.org/redmine/branches/4.0-stable@18067 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-20 04:17:24 +00:00
Go MAEDA
1d6258250c Merged r18008 from trunk to 4.0-stable (#31087).
git-svn-id: http://svn.redmine.org/redmine/branches/4.0-stable@18009 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-26 14:39:58 +00:00
Go MAEDA
9dcfff5b36 Merged r17933 from trunk to 4.0-stable (#30367).
git-svn-id: http://svn.redmine.org/redmine/branches/4.0-stable@17940 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-13 15:24:33 +00:00
Go MAEDA
c2389242a9 Merged r17918 from trunk to 4.0-stable (#30955).
git-svn-id: http://svn.redmine.org/redmine/branches/4.0-stable@17919 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-03 22:33:24 +00:00
Go MAEDA
514e8b9112 Merged r17878 and r17879 from trunk to 4.0-stable (#30785).
git-svn-id: http://svn.redmine.org/redmine/branches/4.0-stable@17880 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-02-18 13:51:26 +00:00
Go MAEDA
10ad1e6006 Merged r17869 from trunk to 4.0-stable (#30718).
git-svn-id: http://svn.redmine.org/redmine/branches/4.0-stable@17872 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-02-16 00:35:24 +00:00
Go MAEDA
d99cbe498f Merged r17862 from trunk to 4.0-stable (#30785).
git-svn-id: http://svn.redmine.org/redmine/branches/4.0-stable@17863 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-02-13 00:09:18 +00:00
Jean-Philippe Lang
c12c77e63f Merged r17754 to 4.0-stable (#30115).
git-svn-id: http://svn.redmine.org/redmine/branches/4.0-stable@17819 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-01-19 11:04:09 +00:00
Jean-Philippe Lang
f460f64236 Merged r17817 to 4.0-stable (#30455).
git-svn-id: http://svn.redmine.org/redmine/branches/4.0-stable@17818 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-01-19 11:00:31 +00:00
Go MAEDA
9f19b7a148 Merged r17786 and r17787 from trunk to 4.0-stable (#30412).
git-svn-id: http://svn.redmine.org/redmine/branches/4.0-stable@17788 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-01-12 01:31:15 +00:00
Jean-Philippe Lang
12d1372ae5 Let admin users unarchive subprojects of archived projects (#29993).
git-svn-id: http://svn.redmine.org/redmine/trunk@17681 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-02 11:13:28 +00:00
Jean-Philippe Lang
4f8b039ef6 CSV importer ignores shared version names of other projects (#30001).
Patch by Yuuki NARA and Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@17658 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-29 16:06:30 +00:00
Go MAEDA
f743d2356f Fix: Attachments are added even if validation fails when updating an issue via email (#28576).
Patch by Takenori TAKAKI.


git-svn-id: http://svn.redmine.org/redmine/trunk@17630 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-23 06:07:32 +00:00
Go MAEDA
54cfb7b75e Sort issues by due date in email reminders (#29771).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17624 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-06 03:13:46 +00:00
Go MAEDA
9ebd94c72e Remove trailing whitespaces from app/models/mailer.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@17622 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-06 02:44:04 +00:00
Go MAEDA
a0479c768e Filter time entries after project status (#20081).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17608 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-29 04:05:18 +00:00
Go MAEDA
21034c5628 Filter issues after project status (#20081).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17607 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-29 04:03:52 +00:00
Jean-Philippe Lang
e589937aa7 Removes method_missing override (#26791).
git-svn-id: http://svn.redmine.org/redmine/trunk@17591 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-10 19:04:25 +00:00
Jean-Philippe Lang
21e11bd9cd Replaces remaining #deliver with #deliver_later (#26791).
git-svn-id: http://svn.redmine.org/redmine/trunk@17590 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-10 18:45:34 +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
Go MAEDA
e159928e6b Use find_by instead of where.first to remove unnecessary sorting (#26747).
Patch by  Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17586 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-06 16:03:26 +00:00
Jean-Philippe Lang
323ef3182b Ensure that ActiveRecord::Base objects are fully serialized for mail sending (#26791).
Patch by Holger Just.

git-svn-id: http://svn.redmine.org/redmine/trunk@17585 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-06 13:10:22 +00:00
Jean-Philippe Lang
5416ed1022 Cleanup: Remove Issue#each_notification and Journal#each_notification (#26791).
Patch by Holger Just.

git-svn-id: http://svn.redmine.org/redmine/trunk@17584 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-06 13:09:38 +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
Go MAEDA
824f98e353 Remove unused variable 'filter_options' from Query#add_filter (#29710).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17560 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-02 03:43:39 +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
e978d480cd Remove unused and broken method CustomField.visibility_condition (#29160).
Patch by Holger Just.

git-svn-id: http://svn.redmine.org/redmine/trunk@17507 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-23 13:34:24 +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
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
b7f15fbadc Replace String#gsub with faster String#tr (#29363).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17469 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-08-12 23:40:44 +00:00
Go MAEDA
eee1c36b4b Replace Enumerable#sort with faster Enumerable#sort_by (#29299).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17462 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-08-02 21:54:21 +00:00
Go MAEDA
ed14823d13 Replace Hash#keys.each with faster Hash#each_key (#29305).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17458 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-08-01 14:28:39 +00:00
Go MAEDA
7015e137fe Use pluck(:id) instead of collect(&:id) in app/models/issue.rb (#26711).
git-svn-id: http://svn.redmine.org/redmine/trunk@17455 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-07-29 05:45:40 +00:00
Go MAEDA
1c5600f820 Use pluck(:id) instead of collect(&:id) (#26711).
Patch by jwjw yy.


git-svn-id: http://svn.redmine.org/redmine/trunk@17454 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-07-28 15:24:24 +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
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
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
Go MAEDA
06d3e897c4 Allow to filter by all versions on the global issue list (#26091).
Patch by Holger Just.


git-svn-id: http://svn.redmine.org/redmine/trunk@17421 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-06-28 00:49:30 +00:00