Commit Graph

157 Commits

Author SHA1 Message Date
Go MAEDA
bacdb72670 Missing thousands separator in Integer and Float custom field totals (#42342).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23559 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-26 02:38:56 +00:00
Marius Balteanu
1f46b0b236 Extract project query for admins to a separate ProjectAdminQuery model (#42352).
Patch by Holger Just (user:hjust).

git-svn-id: https://svn.redmine.org/redmine/trunk@23531 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-09 23:25:12 +00:00
Marius Balteanu
e9ba222e6b Ensures data-disable-with attribute is properly escaped when uery links are rendered (#42238).
Patch by Holger Just (user:hjust).


git-svn-id: https://svn.redmine.org/redmine/trunk@23522 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-07 07:39:18 +00:00
Go MAEDA
81291bb25e Fix: Spent time CSV report returning hours as Rational instead of Float (#41895).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@23351 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-12-04 01:58:51 +00:00
Marius Balteanu
d1008280d8 Renames and improves methods provided by @IconsHelper@ (#23980).
git-svn-id: https://svn.redmine.org/redmine/trunk@23145 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-10-19 10:06:26 +00:00
Marius Balteanu
09938ac490 Replaces icon-sorted-asc and icon-sorted-desc with SVG icons (#23980).
git-svn-id: https://svn.redmine.org/redmine/trunk@23042 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-08 17:25:49 +00:00
Marius Balteanu
ffce07e785 Start working on replacing old icons with SVG icons (#23980):
* 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
2024-08-29 21:46:40 +00:00
Go MAEDA
93645a279e Use anonymous block forwarding introduced in Ruby 3.1 (#38585).
git-svn-id: https://svn.redmine.org/redmine/trunk@22973 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-21 00:46:15 +00:00
Go MAEDA
4879302930 Refactor ApplicationHelper#format_object to accept options as a hash (#39997).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@22933 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-18 04:26:49 +00:00
Go MAEDA
578c53a932 Disable custom query links while loading to prevent multiple requests (#40901).
Patch by Mizuki ISHIKAWA (@ishikawa999).


git-svn-id: https://svn.redmine.org/redmine/trunk@22901 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-27 08:41:45 +00:00
Marius Balteanu
38a8adb2a2 Adds description field to custom queries (#9309).
Patch by Go MAEDA (@maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@22855 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-04 20:04:45 +00:00
Marius Balteanu
6fa12a95ab Adds estimated remaining hours issue query column calculated based on estimated time and done ratio (#37862).
Patch by Jens Krämer (@jkraemer).

git-svn-id: https://svn.redmine.org/redmine/trunk@22800 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-01 07:49:29 +00:00
Marius Balteanu
61c7d539dc Adds Watcher list to the list of available query columns for issues (#29894).
Patch by Felix Schäfer (@felix).

git-svn-id: https://svn.redmine.org/redmine/trunk@22793 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-04-28 07:26:29 +00:00
Marius Balteanu
38d950df55 Remove current year from source file copyright headers and update year in footer to 2024 (#40043).
git-svn-id: https://svn.redmine.org/redmine/trunk@22746 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-26 22:55:54 +00:00
Go MAEDA
d9ef2d191c Fix RuboCop offense Lint/SymbolConversion (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22531 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-20 07:16:35 +00:00
Marius Balteanu
3abf021e4b Fix query grouping filter not working for custom field relations (#39714).
Patch Alexander Meindl.

git-svn-id: https://svn.redmine.org/redmine/trunk@22478 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-26 13:53:41 +00:00
Go MAEDA
6a7f2536b5 Add field separator option to CSV export dialog (#37621).
Patch by Karel Pičman.


git-svn-id: https://svn.redmine.org/redmine/trunk@22359 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-21 06:19:13 +00:00
Go MAEDA
9546dfa5e3 Add Parent task filter and column to Spent time (#37623).
Patch by Mizuki ISHIKAWA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22177 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-11 09:11:40 +00:00
Go MAEDA
544af76dda Fixed an issue where an empty group could appear in the filter selection list caused by r22166 (#38402).
git-svn-id: https://svn.redmine.org/redmine/trunk@22172 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-06 10:08:48 +00:00
Go MAEDA
f1ab7d8cf5 Reorder groups in the filter select list (#38402).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22166 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-05 09:24:44 +00:00
Go MAEDA
5c075233ae Group text filters in the filter select list (#38402).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22165 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-05 09:23:44 +00:00
Go MAEDA
0b6f4c6811 Ruby 2.7: Fix RuboCop offense Performance/MapCompact (#38134).
git-svn-id: https://svn.redmine.org/redmine/trunk@22055 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-17 01:38:27 +00:00
Go MAEDA
92bd67c279 Update copyright year to 2023 (#38141).
git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-01 06:19:35 +00:00
Go MAEDA
f8033a069f Use query name as the file name when exporting queries (#16207).
Patch by Mizuki ISHIKAWA.


git-svn-id: https://svn.redmine.org/redmine/trunk@21773 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-08-24 13:21:50 +00:00
Marius Balteanu
83ed32e8d7 Reuse ProjectQuery filters on the admin project list (#33422).
Patch by Takenori TAKAKI.


git-svn-id: https://svn.redmine.org/redmine/trunk@21519 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-04-01 15:08:52 +00:00
Go MAEDA
3686b77eb6 Update copyright year in source files to 2022 (#36379).
git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-02 05:29:10 +00:00
Go MAEDA
75aaedfff3 Avoid executing the same SQL statement multiple times to get the default custom query (#7360).
git-svn-id: http://svn.redmine.org/redmine/trunk@21134 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-04 12:48:54 +00:00
Go MAEDA
9fcf5af844 Hooks for queries helper (#34743).
Patch by Alexander Meindl.


git-svn-id: http://svn.redmine.org/redmine/trunk@21068 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-07-14 14:02:02 +00:00
Go MAEDA
7f965286ed Default issue query (#7360).
Patch by Katsuya HIDAKA (the author of https://github.com/hidakatsuya/redmine_default_custom_query), Takenori TAKAKI, Olivier Chabert, and Jens Krämer.


git-svn-id: http://svn.redmine.org/redmine/trunk@21061 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-07-06 06:01:50 +00:00
Go MAEDA
a0bf4e5cd3 Filter issues by file description (#34715).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21034 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-06-14 07:01:27 +00:00
Go MAEDA
3e36b5c452 Update copyright year in source files to 2021 (#33069).
git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-25 06:58:56 +00:00
Toshi MARUYAMA
3029b377c6 shorten long line of QueriesHelper
git-svn-id: http://svn.redmine.org/redmine/trunk@20545 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-02 13:32:10 +00:00
Toshi MARUYAMA
5f8d73108e add empty line after guard clause to QueriesHelper
git-svn-id: http://svn.redmine.org/redmine/trunk@20233 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-03 14:55:26 +00:00
Toshi MARUYAMA
1eed339756 use "do end" instead of {} at QueriesHelper
git-svn-id: http://svn.redmine.org/redmine/trunk@20058 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-09-21 13:03:38 +00:00
Toshi MARUYAMA
8c53f2e5a8 fix source indent of QueriesHelper
git-svn-id: http://svn.redmine.org/redmine/trunk@20054 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-09-21 13:03:06 +00:00
Go MAEDA
4048e6640e Total estimated time column shows up as decimal value regardless of time setting (#33273).
Patch by Farook Al-Sammarraie.


git-svn-id: http://svn.redmine.org/redmine/trunk@19702 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-15 14:11:20 +00:00
Jean-Philippe Lang
214ec3e806 Time entries csv export should check issue visibility (#33075).
Patch by Mizuki ISHIKAWA.

git-svn-id: http://svn.redmine.org/redmine/trunk@19646 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-05 07:39:29 +00:00
Go MAEDA
907e0173e4 Update copyright year in source files to 2020 (#33069).
git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-03 00:24:10 +00:00
Toshi MARUYAMA
56d48d7eef cleanup: rubocop: fix Layout/SpaceAfterComma in app/helpers/queries_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19209 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-23 15:10:36 +00:00
Toshi MARUYAMA
362e553d5e code layout clean up app/helpers/queries_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18963 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-08 14:53:34 +00:00
Toshi MARUYAMA
b26cb78737 cleanup: rubocop: fix Layout/BlockAlignment in app/helpers/queries_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18944 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-08 02:09:28 +00:00
Toshi MARUYAMA
c748adf847 cleanup: rubocop: fix Layout/AlignArguments in QueriesHelper#column_header
git-svn-id: http://svn.redmine.org/redmine/trunk@18916 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-05 14:10:54 +00:00
Toshi MARUYAMA
781f3d23fa cleanup: rubocop: fix Layout/AlignArguments in QueriesHelper#column_value
git-svn-id: http://svn.redmine.org/redmine/trunk@18915 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-05 14:10:44 +00:00
Toshi MARUYAMA
562bdd0a52 cleanup: rubocop: fix Layout/AlignArguments in QueriesHelper#query_links
git-svn-id: http://svn.redmine.org/redmine/trunk@18914 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-05 14:10:33 +00:00
Go MAEDA
5b9cede709 Fix display type in query form view (#29482).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@18790 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-22 05:03:02 +00:00
Jean-Philippe Lang
49b96a935b Use radio buttons to choose display type (#29482).
git-svn-id: http://svn.redmine.org/redmine/trunk@18767 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-19 12:14:21 +00:00
Jean-Philippe Lang
45f039187d Option to switch between table list and board list (#29482).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@18765 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-19 11:42:20 +00:00
Toshi MARUYAMA
41e774de6e code cleanup: rubocop: fix Style/WhileUntilModifier in app/helpers/queries_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18733 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-19 04:29:47 +00:00
Toshi MARUYAMA
3b27acb620 code cleanup: rubocop: fix Layout/ElseAlignment in app/helpers/queries_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18712 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-17 15:28:34 +00:00
Go MAEDA
0d4fbfe340 Add clear query icon next to selected query in sidebar (#31640).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@18468 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-14 00:33:05 +00:00