Commit Graph

33 Commits (ba94de2510b3858f10d60f0230a58b1252346372)

Author SHA1 Message Date
Ferdinand Thiessen 00386a5407 fix(settings): Use initial state instead of custom state for server data 2 years ago
Arthur Schiwon c98b0462e3 fix(admin role): fix old and wrong way to determine whether user is admin 2 years ago
Joas Schilling aa5f037af7
chore: apply changes from Nextcloud coding standards 1.1.1 2 years ago
Côme Chilliet 0a9371f99f
Migrate applications away from deprecated ILogger 2 years ago
Côme Chilliet b843d09810
Fix typing errors in settings tests 3 years ago
Vincent Petry f9ea078e27
Add unit test for case insensitive email saving 3 years ago
Carl Schwan e35bcc9381 Fix tests 3 years ago
Arthur Schiwon 27865d03c0
use specific email getter where necessary 4 years ago
John Molakvoæ (skjnldsv) 215aef3cbd
Update php licenses 5 years ago
Arthur Schiwon 847ed37afc
do not use private AccountManager in UsersController 5 years ago
Daniel Calviño Sánchez 67dd087ce4 Fix deleting properties of user settings when not given explicitly 5 years ago
Daniel Calviño Sánchez a7431817b9 Respect additional user settings not covered by the controller 5 years ago
Daniel Calviño Sánchez c5e3d2e5c2 Add more unit tests for setting user settings 5 years ago
Daniel Calviño Sánchez 190ffd75b7 Change default test data to values less similar to empty values 5 years ago
Daniel Calviño Sánchez ef5d538448 Extract default test data to a helper getter 5 years ago
Daniel Calviño Sánchez 8cae515daa Use constants from interface rather than class 5 years ago
Vincent Petry 5d14fd4396
Make extra user profile fields always editable 5 years ago
Vincent Petry 278a73789e
Map old account scope properties to new names 5 years ago
Joas Schilling 07095fd122
Also clear the knownUser when changing via the settings endpoint 5 years ago
Christoph Wurst d89a75be0b
Update all license headers for Nextcloud 21 5 years ago
Joas Schilling 9e04e6f99a
Also translate the phone number when coming in via the accounts manager API directly 5 years ago
Joas Schilling da9462b482
Make code strict 5 years ago
Arthur Schiwon f959828616
emit typed event for user management 5 years ago
Christoph Wurst 2a054e6c04
Update the license headers for Nextcloud 20 5 years ago
Morris Jobke 234b510652
Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 5 years ago
Christoph Wurst caff1023ea
Format control structures, classes, methods and function 6 years ago
Christoph Wurst afbd9c4e6e
Unify function spacing to PSR2 recommendation 6 years ago
Christoph Wurst 2ee65f177e
Use the shorter phpunit syntax for mocked return values 6 years ago
Christoph Wurst 5bf3d1bb38
Update license headers 6 years ago
Roeland Jago Douma 3a7cf40aaa
Mode to modern phpunit 6 years ago
Roeland Jago Douma c007ca624f
Make phpunit8 compatible 6 years ago
Christoph Wurst de6940352a Move settings to an app 6 years ago
Bjoern Schiessle 4b3308bf3f
fix can change password check in case of encryption is enabled 7 years ago
John Molakvoæ (skjnldsv) ae8ea57793
Bump tests and editorconfig 8 years ago
John Molakvoæ (skjnldsv) 62e1014b2e
Bump popovermenu item options and tests 8 years ago
John Molakvoæ (skjnldsv) c8f670dd8f
Settings to vuejs 8 years ago
Roeland Jago Douma 7fc85bbf78
Obsolete test 8 years ago
John Molakvoæ (skjnldsv) 9440e9bb1e
Fixed Controller Test 8 years ago
Morris Jobke b7c944fac1
Remove crypto and timefactory from UsersController 8 years ago
Morris Jobke 43e498844e
Use ::class in test mocks 8 years ago
Bjoern Schiessle 1a55ace97c
no warning on password change if no encryption module uses per-user keys 9 years ago
Morris Jobke f2b8535c7e Update unit tests 9 years ago
Joas Schilling f39fdaf46e
adjust the test 9 years ago
Arthur Schiwon 99e97f135d
consolidate setEnabled method 9 years ago
Morris Jobke 4c37c38051
fix unit tests 9 years ago
Morris Jobke 485d6d6577
use proper return codes and handle failure cases 9 years ago
Morris Jobke 2507e7459d
Improve wording of error messages 9 years ago
Morris Jobke a8457df064
fix unit tests 9 years ago
Morris Jobke 72550377b4
add unit tests for enable method 9 years ago
Morris Jobke e521b6799f
add unit tests for disable method 9 years ago