summaryrefslogtreecommitdiffstats
path: root/test/unit/query_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Merged r20990 from trunk to 4.1-stable (#35201).Go MAEDA2021-05-071-0/+13
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/4.1-stable@20992 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r20783 from trunk to 4.1-stable (#33548).Go MAEDA2021-03-141-0/+10
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/4.1-stable@20784 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r20693 from trunk to 4.1-stable (#34297).Go MAEDA2020-12-291-0/+11
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/4.1-stable@20695 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r19758 from trunk to 4.1-stable (#33281).Go MAEDA2020-05-081-0/+31
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/4.1-stable@19759 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r19655 to 4.1-stable (#33110).Jean-Philippe Lang2020-04-051-0/+28
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/4.1-stable@19665 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r19636 from trunk to 4.1-stable (#32737).Go MAEDA2020-04-021-3/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/4.1-stable@19638 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r19559 from trunk to 4.1-stable (#33083).Go MAEDA2020-03-041-0/+28
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/4.1-stable@19560 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r19364 from trunk to 4.1-stable (#32546).Go MAEDA2019-12-131-0/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/4.1-stable@19370 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add a fixture for QueryTest#test_filter_my_bookmarks (#29482).Go MAEDA2019-10-301-1/+1
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@18881 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: revert r18854Toshi MARUYAMA2019-10-261-12/+12
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18868 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Layout/AlignArguments in test/unit/query_test.rbToshi MARUYAMA2019-10-231-10/+10
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18855 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Layout/SpaceBeforeBlockBraces in ↵Toshi MARUYAMA2019-10-231-12/+12
| | | | | | test/unit/query_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18854 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Option to filter after my bookmarked projects (#32302, #29482, #31355).Go MAEDA2019-10-231-0/+21
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18842 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that total estimated time column is shown even when estimated time ↵Jean-Philippe Lang2019-10-191-0/+19
| | | | | | | | 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
* code cleanup: rubocop: fix Layout/EmptyLines in test/unit/query_test.rbToshi MARUYAMA2019-10-191-3/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18741 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Layout/LeadingCommentSpace in test/unit/query_test.rbToshi MARUYAMA2019-10-141-3/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18653 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Layout/SpaceAroundBlockParameters in ↵Toshi MARUYAMA2019-10-131-5/+4
| | | | | | test/unit/query_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18645 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add support for "start with" and "end with" operators to "Files" filter ↵Go MAEDA2019-09-301-0/+14
| | | | | | | | | (#31879). Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@18570 e93f8b46-1217-0410-a6f0-8f06a7374b81
* "starts with" and "ends with" filter operators for string values (#31879).Go MAEDA2019-09-251-0/+14
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@18534 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Code cleanup: RuboCop: Fix Performance/InefficientHashSearchGo MAEDA2019-09-031-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18423 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Limit total_estimated_hours to visible issues (#31778).Go MAEDA2019-08-071-0/+33
| | | | | | | Patch by Gregor Schmidt. git-svn-id: http://svn.redmine.org/redmine/trunk@18356 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Issues in paginated views may be lost because sorting criteria are not ↵Jean-Philippe Lang2019-06-201-0/+14
| | | | | | | | unique (#29581). Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@18263 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
* Issue filtering by spent time (#26826).Go MAEDA2019-04-301-1/+20
| | | | | | | Patch by Tobias Umbach and Takenori TAKAKI. git-svn-id: http://svn.redmine.org/redmine/trunk@18112 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Changes Query#as_params for more complete serialization (#31276).Go MAEDA2019-04-301-0/+15
| | | | | | | Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@18103 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support frozen_string_literal in test/**/*.rb (#26561).Go MAEDA2019-03-211-1/+1
| | | | | | | Contributed by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17996 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Decode hexadecimal-encoded literals in order to be frozen string literals ↵Go MAEDA2019-03-191-1/+1
| | | | | | | | | friendly (#31004). Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@17991 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
* Fix the test (#4502).Go MAEDA2019-03-131-2/+6
| | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@17942 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Multiple issue ids in "Subtasks" filter (#30808).Go MAEDA2019-02-281-0/+10
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@17908 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ensure that the current language is 'en' in the test (#30718).Go MAEDA2019-02-151-0/+1
| | | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17868 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Multiple issue ids in "Parent task" filter (#30482).Go MAEDA2019-02-011-0/+10
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@17843 e93f8b46-1217-0410-a6f0-8f06a7374b81
* New date filter operators: tomorrow, next week, next month (#4502).Go MAEDA2019-01-191-1/+43
| | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@17811 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove blank keys from sort criteria (#30009).Go MAEDA2018-11-261-0/+6
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17638 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Filter issues after project status (#20081).Go MAEDA2018-10-291-0/+23
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17607 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Custom queries are broken by updating with nil parameter values (#29701).Go MAEDA2018-10-041-0/+15
| | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@17566 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Redmine::SortCriteria#normalize! does not limit properly the maximum number ↵Go MAEDA2018-09-201-0/+6
| | | | | | | | | of elements (#29632). Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@17494 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ensure that only visible watchers on issues can be queried (#29133).Go MAEDA2018-07-081-0/+32
| | | | | | | Contributed by Holger Just and Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@17436 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Dangerous query method deprecation warnings (#23630).Jean-Philippe Lang2018-06-231-6/+9
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17411 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that "test_editable_by_for_global_query" and ↵Jean-Philippe Lang2018-06-161-1/+0
| | | | | | "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
* Global and public custom queries are shown as editable to non administrators ↵Jean-Philippe Lang2018-04-081-1/+21
| | | | | | in projects (#28264). git-svn-id: http://svn.redmine.org/redmine/trunk@17292 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ignore archived project memberships when calculating issue query visibility ↵Go MAEDA2018-04-071-0/+5
| | | | | | | | | (#28180). Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@17257 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
* Show statuses of project trackers only (#5385).Jean-Philippe Lang2017-05-271-0/+26
| | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@16575 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that related to "no open issues" filter shows all issues (#25478).Jean-Philippe Lang2017-04-061-1/+15
| | | | | | Patch by Kevin Fischer. git-svn-id: http://svn.redmine.org/redmine/trunk@16504 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Get rid of sort_helper when using queries.Jean-Philippe Lang2017-03-131-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16390 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Get the count by group from the query directly.Jean-Philippe Lang2017-03-091-4/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16387 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Issue description filter's 'none' operator does not match issues with blank ↵Jean-Philippe Lang2017-03-071-0/+12
| | | | | | | | descriptions (#25077). Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@16378 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Show Last Comment in Issue list (#1474).Jean-Philippe Lang2017-03-051-2/+9
| | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@16367 e93f8b46-1217-0410-a6f0-8f06a7374b81