Commit Graph

165 Commits

Author SHA1 Message Date
Go MAEDA
c1c9a50397 Fix RuboCop offense Style/InverseMethods: Use invalid? instead of inverting valid? (#37248).
git-svn-id: https://svn.redmine.org/redmine/trunk@22153 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-03-25 01:51:31 +00:00
Go MAEDA
32d2b1c42f Fix RuboCop offense Style/InverseMethods: Use present? instead of inverting blank? (#37248).
git-svn-id: https://svn.redmine.org/redmine/trunk@22152 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-03-25 01:32:23 +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
Go MAEDA
0ef56a4bfb Fix passing a wrong parameter to with_settings in UserTest::test_random_password_include_required_characters (#37449).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@21705 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-07-16 05:31:41 +00:00
Go MAEDA
2e86acfa87 Add tasks to prune registered users after a certain number of days (#30998).
Patch by Yuichi HARADA and Marius BALTEANU.


git-svn-id: https://svn.redmine.org/redmine/trunk@21490 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-22 04:02:39 +00:00
Marius Balteanu
f286a6044b Deprecate and rename rss_* methods to atom_* methods (#15118).
Patch by Mischa The Evil and Marius BĂLTEANU


git-svn-id: http://svn.redmine.org/redmine/trunk@21467 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-19 09:56:46 +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
9955844da1 Drop OpenID support (#35755).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21312 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-12-14 00:09:53 +00:00
Go MAEDA
712cf0d8c9 Add missing fixtures to UserTest (#35975).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21277 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-11-11 09:24:22 +00:00
Marius Balteanu
4378b7e1b4 Remove references to deleted user from "user"-Format CustomFields when destroying an user (#32977).
Patch by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@21207 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-09-06 18:30:04 +00:00
Go MAEDA
ec3527102d Remove deprecated WikiContent::Version (#35031).
git-svn-id: http://svn.redmine.org/redmine/trunk@21002 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-05-15 05:51:14 +00:00
Go MAEDA
e86476eb5b Fix "ActiveRecord::StaleObjectError: Attempted to update a stale object: Issue." (#29914, #32912).
Patch by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@20884 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-01 14:48:50 +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
1d96cd2c4c RuboCop: Fix Layout/SpaceInsideBlockBraces due to r20547 (#34071).
git-svn-id: http://svn.redmine.org/redmine/trunk@20548 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-02 14:07:10 +00:00
Go MAEDA
1dcebf8ce0 Changes User.try_to_login to catch and log AuthSourceExceptions, and introduces User.try_to_login! replicating the original behavior (#34071).
Patch by Jens Krämer.


git-svn-id: http://svn.redmine.org/redmine/trunk@20547 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-02 13:56:15 +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
Toshi MARUYAMA
71072f619c cleanup: rubocop: fix Layout/ClosingParenthesisIndentation in test/unit/user_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19291 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-25 09:08:34 +00:00
Toshi MARUYAMA
7cc5f37eeb cleanup: rubocop: fix Layout/IndentFirstArgument in test/unit/user_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19290 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-25 09:08:23 +00:00
Toshi MARUYAMA
ed20805df5 cleanup: rubocop: fix Layout/SpaceAfterComma in test/unit/user_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19289 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-25 09:08:12 +00:00
Toshi MARUYAMA
9b362ca043 cleanup: rubocop: fix Layout/SpaceInsideParens in test/unit/user_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19227 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 05:26:11 +00:00
Go MAEDA
81a2e5338d Add a fixture for UserTest#test_bookmarked_project_ids (#29482).
git-svn-id: http://svn.redmine.org/redmine/trunk@18877 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-28 13:41:41 +00:00
Toshi MARUYAMA
c36d7f84bd code cleanup: rubocop: fix Layout/AlignArguments in test/unit/user_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18847 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-23 05:37:34 +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
a4133891e4 code cleanup: rubocop: fix Layout/LeadingCommentSpace in test/unit/user_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18654 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-14 11:14:24 +00:00
Go MAEDA
5ce4a363a9 Fix test failure due to missing call to set_tmp_attachments_directory (#32122).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18593 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-04 11:17:33 +00:00
Go MAEDA
35e6a532f5 Force passwords to contain specified character classes (#4221).
Patch by Takenori TAKAKI.


git-svn-id: http://svn.redmine.org/redmine/trunk@18411 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-29 01:35:09 +00:00
Jean-Philippe Lang
001853ef79 Groups are incorrect when grouping by date without user timezone set.
git-svn-id: http://svn.redmine.org/redmine/trunk@18264 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-20 06:23:48 +00:00
Go MAEDA
4082069c75 Update copyright year.
git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-25 07:36:06 +00:00
Go MAEDA
4f5a3a156c Enable frozen_string_literal for some files under test directory (#26561).
git-svn-id: http://svn.redmine.org/redmine/trunk@17978 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-16 15:03:47 +00:00
Go MAEDA
5861160ffc Add "frozen_string_literal: false" for all files (#26561).
This will be changed to true in the future.


git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 01:32:57 +00:00
Jean-Philippe Lang
1cadb28a6e Current user should be nil to prevent ActiveJob::DeserializationError errors in tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@17665 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-29 19:24:30 +00:00
Jean-Philippe Lang
ce1c652250 Upgrade to Rails 5.2.0 (#23630).
git-svn-id: http://svn.redmine.org/redmine/trunk@17410 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-06-23 05:13:29 +00:00
Jean-Philippe Lang
2bc719e2c8 LdapError is deprecated (#24970).
git-svn-id: http://svn.redmine.org/redmine/trunk@16773 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-08 13:46:47 +00:00
Jean-Philippe Lang
92ca57e938 Fixed User#project_ids_by_role when first called within chained scopes (#26376).
git-svn-id: http://svn.redmine.org/redmine/trunk@16767 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-08 12:15:10 +00:00
Jean-Philippe Lang
7fd04e1f8d Update copyright.
git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-25 08:40:31 +00:00
Jean-Philippe Lang
1ab58b6aa5 Adds a User.admin scope (#25416).
git-svn-id: http://svn.redmine.org/redmine/trunk@16449 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-03 06:49:06 +00:00
Toshi MARUYAMA
6139e0033a spelling fixes (#25495)
git-svn-id: http://svn.redmine.org/redmine/trunk@16445 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-02 03:34:44 +00:00
Toshi MARUYAMA
5a86f95d29 revert r16322 (#24970)
Some tests fail.

git-svn-id: http://svn.redmine.org/redmine/trunk@16323 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-02-02 03:01:19 +00:00
Toshi MARUYAMA
d37125dfe9 replace depricated Net::LDAP::LdapError by Net::LDAP::Error (#24970)
git-svn-id: http://svn.redmine.org/redmine/trunk@16322 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-02-02 02:24:50 +00:00
Toshi MARUYAMA
a1c37e7d6c remove empty lines including white space from test/unit/user_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@16162 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-08 08:24:07 +00:00
Jean-Philippe Lang
bf5dade8df Use assert_nil instead of assert_equal.
git-svn-id: http://svn.redmine.org/redmine/trunk@16060 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-11 15:26:41 +00:00
Jean-Philippe Lang
3a2b6c7c96 Enforce issue assignee validation (#23921).
git-svn-id: http://svn.redmine.org/redmine/trunk@16055 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-10 12:02:37 +00:00
Jean-Philippe Lang
57afa5345e Don't pass conditions to #delete_all.
git-svn-id: http://svn.redmine.org/redmine/trunk@15675 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-16 10:30:45 +00:00
Jean-Philippe Lang
97a647c1e5 Validate status of users and groups.
git-svn-id: http://svn.redmine.org/redmine/trunk@15320 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-11 17:51:16 +00:00
Jean-Philippe Lang
cda9c63d9c Updates copyright for 2016.
git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-13 10:30:10 +00:00
Jean-Philippe Lang
f5702c35df Missing fixtures.
git-svn-id: http://svn.redmine.org/redmine/trunk@15018 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-09 09:04:22 +00:00
Jean-Philippe Lang
11bce09825 Typo "coma" (#20551).
Patch by budo kaiman.

git-svn-id: http://svn.redmine.org/redmine/trunk@14712 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-20 18:26:28 +00:00
Jean-Philippe Lang
a9f052532e Fixed workflow rules when user has duplicated role by inheritance (#19569).
git-svn-id: http://svn.redmine.org/redmine/trunk@14179 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-04-14 17:01:23 +00:00
Jean-Philippe Lang
e3618bdbec Add support for multiple email addresses per user (#4244).
git-svn-id: http://svn.redmine.org/redmine/trunk@13886 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-17 14:14:12 +00:00