summaryrefslogtreecommitdiffstats
path: root/tests/lib
Commit message (Collapse)AuthorAgeFilesLines
* Use basename() instead of self implementationMorris Jobke2017-11-231-18/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix testsRoeland Jago Douma2017-11-173-9/+67
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #6840 from nextcloud/feature/5282/calendar_apiMorris Jobke2017-11-161-0/+214
|\ | | | | Calendar API for apps
| * implement CalendarManagerGeorg Ehrke2017-11-091-0/+214
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | check if the user still exists before we try to cleanup the previewsBjoern Schiessle2017-11-141-1/+10
| | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | Merge pull request #7166 from nextcloud/enhancement/crash-report-contextMorris Jobke2017-11-141-4/+4
|\ \ | | | | | | Pass the exception context to the crash reporter
| * | Pass the exception context to the crash reporterChristoph Wurst2017-11-141-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | This should allow better reports as often the app id is passed as context. While this is not used right now, I'd like to have this for NC13 as adding it later will break the interface for existing apps Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Merge pull request #7061 from kyrofa/bugfix/6028/app_path_realpathMorris Jobke2017-11-142-0/+292
|\ \ \ | |/ / |/| | {J,CS}SResourceLocator: account for symlinks in app path
| * | tests: change helper scopeKyle Fazzari2017-11-082-46/+51
| | | | | | | | | | | | | | | | | | | | | | | | This seems to be the only way to have the same helpers used between tests in a manner that works for both standalone phpunit and autotest.sh. Signed-off-by: Kyle Fazzari <kyrofa@ubuntu.com>
| * | JSResourceLocator: account for symlinks in app pathKyle Fazzari2017-11-072-0/+287
| | | | | | | | | | | | Signed-off-by: Kyle Fazzari <kyrofa@ubuntu.com>
* | | Add a mechanism to register crach reportersChristoph Wurst2017-11-142-12/+103
| |/ |/| | | | | | | | | | | | | This adds a crash reporter registry, which is meant for third party apps to hook into the error logging/reporting chain. This way, external tools like Sentry can be used to track and aggregate system crashes. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Fix welcome text for better grammar in themed instancesMorris Jobke2017-11-091-4/+4
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #6220 from nextcloud/cached-mount-info-filepathLukas Reschke2017-11-091-0/+4
|\ \ | | | | | | Allow getting the filepath when getting cached mounts by fileid
| * | Allow getting the filepath when getting cached mounts by fileidRobin Appelman2017-10-271-0/+4
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #6402 from nextcloud/dav-email-customizationMorris Jobke2017-11-061-0/+5
|\ \ \ | |_|/ |/| | Enhance calendar invitation emails
| * | Make L10N->l provide weekdayNameGeorg Ehrke2017-11-031-0/+5
| | | | | | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | | Merge branch 'master' into autocomplete-guiArthur Schiwon2017-11-0158-141/+377
|\ \ \
| * \ \ Merge pull request #6958 from ↵Joas Schilling2017-11-011-0/+2
| |\ \ \ | | |/ / | |/| | | | | | | | | | nextcloud/improved-mimetype-detection-for-object-storage Improve mimetype detection for object storages
| | * | Improve mimetype detection for object storagesMorris Jobke2017-10-261-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Object storage instances always fall back to the content based mimetype detection, because the file name for object storage was always random due to the fact that it was temporarily storage in a generated temp file. This patch adds a check before that to make sure to use the original file name for this purpose and also remove possible other extensions like the versioning or part file extension. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | | Merge pull request #6952 from nextcloud/correctly-search-for-resultsJoas Schilling2017-10-311-0/+105
| |\ \ \ | | | | | | | | | | Correctly search for existing collaboration results
| | * | | Add unit tests for SearchResultJoas Schilling2017-10-251-0/+105
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | | Add foreign key support to OCPiotr Mrowczynski2017-10-301-2/+37
| | | | |
| * | | | Unit tests for #6977Joas Schilling2017-10-271-0/+26
| | |_|/ | |/| | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | Use ::class in test mocks of encryption appMorris Jobke2017-10-267-15/+24
| | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | | Use ::class in test mocks of dav appMorris Jobke2017-10-266-9/+11
| | |/ | |/| | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | Merge pull request #6921 from nextcloud/appmanager-securitymiddlewareRoeland Jago Douma2017-10-241-1/+9
| |\ \ | | | | | | | | Use proper DI for security middleware for app enabled check
| | * | Use proper DI for security middleware for app enabled checkMorris Jobke2017-10-241-1/+9
| | |/ | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | Use ::class in test mocksMorris Jobke2017-10-2447-114/+154
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | Provide tests for future timestamp formattingMorris Jobke2017-10-231-0/+9
| |/ | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | fix comment sorterArthur Schiwon2017-10-301-31/+0
| | | | | | | | | | | | | | background: we have a flat hierarchy of comments, not a tree. therefore we can also remove again the unnecessary additions. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | AutoCompletion backendArthur Schiwon2017-10-222-23/+72
|/ | | | | | | | | | * introduce a Controller for requests * introduce result sorting mechanism * extend Comments to retrieve commentors (actors) in a tree * add commenters sorter * add share recipients sorter Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #6602 from nextcloud/s3-multipart-uploadRobin Appelman2017-10-111-4/+17
|\ | | | | Add multipart upload for s3
| * Add tests for multipart uploadRobin Appelman2017-09-211-4/+17
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Allow multiple settings and sections per appJoas Schilling2017-10-051-2/+2
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #6328 from nextcloud/split-sharees-api-logicblizzz2017-10-046-0/+2059
|\ \ | | | | | | Splits off the logic from sharees endpoint thus making it available from within Nc/via PHP.
| * | add tests for Lookup PluginArthur Schiwon2017-09-263-2/+180
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | move splitUserRemote unit testsArthur Schiwon2017-09-261-0/+75
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | split off former searchSharee unit testArthur Schiwon2017-09-261-0/+219
| | | | | | | | | | | | | | | | | | also moves registering default plugins to Server for proper unit testing Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | split off getEmail testsArthur Schiwon2017-09-261-0/+337
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | split off getRemote unit testsArthur Schiwon2017-09-261-0/+314
| | | | | | | | | | | | | | | | | | adds two small fixes → they actually work \o/ Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | split off getGroups unit testsArthur Schiwon2017-09-261-0/+491
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | split off getUsers unit testsArthur Schiwon2017-09-261-0/+445
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | dont run invalid path repair step when upgrading from 11.0.5.2 and laterRobin Appelman2017-10-031-0/+30
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Fix bigint handling on postgresJoas Schilling2017-09-291-0/+74
|/ / | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #6544 from nextcloud/fix/duplicate-session-tokenMorris Jobke2017-09-251-0/+8
|\ \ | | | | | | Fix duplicate session token after remembered login
| * | Fix duplicate session token after remembered loginChristoph Wurst2017-09-201-0/+8
| |/ | | | | | | | | | | | | | | | | On a remembered login session, we create a new session token in the database with the values of the old one. As we actually don't need the old session token anymore, we can delete it right away. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Handle SameSiteCookie check for index.php in AppFramework MiddlewareRoeland Jago Douma2017-09-242-2/+145
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #6605 from nextcloud/oc_ocs_response_is_depMorris Jobke2017-09-211-4/+4
|\ \ | | | | | | OC_OCS_Response is deprecated
| * | OC_OCS_Response is deprecatedRoeland Jago Douma2017-09-211-4/+4
| |/ | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* / Fix testsRoeland Jago Douma2017-09-211-0/+9
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>