summaryrefslogtreecommitdiffstats
path: root/tests/lib
Commit message (Collapse)AuthorAgeFilesLines
* Migrate HintException to OCPGary Kim2021-06-303-5/+5
| | | | Signed-off-by: Gary Kim <gary@garykim.dev>
* adjust internal data handling logic to fix store and loadArthur Schiwon2021-06-301-146/+109
| | | | | | - format as stored previously in oc_accounts table is kept Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* adjust email verification checkerArthur Schiwon2021-06-301-4/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* adjust verification state updater methodArthur Schiwon2021-06-301-10/+5
| | | | | | - also fixes scope of internal methods Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* make AccountManager actually write multi value propertiesArthur Schiwon2021-06-301-163/+106
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* accounts event handler to use eventdispatcher, DI and Accounts APIArthur Schiwon2021-06-301-42/+42
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* prov api reports additional emails on getUserArthur Schiwon2021-06-301-0/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #27635 from nextcloud/fix/datetime-constantsPytal2021-06-231-5/+5
|\ | | | | Fix usage of DateTime constants
| * Move DateTime::RFC2822 to DateTimeInterface::2822Christoph Wurst2021-06-231-3/+3
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * Move DateTime::ATOM to DateTimeInterface::ATOMChristoph Wurst2021-06-231-2/+2
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #26346 from J0WI/clean-auth-regexblizzz2021-06-231-3/+7
|\ \ | |/ |/| Cleaner removePassword regex
| * Cleaner removePassword regexJ0WI2021-03-271-3/+7
| | | | | | | | Signed-off-by: J0WI <J0WI@users.noreply.github.com>
* | Let apps toggle an unread counter on app iconsJulius Härtl2021-06-161-10/+20
| | | | | | | | | | Co-authored-by: Louis Chemineau <louis@chmn.me> Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | split of query building bits from searchhelperRobin Appelman2021-06-141-20/+9
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | update tests and fix some edge cases around new searchRobin Appelman2021-06-141-77/+69
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | rework search api to allow searching on multiple caches at onceRobin Appelman2021-06-142-3/+17
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #27414 from francoisfreitag/test-at-2kesselb2021-06-081-36/+76
|\ \ | | | | | | Rewrite LegacyHelperTest without $this->at()
| * | Rewrite LegacyHelperTest without $this->at()François Freitag2021-06-071-36/+76
| | | | | | | | | | | | | | | | | | | | | | | | The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked. Signed-off-by: François Freitag <mail@franek.fr>
* | | Merge pull request #27306 from ↵Christoph Wurst2021-06-081-1/+39
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/enh/noid/set-local-domain-for-swiftmailer Set local domain for swiftmailer
| * | | Set local domain for swiftmailer transportDaniel Kesselberg2021-05-311-1/+39
| | | | | | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | | Merge pull request #27189 from ↵blizzz2021-06-083-19/+404
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | nextcloud/feat/26866/account-collection-properties Extend Accounts with multivalue properties (PropertyCollection)
| * | | CI: more flexible assertionsArthur Schiwon2021-06-071-1/+6
| | | | | | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | | allow interacting with IAccountPropertyCollectionsArthur Schiwon2021-06-031-3/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - in fact the API could be done in a nicer way and it might be possible to work without IAccountPropertyCollection, but only with the IAccountProperties. - To keep it simple at first and not overengineer the blunt attempt is followed - If necessary helpful in the further cause of development adjustements or extensions can be done quickly with this base Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | | add IAccountPropertyCollection with implementationArthur Schiwon2021-06-031-0/+209
| | | | | | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | | update unit testsArthur Schiwon2021-06-031-16/+166
| | | | | | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | Fix warnings about logExceptionJoas Schilling2021-06-045-12/+12
|/ / / | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Escape filename in Content-DispositionLukas Reschke2021-06-021-11/+25
| | | | | | | | | | | | | | | | | | We should escape all occurences of ' and \ in here. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | Merge pull request #26792 from nextcloud/user-delete-cleanup-filesJohn Molakvoæ2021-06-021-0/+3
|\ \ \ | | | | | | | | better cleanup of user files on user deletion
| * | | better cleanup of user files on user deletionRobin Appelman2021-04-271-0/+3
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Make dav respect disallowing sharing with groupsThomas Citharel2021-05-261-45/+60
| |/ / |/| | | | | | | | | | | | | | Closes #25390 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | | do not use private AccountManager in UsersControllerArthur Schiwon2021-05-253-18/+40
| | | | | | | | | | | | | | | | | | | | | | | | - extends IAccountProperty for verificationData getters and setters - implementation thereof ^ - and of course adaption of UsersController Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | Merge pull request #26727 from nextcloud/group-exclude-link-shareMorris Jobke2021-05-212-59/+23
|\ \ \ | | | | | | | | Add option to exclude groups from creating link shares
| * | | load share settings from the share manager in more placesRobin Appelman2021-05-122-59/+23
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | l10n: Fix testValdnet2021-05-201-23/+23
| | | |
* | | | Merge pull request #26322 from nextcloud/recent-searchJulius Härtl2021-05-181-0/+13
|\ \ \ \ | | | | | | | | | | Use file search for recent files and optimize getting share types
| * | | | adjust testsRobin Appelman2021-04-211-0/+13
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | Merge pull request #26626 from J0WI/strict-securityRoeland Jago Douma2021-05-1822-0/+64
|\ \ \ \ \ | | | | | | | | | | | | Make Security module strict
| * | | | | Make Security module strictJ0WI2021-04-1922-0/+64
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: J0WI <J0WI@users.noreply.github.com>
* | | | | | Merge pull request #26679 from ↵blizzz2021-05-131-50/+49
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | | | | | | | | | | | | nextcloud/bugfix/noid/fix-unauthorized-ocs-status-in-provisioning Fix unauthorized OCS status in provisioning
| * | | | | Fix unauthorized OCS status in provisioningJoas Schilling2021-05-121-50/+49
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | | allow to set valid scopes only in AccountPropertyArthur Schiwon2021-05-122-7/+25
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | the auto-fallback to v2-local is removed as well to react on wrong input Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | | Merge pull request #26591 from nextcloud/techdebt/noid/less-iloggerChristoph Wurst2021-04-2718-77/+81
|\ \ \ \ \ | | | | | | | | | | | | Less ILogger
| * | | | | Fix unit testsJoas Schilling2021-04-2718-77/+81
| | |_|/ / | |/| | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | Merge pull request #26718 from nextcloud/bugfix/noid/fix-ratelimit-templateJoas Schilling2021-04-271-11/+9
|\ \ \ \ \ | | | | | | | | | | | | Fix ratelimit template
| * | | | | Fix ratelimit templateJoas Schilling2021-04-271-11/+9
| |/ / / / | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | Merge pull request #26572 from ↵Joas Schilling2021-04-271-4/+5
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | nextcloud/bugfix/noid/throw-401-when-authentication-is-provided-and-invalid Throw "401 Unauthenticated" when authentication is provided but invalid
| * | | | Fix Authentication testJoas Schilling2021-04-221-4/+5
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | Merge pull request #26259 from ↵Joas Schilling2021-04-261-0/+26
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | nextcloud/feature/noid/validate-website-to-be-valid Validate the website field input to be a valid URL
| * | | | | Validate the website field input to be a valid URLJoas Schilling2021-04-221-0/+26
| |/ / / / | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | Merge pull request #26375 from ↵Morris Jobke2021-04-222-1/+26
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | nextcloud/techdebt/noid/symfony-component-translation-pluralization-rules-is-deprecated "Symfony\Component\Translation\PluralizationRules" is deprecated