summaryrefslogtreecommitdiffstats
path: root/tests/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix testsRoeland Jago Douma2018-03-091-0/+17
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Hardening of SimpleFile getContentRoeland Jago Douma2018-03-021-0/+22
| | | | | | | if file_get_contents fails remove the file. And traverse up the tree checking if the other folders are there. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #8099 from nextcloud/7873_13Roeland Jago Douma2018-02-281-8/+20
|\ | | | | [stable13] Don't perform CSRF check on OCS routes with Bearer auth
| * Update testsRoeland Jago Douma2018-02-081-8/+20
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Better result handling of email searchJoas Schilling2018-02-202-3/+3
| | | | | | | | | | | | | | 1. Local users should not be returned when searching for empty string 2. The limit of the response should be respected Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #8102 from nextcloud/s3-uploader-13Morris Jobke2018-02-081-5/+12
|\ \ | |/ |/| [13] Use S3Client::upload instead of splitting single/multipart upload ourselves
| * Use S3Client::upload instead of splitting single/multipart upload ourselvesRobin Appelman2018-01-291-5/+12
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #8197 from nextcloud/stable13-8144Roeland Jago Douma2018-02-073-0/+124
|\ \ | | | | | | [stable13] Repair step to clear frontend related caches
| * | Fix testsRoeland Jago Douma2018-02-061-0/+4
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | Move depsCache clearing to SCSSCacher/JSCombinerJulius Härtl2018-02-063-16/+42
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | Add tests and class mappingJulius Härtl2018-02-061-0/+94
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Merge pull request #8045 from nextcloud/8002_13Roeland Jago Douma2018-02-061-45/+50
|\ \ \ | |/ / |/| | [stable13] Dont polute the log on DAV emaillogin
| * | Fix testsRoeland Jago Douma2018-01-251-45/+50
| |/ | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* / Add tests for URL rewritingJulius Härtl2018-02-021-4/+14
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* 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>