Commit Graph

225 Commits (c19bdb05e8cf24317d6ea3a58951a4e0102b2e70)

Author SHA1 Message Date
Morris Jobke 4a7d7e446f
User.php: rename of old dispatcher to legacyDispatcher 6 years ago
Morris Jobke 36ee37ec0a
Migrate OC_Group post_removeFromGroup hook to actual event object 6 years ago
Christoph Wurst 5b92f35fe2
Log why a token is not valid during password check 6 years ago
Christoph Wurst cb057829f7
Update license headers for 19 6 years ago
Julius Härtl d74e9045ac
Delete avatar if a user is deleted 6 years ago
Roeland Jago Douma cbcf072b23
Revert "Make sure MySQL is not saying 'this' = 'this ' is true" 6 years ago
Joas Schilling 16e9bf2309
Make sure MySQL is not saying 'this' = 'this ' is true 6 years ago
Christoph Wurst 734c62bee0
Format code according to PSR2 6 years ago
Christoph Wurst 28f8eb5dba
Add visibility to all constants 6 years ago
Christoph Wurst caff1023ea
Format control structures, classes, methods and function 6 years ago
Christoph Wurst 14c996d982
Use elseif instead of else if 6 years ago
Christoph Wurst 44577e4345
Remove trailing and in between spaces 6 years ago
Christoph Wurst 36b3bc8148
Use php keywords in lowercase 6 years ago
Christoph Wurst afbd9c4e6e
Unify function spacing to PSR2 recommendation 6 years ago
Christoph Wurst 2fbad1ed72
Fix (array) indent style to always use one tab 6 years ago
Christoph Wurst 85e369cddb
Fix multiline comments 6 years ago
Christoph Wurst c4998efcfc
Migrate to PSR1 coding style 6 years ago
Roeland Jago Douma 84f3d2ddeb
[POC] Event for failed login attempts 6 years ago
Christoph Wurst 1a9330cd69
Update the license headers for Nextcloud 19 6 years ago
Christoph Wurst b80ebc9674
Use the short array syntax, everywhere 6 years ago
Christoph Wurst 74936c49ea
Remove unused imports 6 years ago
Christoph Wurst df9e2b828a
Fix mismatching docblock return types 6 years ago
Christoph Wurst d808f9c053
Add typed events for all user hooks and legacy events 6 years ago
Christoph Wurst 5bf3d1bb38
Update license headers 6 years ago
Joas Schilling dd53fad898
Prevent creating users with existing files 6 years ago
Christoph Wurst cc80339b39
Add typed create user events 6 years ago
Christoph Wurst 1a886b1472
Add typed events for password_policy 6 years ago
Roeland Jago Douma 68748d4f85
Some php-cs fixes 6 years ago
Christoph Wurst 535000aac6
Make the post login event public 6 years ago
Roeland Jago Douma dd185e383d
Make sure limit is never negative 6 years ago
Roeland Jago Douma 5122629bb0
Make renewSessionToken return the new token 6 years ago
Greta Doci 0a874c51af
Disable app token creation for impersonated people, ref #15539 6 years ago
Roeland Jago Douma 145eee91fe
Get the proper UID 6 years ago
Roeland Jago Douma ba60fafb9a
Add proper PostLoginEvent 7 years ago
Christoph Wurst 3174012adf Add event dispatcher to OCP 7 years ago
Christoph Wurst 170582d4f5
Add a login chain to reduce the complexity of LoginController::tryLogin 7 years ago
Arthur Schiwon 96bab4f969
remove obsolete use statements 7 years ago
Leon Klingele 9a5ca231bf
lib/private/User: do not change user properties if value has not changed 7 years ago
Leon Klingele 3eb0d4f1a4
lib/private/User,apps/user_ldap/lib/User: always pass old value to User::triggerChange 7 years ago
Leon Klingele f420647add
lib/private/User: do not change user properties if value has not changed 7 years ago
Morris Jobke 36618b111f
Pass old value to user triggerChange hook 7 years ago
Roeland Jago Douma 969fc45032
Do not allow invalid users to be created 7 years ago
Joas Schilling 01b4db62fb
Add dispatcher events to User and Group objects 7 years ago
Christoph Wurst ad5a658e0c
Add isTokenLogin argument to post login hook/event 7 years ago
Roeland Jago Douma 6980ecf7ab
Throttle with correct metadata 7 years ago
Roeland Jago Douma 03fe2b3b81
Use a case insensitive search for email 7 years ago
Roeland Jago Douma c2beb36bfc
Bearer tokens are app token 7 years ago
Joas Schilling bb352fb667
Use the defined func()->count() instead of manual counting 7 years ago
Roeland Jago Douma 1fd640b40b
Expose the backend of IUser 7 years ago
Roeland Jago Douma 2223d19997
Error out early on an expired token 7 years ago