summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* | | Add default timeout to expected request optionsDaniel Kesselberg2019-09-031-34/+19
|/ / | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | SessionMiddleware: declare session propertyRoeland Jago Douma2019-08-281-12/+4
| | | | | | | | | | | | | | * Remove request since we don't useit * Update tests as well Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #16879 from only-run-integration-tests-on-php-changesJohn Molakvoæ2019-08-271-0/+15
|\ \ | | | | | | Only run integration tests when PHP was modified
| * | Only run integration tests when PHP was modifiedJoas Schilling2019-08-271-0/+15
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #16875 from nextcloud/bugfix/16874/welcome-mail-client-urlRoeland Jago Douma2019-08-271-5/+12
|\ \ \ | | | | | | | | Use custom client URL in welcome emails
| * | | Mock client URL in new user mail testsJulius Härtl2019-08-271-5/+12
| | |/ | |/| | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Merge pull request #16865 from nextcloud/bugfix/noid/5-min-cronRoeland Jago Douma2019-08-261-23/+2
|\ \ \ | |_|/ |/| | Cron should run every 5 mins
| * | Cleanup the Settings classJoas Schilling2019-08-261-23/+2
| |/ | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #16795 from nextcloud/enh/phpstan/limiterJohn Molakvoæ2019-08-261-8/+0
|\ \ | |/ |/| Fix report of phpstan in Limiter
| * Fix report of phpstan in LimiterRoeland Jago Douma2019-08-191-8/+0
| | | | | | | | | | | | | | | | * unneeded arguments to constructor * added return types * let automatic DI do its work Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #16782 from nextcloud/fix/16729/stop-if-encrypted-token-nullblizzz2019-08-211-1/+17
|\ \ | |/ |/| Stop if there is no encrypted token
| * Add test case for existing user with token nullDaniel Kesselberg2019-08-181-0/+16
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
| * Return the disabled user mock instead of the existingDaniel Kesselberg2019-08-181-1/+1
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Allow Context subclasses in acceptance tests to access parent actorDaniel Calviño Sánchez2019-08-161-1/+1
|/ | | | | | | | | | Although uncommon, in some cases a Context may need to be extended (for example, to override a step defined in the server with a specific behaviour in the acceptance tests of an app); in those cases the subclass should be able to access the actor attribute defined in the Context it is extending. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>