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
2 years ago
Marius Balteanu
3ff5aea8f7
Revert undesired change (#37349).
git-svn-id: https://svn.redmine.org/redmine/trunk@21685 e93f8b46-1217-0410-a6f0-8f06a7374b81
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
Marius Balteanu
a0ef175ffe
Fix rubocop offense (#35073).
git-svn-id: http://svn.redmine.org/redmine/trunk@21234 e93f8b46-1217-0410-a6f0-8f06a7374b81
2 years ago
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
2 years ago
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
2 years ago
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
3 years ago
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
3 years ago
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
3 years ago
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
3 years ago
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
3 years ago
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
3 years ago
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
3 years ago
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
3 years ago
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
3 years ago
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
3 years ago
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
3 years ago
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
3 years ago
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
3 years ago
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
3 years ago
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
3 years ago
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
3 years ago
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
3 years ago
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
3 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago