Commit Graph

143 Commits

Author SHA1 Message Date
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
Go MAEDA
7aa642ad7a Use "icon icon-*" classes for sort elements (#31433).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@18210 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-30 07:37:24 +00:00
Go MAEDA
4082069c75 Update copyright year.
git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-25 07:36:06 +00:00
Go MAEDA
89a29c87fc Group time tracking filters in the filter select list (#26826).
git-svn-id: http://svn.redmine.org/redmine/trunk@18113 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-30 23:48:11 +00:00
Go MAEDA
72e1451159 Use Regexp#match? to reduce allocations of MatchData object (#28940).
Patch by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@18011 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-27 02:15:24 +00:00
Go MAEDA
d4daf4e23b Support frozen_string_literal in issue, journal, and query (#26561).
Patch by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@17980 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-17 00:29:58 +00:00
Go MAEDA
e70c283a22 Remove unnecessary encoding magic comment (#31034).
The default script encoding is UTF-8 in Ruby 2.0 or later.

Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17976 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-16 06:26:33 +00:00
Go MAEDA
5861160ffc Add "frozen_string_literal: false" for all files (#26561).
This will be changed to true in the future.


git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 01:32:57 +00:00
Jean-Philippe Lang
e647e99b74 Allow issues grouping by creation, update and closing date (#13803).
Implemented for PostgreSQL only for now.

git-svn-id: http://svn.redmine.org/redmine/trunk@17724 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-12 19:52:28 +00:00
Go MAEDA
ca2875fab2 Allow switching the encoding to UTF-8 when exporting to CSV (#26279).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17328 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-05-07 01:13:12 +00:00
Go MAEDA
7844b65f3c Add CSS classes to column headers of issues and timelogs list (#26674).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17176 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-01-15 04:17:53 +00:00
Jean-Philippe Lang
56c8ee0440 Ensure that values of multi-value fields are HTML-escaped in issue list (#27186).
Patch by Holger Just.

git-svn-id: http://svn.redmine.org/redmine/trunk@16984 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-10-15 11:08:46 +00:00
Toshi MARUYAMA
fc61598d55 fix NameError (uninitialized constant) when "config.eager_load = true" (#26513)
git-svn-id: http://svn.redmine.org/redmine/trunk@16882 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-25 15:38:56 +00:00
Jean-Philippe Lang
2a721fff4c Set default configuration for the timelog list (#26356).
git-svn-id: http://svn.redmine.org/redmine/trunk@16814 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-12 18:13:20 +00:00
Jean-Philippe Lang
7fd04e1f8d Update copyright.
git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-25 08:40:31 +00:00