Commit Graph

76 Commits (3561937816578a699008c010829142a01580e7bf)

Author SHA1 Message Date
Robin Appelman 3561937816
chore: run rector on tests with new rule 4 months ago
Robin Appelman 29e39c0a2e
chore: run rector on tests 4 months ago
Joas Schilling 2c74609e07
test: Fix tests/lib/[S-Z]* 5 months ago
Christoph Wurst 5003467f98
fix(session): Only mark sessions of permanent tokens as app passwords 6 months ago
Louis Chemineau 22d5d29c01 fix(users): Don't crash if disabled user is missing in the database 1 year ago
Christoph Wurst 49dd79eabb
refactor: Add void return type to PHPUnit test methods 1 year ago
Christoph Wurst 2b38d6ae7e
fix(session): Log when session_* calls are slow 1 year ago
Andy Scherzinger 1f7e2ba599
chore: Add SPDX header 1 year ago
Christoph Wurst 21ee7f59bd
fix(session): Do not update authtoken last_check for passwordless 1 year ago
Git'Fellow 72e0618f20
fix(session): Avoid two useless authtoken DB queries for every anonymous request 2 years ago
Julius Härtl a3a343ce41
perf: Use more performant way to obtain and check the email as a login name with token login 2 years ago
Joas Schilling aa5f037af7
chore: apply changes from Nextcloud coding standards 1.1.1 2 years ago
Joas Schilling 25309bcb45
techdebt(DI): Use public IThrottler interface which exists since Nextcloud 25 2 years ago
Joas Schilling ad12a740cb
fix!: Remove symfony EventDispatcherInterface from User 2 years ago
Joas Schilling b91957e3df
fix(dav): Abort requests with 429 instead of waiting 2 years ago
Côme Chilliet 8d5165e8dc
Adapt tests to config value typing 3 years ago
Daniel Kesselberg 39c1b6f49f
chore(tests): add tests for handleLoginFailed 3 years ago
Côme Chilliet cb271b759e
Fix dynamic property creations in test files 3 years ago
Côme Chilliet 61f7f13bd8
Migrate from ILogger to LoggerInterface where needed in the tests 4 years ago
Joas Schilling d078d53683
Fix tests 4 years ago
Joas Schilling 6d33d75be1
Remove unused imports 4 years ago
Carl Schwan a8866b0253
Fix tests 4 years ago
Joas Schilling 265c2c125c
Fix unit tests 4 years ago
Joas Schilling 645f83121e
Cache the user backend info for 300s 5 years ago
Joas Schilling 0ad4ad31e1
Fix more tests 5 years ago
Joas Schilling 41d8a7e05f
Fix unit tests 5 years ago
Christoph Wurst afbd9c4e6e
Unify function spacing to PSR2 recommendation 6 years ago
Christoph Wurst b80ebc9674
Use the short array syntax, everywhere 6 years ago
Christoph Wurst 2ee65f177e
Use the shorter phpunit syntax for mocked return values 6 years ago
Christoph Wurst cc80339b39
Add typed create user events 6 years ago
Roeland Jago Douma 3a7cf40aaa
Mode to modern phpunit 6 years ago
Roeland Jago Douma c007ca624f
Make phpunit8 compatible 6 years ago
Roeland Jago Douma 68748d4f85
Some php-cs fixes 6 years ago
Roeland Jago Douma 3c1bcd551d
Fix the tests after #18029 6 years ago
Christoph Wurst 535000aac6
Make the post login event public 6 years ago
Roeland Jago Douma 5122629bb0
Make renewSessionToken return the new token 6 years ago
Roeland Jago Douma 0ea7fbae54
Update tests 6 years ago
Joas Schilling 01b4db62fb
Add dispatcher events to User and Group objects 7 years ago
Roeland Jago Douma 19f84f7b54
Add tests 7 years ago
Roeland Jago Douma 00e99af586
Mark token as invalid if the password doesn't match 7 years ago
Roeland Jago Douma 991d9b5c3a
Fix session tests 8 years ago
Roeland Jago Douma ef127a30ec
Fix tests 8 years ago
Morris Jobke 43e498844e
Use ::class in test mocks 8 years ago
Roeland Jago Douma 1ea7f14f0a
Fix SessionTest 8 years ago
Lukas Reschke 7927aed991
Adjust token name 9 years ago
Robin Appelman baec42e80a
Save the scope of an auth token in the session 9 years ago
Joas Schilling 6acfea61d0
Fix tests 9 years ago
Roeland Jago Douma e368a745aa
Set last-login-check on basic auth 9 years ago
Christoph Wurst 6543182d13 fix parameter order 9 years ago
Christoph Wurst 9b808c4014 do not remember session tokens by default 9 years ago