summaryrefslogtreecommitdiffstats
path: root/app/controllers
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year to 2023 (#38141).Go MAEDA2023-01-0152-52/+52
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Performance/StringInclude in ↵Go MAEDA2022-12-251-1/+1
| | | | | | app/controllers/imports_controller.rb (#37247). git-svn-id: https://svn.redmine.org/redmine/trunk@21999 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Redirect to container URL in case of error in attachments#download_all (#37880).Go MAEDA2022-11-031-1/+18
| | | | | | | Patch by Holger Just. git-svn-id: https://svn.redmine.org/redmine/trunk@21948 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Disallow all in /robots.txt if login is required (#37807).Go MAEDA2022-11-011-1/+1
| | | | | | | Patch by Holger Just. git-svn-id: https://svn.redmine.org/redmine/trunk@21940 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Always allow access to /robots.txt for Anonymous (#37807).Go MAEDA2022-11-011-0/+2
| | | | | | | Patch by Holger Just. git-svn-id: https://svn.redmine.org/redmine/trunk@21939 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Render all visible projects in robots.txt (including closed projects) (#37807).Go MAEDA2022-11-011-1/+1
| | | | | | | Patch by Holger Just. git-svn-id: https://svn.redmine.org/redmine/trunk@21938 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Simplify AttachmentsController#find_container (#37772).Go MAEDA2022-10-201-12/+3
| | | | | | | Patch by Jens Krämer. git-svn-id: https://svn.redmine.org/redmine/trunk@21907 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix rubocop warning (#37626).Marius Balteanu2022-10-021-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21886 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add to do to fix the deprecation warning (#37626).Marius Balteanu2022-10-021-0/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21884 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix show diff of a javascript file in repository module is displayed without ↵Marius Balteanu2022-10-021-1/+1
| | | | | | | | | layout (#37626). Patch by Trang Tran Thi Quynh. git-svn-id: https://svn.redmine.org/redmine/trunk@21883 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Confirm user update / deletion (#37674).Go MAEDA2022-09-201-0/+2
| | | | | | | Patch by Jens Krämer. git-svn-id: https://svn.redmine.org/redmine/trunk@21825 e93f8b46-1217-0410-a6f0-8f06a7374b81
* User bulk destroy (#37674).Go MAEDA2022-09-201-0/+15
| | | | | | | | | | 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
* Introduces a UserQuery model for admin/users (#37674).Go MAEDA2022-09-203-34/+45
| | | | | | | Patch by Jens Krämer. git-svn-id: https://svn.redmine.org/redmine/trunk@21823 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ignore statuses if workflow only defines identity transition (#37636).Go MAEDA2022-09-171-0/+2
| | | | | | | Patch by Holger Just. git-svn-id: https://svn.redmine.org/redmine/trunk@21818 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove extra call of Attachment#thumbnailable? in ↵Go MAEDA2022-08-301-1/+1
| | | | | | | | | AttachmentsController#thumbnail (#37599). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@21790 e93f8b46-1217-0410-a6f0-8f06a7374b81
* 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