summaryrefslogtreecommitdiffstats
path: root/app/helpers/queries_helper.rb
Commit message (Collapse)AuthorAgeFilesLines
* Merged r22746 from trunk to 5.1-stable (#40043).Marius Balteanu2024-02-271-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22755 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r22478 to r22479from trunk to 5.1-stable (#39714).Marius Balteanu2023-11-261-3/+3
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22481 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add field separator option to CSV export dialog (#37621).Go MAEDA2023-10-211-1/+1
| | | | | | | Patch by Karel Pičman. git-svn-id: https://svn.redmine.org/redmine/trunk@22359 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add Parent task filter and column to Spent time (#37623).Go MAEDA2023-04-111-5/+5
| | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: https://svn.redmine.org/redmine/trunk@22177 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed an issue where an empty group could appear in the filter selection ↵Go MAEDA2023-04-061-0/+2
| | | | | | list caused by r22166 (#38402). git-svn-id: https://svn.redmine.org/redmine/trunk@22172 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reorder groups in the filter select list (#38402).Go MAEDA2023-04-051-1/+1
| | | | | | | Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22166 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Group text filters in the filter select list (#38402).Go MAEDA2023-04-051-0/+2
| | | | | | | Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22165 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ruby 2.7: Fix RuboCop offense Performance/MapCompact (#38134).Go MAEDA2023-01-171-2/+2
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22055 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year to 2023 (#38141).Go MAEDA2023-01-011-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use query name as the file name when exporting queries (#16207).Go MAEDA2022-08-241-0/+8
| | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: https://svn.redmine.org/redmine/trunk@21773 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reuse ProjectQuery filters on the admin project list (#33422).Marius Balteanu2022-04-011-0/+2
| | | | | | | Patch by Takenori TAKAKI. git-svn-id: https://svn.redmine.org/redmine/trunk@21519 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2022 (#36379).Go MAEDA2022-01-021-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Avoid executing the same SQL statement multiple times to get the default ↵Go MAEDA2021-08-041-1/+4
| | | | | | custom query (#7360). git-svn-id: http://svn.redmine.org/redmine/trunk@21134 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Hooks for queries helper (#34743).Go MAEDA2021-07-141-35/+47
| | | | | | | Patch by Alexander Meindl. git-svn-id: http://svn.redmine.org/redmine/trunk@21068 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Default issue query (#7360).Go MAEDA2021-07-061-3/+12
| | | | | | | 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
* Filter issues by file description (#34715).Go MAEDA2021-06-141-0/+2
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@21034 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2021 (#33069).Go MAEDA2021-03-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
* shorten long line of QueriesHelperToshi MARUYAMA2020-12-021-8/+51
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20545 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add empty line after guard clause to QueriesHelperToshi MARUYAMA2020-11-031-0/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20233 e93f8b46-1217-0410-a6f0-8f06a7374b81
* use "do end" instead of {} at QueriesHelperToshi MARUYAMA2020-09-211-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20058 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix source indent of QueriesHelperToshi MARUYAMA2020-09-211-4/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20054 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Total estimated time column shows up as decimal value regardless of time ↵Go MAEDA2020-04-151-2/+2
| | | | | | | | | setting (#33273). Patch by Farook Al-Sammarraie. git-svn-id: http://svn.redmine.org/redmine/trunk@19702 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Time entries csv export should check issue visibility (#33075).Jean-Philippe Lang2020-04-051-1/+1
| | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@19646 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2020 (#33069).Go MAEDA2020-03-031-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/SpaceAfterComma in app/helpers/queries_helper.rbToshi MARUYAMA2019-11-231-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19209 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code layout clean up app/helpers/queries_helper.rbToshi MARUYAMA2019-11-081-10/+23
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18963 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/BlockAlignment in app/helpers/queries_helper.rbToshi MARUYAMA2019-11-081-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18944 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/AlignArguments in QueriesHelper#column_headerToshi MARUYAMA2019-11-051-1/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18916 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/AlignArguments in QueriesHelper#column_valueToshi MARUYAMA2019-11-051-1/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18915 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/AlignArguments in QueriesHelper#query_linksToshi MARUYAMA2019-11-051-1/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18914 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix display type in query form view (#29482).Go MAEDA2019-10-221-1/+1
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18790 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use radio buttons to choose display type (#29482).Jean-Philippe Lang2019-10-191-3/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18767 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Option to switch between table list and board list (#29482).Jean-Philippe Lang2019-10-191-0/+8
| | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18765 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Style/WhileUntilModifier in ↵Toshi MARUYAMA2019-10-191-4/+2
| | | | | | app/helpers/queries_helper.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18733 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Layout/ElseAlignment in app/helpers/queries_helper.rbToshi MARUYAMA2019-10-171-5/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18712 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add clear query icon next to selected query in sidebar (#31640).Go MAEDA2019-09-141-2/+10
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18468 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use "icon icon-*" classes for sort elements (#31433).Go MAEDA2019-05-301-2/+2
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18210 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year.Go MAEDA2019-05-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Group time tracking filters in the filter select list (#26826).Go MAEDA2019-04-301-0/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18113 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use Regexp#match? to reduce allocations of MatchData object (#28940).Go MAEDA2019-03-271-1/+1
| | | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@18011 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support frozen_string_literal in issue, journal, and query (#26561).Go MAEDA2019-03-171-5/+5
| | | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17980 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove unnecessary encoding magic comment (#31034).Go MAEDA2019-03-161-2/+0
| | | | | | | | | 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
* Add "frozen_string_literal: false" for all files (#26561).Go MAEDA2019-03-151-0/+2
| | | | | | | This will be changed to true in the future. git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow issues grouping by creation, update and closing date (#13803).Jean-Philippe Lang2018-12-121-1/+1
| | | | | | Implemented for PostgreSQL only for now. git-svn-id: http://svn.redmine.org/redmine/trunk@17724 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow switching the encoding to UTF-8 when exporting to CSV (#26279).Go MAEDA2018-05-071-2/+2
| | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@17328 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add CSS classes to column headers of issues and timelogs list (#26674).Go MAEDA2018-01-151-1/+1
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17176 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ensure that values of multi-value fields are HTML-escaped in issue list ↵Jean-Philippe Lang2017-10-151-1/+2
| | | | | | | | (#27186). Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@16984 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix NameError (uninitialized constant) when "config.eager_load = true" (#26513)Toshi MARUYAMA2017-07-251-0/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16882 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Set default configuration for the timelog list (#26356).Jean-Philippe Lang2017-07-121-5/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16814 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright.Jean-Philippe Lang2017-06-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81