Go MAEDA
9d65eee424
Avoid double-render error with ApplicationController#find_optional_project ( #38063 ).
...
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@22066 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-20 03:31:41 +00:00
Go MAEDA
0b6f4c6811
Ruby 2.7: Fix RuboCop offense Performance/MapCompact ( #38134 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22055 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-17 01:38:27 +00:00
Go MAEDA
2cf2bfdbed
Fix redundant 'private' modifier in repositories_git_controller_test.rb ( #38091 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22040 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-12 03:07:39 +00:00
Go MAEDA
eb8916bc87
Introduce permission to set a project public ( #38048 ).
...
Patch by Felix Schäfer.
git-svn-id: https://svn.redmine.org/redmine/trunk@22038 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-12 02:59:54 +00:00
Go MAEDA
1481c721a2
Use require_relative instead of require File.expand_path(..., __FILE__) ( #38093 ).
...
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@22016 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-01 07:13:39 +00:00
Go MAEDA
92bd67c279
Update copyright year to 2023 ( #38141 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-01 06:19:35 +00:00
Go MAEDA
eb399b83a5
Fix {{thumbnail}} macro in an issue note cannot fetch an image attached in a different note ( #37881 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: https://svn.redmine.org/redmine/trunk@22012 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-12-30 09:00:14 +00:00
Go MAEDA
10af27eac3
Fix RuboCop offense Performance/StringInclude ( #37247 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22003 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-12-26 02:46:53 +00:00
Marius Balteanu
df9ff95f2b
Add tests for #37772 .
...
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@21979 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-12-01 15:27:17 +00:00
Marius Balteanu
e96d8038fc
Revert r21975.
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21977 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-12-01 15:21:37 +00:00
Marius Balteanu
3f5f020a78
Add tests for #37772 .
...
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@21975 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-12-01 15:18:04 +00:00
Marius Balteanu
c0f60e5feb
Fix groups added to watchers are not shown as links ( #37958 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21967 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-11-28 22:59:05 +00:00
Go MAEDA
0f2378c121
Reverts r21958 and r21959 ( #1739 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21960 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-11-18 08:17:50 +00:00
Go MAEDA
b3e4214989
Add the ability to change the author of an issue ( #1739 ).
...
Patch by Vladimir Kovacik, Jiri Stepanek, Aighan Pacobilch, Olivier Houdas, Takenori TAKAKI, and Mizuki ISHIKAWA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21958 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-11-16 09:24:17 +00:00
Go MAEDA
fcf1352c6b
Redirect to container URL in case of error in attachments#download_all ( #37880 ).
...
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@21948 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-11-03 05:17:48 +00:00
Go MAEDA
e1928aaf19
Read-only field permission for the project field is ignored if the current project has subprojects ( #37685 ).
...
Patch by salman mp.
git-svn-id: https://svn.redmine.org/redmine/trunk@21937 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-31 09:04:46 +00:00
Go MAEDA
3e4d4d13bf
Fix RuboCop offense Rails/FreezeTime ( #37248 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21926 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-27 23:42:31 +00:00
Go MAEDA
aeabd4682a
Constraints *_all attachments routes to actually supported values of container_type ( #37772 ).
...
Patch by Jens Krämer.
git-svn-id: https://svn.redmine.org/redmine/trunk@21906 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-20 04:13:21 +00:00
Marius Balteanu
9fc669a888
Make common_mark the default text formatting for new installations ( #34863 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21897 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-04 19:19:15 +00:00
Marius Balteanu
8bab808928
Fix repository browser does not show \"+\" (plus sign) in filename ( #37718 ).
...
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21880 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-02 07:14:37 +00:00
Go MAEDA
5b0e4a8e2d
Add table header in Plugins page ( #37692 ).
...
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21879 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-01 06:54:27 +00:00
Marius Balteanu
20baf029ba
Fix undefined method when auth source name column is added as column ( #37674 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21861 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-27 19:55:09 +00:00
Go MAEDA
42854ad2ae
Fix random test failure ( #33953 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21854 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-27 08:23:53 +00:00
Go MAEDA
62f7551d57
User bulk destroy ( #37674 ).
...
includes a confirmation page that also gives the opportunity to lock
users instead of deleting them.
Patch by Jens Krämer.
git-svn-id: https://svn.redmine.org/redmine/trunk@21824 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-20 03:36:40 +00:00
Go MAEDA
cd70187c2f
Introduces a UserQuery model for admin/users ( #37674 ).
...
Patch by Jens Krämer.
git-svn-id: https://svn.redmine.org/redmine/trunk@21823 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-20 03:16:05 +00:00
Go MAEDA
ab2b130e3c
Ignore statuses if workflow only defines identity transition ( #37636 ).
...
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@21818 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-17 07:58:12 +00:00
Go MAEDA
12c7061416
Rename Repository#supports_all_revisions? to Repository#supports_history? ( #37657 ).
...
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21816 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-15 13:14:05 +00:00
Go MAEDA
6f22f25ac2
Don't show "History" tab for content in Filesystem repository ( #37585 ).
...
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21800 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-07 05:47:23 +00:00
Go MAEDA
6755063664
Support revision without any message in Mercurial repositories ( #36258 ).
...
Patch by salman mp and Yuichi HARADA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21792 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-01 05:16:38 +00:00
Go MAEDA
54f281fef9
Don't create two thumbnails of different resolutions for a single image ( #37597 ).
...
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21784 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-08-28 06:35:42 +00:00
Go MAEDA
f8033a069f
Use query name as the file name when exporting queries ( #16207 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21773 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-08-24 13:21:50 +00:00
Go MAEDA
d38f97ce47
POST Requests to repository WS fail with "Can't verify CSRF token authenticity" ( #37562 ).
...
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21766 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-08-10 01:34:37 +00:00
Go MAEDA
38f7a06405
Add default spent time activity per role ( #29286 ).
...
Patch by Marius BALTEANU and Mizuki ISHIKAWA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21763 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-08-09 02:50:11 +00:00
Go MAEDA
72e2efdc60
Default query should not be applied if the query is not allowed to be set as the default ( #37499 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21748 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-07-31 13:33:27 +00:00
Go MAEDA
d6a8d34dc9
Skip test_show_without_main_repository_should_display_first_repository when Subversion test repository is not configured ( #33953 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21742 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-07-28 02:47:58 +00:00
Go MAEDA
8c1fda0b5d
Repository tab is not displayed if no repository is set as the main repository ( #33953 ).
...
Patch by Yuichi HARADA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21741 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-07-27 15:35:25 +00:00
Go MAEDA
93e24bfccf
Better validation error message when the domain of email is not allowed ( #35450 ).
...
Patch by Yuichi HARADA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21739 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-07-27 14:05:06 +00:00
Go MAEDA
0c037a7b48
CSV export of issues report ( #37362 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21732 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-07-21 04:13:37 +00:00
Go MAEDA
daca8f0754
Add missing fixture issue_categories to MyControllerTest ( #37477 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21728 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-07-21 01:34:53 +00:00
Go MAEDA
84627cb774
Add missing fixture versions to MailHandlerControllerTest ( #37470 ).
...
Patch by Dmitry Makurin.
git-svn-id: https://svn.redmine.org/redmine/trunk@21727 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-07-21 01:20:58 +00:00
Go MAEDA
e6847b294c
Fix test failure ( #37379 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21719 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-07-19 14:33:03 +00:00
Go MAEDA
20ed193d93
Thumbnail macro does not work when a file is attached and preview is displayed immediately ( #37379 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21716 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-07-19 13:57:04 +00:00
Go MAEDA
f52b3f90eb
Mark edited journal notes as "Edited" ( #31505 ).
...
Patch by Marius BALTEANU.
git-svn-id: https://svn.redmine.org/redmine/trunk@21713 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-07-17 04:40:01 +00:00
Go MAEDA
856f104031
Fix RuboCop offense Layout/FirstHashElementIndentation ( #36919 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21696 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-06-30 09:30:03 +00:00
Marius Balteanu
b2bf7c6d8c
Respect field visibility when filtering/sorting by associated issue fields ( #37255 ).
...
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@21646 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-06-16 21:44:46 +00:00
Marius Balteanu
1a3ee38c2e
Respect field visibility when showing associated issue fields ( #37255 ).
...
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@21645 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-06-16 21:43:58 +00:00
Go MAEDA
630b71975f
Wiki notation attachment:file_name cannot make a link to a file attached to other journals ( #35462 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21605 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-26 15:36:46 +00:00
Marius Balteanu
239c198a68
Fix two typos.
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21597 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-17 21:21:41 +00:00
Marius Balteanu
e1d6bfbdcc
Adds projects bulk delete ( #36691 ).
...
Patch by Jens Krämer.
git-svn-id: https://svn.redmine.org/redmine/trunk@21592 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-17 20:50:37 +00:00
Marius Balteanu
883aa3b5cc
Background job for project deletion ( #36691 ).
...
Due to the deletion of dependent objects (issues etc), project deletion may take a long time.
This patch moves the actual project deletion into an ActiveJob job. It also introduces a new project status (SCHEDULED_FOR_DELETION) that is used to effectively hide the project that is about to be deleted (and any potential descendant projects) from the system immediately.
A security notification is sent out to the user that deleted the project, informing about success / failure.
The projects list is extended to be able to filter for the new status, so in case of a failure, the project can still be accessed for examination.
Patch by Jens Krämer.
git-svn-id: https://svn.redmine.org/redmine/trunk@21591 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-17 20:45:41 +00:00