summaryrefslogtreecommitdiffstats
path: root/app/controllers
Commit message (Collapse)AuthorAgeFilesLines
* Merged r22913-r22917 from trunk to 5.1-stable (#40946).Marius Balteanu2024-10-281-6/+21
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@23167 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r22746 from trunk to 5.1-stable (#40043).Marius Balteanu2024-02-2752-52/+52
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22755 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r22633 from trunk to 5.1-stable (#40099).Marius Balteanu2024-01-251-0/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22634 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r22623, r22624 and r22625 from trunk to 5.1-stable (#40099).Marius Balteanu2024-01-251-2/+2
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22632 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merge r22584 from trunk to 5.1-stable (#39999).Marius Balteanu2024-01-031-0/+5
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22585 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merge r22538 and r22539 from trunk to 5.1-stable (#39894).Marius Balteanu2023-12-211-1/+6
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22540 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r22403 from trunk to 5.1-stable (#36695).Go MAEDA2023-10-301-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22404 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r22395 from trunk to 5.1-stable (#38493).Go MAEDA2023-10-291-2/+9
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22396 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reinitialize an empty Wiki page after after project wiki is deleted (#34634).Marius Balteanu2023-10-231-1/+3
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22370 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Revert r22368.Marius Balteanu2023-10-231-3/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22369 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Traditional Chinese translation update (#39221).Marius Balteanu2023-10-231-1/+3
| | | | | | Patch by ChunChang (Nagaharu) Lo. git-svn-id: https://svn.redmine.org/redmine/trunk@22368 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix typo in default async adapter name (#36695).Marius Balteanu2023-10-221-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22365 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix condition to display active job queue check only for production ↵Marius Balteanu2023-10-221-1/+1
| | | | | | environment (#36695). git-svn-id: https://svn.redmine.org/redmine/trunk@22364 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add check in Redmine information page if default queue adapter is used in ↵Marius Balteanu2023-10-211-0/+1
| | | | | | production (#36695). git-svn-id: https://svn.redmine.org/redmine/trunk@22360 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix comment to correctly represent legacy filter parameters handling in ↵Go MAEDA2023-10-171-1/+1
| | | | | | | | | UsersController#index API requests (#39181). Patch by Mischa The Evil. git-svn-id: https://svn.redmine.org/redmine/trunk@22354 e93f8b46-1217-0410-a6f0-8f06a7374b81
* API compatibility to legacy status and name query params (#39181, #37674)Go MAEDA2023-10-151-0/+13
| | | | | | | | | | - adds 'name' filter that mimics the old behavior of matching on email, login, first- or lastname - maps the 'status' url parameter to the status_id filter, and the 'name' url parameter to the new name filter Patch by Jens Krämer. git-svn-id: https://svn.redmine.org/redmine/trunk@22343 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove set_language_if_valid from MyController (#39066).Go MAEDA2023-09-241-1/+0
| | | | | | | Patch by Pavel Rosický. git-svn-id: https://svn.redmine.org/redmine/trunk@22320 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Set a strict CSP policy for downloaded attachments, thumbnails, and raw ↵Go MAEDA2023-09-182-0/+10
| | | | | | | | | repository files(#38417). Patch by Holger Just. git-svn-id: https://svn.redmine.org/redmine/trunk@22295 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Always serve thumbnails with disposition: attachment (#38417).Go MAEDA2023-09-181-1/+1
| | | | | | | Patch by Holger Just. git-svn-id: https://svn.redmine.org/redmine/trunk@22294 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Display calendar in vertical list layout on mobile screens (#33682).Go MAEDA2023-08-271-1/+0
| | | | | | | Patch by Takashi Kato. git-svn-id: https://svn.redmine.org/redmine/trunk@22283 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Performance/MapMethodChain (#37247).Go MAEDA2023-08-231-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22280 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "View annotation prior to this change" button in the annotate view of ↵Go MAEDA2023-04-301-0/+4
| | | | | | | | | Git (#35432). Patch by Takenori TAKAKI. git-svn-id: https://svn.redmine.org/redmine/trunk@22217 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Code cleanup of RepositoriesController#annotate (#35432).Go MAEDA2023-04-291-10/+4
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22215 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Preload default_status when listing trackers (#38474).Go MAEDA2023-04-221-1/+1
| | | | | | | Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22208 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support "my bookmarks" in the search (#38459).Go MAEDA2023-04-181-0/+2
| | | | | | | Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22204 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Export a version as changelog text (#36679).Go MAEDA2023-04-131-0/+4
| | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: https://svn.redmine.org/redmine/trunk@22179 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Style/InverseMethods: Use `present?` instead of ↵Go MAEDA2023-03-253-3/+3
| | | | | | inverting `blank?` (#37248). git-svn-id: https://svn.redmine.org/redmine/trunk@22152 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Check if the user has the permission to add notes or edit an issue when ↵Go MAEDA2023-03-021-2/+10
| | | | | | | | | adding an issue attachments (#38297). Patch by Holger Just. git-svn-id: https://svn.redmine.org/redmine/trunk@22122 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Exporting UserQuery does not use the query name as file name (#37674, #38182).Go MAEDA2023-03-011-1/+1
| | | | | | | Patch by Takenori TAKAKI. git-svn-id: https://svn.redmine.org/redmine/trunk@22121 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove "Unknown user" notification on password request with non-existent ↵Go MAEDA2023-02-071-1/+3
| | | | | | | | | email address (#6254). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22100 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix missing project_id in redirect after clicking "Create and add another" ↵Go MAEDA2023-02-051-0/+1
| | | | | | | | | button (#35066). Patch by Jérôme BATAILLE. git-svn-id: https://svn.redmine.org/redmine/trunk@22096 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Avoid double-render error with ApplicationController#find_optional_project ↵Go MAEDA2023-01-201-1/+4
| | | | | | | | | (#38063). Patch by Holger Just. git-svn-id: https://svn.redmine.org/redmine/trunk@22066 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ruby 2.7: Fix RuboCop offense Performance/BindCall (#38134).Go MAEDA2023-01-171-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22056 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ruby 2.7: Fix RuboCop offense Performance/MapCompact (#38134).Go MAEDA2023-01-173-3/+3
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22055 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Performance/BlockGivenWithExplicitBlock (#38146).Go MAEDA2023-01-112-4/+4
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22027 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use Group.visible instead of manual visibility check in GroupsController ↵Go MAEDA2023-01-041-3/+1
| | | | | | | | | (#38144). Patch by Holger Just. git-svn-id: https://svn.redmine.org/redmine/trunk@22023 e93f8b46-1217-0410-a6f0-8f06a7374b81
* 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