summaryrefslogtreecommitdiffstats
path: root/test/functional/users_controller_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fix RuboCop offense Layout/EmptyLinesAroundMethodBody, one of the offenses ↵Go MAEDA2024-08-121-1/+0
| | | | | | enabled in rubocop-rails-omakase (#39887). git-svn-id: https://svn.redmine.org/redmine/trunk@22950 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds test for bulk unlock users (#40913).Marius Balteanu2024-07-141-0/+16
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22930 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add bulk lock feature to user list context menu (#40913).Marius Balteanu2024-06-251-8/+34
| | | | | | | Patch by Mizuki ISHIKAWA (@ishikawa999). git-svn-id: https://svn.redmine.org/redmine/trunk@22898 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix "ArgumentError: Invalid response name: unprocessable_entity" with Rack ↵Go MAEDA2024-06-121-2/+2
| | | | | | | | | | | | 3.1.0+ in assert_response (#39889). Rack 3.1.0 changed the symbol for HTTP status code 422 from `:unprocessable_entity` to `:unprocessable_content`. Due to the change, `assert_response(:unprocessable_entity, ...)` raises ArgumentError with Rack 3.1.0+. This fix is a follow-up to r22837. git-svn-id: https://svn.redmine.org/redmine/trunk@22876 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds description field to custom queries (#9309).Marius Balteanu2024-06-041-0/+9
| | | | | | | Patch by Go MAEDA (@maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22855 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Rails/HttpStatus (#39889).Go MAEDA2024-05-181-13/+13
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22837 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
* Exporting UserQuery does not use the query name as file name (#37674, #38182).Go MAEDA2023-03-011-0/+13
| | | | | | | Patch by Takenori TAKAKI. git-svn-id: https://svn.redmine.org/redmine/trunk@22121 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 undefined method when auth source name column is added as column (#37674).Marius Balteanu2022-09-271-0/+14
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21861 e93f8b46-1217-0410-a6f0-8f06a7374b81
* User bulk destroy (#37674).Go MAEDA2022-09-201-0/+57
| | | | | | | | | | includes a confirmation page that also gives the opportunity to lock users instead of deleting them. Patch by Jens Krämer. git-svn-id: https://svn.redmine.org/redmine/trunk@21824 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Introduces a UserQuery model for admin/users (#37674).Go MAEDA2022-09-201-29/+115
| | | | | | | Patch by Jens Krämer. git-svn-id: https://svn.redmine.org/redmine/trunk@21823 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Layout/FirstHashElementIndentation (#36919).Go MAEDA2022-06-301-10/+13
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21696 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "Two-factor authentication" filter and column to Users list in ↵Marius Balteanu2022-01-221-0/+44
| | | | | | administration (#35934). git-svn-id: http://svn.redmine.org/redmine/trunk@21380 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2022 (#36379).Go MAEDA2022-01-021-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Password and Confirmation fields are marked as required when editing a user ↵Go MAEDA2021-08-131-0/+2
| | | | | | | | | (#35731). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@21167 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove unused setting 'Blind carbon copy recipients (bcc)' (#30820).Marius Balteanu2021-08-011-78/+79
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21130 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Security notification is not sent when an admin changes the password of a ↵Go MAEDA2021-05-241-0/+18
| | | | | | | | | user (#32199). Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@21006 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails 6.1: add header=present to csv tests (#29914, #32921).Go MAEDA2021-04-011-5/+5
| | | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@20887 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2021 (#33069).Go MAEDA2021-03-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix that users can delete their own accounts unconditionally via REST API ↵Go MAEDA2021-03-131-0/+23
| | | | | | | | | (#11870). Patch by Mizuki ISHIKAWA and Kevin Fischer. git-svn-id: http://svn.redmine.org/redmine/trunk@20782 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Require explicit confirmation before deleting a user (#34417).Go MAEDA2020-12-101-6/+32
| | | | | | | Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@20600 e93f8b46-1217-0410-a6f0-8f06a7374b81
* TypeError when attempting to update a user with a blank email address (#33355).Go MAEDA2020-12-031-0/+13
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@20562 e93f8b46-1217-0410-a6f0-8f06a7374b81
* use with_settings at ↵Toshi MARUYAMA2020-11-171-13/+17
| | | | | | UsersControllerTest#test_update_with_generate_password_should_email_the_password git-svn-id: http://svn.redmine.org/redmine/trunk@20413 e93f8b46-1217-0410-a6f0-8f06a7374b81
* use with_settings at ↵Toshi MARUYAMA2020-11-161-7/+13
| | | | | | UsersControllerTest#test_update_with_password_change_should_send_a_notification git-svn-id: http://svn.redmine.org/redmine/trunk@20400 e93f8b46-1217-0410-a6f0-8f06a7374b81
* use with_settings at ↵Toshi MARUYAMA2020-11-151-7/+11
| | | | | | UsersControllerTest#test_update_with_activation_should_send_a_notification git-svn-id: http://svn.redmine.org/redmine/trunk@20388 e93f8b46-1217-0410-a6f0-8f06a7374b81
* use with_settings at UsersControllerTest#test_createToshi MARUYAMA2020-11-141-16/+19
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20375 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove spaces inside {} of UsersControllerTestToshi MARUYAMA2020-11-141-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20365 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Include twofa_scheme (two-factor scheme) column when exporting users to CSV ↵Go MAEDA2020-11-131-6/+13
| | | | | | | | | (#34241). Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@20350 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add missing fixture to UsersControllerTest (#33786).Go MAEDA2020-08-021-1/+1
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@19943 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Additional email addresses are not displayed in user profile page (#33601).Go MAEDA2020-06-271-0/+14
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@19836 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Include updated_on and passwd_changed_on columns when exporting users to CSV ↵Go MAEDA2020-05-021-0/+4
| | | | | | | | | (#33347). Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@19740 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Unify CSS classes for custom fields in issue#show, issue#edit and ↵Go MAEDA2020-04-111-1/+1
| | | | | | | | | issue#bulk_edit (#32471). Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@19690 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support custom fields when exporting users to CSV (#33126).Go MAEDA2020-04-041-0/+18
| | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@19642 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Unable to edit user or group that has custom fields with text formatting ↵Go MAEDA2020-03-241-0/+8
| | | | | | | | | enabled (#33183). Patch by Go MAEDA and Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@19613 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2020 (#33069).Go MAEDA2020-03-031-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
* CSV related tests fail with Rails 5.2.4 (#32526, #32525).Go MAEDA2019-12-081-4/+4
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@19344 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code layout clean up test/functional/users_controller_test.rbToshi MARUYAMA2019-11-251-17/+78
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19295 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Layout/EmptyLineBetweenDefs in ↵Toshi MARUYAMA2019-10-141-1/+0
| | | | | | test/functional/users_controller_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18660 e93f8b46-1217-0410-a6f0-8f06a7374b81
* User preference for issue history default tab (#3058).Jean-Philippe Lang2019-06-201-1/+3
| | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18277 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
* Display user's gravatar when editing profile (#5899).Go MAEDA2019-05-201-1/+4
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@18180 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update Rails to 5.2.3 (#31113).Go MAEDA2019-03-311-4/+4
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18028 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Show projects using a table instead of an unordered list in the user profile ↵Go MAEDA2019-03-281-2/+14
| | | | | | | | | page (#31066). Patch by Takenori TAKAKI. git-svn-id: http://svn.redmine.org/redmine/trunk@18012 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Enable frozen_string_literal for some files under test directory (#26561).Go MAEDA2019-03-161-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17978 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Display user's groups on profile (#12796).Jean-Philippe Lang2019-03-151-0/+15
| | | | | | Only for admins or when viewing its own profile. git-svn-id: http://svn.redmine.org/redmine/trunk@17973 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
* Add CSS class to user custom fields (#30985).Go MAEDA2019-03-091-1/+1
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17935 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add issue tracking table on the user profile page (#30421).Go MAEDA2019-02-011-0/+19
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17844 e93f8b46-1217-0410-a6f0-8f06a7374b81