summaryrefslogtreecommitdiffstats
path: root/test/unit/user_query_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Ensure that a UserQuery can only be viewed or edited by admins (#42352).Marius Balteanu2025-03-091-0/+24
| | | | | | Patch by Holger Just (user:hjust). git-svn-id: https://svn.redmine.org/redmine/trunk@23530 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use `fixtures :all` to ensure consistent test data and improve test ↵Go MAEDA2024-12-111-3/+0
| | | | | | | | | reliability (#41961). Patch by Katsuya HIDAKA (user:hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@23391 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove current year from source file copyright headers and update year in ↵Marius Balteanu2024-02-261-1/+1
| | | | | | footer to 2024 (#40043). git-svn-id: https://svn.redmine.org/redmine/trunk@22746 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates Rails to 7.1.2 (#36320).Marius Balteanu2023-11-271-1/+1
| | | | | | Patch by Takashi Kato. git-svn-id: https://svn.redmine.org/redmine/trunk@22488 e93f8b46-1217-0410-a6f0-8f06a7374b81
* API compatibility to legacy status and name query params (#39181, #37674)Go MAEDA2023-10-151-0/+23
| | | | | | | | | | - adds 'name' filter that mimics the old behavior of matching on email, login, first- or lastname - maps the 'status' url parameter to the status_id filter, and the 'name' url parameter to the new name filter Patch by Jens Krämer. git-svn-id: https://svn.redmine.org/redmine/trunk@22343 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use `require_relative` instead of `require File.expand_path(..., __FILE__)` ↵Go MAEDA2023-01-011-1/+1
| | | | | | | | | (#38093). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22016 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year to 2023 (#38141).Go MAEDA2023-01-011-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix failing test on PostgreSQL by ordering by only non null values (#37674).Marius Balteanu2022-09-271-3/+10
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21860 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds missing join when ordering by authsource (#37674).Go MAEDA2022-09-271-0/+13
| | | | | | | Patch by Jens Krämer. git-svn-id: https://svn.redmine.org/redmine/trunk@21856 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix random test failure (#37674).Go MAEDA2022-09-241-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21835 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds tests for UserQuery model (#37674).Go MAEDA2022-09-211-0/+175
Patch by Jens Krämer. git-svn-id: https://svn.redmine.org/redmine/trunk@21828 e93f8b46-1217-0410-a6f0-8f06a7374b81