summaryrefslogtreecommitdiffstats
path: root/tests/lib
Commit message (Collapse)AuthorAgeFilesLines
* Backport of format self-mentions, but don't offer them #7914Arthur Schiwon2018-01-182-2/+54
| | | | | | | | | | | | | | | | | | comments should compile mentions also if done by author it is used by clients for formatting reasons, there is no reason not format the author if her handle is included in the comment body. It is unrelated to sending out notifications. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> do not offer the handle of the current user for auto completion Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> add types to php doc Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #7915 from nextcloud/backport/7909/fix-migration-type-hintsRoeland Jago Douma2018-01-171-2/+0
|\ | | | | Fix the type hints of migrations and correctly inject the wrapped sch…
| * Fix the type hints of migrations and correctly inject the wrapped schema ↵Joas Schilling2018-01-171-2/+0
| | | | | | | | | | | | into migrations Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Support arbitrary number of arguments for d:or and d:and in search queriesRobin Appelman2018-01-161-1/+6
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Don't lie about the preview mimetypeRoeland Jago Douma2018-01-071-0/+8
| | | | | | | | | | | | | | For legacy reasons we stored all the previews with a png extention. However we did not put png data in them all the time. This caused the preview endpoints to always report that a preview is a png file. Which was a lie. Since we abstract away from the storage etc in the previewmanager. There is no need anymore to store them as .png files and instead we can use the actual file extention. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* removes invalid tests, adapts another oneArthur Schiwon2018-01-031-33/+0
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* never translate login names when requiring with a user idArthur Schiwon2018-01-031-12/+28
| | | | | | where appropriate, the preLoginNameUsedAsUserName hook should be thrown. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* extend tests for status quoArthur Schiwon2018-01-032-0/+19
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Move passwordconfirmation to its own midlewareRoeland Jago Douma2018-01-022-10/+130
| | | | | | Add tests Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* disable password confirmation with SSOBjoern Schiessle2018-01-021-1/+10
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Fixed testsJohn Molakvoæ (skjnldsv)2017-12-303-13/+32
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Correctly remove temp test directory treeJohn Molakvoæ (skjnldsv)2017-12-301-1/+13
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Added tests for various installations typesJohn Molakvoæ (skjnldsv)2017-12-301-0/+37
| | | | | | | | | | | | | - With root installation - Core css - App inside server root - Secondary apps directory outside server root - With an installation in a sub directory - Core css - App inside server root - Secondary apps directory outside server root Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fixed webroot for scss filesJohn Molakvoæ (skjnldsv)2017-12-301-11/+2
| | | | | | Fixed tests Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix failing AvatarTestJulius Härtl2017-12-191-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #7562 from nextcloud/fix-wrongly-cached-resultRoeland Jago Douma2017-12-191-1/+52
|\ | | | | Cache final result of update check
| * Cache final result of update checkMorris Jobke2017-12-181-1/+52
| | | | | | | | | | | | | | | | If the parsed data is not a valid response we should not cache it and only cache the preprocessed result set. Fixes #7442 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Fix testsRoeland Jago Douma2017-12-183-3/+3
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix and tests for MailPluginTobia De Koninck2017-12-161-1/+138
| | | | Signed-off-by: Tobia De Koninck <tobia@ledfan.be>
* Test fixes 2John Molakvoæ (skjnldsv)2017-12-141-3/+3
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Test fixesJohn Molakvoæ (skjnldsv)2017-12-141-2/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Use cached app listMorris Jobke2017-12-141-0/+1
| | | | | | Followup to #7264 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* allow 'Nextcloud' in the user agent string of AndroidBjoern Schiessle2017-12-121-0/+14
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Merge pull request #6651 from nextcloud/remote-cloud-clientRoeland Jago Douma2017-12-113-0/+307
|\ | | | | Add api clients for talking to remote clouds
| * Add some more tests for ocs remote apiRobin Appelman2017-12-083-53/+232
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * refuse to use http if we know a remote has httpsRobin Appelman2017-12-081-0/+128
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #7427 from nextcloud/fix-white-color-in-emailsMorris Jobke2017-12-111-0/+16
|\ \ | | | | | | Fix email buttons for white theme
| * | Fix email buttons for white themeMorris Jobke2017-12-111-0/+16
| |/ | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #6876 from nextcloud/always_img_avatarMorris Jobke2017-12-081-7/+37
|\ \ | |/ |/| Always generate avatar
| * Fix testsRoeland Jago Douma2017-11-291-7/+37
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | use formal version of German if default_language is set to 'de_DE'Bjoern Schiessle2017-11-301-2/+42
|/ | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Fix current access list test and add one for $currentAccess === falseJoas Schilling2017-11-281-2/+113
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #7305 from nextcloud/log-level-for-log-extendingMorris Jobke2017-11-271-4/+4
|\ | | | | Pass log level to log reporters
| * Pass log level to log reportersMorris Jobke2017-11-271-4/+4
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #7210 from nextcloud/pg10Morris Jobke2017-11-271-17/+18
|\ \ | |/ |/| add postgresql 10 compatibility to dbal
| * add postgresql10 compatibility to dbalRobin Appelman2017-11-221-17/+18
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #7295 from nextcloud/remove-unused-methodLukas Reschke2017-11-271-16/+1
|\ \ | | | | | | Remove unused mimetype detection method in OC_Image
| * | Remove unused mimetype detection method in OC_ImageMorris Jobke2017-11-271-16/+1
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Merge pull request #7264 from nextcloud/cache-fetched-appsLukas Reschke2017-11-273-23/+43
|\ \ \ | | | | | | | | Cache fetched apps in update check
| * | | Make isUpdateAvailable non-staticMorris Jobke2017-11-251-1/+2
| | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | | Get the Installer via DIMorris Jobke2017-11-253-22/+41
| |/ / | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* / / Adjust tests for added lastCheck timeLukas Reschke2017-11-271-0/+1
|/ / | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* / 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