summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* | Accept incoming shares in acceptance testsDaniel Calviño Sánchez2019-11-205-18/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Incoming shares are no longer automatically added to the file list of the sharee. Instead, the user now needs to explictly accept the share. Currently shares can be accepted only from the Notifications app, so it must be explicitly cloned before installing Nextcloud if it is not found in the "apps" directory. Note that the development branches are already built, so there is no need to explicitly build the app. With the new sharing behaviour the "share a skeleton file with another user before first login" scenario is no longer valid (as the user will need to log in to accept the share, so at that point the skeleton is already created), so it was removed. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Rename "Notification" to "Toast"Daniel Calviño Sánchez2019-11-202-11/+11
| | | | | | | | | | | | | | | | Since Nextcloud 17 the proper name for the old built-in notifications is "Toast". Moreover, this will reduce ambiguity when using the "notification" term to refer to elements in the Notifications app. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | 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>
* Merge remote-tracking branch 'origin/master' into filecache-extensionRoeland Jago Douma2019-11-181-3/+12
|\
| * Check getRedirectUri() for queriesRussellAult2019-11-131-3/+12
| | | | | | | | | | | | | | | | Resolves Issue #17885 Check getRedirectUri() for queries, and add a '&' instead of a '?' to $redirectUri if it already has them; otherwise, $redirectUri might end up with two '?'. Signed-off-by: RussellAult <russellault@users.noreply.github.com>
* | 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>
* Adjust acceptance tests to new OCA.SidebarJohn Molakvoæ (skjnldsv)2019-10-294-46/+53
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Extend data returned when searching remote sharesJohn Molakvoæ (skjnldsv)2019-10-291-5/+5
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Harden middleware checkRoeland Jago Douma2019-10-251-4/+85
| | | | | | | These annotations will allow for extra checks. And thus make it harder to break things. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Run acceptance tests on PHP 7.3Daniel Calviño Sánchez2019-10-221-1/+1
| | | | | | | | There is no difference (as far as I know) between running the acceptance tests on PHP 7.1 or on PHP 7.3; this is simply a preparatory step to be ready when PHP 7.1 support is dropped in Nextcloud server. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.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>
* Merge pull request #17431 from ↵Roeland Jago Douma2019-10-081-0/+5
|\ | | | | | | | | johkoenig/bugfix/17377/trusted_domain_helper_case_insensitive make TrustedDomainHelper case insensitive
| * make TrustedDomainHelper case insensitiveJohannes Koenig2019-10-061-0/+5
| | | | | | | | Signed-off-by: Johannes Koenig <mail@jokoenig.de>
* | Merge pull request #17411 from kinolaev/fix-oauth2-redirectRoeland Jago Douma2019-10-071-1/+2
|\ \ | |/ |/| Fix oauth client redirect
| * fix oauth client redirectSergej Nikolaev2019-10-041-1/+2
| | | | | | | | Signed-off-by: Sergej Nikolaev <kinolaev@gmail.com>
* | Fix master testing and update eslint-config (#17367)John Molakvoæ2019-10-042-3/+19
|\ \ | | | | | | Fix master testing and update eslint-config
| * | Fix tag acceptance tests after #16682John Molakvoæ (skjnldsv)2019-10-042-3/+19
| |/ | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* / Add Fatal logging optionTim Terhorst2019-10-021-0/+2
|/ | | | Signed-off-by: Tim Terhorst <mynamewastaken+gitlab@gmail.com>
* 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-2829-5528/+22
| | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* | Remove input id on login formJohn Molakvoæ (skjnldsv)2019-09-281-1/+1
| | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* | Merge pull request #17264 from nextcloud/move-from-storage-wrappersRoeland Jago Douma2019-09-261-20/+97
|\ \ | | | | | | handle moveFromStorage within the same storage even when storage wrap…
| * | handle moveFromStorage within the same storage even when storage wrappers ↵Robin Appelman2019-09-251-20/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | are applied to the source storage the target storage doesn't need additional handling for wrappers as the wrappers implementation of moveFromStorage already deals with that Any storage based on local storage isn't affected by this as local storage already has it's own way of handling with this Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #17262 from nextcloud/objectstore-remove-cache-on-deleteRoeland Jago Douma2019-09-262-0/+79
|\ \ \ | | | | | | | | dont delete cache entries if deleting an object from object store failed
| * | | dont delete cache entries if deleting an object from object store failedRobin Appelman2019-09-252-0/+79
| |/ / | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Use the actual password to update the tokensRoeland Jago Douma2019-09-181-2/+2
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Fixed the SecurityTest errorGreta Doci2019-09-151-0/+7
| | | | | | | | | | | | | | | Signed-off-by: Greta Doci <gretadoci@gmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* | | Fixed the testGreta Doci2019-09-151-0/+5
| | | | | | | | | | | | Signed-off-by: Greta Doci <gretadoci@gmail.com>
* | | Harden identifyproof openssl codeRoeland Jago Douma2019-09-141-7/+14
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Use Symfony's new contract Event class instead of the deprecated oneChristoph Wurst2019-09-121-8/+8
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Merge pull request #16682 from nextcloud/enh/12790/workflow-backendRoeland Jago Douma2019-09-111-23/+66
|\ \ \ | | | | | | | | workflow overhaul
| * | | adapt file hooks test to eventdispatcher utilizationArthur Schiwon2019-09-091-23/+66
| | | | | | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | Split personal security settings in codeRoeland Jago Douma2019-09-103-72/+135
|/ / / | | | | | | | | | | | | | | | | | | | | | Instead of one big monolitic sections this is the first step in breaking down the settings. This should make is easiet to see what does what. As well as nicely splitting up the sections. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #16836 from nextcloud/fix/16724/smb-availabilityRoeland Jago Douma2019-09-091-41/+53
|\ \ \ | |/ / |/| | Fix SMB availability status + higher delay on auth issues
| * | adjust testsArthur Schiwon2019-08-261-41/+53
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | Merge pull request #17006 from nextcloud/querybuilder-max-minRoeland Jago Douma2019-09-071-0/+78
|\ \ \ | | | | | | | | add MAX and MIN to functionbuilder
| * | | add MAX and MIN to functionbuilderRobin Appelman2019-09-061-0/+78
| |/ / | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | / Log/FileTest does not require the DBRoeland Jago Douma2019-09-041-2/+0
| |/ |/| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #16454 from ↵Roeland Jago Douma2019-09-041-8/+0
|\ \ | | | | | | | | | | | | nextcloud/bugfix/noid/sharelink-shouldnt-open-menu-automatically Dont show menu automatically when share link is clicked
| * | Adjust acceptance tests to changes in link share menu behaviourGreta Doci2019-08-291-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now the link share menu is not automatically opened after a link share is created, so waiting until it was opened failed in iShareTheLinkFor. Note that the steps that interact with the link share menu take care themselves of showing the menu if needed, so there is no need to explicitly show it despite the change. Also, the waiting in iShareTheLinkFor was introduced when the link share menu was changed to automatically open after creating a link share, as that caused some issues with the steps that opened the menu by themselves (fec8d12fc5). Due to all this, now that the link share menu is again not automatically opened the wait can be simply removed. Signed-off-by: Greta Doci <gretadoci@gmail.com>