Go MAEDA
3a549bb860
Preload default_status when listing trackers ( #38474 ).
...
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@22208 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-22 01:12:28 +00:00
Go MAEDA
1099623634
Support "my bookmarks" in the search ( #38459 ).
...
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@22204 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-18 14:45:47 +00:00
Go MAEDA
2d7d01e633
Export a version as changelog text ( #36679 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: https://svn.redmine.org/redmine/trunk@22179 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-13 04:20:25 +00:00
Go MAEDA
32d2b1c42f
Fix RuboCop offense Style/InverseMethods: Use present? instead of inverting blank? ( #37248 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22152 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-03-25 01:32:23 +00:00
Go MAEDA
555acea780
Check if the user has the permission to add notes or edit an issue when adding an issue attachments ( #38297 ).
...
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@22122 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-03-02 04:32:34 +00:00
Go MAEDA
4dc56cd943
Exporting UserQuery does not use the query name as file name ( #37674 , #38182 ).
...
Patch by Takenori TAKAKI.
git-svn-id: https://svn.redmine.org/redmine/trunk@22121 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-03-01 08:47:28 +00:00
Go MAEDA
c94296720d
Remove "Unknown user" notification on password request with non-existent email address ( #6254 ).
...
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@22100 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-02-07 03:53:27 +00:00
Go MAEDA
2496d4396b
Fix missing project_id in redirect after clicking "Create and add another" button ( #35066 ).
...
Patch by Jérôme BATAILLE.
git-svn-id: https://svn.redmine.org/redmine/trunk@22096 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-02-05 23:30:46 +00:00
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
83b68e1a1c
Ruby 2.7: Fix RuboCop offense Performance/BindCall ( #38134 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22056 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-17 01:40:01 +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
3942177f49
Fix RuboCop offense Performance/BlockGivenWithExplicitBlock ( #38146 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22027 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-11 13:20:52 +00:00
Go MAEDA
1c937f1e23
Use Group.visible instead of manual visibility check in GroupsController ( #38144 ).
...
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@22023 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-04 01:05:20 +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
cec30f9a05
Fix RuboCop offense Performance/StringInclude in app/controllers/imports_controller.rb ( #37247 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21999 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-12-25 07:55:14 +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
0f8c36869e
Disallow all in /robots.txt if login is required ( #37807 ).
...
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@21940 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-11-01 03:28:08 +00:00
Go MAEDA
afbec488c4
Always allow access to /robots.txt for Anonymous ( #37807 ).
...
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@21939 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-11-01 03:26:15 +00:00
Go MAEDA
dcdf27b895
Render all visible projects in robots.txt (including closed projects) ( #37807 ).
...
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@21938 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-11-01 03:24:17 +00:00
Go MAEDA
8bc9d2abdf
Simplify AttachmentsController#find_container ( #37772 ).
...
Patch by Jens Krämer.
git-svn-id: https://svn.redmine.org/redmine/trunk@21907 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-20 04:14:26 +00:00
Marius Balteanu
5b78b045b1
Fix rubocop warning ( #37626 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21886 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-02 12:47:33 +00:00
Marius Balteanu
e9adf8088d
Add to do to fix the deprecation warning ( #37626 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21884 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-02 09:59:11 +00:00
Marius Balteanu
dc54c7a721
Fix show diff of a javascript file in repository module is displayed without layout ( #37626 ).
...
Patch by Trang Tran Thi Quynh.
git-svn-id: https://svn.redmine.org/redmine/trunk@21883 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-02 08:53:09 +00:00
Go MAEDA
eb9bd3e836
Confirm user update / deletion ( #37674 ).
...
Patch by Jens Krämer.
git-svn-id: https://svn.redmine.org/redmine/trunk@21825 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-20 03:37:26 +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
59841e5b68
Remove extra call of Attachment#thumbnailable? in AttachmentsController#thumbnail ( #37599 ).
...
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21790 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-08-30 08:02:03 +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
6ee209843e
Don't load changesets when IssuesController#show processes API requests without "include=changesets" ( #37528 ).
...
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21746 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-07-31 13:00:25 +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
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
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
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
Marius Balteanu
1d02d8ec0b
Don't verify CSRF authenticity token in mail handler ( #37030 ).
...
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21568 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-11 20:09:16 +00:00
Marius Balteanu
c431606e3e
Adds context menu to admin projects list ( #33422 ).
...
Patch by Jens Krämer.
git-svn-id: https://svn.redmine.org/redmine/trunk@21520 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-04-01 15:09:28 +00:00
Marius Balteanu
83ed32e8d7
Reuse ProjectQuery filters on the admin project list ( #33422 ).
...
Patch by Takenori TAKAKI.
git-svn-id: https://svn.redmine.org/redmine/trunk@21519 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-04-01 15:08:52 +00:00
Go MAEDA
32abb15847
Add support for PUT API to journals ( #10171 ).
...
Patch by Mizuki ISHIKAWA .
git-svn-id: https://svn.redmine.org/redmine/trunk@21496 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-23 14:26:47 +00:00
Marius Balteanu
1d32a44afa
Only check for @set_filter@ param when retriving the default query ( #7360 , 35795, #36389 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21481 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-20 21:49:57 +00:00
Marius Balteanu
f286a6044b
Deprecate and rename rss_* methods to atom_* methods ( #15118 ).
...
Patch by Mischa The Evil and Marius BĂLTEANU
git-svn-id: http://svn.redmine.org/redmine/trunk@21467 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-19 09:56:46 +00:00
Marius Balteanu
ce622c428e
Avoid passing ActionController::Parameters outside of MailHandlerController ( #36394 ).
...
Patch by Felix Schäfer.
git-svn-id: http://svn.redmine.org/redmine/trunk@21464 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-18 18:42:55 +00:00
Marius Balteanu
1db2566ff9
Disable API authentication with username and password when two-factor authentication is enabled for the user ( #35001 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@21436 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-02-24 19:10:35 +00:00
Marius Balteanu
ba74ba1c70
Allow users to be mentioned using @ in issues and wiki pages ( #13919 ):
...
* the user must have add watchers permission on that object in order to mention other users
* mentioned user will receive a notification email
* only visible users who can view the object can be mentioned
git-svn-id: http://svn.redmine.org/redmine/trunk@21435 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-02-23 21:16:18 +00:00
Marius Balteanu
d8263dcdee
Return 404 if revision URL doesn't exist ( #36561 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@21413 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-02-18 08:03:52 +00:00
Marius Balteanu
d2f64ee928
Fix autocomplete for users fails with 403 error when there are multiple objects from different projects ( #36446 ).
...
Patch by Dmitry Makurin.
git-svn-id: http://svn.redmine.org/redmine/trunk@21394 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-02-01 20:11:56 +00:00
Marius Balteanu
a5cd3f791c
Add "Two-factor authentication" filter and column to Users list in administration ( #35934 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21380 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-22 08:53:41 +00:00
Marius Balteanu
9cda1638bd
Set default protect from forgery true ( #36317 ).
...
Patch by Takashi Kato.
git-svn-id: http://svn.redmine.org/redmine/trunk@21379 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-22 08:43:42 +00:00
Go MAEDA
a5785c8ee6
Display source project for cross-project associated revisions for issues ( #5242 ).
...
Contributed by Felix Schäfer.
git-svn-id: http://svn.redmine.org/redmine/trunk@21368 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-18 15:03:29 +00:00