Go MAEDA
c9cf695ad7
Wrong columns after CSV export ( #26785 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17686 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-04 09:23:18 +00:00
Go MAEDA
21d5bb33a2
Use sorted instead of sort ( #29406 ).
...
Patch by Pavel Rosický.
git-svn-id: http://svn.redmine.org/redmine/trunk@17685 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-02 22:31:44 +00:00
Go MAEDA
7de281e904
Fix for r17683: s/button_search/label_search/ ( #26620 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17684 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-02 15:31:48 +00:00
Go MAEDA
75432d4cd4
Change the text of the submit button on search page from button_submit to label_search ( #26620 ).
...
Patch by Dmitry Lisichkin.
git-svn-id: http://svn.redmine.org/redmine/trunk@17683 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-02 14:15:12 +00:00
Jean-Philippe Lang
3ba51f205d
Let admins unarchive the project when trying to access an archived project ( #29993 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17682 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-02 11:23:10 +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
8dd6874a6a
Moves some action links on the wiki page to a dropdown menu ( #26575 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17678 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-02 07:34:36 +00:00
Go MAEDA
05289f6002
Replace cancel button with cancel link in modals ( #28662 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17677 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-02 06:24:21 +00:00
Go MAEDA
f0050f04b1
Adds view_projects_copy_only_items hook ( #28895 ).
...
Patch by Jens Krämer.
git-svn-id: http://svn.redmine.org/redmine/trunk@17670 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-01 10:03:34 +00:00
Jean-Philippe Lang
370f8660fb
Restore History link at the top of a wiki page ( #26575 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17660 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-29 16:36:36 +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
Jean-Philippe Lang
c30a8a44aa
Related issues section ignores the date format setting ( #29918 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17656 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-29 15:51:16 +00:00
Go MAEDA
6a12b5839b
Add wiki class also for half width custom fields with text formatting enabled ( #30027 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17634 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-26 00:23:08 +00:00
Go MAEDA
ef6d0dd355
Remove trailing whitespaces from app/helpers/issues_helper.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17633 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-26 00:21:28 +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
45ea5bc0d9
Add missing closing tag in app/views/roles/_form.html.erb ( #29912 ).
...
Patch by Vincent Robert.
git-svn-id: http://svn.redmine.org/redmine/trunk@17621 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-05 13:40:15 +00:00
Go MAEDA
ce7931a956
Previous/Next link on repository page disappears when switching to "View differences" tab ( #26576 , #29730 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17620 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-05 02:40:04 +00:00
Go MAEDA
2f1c9f5411
Move attachments to their own section in issue page ( #29033 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17619 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-04 07:26:29 +00:00
Go MAEDA
dced476200
Hide "Files" section in wiki pages when printing ( #29791 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17614 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-31 07:16:52 +00:00
Go MAEDA
89f026e638
Remove trailing whitespaces from app/views/wiki/show.html.erb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17613 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-31 07:15:19 +00:00
Go MAEDA
5f96648717
Use Project::STATUS_ACTIVE constant instead of harcoded 1 ( #29449 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17612 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-29 07:01:51 +00:00
Go MAEDA
bae9ffd327
Filter out issues from closed projects in the following widgets ( #29449 ):
...
* Issues assigned to me
* Reported issues
* Watched issues
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17611 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-29 06:14:56 +00:00
Go MAEDA
f62b46def8
Revert unwanted changes in r17607 ( #20081 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17609 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-29 05:00: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
Go MAEDA
a99c7104c1
Reverted r17605 that breaks some tests ( #26576 , #29730 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17606 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-29 00:18:48 +00:00
Go MAEDA
758b6f5a59
Previous/Next link on repository page disappears when switching to "View differences" tab ( #26576 , #29730 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17605 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-28 11:59:29 +00:00
Go MAEDA
57a4fedd34
Handles the case when an expired token is in the users session ( #29781 ).
...
Patch by Jens Krämer.
git-svn-id: http://svn.redmine.org/redmine/trunk@17601 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-28 05:59:11 +00:00
Go MAEDA
9a53b68b73
Fix that MyHelper::render_activity_block is not timezone aware ( #2471 , #29816 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17600 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-20 23:43:25 +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
00311c574e
Let pagination always be visible ( #29395 ).
...
Patch by Felix Gliesche.
git-svn-id: http://svn.redmine.org/redmine/trunk@17570 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-04 13:31:14 +00:00
Go MAEDA
7516823617
Adds file preview prev/next navigation with arrow keys ( #29395 ).
...
Patch by Jens Krämer.
git-svn-id: http://svn.redmine.org/redmine/trunk@17569 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-04 13:27:09 +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
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
Jean-Philippe Lang
3a35613fe3
Adds style to the empty preview message ( #27758 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17541 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-30 09:45:48 +00:00
Jean-Philippe Lang
d3f044c734
Add a checkbox to create the wiki page with or without parent ( #26043 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17538 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-30 09:20:35 +00:00
Jean-Philippe Lang
56138544e1
Removed unused helper #preview_link ( #27758 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17527 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-26 11:00:09 +00:00
Jean-Philippe Lang
dc4bb0fb06
Removes render_ prefix from cancel_button_tag methods ( #8888 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17523 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-26 07:49:48 +00:00