summaryrefslogtreecommitdiffstats
path: root/app
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix RuboCop offense Style/ClassEqualityComparison (#39887).Go MAEDA2024-08-211-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22978 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Introduce `active?` method to Group via Principal model (#27510).Go MAEDA2024-08-212-4/+4
| | | | | | | Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22976 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add filters for "Author's group" and "Author's role" to issues list (#7867).Go MAEDA2024-08-211-0/+38
| | | | | | | Patch by Takenori TAKAKI (user:takenory). git-svn-id: https://svn.redmine.org/redmine/trunk@22975 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use anonymous block forwarding introduced in Ruby 3.1 (#38585).Go MAEDA2024-08-2110-27/+27
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22973 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use Array#intersect? introduced in Ruby 3.1 (#38585).Go MAEDA2024-08-206-6/+6
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22972 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaces removed `ActiveSupport::Deprecation.warn` with custom deprecators ↵Marius Balteanu2024-08-201-1/+1
| | | | | | | | | (#41141, #36320). Patch by Takashi Kato (user:tohosaku). git-svn-id: https://svn.redmine.org/redmine/trunk@22961 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 filters for "User's group" and "User's role" to Spent time list (#41053).Go MAEDA2024-08-161-0/+59
| | | | | | | Patch by Takenori TAKAKI (user:takenory). git-svn-id: https://svn.redmine.org/redmine/trunk@22958 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Layout/SpaceInsideParens, one of the offenses enabled in ↵Go MAEDA2024-08-123-3/+3
| | | | | | rubocop-rails-omakase (#39887). git-svn-id: https://svn.redmine.org/redmine/trunk@22954 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Layout/EmptyLinesAroundModuleBody, one of the offenses ↵Go MAEDA2024-08-129-9/+0
| | | | | | enabled in rubocop-rails-omakase (#39887). git-svn-id: https://svn.redmine.org/redmine/trunk@22951 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Layout/EmptyLinesAroundMethodBody, one of the offenses ↵Go MAEDA2024-08-121-1/+0
| | | | | | enabled in rubocop-rails-omakase (#39887). git-svn-id: https://svn.redmine.org/redmine/trunk@22950 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix incorrect sorting of users grouped by status in issue filters for ↵Go MAEDA2024-08-111-3/+3
| | | | | | | | | administrators (#41079). Patch by Vladislav Moiseev (user:vladdy.moses). git-svn-id: https://svn.redmine.org/redmine/trunk@22947 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add project identifier to List-Id header in notification emails (#13359).Go MAEDA2024-07-261-3/+12
| | | | | | | Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22944 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Set default age parameter for User.prune method to 30 days (#41023).Go MAEDA2024-07-191-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22938 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add an option to render Integer and Float custom fields with thousands ↵Go MAEDA2024-07-183-5/+17
| | | | | | | | | delimiters (#39997). Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22935 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor ApplicationHelper#format_object to accept options as a hash (#39997).Go MAEDA2024-07-185-8/+23
| | | | | | | Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22933 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add configurable setting for copying attachments when copying an issue (#36197).Go MAEDA2024-07-144-5/+30
| | | | | | | 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-132-5/+17
| | | | 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
* Check view watchers permission when copying issues (#40946).Marius Balteanu2024-07-081-2/+2
| | | | | | | Patch by Jens Kraemer (@jkraemer). git-svn-id: https://svn.redmine.org/redmine/trunk@22914 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Improve watcher list permissions check to explicitly require ↵Marius Balteanu2024-07-082-1/+5
| | | | | | | | | | @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
* Truncate git authors to 255 characters (#40948).Marius Balteanu2024-07-081-1/+1
| | | | | | | | | | The committer column in the database allows max 255 characters. With longer authors, this would result in a schema violation. By manually truncating the author field, we can avoid this. Patch by Holger Just (@hjust). git-svn-id: https://svn.redmine.org/redmine/trunk@22910 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Spent hours ignoring "Time Span Format" Setting on several pages (#40924).Go MAEDA2024-06-302-2/+2
| | | | | | | Patch by Go MAEDA (@maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22902 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Disable custom query links while loading to prevent multiple requests (#40901).Go MAEDA2024-06-271-1/+2
| | | | | | | Patch by Mizuki ISHIKAWA (@ishikawa999). git-svn-id: https://svn.redmine.org/redmine/trunk@22901 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Expose project updated_on column and filter in project query (#40829).Go MAEDA2024-06-271-0/+2
| | | | | | | Patch by Felix Schäfer (@felix). git-svn-id: https://svn.redmine.org/redmine/trunk@22899 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add bulk lock feature to user list context menu (#40913).Marius Balteanu2024-06-254-15/+21
| | | | | | | Patch by Mizuki ISHIKAWA (@ishikawa999). git-svn-id: https://svn.redmine.org/redmine/trunk@22898 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Creating a new issue fails with an internal error if no issue priorities are ↵Go MAEDA2024-06-251-1/+1
| | | | | | | | | defined (#40860). Patch by Holger Just (@hjust). git-svn-id: https://svn.redmine.org/redmine/trunk@22895 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reject passwords that are the same as login, first name, last name, or email ↵Go MAEDA2024-06-211-0/+11
| | | | | | | | | (#37279). Patch by Go MAEDA (@maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22888 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Upgrade jQuery to 3.7.1 and jQuery UI to 1.13.3 (#40853, #40864).Go MAEDA2024-06-203-11/+11
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22887 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix misalignment issue when displaying the table of contents (TOC) on the ↵Go MAEDA2024-06-191-2/+4
| | | | | | | | | right of wiki page (#34473). Patch by Mizuki ISHIKAWA (@ishikawa999). git-svn-id: https://svn.redmine.org/redmine/trunk@22885 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Optimize Version#behind_schedule? by avoiding the call to completed_percent ↵Go MAEDA2024-06-171-8/+5
| | | | | | | | | when due_date or start_date is nil (#40798). Patch by Go MAEDA (@maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22882 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Optimize FixedIssuesExtension#closed_percent by bypassing issues_progress ↵Go MAEDA2024-06-171-0/+1
| | | | | | | | | when all issues are closed (#40798). Patch by Go MAEDA (@maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22881 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Optimize Version model by reducing redundant SQL count queries (#40798).Go MAEDA2024-06-171-14/+10
| | | | | | | Patch by Go MAEDA (@maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22880 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Rails/ActiveRecordCallbacksOrder (#39889).Go MAEDA2024-06-1711-16/+16
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22879 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Revisions count is wrong on the wiki content page (#40655).Go MAEDA2024-06-131-1/+1
| | | | | | | Contributed by Karel Pičman (@picman). git-svn-id: https://svn.redmine.org/redmine/trunk@22877 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
* Suppress RuboCop false positive for Security/Open (#39887).Go MAEDA2024-06-061-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22862 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Naming/MemoizedInstanceVariableName (#37862, #1671).Go MAEDA2024-06-051-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22860 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds estimated remaining time to version page (#37862, #1671).Marius Balteanu2024-06-042-0/+19
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22858 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Move logic for estimated remaining hours from @QueryColumn@ to @Issue@ (#37862).Marius Balteanu2024-06-042-18/+10
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22857 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds description field to custom queries (#9309).Marius Balteanu2024-06-0411-1/+13
| | | | | | | 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
* Introduce configuration for done ratio options interval (#31756).Go MAEDA2024-05-295-4/+6
| | | | | | | Patch by Go MAEDA (@maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22849 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Link "Last activity" column to project activity page (#40706, #23954).Marius Balteanu2024-05-281-0/+10
| | | | | | | Patch by Go MAEDA (@maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22848 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add `updated_on` and `updated_by` fields to Issues API journal response ↵Go MAEDA2024-05-271-0/+2
| | | | | | | | | (#40449). Contributed by Thomas Hoffmann (@ThomasHo). git-svn-id: https://svn.redmine.org/redmine/trunk@22846 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix duplicated alt and title attributes for attached images in Textile ↵Go MAEDA2024-05-241-6/+17
| | | | | | | | | formatter (#40650). Patch by Katsuya HIDAKA (@hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@22845 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Style/SuperArguments (#39887).Go MAEDA2024-05-237-9/+9
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22842 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Dynamic generation of supported code highlighting languages in help section ↵Go MAEDA2024-05-192-880/+10
| | | | | | | | | (#40681). Patch by Go MAEDA (@maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22840 e93f8b46-1217-0410-a6f0-8f06a7374b81