Marius Balteanu
ad3f809beb
Fix chained custom field filter doesn't work for User fields ( #36940 ).
...
Patch by Thomas Löber.
git-svn-id: https://svn.redmine.org/redmine/trunk@21686 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-06-27 18:04:07 +00:00
Marius Balteanu
3ff5aea8f7
Revert undesired change ( #37349 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21685 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-06-27 18:01:53 +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
1a3ee38c2e
Respect field visibility when showing associated issue fields ( #37255 ).
...
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@21645 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-06-16 21:43:58 +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
70f8ca64dd
You can configure default project queries in the following places ( #35795 ):
...
* App-level: Administration > Projects > Default query (Projects list defaults section)
* User-level: My account > Default project query
git-svn-id: http://svn.redmine.org/redmine/trunk@21281 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-11-15 21:58:39 +00:00
Marius Balteanu
d91f644a14
Disable rubocop Lint/IneffectiveAccessModifier for @self.tokenized_like_conditions@ in @app/models/query.rb@ ( #35764 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21241 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-09 06:47:54 +00:00
Marius Balteanu
506fc9d74c
Tokenize search parameter in order to allow multiple search terms in:
...
* the "contains" operator of text filters
* in issue autocomplete
Patch by Jens Krämer.
git-svn-id: http://svn.redmine.org/redmine/trunk@21238 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-05 19:54:31 +00:00
Marius Balteanu
a0ef175ffe
Fix rubocop offense ( #35073 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21234 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-03 19:56:00 +00:00
Marius Balteanu
5c7d43d36a
Replace send with direct call because sanitize_sql_for_conditions is now public ( #35073 ).
...
Patch by Jens Krämer.
git-svn-id: http://svn.redmine.org/redmine/trunk@21233 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-03 19:46:53 +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
51755e4349
Require redmine/sort_criteria globally ( #35455 ).
...
Patch by Felix Schäfer.
git-svn-id: http://svn.redmine.org/redmine/trunk@21050 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-06-26 01:16:41 +00:00
Go MAEDA
66fc9f463d
Gracefully handle invalid query parameters for custom fields ( #35312 ).
...
Patch by Holger Just.
git-svn-id: http://svn.redmine.org/redmine/trunk@21012 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-05-28 03:58:01 +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
de93c19c3f
Disable grouping for associations custom field ( #35115 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@20956 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-21 07:29: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
7c7d29e33c
Unnecessary database access when IssueQuery class is defined ( #33290 ).
...
Patch by Kevin Fischer.
git-svn-id: http://svn.redmine.org/redmine/trunk@20830 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-19 05:20:48 +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
f238663f2b
Allow to use watch_by filter in the global issues list ( #34700 ).
...
Patch by Holger Just.
git-svn-id: http://svn.redmine.org/redmine/trunk@20744 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-02-11 06:48:29 +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
a91da01ade
shorten long line of Query#sql_for_custom_field
...
git-svn-id: http://svn.redmine.org/redmine/trunk@20640 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-12 15:49:44 +00:00
Toshi MARUYAMA
c840cefb76
shorten long line of Query#relative_date_clause
...
git-svn-id: http://svn.redmine.org/redmine/trunk@20607 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-10 13:33:44 +00:00
Toshi MARUYAMA
d30d70a418
shorten long line of Query#sql_for_field
...
git-svn-id: http://svn.redmine.org/redmine/trunk@20588 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-09 14:11:21 +00:00
Toshi MARUYAMA
807952bdd9
shorten long line of Query#add_custom_fields_filters
...
git-svn-id: http://svn.redmine.org/redmine/trunk@20570 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-04 13:59:21 +00:00
Toshi MARUYAMA
96acbee6d3
use "do end" instead of {} at ActiveRecord scope lambda of app/models/query.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@20317 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-09 13:25:10 +00:00
Toshi MARUYAMA
a62f6cde56
fix source indent of app/models/query.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@20039 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-09-17 15:48:09 +00:00
Go MAEDA
a411666fe8
Remove an unused variable in Query#add_chained_custom_field_filters ( #33728 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@20007 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-09-07 13:33:07 +00:00
Toshi MARUYAMA
cdb4743408
use "do end" instead of {} at app/models/query.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19972 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-08-09 15:57:44 +00:00
Toshi MARUYAMA
4df233e947
fix source indent of app/models/query.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19931 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-21 13:41:09 +00:00
Toshi MARUYAMA
457b39a980
remove spaces inside {} of app/models/query.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19880 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-11 01:21:27 +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
3614346962
Fix a RuboCop offense Style/MultipleComparison ( #33083 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19563 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-07 07:29:14 +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
b6d26dc170
Add system setting for default results display format of project query ( #32818 ).
...
Patch by Takenori TAKAKI and Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@19505 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-11 01:10:48 +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
261d3ed39c
Issue relations filter lacks "is not" ( #32546 ).
...
Patch by Alexander Achenbach.
git-svn-id: http://svn.redmine.org/redmine/trunk@19363 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-12-12 00:56:32 +00:00
Toshi MARUYAMA
daf4f93c16
cleanup: rubocop: fix Layout/SpaceAfterComma in app/models/query.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19256 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 13:18:54 +00:00
Toshi MARUYAMA
37272d1c41
cleanup: rubocop: fix Layout/EmptyLineAfterGuardClause in app/models/query.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19173 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-22 14:55:16 +00:00
Toshi MARUYAMA
3326956a62
cleanup: rubocop: fix Layout/EmptyLinesAroundClassBody in app/models/query.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19097 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-20 16:00:28 +00:00
Jean-Philippe Lang
9746ab7e5b
Add anonymous user to author list in issue/time query ( #16904 ).
...
Patch by Yuichi HARADA and Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19065 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-10 07:58:57 +00:00
Toshi MARUYAMA
95401eced1
cleanup: rubocop: fix Layout/AlignArguments in app/models/query.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18967 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-08 14:54:00 +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
Toshi MARUYAMA
48b2c8bc36
code cleanup: rubocop: fix Style/ParenthesesAroundCondition in app/models/query.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18833 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-22 15:54:24 +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
Jean-Philippe Lang
ecd9d9ba2f
Filter after project custom fields ( #29482 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@18764 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-19 11:39:02 +00:00
Jean-Philippe Lang
80844362db
Filter after projects ( #29482 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@18762 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-19 11:37:30 +00:00