Commit Graph

238 Commits

Author SHA1 Message Date
Go MAEDA
fae39a9542 Fix "Any searchable text" filter doesn't support the project filter with the value "my projects" or "my bookmarks" (#38402).
git-svn-id: https://svn.redmine.org/redmine/trunk@22203 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-18 12:05:49 +00:00
Go MAEDA
0e19e183b1 OR search with multiple terms for "starts with" and "ends with" filter operators (#38456).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22202 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-17 23:25:14 +00:00
Go MAEDA
0f6507a607 Change the notation of "contains any of" filter operator to "*~" (#38435).
git-svn-id: https://svn.redmine.org/redmine/trunk@22197 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-16 08:02:30 +00:00
Go MAEDA
1f5c8742e3 Fix "contains any of" operator is not taken into account in File and File description filters (#38435).
git-svn-id: https://svn.redmine.org/redmine/trunk@22195 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-16 05:46:52 +00:00
Go MAEDA
404a5b1de0 "contains any of" operator for text filters to perform OR search of multiple terms (#38435).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22188 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-14 23:50:26 +00:00
Go MAEDA
9546dfa5e3 Add Parent task filter and column to Spent time (#37623).
Patch by Mizuki ISHIKAWA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22177 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-11 09:11:40 +00:00
Go MAEDA
972e51bc89 Change the behavior of the "Any searchable text" filter from OR search to AND search (#38402).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22169 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-05 23:36:18 +00:00
Go MAEDA
27b8f57fd8 Fix a bug the "doesn't contain" operator returns no issues if the search finds no issues (#38402).
Patch by Holger Just.


git-svn-id: https://svn.redmine.org/redmine/trunk@22168 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-05 13:52:53 +00:00
Go MAEDA
d7d27374b8 Add "Any searchable text" filter for issues (#38402).
Patch by Go MAEDA and Holger Just.


git-svn-id: https://svn.redmine.org/redmine/trunk@22164 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-05 09:22:34 +00:00
Go MAEDA
0fb007cc02 Multiple issue ids in "Related to" filter (#38301).
Patch by Tomoko Shimizu, Ko Nagase, and Takashi Kato.


git-svn-id: https://svn.redmine.org/redmine/trunk@22156 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-03-25 06:27:30 +00:00
Go MAEDA
0b6f4c6811 Ruby 2.7: Fix RuboCop offense Performance/MapCompact (#38134).
git-svn-id: https://svn.redmine.org/redmine/trunk@22055 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-17 01:38:27 +00:00
Go MAEDA
1481c721a2 Use require_relative instead of require File.expand_path(..., __FILE__) (#38093).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22016 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-01 07:13:39 +00:00
Go MAEDA
92bd67c279 Update copyright year to 2023 (#38141).
git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-01 06:19:35 +00:00
Marius Balteanu
7c80efae71 Query display types should accept only known types (#37925).
Patch by Alexander Meindl.


git-svn-id: https://svn.redmine.org/redmine/trunk@21965 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-11-28 22:41:53 +00:00
Go MAEDA
ee1476f802 Fix RuboCop offense Rails/Pluck (#37248).
git-svn-id: https://svn.redmine.org/redmine/trunk@21928 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-28 07:50:11 +00:00
Go MAEDA
72e2efdc60 Default query should not be applied if the query is not allowed to be set as the default (#37499).
Patch by Mizuki ISHIKAWA.


git-svn-id: https://svn.redmine.org/redmine/trunk@21748 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-07-31 13:33:27 +00:00
Marius Balteanu
0b4aab3144 Add test for #37349.
git-svn-id: https://svn.redmine.org/redmine/trunk@21687 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-06-27 18:05:22 +00:00
Marius Balteanu
6e5b8f07ef Fix filter for chained User custom fields returns 500 internal server error when filtering after a float value (#37349).
git-svn-id: https://svn.redmine.org/redmine/trunk@21684 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-06-27 17:58:14 +00:00
Marius Balteanu
6f5920e4cb Fix failing test caused by r21646 (#37255).
git-svn-id: https://svn.redmine.org/redmine/trunk@21657 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-06-19 19:30:13 +00:00
Go MAEDA
d27582644a Fix RuboCop offense Rails/RefuteMethods (#36824, #30924).
git-svn-id: https://svn.redmine.org/redmine/trunk@21501 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-26 04:01:51 +00:00
Go MAEDA
511abef657 Fix RuboCop offense Style/HashSyntax (Don't mix styles in the same hash) (#36824, #30924).
git-svn-id: https://svn.redmine.org/redmine/trunk@21500 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-26 03:57:48 +00:00
Marius Balteanu
9b25b348c3 Allow to filter issues by its version status with shared versions (#36824, #30924).
Patch by Holger Just.


git-svn-id: https://svn.redmine.org/redmine/trunk@21499 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-24 16:52:20 +00:00
Go MAEDA
3686b77eb6 Update copyright year in source files to 2022 (#36379).
git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-02 05:29:10 +00:00
Go MAEDA
b6a26a60f3 Fixes for Performance/StringIdentifierArgument introduced in RuboCop Performance 1.13.0 (#35142).
git-svn-id: http://svn.redmine.org/redmine/trunk@21330 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-12-29 06:12:27 +00:00
Marius Balteanu
a84efa8046 Add tests for #35764.
git-svn-id: http://svn.redmine.org/redmine/trunk@21239 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-05 19:55:10 +00:00
Marius Balteanu
0ec96f52f3 Use sanitize_sql_like in Query#sql_contains (#35073).
Patch by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@21232 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-03 19:45:20 +00:00
Go MAEDA
7f965286ed Default issue query (#7360).
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
2021-07-06 06:01:50 +00:00
Go MAEDA
a0bf4e5cd3 Filter issues by file description (#34715).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21034 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-06-14 07:01:27 +00:00
Go MAEDA
49e323ae7a Duplicate entries in issue filter values (#35201).
Patch by Jens Krämer.


git-svn-id: http://svn.redmine.org/redmine/trunk@20990 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-05-07 04:45:08 +00:00
Go MAEDA
7ab1a667a9 Filter issues by notes (#5893).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@20955 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-21 07:01:02 +00:00
Go MAEDA
3e36b5c452 Update copyright year in source files to 2021 (#33069).
git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-25 06:58:56 +00:00
Go MAEDA
83f3f45497 Fix that column header is clickable even when the column is not actually sortable (#33548).
Patch by Vincent Robert and Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@20783 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-14 03:14:49 +00:00
Go MAEDA
36b5c32048 Subprojects issues are not displayed on main project when all subprojects are closed (#34297).
Patch by Yuichi HARADA and Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@20693 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-27 06:46:37 +00:00
Toshi MARUYAMA
cafdf6a6f4 remove spaces inside {} of test/unit/query_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20381 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-15 12:36:32 +00:00
Toshi MARUYAMA
2ccc46c955 fix source indent of test/unit/query_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20201 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-26 13:35:50 +00:00
Toshi MARUYAMA
b22dad45a8 fix source indent of test/unit/query_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20200 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-26 13:35:42 +00:00
Toshi MARUYAMA
af0f1c878a shorten long line of test/unit/query_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20164 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-22 14:18:21 +00:00
Go MAEDA
eab671320a Fix RuboCop offense Style/RedundantCapitalW due to r20154 (#34142).
git-svn-id: http://svn.redmine.org/redmine/trunk@20155 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-22 02:34:53 +00:00
Go MAEDA
8018beb5f0 Drop Ruby 2.3 support (#34142).
git-svn-id: http://svn.redmine.org/redmine/trunk@20154 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-21 02:41:13 +00:00
Toshi MARUYAMA
1856a025bc add space after comma to test/unit/query_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19914 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-19 14:05:35 +00:00
Go MAEDA
4fd0e739db Fix that totals of custom fields may not be sorted as configured (#33281).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19758 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-08 04:30:24 +00:00
Jean-Philippe Lang
d6734e6239 Fix sort does not work with group by datetime columns (#33110).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@19655 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-05 09:43:03 +00:00
Go MAEDA
c5ec830b68 Remove duplicate keys from sort criteria (#32737).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19636 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-02 06:22:23 +00:00
Go MAEDA
db2118fd82 Projects filter "Subproject of" does not work when the given value is "My projects" or "My bookmarks" (#33083).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19559 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-04 08:26:34 +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
Go MAEDA
b995014c49 Allow adding user groups as watchers for issues (#4511).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19498 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-06 08:19:13 +00:00
Go MAEDA
e2ed6f27b6 Test for r19363 (#32546).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19364 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-12-12 01:00:10 +00:00
Toshi MARUYAMA
17e05f3590 cleanup: rubocop: fix Layout/SpaceInsideParens in test/unit/query_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19247 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 12:57:39 +00:00
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