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
Jean-Philippe Lang
5c7aaa4d1e
Makes Attachments column available on the issue list ( #25515 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16473 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-04 17:07:13 +00:00
Jean-Philippe Lang
8c7898bb5d
Let user choose columns and sort order of issue lists on "My page" ( #1565 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16400 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-14 18:18:19 +00:00
Jean-Philippe Lang
71d88e5535
Get rid of sort_helper when using queries.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16390 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-13 19:17:59 +00:00
Jean-Philippe Lang
b714c71402
Get the count by group from the query directly.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16387 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-09 20:01:01 +00:00
Jean-Philippe Lang
91d10c63f0
Show Last Comment in Issue list ( #1474 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@16367 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-05 07:58:07 +00:00
Jean-Philippe Lang
d10ab869a7
Handle csv columns selection in query to preload appropriate associations ( #24865 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16219 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-18 12:51:41 +00:00
Jean-Philippe Lang
a12219034d
Make Spent time clickable in issue lists ( #24649 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@16204 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-15 16:29:19 +00:00
Jean-Philippe Lang
f1678e4f77
Filters on chained custom fields and custom field attributes ( #21249 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16191 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-14 10:52:38 +00:00
Jean-Philippe Lang
cb15f0df38
Filter group should be a Symbol.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16190 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-14 10:08:44 +00:00
Jean-Philippe Lang
2bcbb30546
Rename "issue" to "item" in query helpers ( #24643 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@16101 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-20 09:07:24 +00:00
Jean-Philippe Lang
5495e6f342
Introduce a setting to change the display format of timespans to h:mm ( #23996 ).
...
Patch by Jens Kraemer.
git-svn-id: http://svn.redmine.org/redmine/trunk@15965 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-11-18 12:42:20 +00:00
Jean-Philippe Lang
7daa5b750f
Previous/Next navigation on a issue is not displayed on r15639 and later ( #23781 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15850 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-01 08:13:40 +00:00
Jean-Philippe Lang
793cb16764
Make time entries groupable ( #16843 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15649 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-13 19:02:48 +00:00
Jean-Philippe Lang
03dbf8abb8
Remove special behaviour for listing issue time entries, use a filter for that.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15644 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-12 19:28:49 +00:00
Jean-Philippe Lang
a00538e602
Display the list of saved queries in the sidebar ( #14790 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15642 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-12 17:54:46 +00:00
Jean-Philippe Lang
275bd514cd
Adds scopes for retrieving the appropriate queries ( #14790 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15641 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-12 17:45:39 +00:00
Jean-Philippe Lang
b5d2ddedfa
Moves sidebar queries rendering to QueriesHelper ( #14790 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15640 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-12 17:42:40 +00:00
Jean-Philippe Lang
beb5e60391
Makes spent time queries savable ( #14790 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15639 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-12 17:40:19 +00:00
Jean-Philippe Lang
4c78b63d58
Wrong filters are applied when exporting issues to CSV with blank filter ( #23206 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@15608 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-09 02:08:39 +00:00