Commit Graph

169 Commits

Author SHA1 Message Date
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
Jean-Philippe Lang
fd3c08aaa1 Don't preload all query filters (#24787).
git-svn-id: http://svn.redmine.org/redmine/trunk@16170 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-09 19:59:54 +00:00
Jean-Philippe Lang
3a2b6c7c96 Enforce issue assignee validation (#23921).
git-svn-id: http://svn.redmine.org/redmine/trunk@16055 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-10 12:02:37 +00:00
Jean-Philippe Lang
b6ed06ca3c Add the possibility to filter issues after Target Version's Status and Due Date (#23215).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@15881 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-02 11:21:11 +00:00
Jean-Philippe Lang
9f9232381a Filter on issue ID with between/lesser/greater operator does not work (#23596).
git-svn-id: http://svn.redmine.org/redmine/trunk@15751 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-08-30 19:28:00 +00:00
Jean-Philippe Lang
0b16423104 Group versions by status in issue filters (#10412).
git-svn-id: http://svn.redmine.org/redmine/trunk@15601 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-02 09:44:53 +00:00
Jean-Philippe Lang
9cfb319c43 Test failure with SQLServer (#22320).
git-svn-id: http://svn.redmine.org/redmine/trunk@15392 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-07 18:30:59 +00:00
Jean-Philippe Lang
eafd585dbe Fixes Query#date_clause timezone handling (#22320).
When querying time fields based on date values these should be interpreted
in the user's time zone, since that's what a user usually expects.

Patch by Jens Kraemer.

git-svn-id: http://svn.redmine.org/redmine/trunk@15381 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-07 10:58:49 +00:00
Jean-Philippe Lang
699a75910d Filter by issue id (#4806).
A shortcut is added to the context menu to filter the selected issues.

git-svn-id: http://svn.redmine.org/redmine/trunk@15371 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-06 18:59:36 +00:00
Jean-Philippe Lang
e2137e7a5e SQL server: non ASCII filter on text fields does not work (#22405).
git-svn-id: http://svn.redmine.org/redmine/trunk@15353 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-24 11:36:30 +00:00
Jean-Philippe Lang
72e7357611 Set source encoding (#22405).
git-svn-id: http://svn.redmine.org/redmine/trunk@15352 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-24 11:29:06 +00:00
Jean-Philippe Lang
a2a59448b4 SQL server: non ASCII filter on issue subject does not work (#22405).
git-svn-id: http://svn.redmine.org/redmine/trunk@15350 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-24 10:57:05 +00:00
Jean-Philippe Lang
cda9c63d9c Updates copyright for 2016.
git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-13 10:30:10 +00:00
Jean-Philippe Lang
d3d7678c76 Ability to filter issues blocked by any/no open issues (#16621).
Patch by Arthur Andersen.

git-svn-id: http://svn.redmine.org/redmine/trunk@14809 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-11-07 09:20:36 +00:00
Jean-Philippe Lang
aff96e19c0 Test failure (#21074).
git-svn-id: http://svn.redmine.org/redmine/trunk@14775 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-31 10:52:08 +00:00
Jean-Philippe Lang
9bc5946ee7 Test failure (#21074).
git-svn-id: http://svn.redmine.org/redmine/trunk@14769 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-30 15:55:40 +00:00
Jean-Philippe Lang
828e8111cc Add users to assignee/author filters if they are missing (#3398).
git-svn-id: http://svn.redmine.org/redmine/trunk@14722 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-21 18:01:11 +00:00
Jean-Philippe Lang
11bce09825 Typo "coma" (#20551).
Patch by budo kaiman.

git-svn-id: http://svn.redmine.org/redmine/trunk@14712 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-20 18:26:28 +00:00
Jean-Philippe Lang
9c7832d822 Workaround for spent time grouped by project (#1561).
git-svn-id: http://svn.redmine.org/redmine/trunk@14667 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-09 09:30:14 +00:00
Jean-Philippe Lang
498a429a41 Display totals for each group on grouped queries (#1561).
git-svn-id: http://svn.redmine.org/redmine/trunk@14665 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-09 09:02:11 +00:00
Jean-Philippe Lang
446f70f584 Adds options to display totals on the issue list (#1561).
Works for estimated hours, spent hours and any numeric custom field.

git-svn-id: http://svn.redmine.org/redmine/trunk@14642 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-04 19:42:37 +00:00
Jean-Philippe Lang
d4723bb05f Query doesn't work with non ASCII uppercase symbols (#20438).
git-svn-id: http://svn.redmine.org/redmine/trunk@14476 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-08-02 08:32:18 +00:00