summaryrefslogtreecommitdiffstats
path: root/app/controllers
Commit message (Collapse)AuthorAgeFilesLines
* Add support for PUT API to journals (#10171).Go MAEDA2022-03-231-0/+2
| | | | | | | Patch by Mizuki ISHIKAWA . git-svn-id: https://svn.redmine.org/redmine/trunk@21496 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Only check for @set_filter@ param when retriving the default query (#7360, ↵Marius Balteanu2022-03-202-2/+2
| | | | | | 35795, #36389). git-svn-id: http://svn.redmine.org/redmine/trunk@21481 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Deprecate and rename rss_* methods to atom_* methods (#15118).Marius Balteanu2022-03-1910-22/+39
| | | | | | | Patch by Mischa The Evil and Marius BĂLTEANU git-svn-id: http://svn.redmine.org/redmine/trunk@21467 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Avoid passing ActionController::Parameters outside of MailHandlerController ↵Marius Balteanu2022-03-181-1/+26
| | | | | | | | | | (#36394). Patch by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@21464 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Disable API authentication with username and password when two-factor ↵Marius Balteanu2022-02-241-1/+8
| | | | | | | | | 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
* Allow users to be mentioned using @ in issues and wiki pages (#13919):Marius Balteanu2022-02-231-1/+42
| | | | | | | | | | * 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
* Return 404 if revision URL doesn't exist (#36561).Marius Balteanu2022-02-181-1/+1
| | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@21413 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix autocomplete for users fails with 403 error when there are multiple ↵Marius Balteanu2022-02-011-2/+6
| | | | | | | | | | objects from different projects (#36446). Patch by Dmitry Makurin. git-svn-id: http://svn.redmine.org/redmine/trunk@21394 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "Two-factor authentication" filter and column to Users list in ↵Marius Balteanu2022-01-221-0/+9
| | | | | | administration (#35934). git-svn-id: http://svn.redmine.org/redmine/trunk@21380 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Set default protect from forgery true (#36317).Marius Balteanu2022-01-221-7/+10
| | | | | | Patch by Takashi Kato. git-svn-id: http://svn.redmine.org/redmine/trunk@21379 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Display source project for cross-project associated revisions for issues ↵Go MAEDA2022-01-181-1/+1
| | | | | | | | | (#5242). Contributed by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@21368 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2022 (#36379).Go MAEDA2022-01-0252-52/+52
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes for Performance/StringIdentifierArgument introduced in RuboCop ↵Go MAEDA2021-12-291-1/+1
| | | | | | Performance 1.13.0 (#35142). git-svn-id: http://svn.redmine.org/redmine/trunk@21330 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Drop OpenID support (#35755).Go MAEDA2021-12-141-57/+2
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@21312 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Issue Summary: add statistics about issues without assignee, version or ↵Go MAEDA2021-12-121-6/+6
| | | | | | | | | category (#13099). Patch by Takenori TAKAKI. git-svn-id: http://svn.redmine.org/redmine/trunk@21309 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Download all attachments in a journal (#35462).Go MAEDA2021-11-222-1/+2
| | | | | | | Patch by Takenori TAKAKI. git-svn-id: http://svn.redmine.org/redmine/trunk@21292 e93f8b46-1217-0410-a6f0-8f06a7374b81
* You can configure default project queries in the following places (#35795):Marius Balteanu2021-11-151-0/+16
| | | | | | | * App-level: Administration > Projects > Default query (Projects list defaults section) * User-level: My account > Default project query git-svn-id: http://svn.redmine.org/redmine/trunk@21281 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds button to "Create and follow" when adding a subtask from the parent ↵Marius Balteanu2021-11-061-0/+2
| | | | | | | | | | | | issue. Now the user have the following options: * Create: redirects the user to the parent task (existing behaviour) * Create and follow: redirects the user to the newly created subtask (new behaviour) * Create and add another: redirects the user to new subtask (existing behaviour). (#29076). git-svn-id: http://svn.redmine.org/redmine/trunk@21269 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Enforce stricter class filtering in WatchersController (35463).Marius Balteanu2021-10-051-1/+3
| | | | | | Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@21235 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix Layout/MultilineArrayBraceLayout offense (#21210).Marius Balteanu2021-09-111-2/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21218 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix that deleting a closed or archived projects not working anymore after ↵Marius Balteanu2021-09-061-1/+3
| | | | | | | | r20034 (#35827). Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@21210 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Return 404 when filtering by a non-visible user in activity view (#35789).Marius Balteanu2021-09-061-1/+1
| | | | | | Patch by Mischa The Evil. git-svn-id: http://svn.redmine.org/redmine/trunk@21209 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove unused argument from Redmine::Helpers::TimeReport (#33079).Go MAEDA2021-08-191-1/+1
| | | | | | | Patch by Kevin Fischer. git-svn-id: http://svn.redmine.org/redmine/trunk@21196 e93f8b46-1217-0410-a6f0-8f06a7374b81
* File upload fails when run with uWSGI (#35715).Go MAEDA2021-08-141-1/+11
| | | | | | | Contributed by Pavel Rosický and Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@21173 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed create duplicate follow relation fails with 500 internal error (#35655).Marius Balteanu2021-08-101-3/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21150 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix typo (#33521).Marius Balteanu2021-08-051-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21140 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix that updating an issue from context menu to a none value do not set the ↵Marius Balteanu2021-08-052-2/+11
| | | | | | | | field to blank (#33521). Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@21139 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Show warning in admin/info when there are pending migrations (#35562).Go MAEDA2021-07-301-0/+1
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@21110 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Set :wiki menu_item for WikisController#destroy (#35610).Marius Balteanu2021-07-261-1/+1
| | | | | | | | | This action is executed inside the project wiki scope after r16916, thus we can better set the menu_item accordingly. Patch by Mischa The Evil. git-svn-id: http://svn.redmine.org/redmine/trunk@21088 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Redirect_to project_path after WikisController#destroy (#35610).Marius Balteanu2021-07-261-1/+1
| | | | | | | | | | * Project settings 'wiki' tab is removed by r16917 & r17017. * This action is executed outside the project settings scope after r16916, thus we can better redirect to project_path. Patch by Mischa The Evil. git-svn-id: http://svn.redmine.org/redmine/trunk@21087 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow non-admin users to see group members (#12795).Go MAEDA2021-07-191-2/+6
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@21072 e93f8b46-1217-0410-a6f0-8f06a7374b81
* User sessions not reset after 2FA activation (#35417).Go MAEDA2021-07-151-0/+2
| | | | | | | Patch by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@21069 e93f8b46-1217-0410-a6f0-8f06a7374b81
* API to close/reopen projects (#35507).Go MAEDA2021-07-091-3/+9
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@21066 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Default issue query (#7360).Go MAEDA2021-07-061-0/+19
| | | | | | | Patch by Katsuya HIDAKA (the author of https://github.com/hidakatsuya/redmine_default_custom_query), Takenori TAKAKI, Olivier Chabert, and Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@21061 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reduce amount of work on projects show API (#35374).Go MAEDA2021-07-011-16/+16
| | | | | | | Patch by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@21056 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Preload principal and roles in members#index (#35324).Go MAEDA2021-06-271-1/+1
| | | | | | | Patch by Thomas Löber. git-svn-id: http://svn.redmine.org/redmine/trunk@21052 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add total estimated hours, spent hours, total spent hours for issues to ↵Go MAEDA2021-06-271-0/+4
| | | | | | | | | issue list API (#34857). Patch by Felix Schäfer and Takenori TAKAKI. git-svn-id: http://svn.redmine.org/redmine/trunk@21051 e93f8b46-1217-0410-a6f0-8f06a7374b81
* API to archive/unarchive projects (#35420).Go MAEDA2021-06-241-4/+19
| | | | | | | Patch by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@21044 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reject CSV file without data row when importing (#35137).Go MAEDA2021-06-201-1/+5
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@21041 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Gracefully handle invalid query parameters for custom fields (#35312).Go MAEDA2021-05-283-0/+19
| | | | | | | Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@21012 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add SameSite=Lax to cookies to fix warnings in web browsers (#35226).Go MAEDA2021-05-271-0/+1
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@21009 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Security notification is not sent when an admin changes the password of a ↵Go MAEDA2021-05-241-1/+3
| | | | | | | | | user (#32199). Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@21006 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Uploading a big file fails with NoMemoryError (#33752).Go MAEDA2021-05-111-1/+1
| | | | | | | Patch by Karel Pičman and Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@20993 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Stricter validation of given revisions of repositories (#35085).Go MAEDA2021-04-231-8/+13
| | | | | | | Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@20962 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Include new statuses allowed by workflow in Issues REST API (#24976).Go MAEDA2021-04-191-0/+1
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@20951 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Users without two-factor authentication enabled cannot sign out when ↵Go MAEDA2021-04-161-0/+1
| | | | | | | | | two-factor authentication is required (#35087). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@20949 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Clean-up workflows controller (#33337).Go MAEDA2021-04-131-42/+48
| | | | | | | Patch by Vincent Robert and Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@20941 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix undefined method 'split' when issue_to_id is numeric (#35039).Go MAEDA2021-04-121-1/+8
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@20932 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Atom feed of the activity page does not contain items after the second page ↵Go MAEDA2021-04-121-1/+6
| | | | | | | | | (#34933). Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@20931 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix "DEPRECATION WARNING: Rendering actions with '.' in the name is ↵Go MAEDA2021-04-012-2/+2
| | | | | | | | | deprecated: common/error_messages.api" (#29914, #34984). Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@20897 e93f8b46-1217-0410-a6f0-8f06a7374b81