Bjoern Schiessle
f25ad2e404
make sure that we only update the email address if it really changed
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
7 years ago
Bjoern Schiessle
0de685c562
bring back setEmailAddress for the user management
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
7 years ago
Bjoern Schiessle
546989959c
update email address correctly
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
7 years ago
Bjoern Schiessle
4a05aa8a02
don't try to verify email address if no email address is set
7 years ago
Bjoern Schiessle
5aed91c321
small fixes
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
7 years ago
Lukas Reschke
a0c64044b2
Make JS aware of password verification
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
7 years ago
Lukas Reschke
8bf4111368
Fix changing display names for subadmins
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
7 years ago
Lukas Reschke
662dff046d
Adjust permission checks
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
7 years ago
Lukas Reschke
fb91bf6a5b
Add a signer class for signing
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
7 years ago
Bjoern Schiessle
a32d6e481f
fix unit tests
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
7 years ago
Bjoern Schiessle
8f33d9d1c0
update system address book if the user change the personal settings
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
7 years ago
Björn Schießle
de1f3f05fd
allow to change display names in the user settings again
keep display name and email address in sync with the accounts table
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
8 years ago
Björn Schießle
1700e3dccc
allow multiple values for phone, website, address and email
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
8 years ago
Björn Schießle
40b99734d3
introduce accounts table and keep it up-to-date with the data added to the personal settings
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
8 years ago
Christoph Wurst
d1233b47b0
use PUT to update user settings
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
8 years ago
Christoph Wurst
20739c93a6
Persist settings on the server
Persist personal settings federated sharing scopes
Show new settings fields in read-only mode too
Insert values on page load
Return updated values; show inline success feedback
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
8 years ago
Joas Schilling
2fd2e45e42
Require password confirmation for user management
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Joas Schilling
28ddf3abdb
Require password confirmation for changing the email
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Joas Schilling
ccc29a3da2
Fix tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Joas Schilling
0215b004da
Update with robin
8 years ago
Joas Schilling
ba87db3fcc
Fix others
8 years ago
Lukas Reschke
aba539703c
Update license headers
8 years ago
Joas Schilling
bc1d70f08c
Pass on the error message from the user manager to the UI (#24526)
8 years ago
Lukas Reschke
c12bb839e1
Rename files to be PSR-4 compliant
8 years ago
Lukas Reschke
933f60e314
Update author information
Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :)
8 years ago
Roeland Jago Douma
fe08b5e9d9
We should check for exceptions when trying to get the avatar
Fixes #22550
* Updated phpdoc of avatatmanager
* Add unit test
8 years ago
Arthur Schiwon
3a796d1e15
Consolidate getQuota and setQuota methods in User instance
8 years ago
Thomas Müller
aeb89947a2
Introduce IUser::setEMailAddress and add hook mechanism
8 years ago
Thomas Müller
682821c71e
Happy new year!
8 years ago
Scrutinizer Auto-Fixer
453e1bf66e
Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
8 years ago
Roeland Jago Douma
a619629ac0
Only try to load avatars in the user list if there is any
8 years ago
Thomas Müller
eebe2b9c23
User IUser::getEMailAddress() all over the place
8 years ago
Roeland Jago Douma
0265bcfdae
Moved changedisplayname to usercontroller
Killed the old static route to change a users display name and moved it
to a properly testable controller.
8 years ago
Morris Jobke
18f0bafd88
fix subadmin user count for empty groups
8 years ago
Vincent Petry
781bca2437
Fix everyone count for subadmins
Also moved the logic to the UsersController
8 years ago
Lukas Reschke
c6f6a8758b
Drop OC_SubAdmin and replace usages
8 years ago
Lukas Reschke
8f09d5b67c
Update license headers
8 years ago
Roeland Jago Douma
02af4269f2
Fix unit test
Now that OC_SubAdmin is just a wrapper around OC\SubAdmin some unit
tests had to be fixed because they expected different behaviour.
Eventually they should move to properly mocked instances of OC\SubAdmin
of course
8 years ago
Morris Jobke
f63915d0c8
update license headers and authors
9 years ago
Morris Jobke
5fd849f545
Allow user to set an empty email address
* fixes #16057
9 years ago
Clark Tomlinson
3ef2e668ac
fixing recovery tooltip
9 years ago
Jenkins for ownCloud
b585d87d9d
Update license headers
9 years ago
Robin Appelman
da4ad1c0a2
show a better error message when trying to create a user that already exists
9 years ago
Lukas Reschke
f92f3a1a6e
Incorporate review changes
9 years ago
Lukas Reschke
13486a5ada
Migrate to SwiftMail
Replaces the OC_Mail and phpmailer with SwiftMail allowing us to mock it properly.
Fixes the unit test execution on master on local machines and https://github.com/owncloud/core/issues/12014
Conflicts:
3rdparty
lib/private/server.php
lib/public/iservercontainer.php
tests/lib/mail.php
tests/settings/controller/mailsettingscontrollertest.php
Conflicts:
3rdparty
lib/private/mail.php
lib/private/server.php
lib/public/iservercontainer.php
settings/ajax/lostpassword.php
settings/application.php
9 years ago
Morris Jobke
06aef4e8b1
Revert "Updating license headers"
This reverts commit 6a1a4880f0
.
9 years ago
Jenkins for ownCloud
6a1a4880f0
Updating license headers
9 years ago
Thomas Müller
3c75a440a6
Return milliseconds instead of seconds for lastLogin - refs #14005
9 years ago
Lukas Reschke
fcd5056376
Consistent variable naming
9 years ago
Lukas Reschke
0f7634eadc
Switch to a factory and add unit tests
9 years ago