summaryrefslogtreecommitdiffstats
path: root/lib/private/Accounts
Commit message (Collapse)AuthorAgeFilesLines
* Format control structures, classes, methods and functionChristoph Wurst2020-04-102-13/+7
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-091-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headers for 18Christoph Wurst2019-12-202-1/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Log critical fallback to user default if we can't parse the JSONChristoph Wurst2019-12-132-8/+15
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Return a default user record if json is brokenDaniel Kesselberg2019-12-131-0/+3
| | | | | | | It's possible that json_decode returns null. Mostly the json is broken. AddMissingDefaultValues expects an array. Pass null will fail. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Update license headersChristoph Wurst2019-12-052-2/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-222-3/+1
| | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move settings to an appChristoph Wurst2019-09-281-1/+1
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Add default values when parsing account dataJulius Härtl2018-12-231-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Use empty string instead of nullJulius Härtl2018-10-241-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add \OCP\Account public APIJulius Härtl2018-10-153-20/+236
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Use ::class statement instead of stringMorris Jobke2018-01-291-1/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headersMorris Jobke2017-11-062-2/+7
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove account data on user deletionJoas Schilling2017-05-151-0/+13
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix email verification statusBjoern Schiessle2017-04-281-1/+5
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* add missing translation and other small fixesBjoern Schiessle2017-04-281-1/+1
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* make use of verification buttonsBjoern Schiessle2017-04-281-3/+9
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* make sure that every data set has a 'verified' statusBjoern Schiessle2017-04-281-9/+30
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* ask lookup server if email address was verified by the userBjoern Schiessle2017-04-282-3/+35
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* make sure that we don't lose previous verification statusBjoern Schiessle2017-04-281-0/+15
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* store verification status in accounts table and update lookup serverBjoern Schiessle2017-04-281-0/+46
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Also send the new account data with the eventJoas Schilling2017-04-101-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* bring back setEmailAddress for the user managementBjoern Schiessle2016-11-252-12/+28
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* update accounts table if email address or display name changes from outsideBjoern Schiessle2016-11-252-5/+93
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* fix unit testsBjoern Schiessle2016-11-211-1/+0
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* update system address book if the user change the personal settingsBjoern Schiessle2016-11-211-13/+99
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* introduce accounts table and keep it up-to-date with the data added to the ↵Björn Schießle2016-11-211-0/+116
personal settings Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>