summaryrefslogtreecommitdiffstats
path: root/app/controllers
Commit message (Collapse)AuthorAgeFilesLines
...
* Use query name as the file name when exporting queries (#16207).Go MAEDA2022-08-242-3/+3
| | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: https://svn.redmine.org/redmine/trunk@21773 e93f8b46-1217-0410-a6f0-8f06a7374b81
* POST Requests to repository WS fail with "Can't verify CSRF token ↵Go MAEDA2022-08-101-0/+3
| | | | | | | | | authenticity" (#37562). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@21766 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't load changesets when IssuesController#show processes API requests ↵Go MAEDA2022-07-311-3/+5
| | | | | | | | | without "include=changesets" (#37528). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@21746 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Repository tab is not displayed if no repository is set as the main ↵Go MAEDA2022-07-271-1/+1
| | | | | | | | | repository (#33953). Patch by Yuichi HARADA. git-svn-id: https://svn.redmine.org/redmine/trunk@21741 e93f8b46-1217-0410-a6f0-8f06a7374b81
* CSV export of issues report (#37362).Go MAEDA2022-07-211-0/+9
| | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: https://svn.redmine.org/redmine/trunk@21732 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Mark edited journal notes as "Edited" (#31505).Go MAEDA2022-07-171-1/+3
| | | | | | | Patch by Marius BALTEANU. git-svn-id: https://svn.redmine.org/redmine/trunk@21713 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds projects bulk delete (#36691).Marius Balteanu2022-05-171-4/+21
| | | | | | | Patch by Jens Krämer. git-svn-id: https://svn.redmine.org/redmine/trunk@21592 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Background job for project deletion (#36691).Marius Balteanu2022-05-171-1/+2
| | | | | | | | | | | | | | | 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
* Don't verify CSRF authenticity token in mail handler (#37030).Marius Balteanu2022-05-111-0/+3
| | | | | | | Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@21568 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds context menu to admin projects list (#33422).Marius Balteanu2022-04-011-0/+13
| | | | | | | Patch by Jens Krämer. git-svn-id: https://svn.redmine.org/redmine/trunk@21520 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reuse ProjectQuery filters on the admin project list (#33422).Marius Balteanu2022-04-012-10/+25
| | | | | | | Patch by Takenori TAKAKI. git-svn-id: https://svn.redmine.org/redmine/trunk@21519 e93f8b46-1217-0410-a6f0-8f06a7374b81
* 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