summaryrefslogtreecommitdiffstats
path: root/tests/lib
Commit message (Collapse)AuthorAgeFilesLines
* Adjust DirectEditing test to PHPUnit8Julius Härtl2019-11-281-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #17625 from nextcloud/enh/noid/direct-editingRoeland Jago Douma2019-11-281-0/+172
|\ | | | | Direct editing API to allow file editing using a one-time token
| * Add mimetype to creatorsJulius Härtl2019-11-271-0/+4
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * Code style fixes and cleanupJulius Härtl2019-11-271-2/+18
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * Direct editing token testsJulius Härtl2019-11-271-0/+152
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #17725 from nextcloud/enh/share_exp_internalRoeland Jago Douma2019-11-281-1/+2
|\ \ | | | | | | Allow internal shares to have a default expiration date
| * | Fix testsRoeland Jago Douma2019-11-271-1/+2
| |/ | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #18064 from nextcloud/feature/php74Roeland Jago Douma2019-11-28334-1272/+1344
|\ \ | | | | | | Add php7.4 support
| * | remove test caseRoeland Jago Douma2019-11-271-1/+0
| | | | | | | | | | | | | | | | | | Because we test very naively we matched also on def in default... Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | TO REVERT LATER: disable decimaltest from LegacyDBTestRoeland Jago Douma2019-11-271-3/+3
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | TO REVERT LATER: disable tests in LargeFileHelperGetFileSizeTestRoeland Jago Douma2019-11-271-1/+1
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | Mode to modern phpunitRoeland Jago Douma2019-11-27189-992/+1037
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | Fix lockprivider testRoeland Jago Douma2019-11-271-2/+8
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | Fix more testsRoeland Jago Douma2019-11-271-2/+2
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | Fix signCoretestsRoeland Jago Douma2019-11-271-5/+5
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | SignApp fixesRoeland Jago Douma2019-11-271-4/+4
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | More fixesRoeland Jago Douma2019-11-272-6/+18
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | More fixesRoeland Jago Douma2019-11-271-2/+6
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | Fix more testsRoeland Jago Douma2019-11-272-5/+7
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | Skip redis if not configuredRoeland Jago Douma2019-11-271-0/+4
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | Make phpunit8 compatibleRoeland Jago Douma2019-11-27325-404/+404
| |/ | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* / Use person icon for personal settingsJulius Härtl2019-11-271-3/+3
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #18019 from nextcloud/enhancement/password-policy-eventsRoeland Jago Douma2019-11-272-38/+49
|\ | | | | Add typed events for password_policy
| * Add typed events for password_policyChristoph Wurst2019-11-272-38/+49
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #17834 from nextcloud/enh/noid/generic-event-replacement-tk2blizzz2019-11-272-4/+8
|\ \ | |/ |/| Public API's GenericEvent replacement (take 2)
| * Files first to use own GenericEventArthur Schiwon2019-11-262-4/+8
| | | | | | | | | | | | * those are added to 18 only anyway :) Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Merge pull request #17939 from nextcloud/fix/token-insert-conflict-handlingRoeland Jago Douma2019-11-261-10/+44
|\ \ | | | | | | Handle token insert conflicts
| * | Handle token insert conflictsChristoph Wurst2019-11-261-10/+44
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Env-based SAML uses the "Apache auth" mechanism to log users in. In this code path, we first delete all existin auth tokens from the database, before a new one is inserted. This is problematic for concurrent requests as they might reach the same code at the same time, hence both trying to insert a new row wit the same token (the session ID). This also bubbles up and disables user_saml. As the token might still be OK (both request will insert the same data), we can actually just check if the UIDs of the conflict row is the same as the one we want to insert right now. In that case let's just use the existing entry and carry on. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #17948 from nextcloud/enh/check-if-property-is-boolRoeland Jago Douma2019-11-261-8/+35
|\ \ | |/ |/| Make isXXX available for bool properties only
| * Make isXXX available for bool properties onlyDaniel Kesselberg2019-11-161-8/+35
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Merge pull request #17896 from nextcloud/fix/noid/consider-create-group-resultblizzz2019-11-251-0/+30
|\ \ | | | | | | take group creation result into consideration
| * | take group creation result into considerationArthur Schiwon2019-11-251-0/+30
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | Some php-cs fixesRoeland Jago Douma2019-11-22124-179/+153
|/ / | | | | | | | | | | | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Fix the tests after #18029Roeland Jago Douma2019-11-211-2/+1
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #18029 from nextcloud/feature/public-post-login-eventRoeland Jago Douma2019-11-211-2/+2
|\ \ | | | | | | Make the post login event public
| * | Make the post login event publicChristoph Wurst2019-11-201-2/+2
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Do not check for updates if we have no internetRoeland Jago Douma2019-11-201-24/+64
|/ / | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Do pagination on the dummy group backendRoeland Jago Douma2019-11-201-1/+2
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Use dummy backend in testRoeland Jago Douma2019-11-181-0/+1
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | fix folder deleteRobin Appelman2019-11-131-0/+2
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | dont create empty filecache extended rowsRobin Appelman2019-11-131-1/+8
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | expose filecache extension data in FileInfoRobin Appelman2019-11-131-213/+236
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | store filecache extension fieldsRobin Appelman2019-11-131-0/+61
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Add unit tests for "getAllShares()"Daniel Calviño Sánchez2019-10-302-0/+216
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Extend data returned when searching remote sharesJohn Molakvoæ (skjnldsv)2019-10-291-5/+5
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Make renewSessionToken return the new tokenRoeland Jago Douma2019-10-091-10/+9
| | | | | | | Avoids directly getting the token again. We just inserted it so it and have all the info. So that query is just a waste. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* make TrustedDomainHelper case insensitiveJohannes Koenig2019-10-061-0/+5
| | | | Signed-off-by: Johannes Koenig <mail@jokoenig.de>
* Merge pull request #17001 from nextcloud/fix/noid/addressbookchanges-avatarblizzz2019-10-011-2/+1
|\ | | | | reduce adressbook change events and handling
| * adjust test expectationsArthur Schiwon2019-09-041-2/+1
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Move settings to an appChristoph Wurst2019-09-2812-771/+20
| | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>