aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib
Commit message (Collapse)AuthorAgeFilesLines
* Add uuid/name entry to Remote/MailPlugin testsJulius Härtl2018-10-302-20/+104
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Make enhancing entries with type property optionalJulius Härtl2018-10-301-6/+30
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Filter out local users from address book remote searchesJulius Härtl2018-10-301-1/+7
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix testsJulius Härtl2018-10-291-2/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Keep list of icons in a separate file for use in the accessibility appJulius Härtl2018-10-251-7/+7
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* skip already decrypted files on decrypt all commandBjoern Schiessle2018-10-241-10/+31
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Merge pull request #11914 from nextcloud/csp/report-uriMorris Jobke2018-10-231-0/+15
|\ | | | | Add report-uri to CSP
| * Add report-uri to CSPRoeland Jago Douma2018-10-211-0/+15
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | fixup! Fix comment and cap-heightJohn Molakvoæ (skjnldsv)2018-10-231-1/+1
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Fix comment and cap-heightJohn Molakvoæ (skjnldsv)2018-10-231-1/+1
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Use correct typeface for avatar generatorJan-Christoph Borchardt2018-10-231-3/+3
|/ | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Merge pull request #11711 from nextcloud/feature/backgroundjobs_ocpChristoph Wurst2018-10-192-57/+108
|\ | | | | Add proper backgroundjobs to OCP
| * fixup! fixup! Add backgroundjobs to OCPRoeland Jago Douma2018-10-092-57/+108
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Do not try to contact lookup server without internet connection or URLArthur Schiwon2018-10-181-21/+78
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Merge pull request #11830 from ↵Morris Jobke2018-10-161-0/+33
|\ \ | | | | | | | | | | | | nextcloud/bugfix/9326/make_sure_usermanager_getByEmail_only_returns_IUser filter null values for UserManager::getByEmail
| * | filter null values for UserManager::getByEmailGeorg Ehrke2018-10-151-0/+33
| | | | | | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | | Use IAccountManager constantsJulius Härtl2018-10-153-68/+67
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Add tests for new account api classesJulius Härtl2018-10-153-0/+253
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Merge pull request #11714 from nextcloud/lookupserver-and-global-scaleBjörn Schießle2018-10-151-2/+272
|\ \ \ | | | | | | | | always query the lookup server in a global scale setup
| * | | add more testsBjoern Schiessle2018-10-121-0/+231
| | | | | | | | | | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
| * | | some small fixes and improvementsBjoern Schiessle2018-10-101-1/+11
| | | | | | | | | | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
| * | | adjust testsBjoern Schiessle2018-10-091-2/+31
| | | | | | | | | | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | | | Make it possible to enforce mandatory 2FA for groupsChristoph Wurst2018-10-153-34/+216
| | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | Disallow unsafe-eval by defaultRoeland Jago Douma2018-10-145-60/+69
| |/ / |/| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Move normalizePath to regexes instead of loopingRoeland Jago Douma2018-10-101-61/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is IMO a bit more readable and it seems to make the code faster. Tested it on the company instance where there are over 3k calls to this function. It shaves off around 10ms. The advantage here is that the pattern gets optimized by php itsel and cached. Also looking for all patterns at the same time and especially no longer looping for /./ patterns should save time. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Add function to generate urls for OCS routesRoeland Jago Douma2018-10-091-0/+18
| |/ |/| | | | | | | | | | | | | | | | | fixes #11617 The OCS routes are only absolute for now as they are often exposed to the outside anyway and are on a different endpoint than index.php in anyway. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Remove HHVM checkChristoph Wurst2018-10-091-1/+1
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Deprecate unused, private OC_Helper::linkToPublicMorris Jobke2018-10-081-38/+0
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #10839 from nextcloud/bugfix/10212/use_class_implementationMorris Jobke2018-10-082-16/+74
|\ \ | | | | | | adjust Calendar resource / room interfaces to use class implementation
| * | RoomManager/ResourceManager: Inject IServerContainer instead of using OC ServerGeorg Ehrke2018-10-082-38/+60
| | | | | | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
| * | adjust Calendar resource / room interfaces to use class implementationGeorg Ehrke2018-10-082-14/+50
| | | | | | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | | Merge pull request #11671 from nextcloud/refactor/rename-admin-security-sectionMorris Jobke2018-10-081-6/+6
|\ \ \ | | | | | | | | Rename admin security section
| * | | Fix reference to template in testsChristoph Wurst2018-10-081-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * | | Rename admin security sectionChristoph Wurst2018-10-081-4/+4
| |/ / | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Merge pull request #10898 from ↵Morris Jobke2018-10-085-10/+10
|\ \ \ | |/ / |/| | | | | | | | nextcloud/feature/10684/default-logo-color-theme-colors Switches the default logo color depending on the primary color
| * | Moves the logo files to logoMichael Weimann2018-10-025-10/+10
| | | | | | | | | | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* | | Remove deprecated publishActivity functionRoeland Jago Douma2018-10-051-52/+0
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #11446 from nextcloud/bugfix/10678/pretty-urls-dont-workMorris Jobke2018-10-021-2/+12
|\ \ \ | | | | | | | | Allow overwrite.cli.url without trailing slash
| * | | Add more test casesDaniel Kesselberg2018-09-301-1/+4
| | | | | | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
| * | | Allow url without / for overwrite.cli.urlDaniel Kesselberg2018-09-281-2/+9
| | |/ | |/| | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | Merge pull request #11390 from nextcloud/feature/11043/apptoken_v3Morris Jobke2018-10-025-10/+216
|\ \ \ | | | | | | | | Apptoken v3: imrpove token handling on external password change
| * | | Add testsRoeland Jago Douma2018-10-025-6/+214
| | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | | Mark token as invalid if the password doesn't matchRoeland Jago Douma2018-10-021-4/+2
| | |/ | |/| | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* / | Fix testsMorris Jobke2018-10-021-6/+6
|/ / | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Generate backups code notification if not enable but 2fa isRoeland Jago Douma2018-10-011-1/+27
| | | | | | | | | | | | | | | | | | | | | | | | Generate a notification to generate backup codes if you enable an other 2FA provider but backup codes are not yet generated. * Add event listner * Insert background job * Background job tests and emits notification every 2 weeks * If the backup codes are generated the next run will remove the job Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Add mandatory 2FA service/classChristoph Wurst2018-09-302-0/+114
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove unused constructor argumentChristoph Wurst2018-09-271-4/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Reduce settings manager complexity by loading sections via DIChristoph Wurst2018-09-271-49/+32
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #11150 from nextcloud/feature/noid/unit-test-find-webrootblizzz2018-09-261-9/+43
|\ | | | | Extract logic for webroot into method and add test
| * Change visibility to privateDaniel Kesselberg2018-09-131-1/+1
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>