summaryrefslogtreecommitdiffstats
path: root/app
Commit message (Collapse)AuthorAgeFilesLines
* Use ApplicationRecord instead of ActiveRecord::Base (#38975).Marius Balteanu2024-01-2345-44/+76
| | | | | | Patch by Minoru Maeda (@maeda-m). git-svn-id: https://svn.redmine.org/redmine/trunk@22619 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use @image_url@ for @favicon_url@ (#40087).Marius Balteanu2024-01-231-4/+1
| | | | | | Patch by Go Maeda (@maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22618 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverts r22438 (#35189).Marius Balteanu2024-01-232-19/+3
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22616 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix query columns selection in custom query form (#39806).Marius Balteanu2024-01-171-1/+5
| | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: https://svn.redmine.org/redmine/trunk@22610 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix query columns selection in time tracking settings page from admin (#39806).Marius Balteanu2024-01-161-2/+6
| | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: https://svn.redmine.org/redmine/trunk@22608 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Indentation fixes (#39806).Marius Balteanu2024-01-163-8/+8
| | | | | | Patch by Jens Krämer. git-svn-id: https://svn.redmine.org/redmine/trunk@22607 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix query columns selection in admin and my page (#39806).Marius Balteanu2024-01-163-0/+10
| | | | | | Patch by Jens Krämer. git-svn-id: https://svn.redmine.org/redmine/trunk@22606 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replace regular expression matches with String#start_with? / end_with? (#40010).Go MAEDA2024-01-111-1/+1
| | | | | | | Patch by Go MAEDA (@maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22605 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replace String#sub with delete_prefix / delete_suffix (#40008).Go MAEDA2024-01-088-10/+12
| | | | | | | Patch by Go MAEDA (@maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22596 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support localized decimal separators for hours in the web UI (#21677).Go MAEDA2024-01-041-1/+1
| | | | | | | Patch by Go MAEDA (@maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22593 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support localized decimal separators for float values (#22024).Go MAEDA2024-01-041-1/+1
| | | | | | | Patch by Liane Hampe (@liane_hampe). git-svn-id: https://svn.redmine.org/redmine/trunk@22592 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Optimize Project#notified_users to improve issue create/update speed (#23328).Go MAEDA2024-01-041-7/+2
| | | | | | | Patch by Holger Just (@hjust). git-svn-id: https://svn.redmine.org/redmine/trunk@22590 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Explicitly render a 404 on non-JS requests to messages#quote (#39999).Marius Balteanu2024-01-031-0/+5
| | | | | | Patch by Holger Just (@hjust). git-svn-id: https://svn.redmine.org/redmine/trunk@22584 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix "any" operator for text filters to exclude empty text values (#39991).Go MAEDA2024-01-021-1/+1
| | | | | | | Patch by Go MAEDA (@maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22583 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Optimize loading of journals, relations, and allowed_statuses in ↵Go MAEDA2024-01-011-10/+11
| | | | | | | | | IssuesController#show for API requests (#39993). Patch by Go MAEDA (@maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22582 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Cache the result of `Journal#attachments` (#39847).Go MAEDA2023-12-311-2/+4
| | | | | | | Patch by Go MAEDA (@maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22581 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Extend "contains" operator in "Parent task" filter to support multiple issue ↵Go MAEDA2023-12-291-3/+12
| | | | | | | | | IDs (#39805). Patch by Go MAEDA (@maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22577 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Optimize query models by replacing `map` with `pluck` (#39837).Go MAEDA2023-12-295-21/+16
| | | | | | | Patch by Go MAEDA (@maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22575 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Improves filter rendering on narrow screens by replacing the layout tables ↵Marius Balteanu2023-12-284-44/+38
| | | | | | | | | | with a flex layout. (#39806). Patch by Jens Krämer (@jkraemer). git-svn-id: https://svn.redmine.org/redmine/trunk@22574 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Optimize `Issue#relations` method to improve performance by fetching both ↵Go MAEDA2023-12-281-1/+4
| | | | | | | | | `relations_from` and `relations_to` using a single database query (#39840). Patch by Go MAEDA (@maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22572 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Optimize IssueCategory SQL queries when showing an issue (#39849).Go MAEDA2023-12-271-2/+2
| | | | | | | Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22568 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Optimize users visibility check (#39857).Go MAEDA2023-12-271-2/+2
| | | | | | | Patch by Pavel Rosický. git-svn-id: https://svn.redmine.org/redmine/trunk@22567 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes that diff of a javascript file in repository module is not displayed ↵Marius Balteanu2023-12-261-1/+1
| | | | | | | | with layout in Rails 7.1 (#39747, #36320). git-svn-id: https://svn.redmine.org/redmine/trunk@22563 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Incorrect position of "Edited" mark in issue notes with h4 headings (#39932).Go MAEDA2023-12-261-1/+1
| | | | | | | Contributed by Y. Saku. git-svn-id: https://svn.redmine.org/redmine/trunk@22561 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix hardcoded string "auto" on user preferences page (#39879).Marius Balteanu2023-12-221-1/+1
| | | | | | Patch by @salmanmp. git-svn-id: https://svn.redmine.org/redmine/trunk@22549 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix improper error highlighting for description field in issue form (#39795).Go MAEDA2023-12-221-1/+1
| | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: https://svn.redmine.org/redmine/trunk@22545 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Explicitly render a 404 on non-JS requests to @watchers#new@ (#39894). Marius Balteanu2023-12-211-1/+6
| | | | | | Patch by @hjust. git-svn-id: https://svn.redmine.org/redmine/trunk@22538 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Performance/StringIdentifierArgument (#39888).Go MAEDA2023-12-2012-14/+14
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22535 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Style/HashEachMethods (#39887).Go MAEDA2023-12-208-14/+10
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22532 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Lint/SymbolConversion (#39887).Go MAEDA2023-12-207-10/+10
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22531 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Style/SuperWithArgsParentheses (#39887).Go MAEDA2023-12-208-11/+11
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22530 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update Rails UJS to 7.1.2 (#36320).Marius Balteanu2023-12-201-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22526 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Revert r21883 which was an workaround for #37626 (#37732, #36320).Marius Balteanu2023-11-291-2/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22489 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates Rails to 7.1.2 (#36320).Marius Balteanu2023-11-276-14/+14
| | | | | | Patch by Takashi Kato. git-svn-id: https://svn.redmine.org/redmine/trunk@22488 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix query grouping filter not working for custom field relations (#39714).Marius Balteanu2023-11-261-3/+3
| | | | | | Patch Alexander Meindl. git-svn-id: https://svn.redmine.org/redmine/trunk@22478 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replace request_store with ActiveSupport::CurrentAttributes (#39110).Marius Balteanu2023-11-213-2/+17
| | | | | | Patch by Takashi Kato. git-svn-id: https://svn.redmine.org/redmine/trunk@22473 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add data-text-formatting attribute for selected markup language to body tag ↵Go MAEDA2023-11-211-1/+1
| | | | | | | | | (#20620). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22472 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Deprecate unused ApplicationHelper#render_if_exist (#39527).Go MAEDA2023-11-191-0/+4
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22466 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Moves create parent issue journal to after_commit hook to work around stale ↵Marius Balteanu2023-11-181-10/+20
| | | | | | | | object errors on concurrency (#39437). Patch by Jens Krämer. git-svn-id: https://svn.redmine.org/redmine/trunk@22459 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove deprecated methods in Repository and AbstractAdapter (#39558).Marius Balteanu2023-11-181-5/+0
| | | | | | Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22457 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Auto-detection of field wrapper type when importing CSV file (#39511).Go MAEDA2023-11-161-1/+2
| | | | | | | Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22440 e93f8b46-1217-0410-a6f0-8f06a7374b81
* New email notification option "For any event on my bookmarked projects" ↵Go MAEDA2023-11-162-3/+19
| | | | | | | | | (#35189). Patch by Mizuki ISHIKAWA. git-svn-id: https://svn.redmine.org/redmine/trunk@22438 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix mention autocomplete not displaying for users without "Edit issues" ↵Marius Balteanu2023-11-121-0/+4
| | | | | | | | permission (#39521). Patch by Mizuki ISHIKAWA. git-svn-id: https://svn.redmine.org/redmine/trunk@22427 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix an expression of non-boolean type specified in a context where a ↵Marius Balteanu2023-11-111-7/+8
| | | | | | | | condition is expected when MSSQL is used (#39443). Patch by Pavel Rosický. git-svn-id: https://svn.redmine.org/redmine/trunk@22417 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove @rss_*@ deprecated methods (#36806).Marius Balteanu2023-11-063-29/+0
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22416 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replace hardcoded issues count check with `limit` variable in ↵Go MAEDA2023-10-311-1/+1
| | | | | | | | | IssuesController#retrieve_previous_and_next_issue_ids (#39380). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22415 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Redirect to repositories#show after repository#fetch_changesets to avoid the ↵Go MAEDA2023-10-311-1/+5
| | | | | | | | | user-visible browser URL (#39238). Patch by Holger Just. git-svn-id: https://svn.redmine.org/redmine/trunk@22414 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix reversed display of default queue adapter check (#36695).Go MAEDA2023-10-301-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22403 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix related issues count not updating after deleting one of the related ↵Go MAEDA2023-10-293-3/+11
| | | | | | | | | issues (#38493). Patch by Takashi Kato. git-svn-id: https://svn.redmine.org/redmine/trunk@22395 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reinitialize an empty Wiki page after after project wiki is deleted (#34634).Marius Balteanu2023-10-233-2/+8
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22370 e93f8b46-1217-0410-a6f0-8f06a7374b81