Go MAEDA
c8ae0c4246
Add a fixture for QueryTest#test_filter_my_bookmarks ( #29482 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18881 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-30 02:23:23 +00:00
Toshi MARUYAMA
a54f13888b
code cleanup: rubocop: revert r18854
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18868 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-26 12:54:00 +00:00
Toshi MARUYAMA
6ae403e93e
code cleanup: rubocop: fix Layout/AlignArguments in test/unit/query_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18855 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-23 13:27:10 +00:00
Toshi MARUYAMA
217347b5cf
code cleanup: rubocop: fix Layout/SpaceBeforeBlockBraces in test/unit/query_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18854 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-23 13:26:57 +00:00
Go MAEDA
b1f1108606
Option to filter after my bookmarked projects ( #32302 , #29482 , #31355 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@18842 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-23 01:20:07 +00:00
Jean-Philippe Lang
c5b5f0d6a9
Fixed that total estimated time column is shown even when estimated time field is deactivated ( #31779 ).
...
Patch by Felix Schäfer and Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18743 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-19 08:30:15 +00:00
Toshi MARUYAMA
e2cb4be892
code cleanup: rubocop: fix Layout/EmptyLines in test/unit/query_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18741 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-19 07:27:35 +00:00
Toshi MARUYAMA
7b7a1a3ed5
code cleanup: rubocop: fix Layout/LeadingCommentSpace in test/unit/query_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18653 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-14 11:14:12 +00:00
Toshi MARUYAMA
f3f1fad8de
code cleanup: rubocop: fix Layout/SpaceAroundBlockParameters in test/unit/query_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18645 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-13 16:22:42 +00:00
Go MAEDA
b0f1175e3e
Add support for "start with" and "end with" operators to "Files" filter ( #31879 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18570 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-30 13:15:45 +00:00
Go MAEDA
b3baa5c1ce
"starts with" and "ends with" filter operators for string values ( #31879 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18534 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-25 16:24:08 +00:00
Go MAEDA
ef856653ac
Code cleanup: RuboCop: Fix Performance/InefficientHashSearch
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18423 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-03 07:42:05 +00:00
Go MAEDA
8a9123de04
Limit total_estimated_hours to visible issues ( #31778 ).
...
Patch by Gregor Schmidt.
git-svn-id: http://svn.redmine.org/redmine/trunk@18356 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-07 04:44:19 +00:00
Jean-Philippe Lang
87e82b4894
Issues in paginated views may be lost because sorting criteria are not unique ( #29581 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18263 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-20 06:13:11 +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
81e06a2f25
Issue filtering by spent time ( #26826 ).
...
Patch by Tobias Umbach and Takenori TAKAKI.
git-svn-id: http://svn.redmine.org/redmine/trunk@18112 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-30 10:52:18 +00:00
Go MAEDA
470c168783
Changes Query#as_params for more complete serialization ( #31276 ).
...
Patch by Jens Krämer.
git-svn-id: http://svn.redmine.org/redmine/trunk@18103 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-30 03:10:43 +00:00
Go MAEDA
b900ae6107
Support frozen_string_literal in test/**/*.rb ( #26561 ).
...
Contributed by Pavel Rosický.
git-svn-id: http://svn.redmine.org/redmine/trunk@17996 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-21 03:27:53 +00:00
Go MAEDA
26509e7f4c
Decode hexadecimal-encoded literals in order to be frozen string literals friendly ( #31004 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17991 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-19 15:43:55 +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
Go MAEDA
d25f697d39
Fix the test ( #4502 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17942 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-13 15:50:24 +00:00
Go MAEDA
40c894ff03
Multiple issue ids in "Subtasks" filter ( #30808 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17908 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-02-28 10:01:45 +00:00
Go MAEDA
a08b64dfbb
Ensure that the current language is 'en' in the test ( #30718 ).
...
Patch by Pavel Rosický.
git-svn-id: http://svn.redmine.org/redmine/trunk@17868 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-02-15 23:38:55 +00:00
Go MAEDA
aca80173b6
Multiple issue ids in "Parent task" filter ( #30482 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17843 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-02-01 23:31:52 +00:00
Go MAEDA
04ac58b3c5
New date filter operators: tomorrow, next week, next month ( #4502 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17811 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-01-19 07:42:26 +00:00
Go MAEDA
14d441a144
Remove blank keys from sort criteria ( #30009 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17638 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-26 05:22:04 +00:00
Go MAEDA
21034c5628
Filter issues after project status ( #20081 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17607 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-29 04:03:52 +00:00
Go MAEDA
28c231473f
Custom queries are broken by updating with nil parameter values ( #29701 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17566 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-04 12:46:32 +00:00
Go MAEDA
1d596677f2
Redmine::SortCriteria#normalize! does not limit properly the maximum number of elements ( #29632 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17494 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-20 02:08:15 +00:00
Go MAEDA
5484198d98
Ensure that only visible watchers on issues can be queried ( #29133 ).
...
Contributed by Holger Just and Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17436 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-07-08 07:23:23 +00:00
Jean-Philippe Lang
d8a2024715
Dangerous query method deprecation warnings ( #23630 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17411 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-06-23 05:19:07 +00:00
Jean-Philippe Lang
baab521b8b
Fixed that "test_editable_by_for_global_query" and "test_editable_by_for_global_query_with_project_set" are identical ( #28264 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17384 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-06-16 10:53:48 +00:00
Jean-Philippe Lang
af2730de5e
Global and public custom queries are shown as editable to non administrators in projects ( #28264 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17292 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-04-08 13:23:30 +00:00
Go MAEDA
e5a8bcfd72
Ignore archived project memberships when calculating issue query visibility ( #28180 ).
...
Patch by Holger Just.
git-svn-id: http://svn.redmine.org/redmine/trunk@17257 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-04-07 00:26:54 +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
ba37a2c476
Show statuses of project trackers only ( #5385 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@16575 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-05-27 09:12:42 +00:00
Jean-Philippe Lang
dd37b8cfb6
Fixed that related to "no open issues" filter shows all issues ( #25478 ).
...
Patch by Kevin Fischer.
git-svn-id: http://svn.redmine.org/redmine/trunk@16504 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-06 16:57:44 +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
58ee62e239
Issue description filter's 'none' operator does not match issues with blank descriptions ( #25077 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@16378 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-07 17:51:27 +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
06c6de06e4
Last updated by colum in issue list ( #6375 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16366 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-05 07:42:52 +00:00
Jean-Philippe Lang
2d21ca082e
Ruby 2.4: Fixed "Fixnum is deprecated" warning in QueryTest. ( #25048 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@16355 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-02 22:48:48 +00:00
Jean-Philippe Lang
2b0e910cd5
Adds a filter on issue attachments ( #2783 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16344 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-02 18:13:59 +00:00
Jean-Philippe Lang
151a215ea4
Adds updated_by and last_updated_by filters on issues ( #17720 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16228 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-19 20:16:49 +00:00
Jean-Philippe Lang
e8d7b36f1b
Searching for issues with "updated = none" always returns zero results ( #15226 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@16226 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-18 14:57:14 +00:00
Jean-Philippe Lang
4a5ebfb778
Fixed that Query#has_column? returns false with default columns.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16217 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-17 21:29:22 +00:00
Jean-Philippe Lang
e808c62253
Filtering out specific subprojects (using 'is not' operator) ( #15773 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@16196 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-14 12:26:13 +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