summaryrefslogtreecommitdiffstats
path: root/app/controllers
Commit message (Collapse)AuthorAgeFilesLines
* Downloading .js files from the repository browser fails with a 422 error due ↵Go MAEDA2025-07-051-1/+9
| | | | | | | | | to ActionController::InvalidCrossOriginRequest (#42839). Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@23857 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix N+1 query in Wiki history page by preloading the author of each Wiki ↵Go MAEDA2025-06-291-0/+1
| | | | | | | | | content version (#42933). Patch by [Agileware]Kota Uchino (user:uchinokot). git-svn-id: https://svn.redmine.org/redmine/trunk@23847 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add OAuth2 provider capability using doorkeeper gem (#24808).Marius Balteanu2025-06-122-0/+46
| | | | | | Patch by Jens Krämer (user:jkraemer). git-svn-id: https://svn.redmine.org/redmine/trunk@23837 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverts r23835 due to wrong issue ID (#40856).Marius Balteanu2025-06-122-46/+0
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23836 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add OAuth2 provider capability using doorkeeper gem (#40856).Marius Balteanu2025-06-112-0/+46
| | | | | | Patch by Jens Krämer (user:jkraemer). git-svn-id: https://svn.redmine.org/redmine/trunk@23835 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Improve method and variable naming for clarity and consistency (#42630).Go MAEDA2025-05-151-1/+1
| | | | | | | Patch by Katsuya HIDAKA (user:hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@23769 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Introduce reactions feature (so-called "like button") to issues, notes, ↵Go MAEDA2025-05-113-1/+70
| | | | | | | | | news, and forums (#42630). Patch by Katsuya HIDAKA (user:hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@23755 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Optimize the rendering of versions on the roadmap by preloading the email ↵Go MAEDA2025-05-071-2/+2
| | | | | | | | | addresses of issue assignees (#42682). Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@23749 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Avoid unnecessary SQL query for subprojects in `ProjectsController#show` ↵Go MAEDA2025-05-061-1/+1
| | | | | | | | | when project has no children (#42671). Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@23745 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Optimize autocomplete issue listing triggered by typing "##" by eager ↵Go MAEDA2025-04-161-1/+1
| | | | | | | | | loading trackers (#42574). Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@23660 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop Style/RedundantCondition (#41884).Go MAEDA2025-04-112-4/+4
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23627 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Improve role deletion error message to display projects containing members ↵Go MAEDA2025-04-101-1/+9
| | | | | | | | | under the role (#42441). Patch by Mizuki ISHIKAWA (user:ishikawa999). git-svn-id: https://svn.redmine.org/redmine/trunk@23619 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add administration setting to allow time logging on closed issues. By ↵Marius Balteanu2025-03-301-1/+1
| | | | | | default, the setting is enabled (#13596). git-svn-id: https://svn.redmine.org/redmine/trunk@23586 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes rubocop offense (#42352).Marius Balteanu2025-03-101-0/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23533 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Extract project query for admins to a separate ProjectAdminQuery model (#42352).Marius Balteanu2025-03-092-11/+8
| | | | | | Patch by Holger Just (user:hjust). git-svn-id: https://svn.redmine.org/redmine/trunk@23531 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow query class to select layout for QueriesController (#42352).Marius Balteanu2025-03-091-4/+14
| | | | | | Patch by Holger Just (user:hjust). git-svn-id: https://svn.redmine.org/redmine/trunk@23529 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Simplify URL components omission in ApplicationController#verify_back_url ↵Go MAEDA2025-01-281-1/+1
| | | | | | (#41930). git-svn-id: https://svn.redmine.org/redmine/trunk@23469 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Redirection after signing in fails when the back_url includes a port number ↵Go MAEDA2025-01-281-4/+2
| | | | | | | | | (#41930). Patch by Kenta Kumojima (user:kumojima) and Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@23465 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Optimize IssuesController#show by skipping time tracking queries when ↵Go MAEDA2025-01-251-2/+7
| | | | | | | | | disabled (#42144). Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@23463 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove navigation parameters from issue detail URLs after updates (#42073).Go MAEDA2025-01-072-11/+15
| | | | | | | Patch by Katsuya HIDAKA (user:hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@23433 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix random test failure by ensuring ↵Marius Balteanu2024-11-291-1/+1
| | | | | | | | | @WatchersController#find_objects_from_params@ returns results in consistent order (#41894). Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@23325 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix project links in tracker deletion error message to set the status_id ↵Go MAEDA2024-11-041-1/+1
| | | | | | filter to "all" (#12521). git-svn-id: https://svn.redmine.org/redmine/trunk@23209 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Improve tracker deletion error message to display projects containing issues ↵Go MAEDA2024-11-031-1/+5
| | | | | | | | | under the tracker (#12521). Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@23181 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Partial quoting feature for Issues and Forums (#41294).Go MAEDA2024-10-092-18/+12
| | | | | | | Patch by Katsuya HIDAKA (user:hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@23107 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Style/RedundantInterpolationUnfreeze (#39887).Go MAEDA2024-09-013-5/+5
| | | | | | | Since interpolated strings are always unfrozen in Ruby 3.0 and later, the use of `+""` is now redundant. git-svn-id: https://svn.redmine.org/redmine/trunk@23001 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Start working on replacing old icons with SVG icons (#23980):Marius Balteanu2024-08-291-0/+2
| | | | | | | | | | | * Introduces IconsHelper with methods to render SVG icon from a sprite file. * Adds SVG sprite file with icons mainly from Font Awesome, but also from Material Design Icons and Fluent UI System Icons (based on the work made by Takashi Kato (@tohosaku)). * Replaces specific icons with new SVG icons. * Temporarily keep all old CSS icon definitions for backard compatibility. git-svn-id: https://svn.redmine.org/redmine/trunk@22988 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offenses Style/NegatedIf and Style/NegatedWhile (#39887, #7770).Go MAEDA2024-08-252-4/+4
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22987 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Upgrade to Rails 7.2.0 (#36320).Marius Balteanu2024-08-201-1/+1
| | | | | | | Patch by Takashi Kato (user:tohosaku). git-svn-id: https://svn.redmine.org/redmine/trunk@22960 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add configurable setting for copying attachments when copying an issue (#36197).Go MAEDA2024-07-141-4/+17
| | | | | | | Patch by Yuichi HARADA (user:yui.har). git-svn-id: https://svn.redmine.org/redmine/trunk@22926 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add bulk unlock to user list context menu (#40913).Marius Balteanu2024-07-131-5/+13
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22925 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Style/CollectionCompact (#39887).Go MAEDA2024-07-112-6/+5
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22921 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Introduces @valid_watcher?@ check on watchables (@40946).Marius Balteanu2024-07-081-5/+6
| | | | | | | | Patch by Jens Krämer (@jkraemer). git-svn-id: https://svn.redmine.org/redmine/trunk@22916 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Permission check based on the type of @watchables@ (#40946).Marius Balteanu2024-07-081-0/+14
| | | | | | | | Patch by Jens Krämer (@jkraemer). git-svn-id: https://svn.redmine.org/redmine/trunk@22915 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Improve watcher list permissions check to explicitly require ↵Marius Balteanu2024-07-081-1/+1
| | | | | | | | | | @view_issue_watchers@ permission (#40946). Patch by Felix Schäfer (@felix). git-svn-id: https://svn.redmine.org/redmine/trunk@22913 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add bulk lock feature to user list context menu (#40913).Marius Balteanu2024-06-251-5/+10
| | | | | | | Patch by Mizuki ISHIKAWA (@ishikawa999). git-svn-id: https://svn.redmine.org/redmine/trunk@22898 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix "ArgumentError: Invalid response name: unprocessable_entity" with Rack ↵Go MAEDA2024-06-1213-13/+13
| | | | | | | | | | | | 3.1.0+ in assert_response (#39889). Rack 3.1.0 changed the symbol for HTTP status code 422 from `:unprocessable_entity` to `:unprocessable_content`. Due to the change, `assert_response(:unprocessable_entity, ...)` raises ArgumentError with Rack 3.1.0+. This fix is a follow-up to r22837. git-svn-id: https://svn.redmine.org/redmine/trunk@22876 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds description field to custom queries (#9309).Marius Balteanu2024-06-041-0/+1
| | | | | | | Patch by Go MAEDA (@maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22855 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reduce an extra SQL query in IssuesController#retrieve_default_query (#40775).Go MAEDA2024-06-041-1/+2
| | | | | | | Patch by Go MAEDA (@maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22854 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Dynamic generation of supported code highlighting languages in help section ↵Go MAEDA2024-05-191-0/+1
| | | | | | | | | (#40681). Patch by Go MAEDA (@maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22840 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Rails/HttpStatus (#39889).Go MAEDA2024-05-1816-33/+33
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22837 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaces use of Digest::MD5 / Digest::SHA1 with ActiveSupport::Digest (#35217).Marius Balteanu2024-05-071-1/+1
| | | | | | Patch by Jens Krämer (@jkraemer). git-svn-id: https://svn.redmine.org/redmine/trunk@22816 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds the date of the last activity to the list of available columns for ↵Marius Balteanu2024-05-032-11/+9
| | | | | | | | Projects (#23954). Patch by Frederico Camara (@fredsdc) and Marius BĂLTEANU (@marius.balteanu). git-svn-id: https://svn.redmine.org/redmine/trunk@22811 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix rubocop warning (#39111, #40137).Marius Balteanu2024-03-031-2/+2
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22757 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove current year from source file copyright headers and update year in ↵Marius Balteanu2024-02-2653-53/+53
| | | | | | footer to 2024 (#40043). git-svn-id: https://svn.redmine.org/redmine/trunk@22746 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds route for code highlighting languages page (#39111, #40137).Marius Balteanu2024-02-251-0/+4
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22732 e93f8b46-1217-0410-a6f0-8f06a7374b81
* * Remove languages from wiki syntax help files that are identical with en ↵Marius Balteanu2024-02-191-1/+7
| | | | | | | | | | language. * Fall back to the english help page if there is none for the current language. (#39111, #40137). git-svn-id: https://svn.redmine.org/redmine/trunk@22721 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reorganize all the wiki syntax help files per text formatter (@markdown@, ↵Marius Balteanu2024-02-191-1/+1
| | | | | | @common_mark@ and @textile@) (#39111, #40137). git-svn-id: https://svn.redmine.org/redmine/trunk@22720 e93f8b46-1217-0410-a6f0-8f06a7374b81
* * Introduces @HelpController@ and a new route @help/wiki_syntax/(:type)@ to ↵Marius Balteanu2024-02-191-0/+25
| | | | | | | | | | serve wiki syntax help files. * Moves all wiki syntax help files to @app/views/help@ and CSS files to asset pipeline. (#39111, #40137). git-svn-id: https://svn.redmine.org/redmine/trunk@22719 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverts r22717 (#39111, #40137).Marius Balteanu2024-02-191-25/+0
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22718 e93f8b46-1217-0410-a6f0-8f06a7374b81
* * Moves all wiki syntax files from @public/help@ to ↵Marius Balteanu2024-02-191-0/+25
| | | | | | | | | | | @app/views/help/wiki_syntax@. * Adds route to serve wiki syntax help files. * Moves wiki syntax CSS files to asset pipeline. (#39111, #40137). git-svn-id: https://svn.redmine.org/redmine/trunk@22717 e93f8b46-1217-0410-a6f0-8f06a7374b81