aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #13172 from nextcloud/fix-can-change-password-checkRoeland Jago Douma2019-01-041-1/+47
|\ | | | | fix can change password check in case of encryption is enabled
| * fix can change password check in case of encryption is enabledBjoern Schiessle2018-12-201-1/+47
| | | | | | | | | | | | | | | | | | | | | | | | Admin should _not_ be able to change password when: - if an encryption module is loaded and it uses per-user keys - if encryption is enabled but no encryption modules are loaded Admin should be able to change the password when: - no encryption module is loaded and encryption is disabled - encryption module is loaded but it doesn't require per user keys Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | Merge pull request #13313 from nextcloud/feature/remove-outdated-cachesRoeland Jago Douma2019-01-041-5/+0
|\ \ | | | | | | Remove check for outdated caches
| * | Remove check for outdated cachesDaniel Kesselberg2019-01-021-5/+0
| | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | Merge pull request #10555 from nextcloud/bugfix/10518/only-check-added-itemsblizzz2019-01-031-15/+95
|\ \ \ | |/ / |/| | Only enforce schema limits for supported apps
| * | Update the tests to the comparison logicJoas Schilling2018-12-171-15/+95
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Add acceptance tests for opening search results for commentsDaniel Calviño Sánchez2018-12-213-0/+91
| | | | | | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | Add acceptance tests for searching commentsDaniel Calviño Sánchez2018-12-213-0/+152
| | | | | | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | Use a case insensitive search for emailRoeland Jago Douma2018-12-201-2/+3
| |/ |/| | | | | | | | | | | | | Fixes #7084 Now entering wrongly cased email (roeland@ instead of Roeland@) for password reset etc. Will also work. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #13116 from ↵Roeland Jago Douma2018-12-191-53/+90
|\ \ | | | | | | | | | | | | nextcloud/fix/only_trust_xforwardedhost_for_trusted_proxies Only trust the X-FORWARDED-HOST header for trusted proxies
| * | Only trust the X-FORWARDED-HOST header for trusted proxiesRoeland Jago Douma2018-12-171-53/+90
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #12766 from stalker314314/streaming-optionsJohn Molakvoæ2018-12-181-0/+22
|\ \ \ | |/ / |/| | Expose Swift Mailer streaming options in config, fixes #12702
| * | Addressing comments, array() to []Branko Kokanovic2018-12-171-2/+2
| | | | | | | | | | | | Signed-off-by: Branko Kokanovic <branko@kokanovic.org>
| * | Expose Swift Mailer streaming options in config, fixes #12702Branko Kokanovic2018-11-301-0/+22
| | | | | | | | | | | | Signed-off-by: Branko Kokanovic <branko@kokanovic.org>
* | | Merge pull request #12883 from nextcloud/appdata-performanceJoas Schilling2018-12-172-18/+12
|\ \ \ | |_|/ |/| | try to grab the appdata folder directly without going trough the whole tree
| * | use a fresh appdata factory in background job testRobin Appelman2018-12-061-1/+5
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | try to grab the appdata folder directly without going trough the whole treeRobin Appelman2018-12-061-17/+7
| |/ | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Remove deprecated functions from SecureRandomRoeland Jago Douma2018-12-071-4/+0
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #12897 from ↵Roeland Jago Douma2018-12-072-0/+209
|\ \ | | | | | | | | | | | | nextcloud/fix-unread-comment-icon-not-shown-for-the-sharee Fix unread comment icon not shown for the sharee
| * | Add acceptance tests for comments on shared files and foldersDaniel Calviño Sánchez2018-12-062-0/+209
| | | | | | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | Merge pull request #12891 from nextcloud/theming-cachingRoeland Jago Douma2018-12-071-1/+1
|\ \ \ | |/ / |/| | more caching for theming
| * | more caching for themingRobin Appelman2018-12-071-1/+1
| |/ | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #12854 from nextcloud/vcard-repair-uid-fixMorris Jobke2018-12-051-2/+9
|\ \ | | | | | | Log and continue on Dav reader failure (repair uid)
| * | Log and continue on Dav reader failureJohn Molakvoæ (skjnldsv)2018-12-051-2/+9
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | Merge pull request #12824 from ↵Morris Jobke2018-12-051-0/+7
|\ \ \ | |/ / |/| | | | | | | | nextcloud/feature/12763/add-setup-check-for-bigint-conversion Add setup check for pending bigint conversion
| * | Add setup check for pending bigint conversionMorris Jobke2018-12-051-0/+7
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Fix typo in "incoming"Joas Schilling2018-12-051-1/+1
|/ / | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Update casing of PHP inside method nameMorris Jobke2018-12-051-6/+6
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Add setup check for recommended PHP modules (i.e. Imagick, intl)Morris Jobke2018-12-051-0/+7
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #12691 from nextcloud/storage-no-encryption-interfaceMorris Jobke2018-11-291-7/+1
|\ | | | | Add interface to allow storages from opting out of encryption
| * update encryption wrapper testsRobin Appelman2018-11-291-7/+1
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #12424 from nextcloud/feature/add-pipe-mode-for-sendmailMorris Jobke2018-11-293-14/+50
|\ \ | |/ |/| Add pipe mode for sendmail
| * Add testcases for pipe modeDaniel Kesselberg2018-11-293-14/+50
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Merge pull request #12710 from nextcloud/remove-old-submit-buttonJohn Molakvoæ2018-11-291-64/+0
|\ \ | |/ |/| Remove old button to submit the apppassword login
| * Fix testsJohn Molakvoæ (skjnldsv)2018-11-291-64/+0
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Fix folder path containing leading slash when getting mount root by idRobin Appelman2018-11-281-0/+48
|/ | | | | | | | This fixes collabora on public link shared groupfolders Fixes https://github.com/nextcloud/groupfolders/issues/225 Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #12649 from ↵Morris Jobke2018-11-262-2/+7
|\ | | | | | | | | nextcloud/make-acceptance-tests-for-comments-more-robust Make acceptance tests for comments more robust
| * Wait for the comment to be added before changing to another fileDaniel Calviño Sánchez2018-11-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the server is too slow, changing to a different file immediately after sending a new comment but without waiting for the comment to be shown for the original file could cause the new comment to be shown for the current file instead. This is, indeed, a bug in the comments. However, it is not possible to test it reliably in the acceptance tests, as it depends on how fast the server adds the message and how fast the client changes to a different file; sometimes the test would fail and sometimes it would not. Therefore, now it is waited for the comment to be added before changing to another file, as in this case it can be reliably tested that changing to a different file does not cause the comments from the previous file to be shown in the current file (this was a different bug already fixed and due to which this test was added in the first place). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * Wait for the empty content element to be shownDaniel Calviño Sánchez2018-11-241-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | When the "Comments" tab is open the empty content element is always in the DOM, although it is only shown once the message collection was fetched and there were no messages. Due to this it is necessary to explicitly wait for it to be shown instead of relying on the implicit wait made to find the element; otherwise it would be found immediately and if the collection was not fetched yet it would not be visible, causing the test to fail. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Rename "FilesSharingAppContext" to "PublicShareContext"Daniel Calviño Sánchez2018-11-232-3/+3
| | | | | | | | | | | | | | | | Having both "FilesAppSharingContext" and "FilesSharingAppContext" was confusing, so "FilesSharingAppContext" was renamed to a more descriptive name. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Extract locators and steps for sharing in Files app to their own contextDaniel Calviño Sánchez2018-11-233-489/+519
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Extract sharing related acceptance tests to their own feature filesDaniel Calviño Sánchez2018-11-233-416/+418
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Add acceptance tests for folders that can not be resharedDaniel Calviño Sánchez2018-11-232-0/+142
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Add acceptance tests for resharing a folder with another userDaniel Calviño Sánchez2018-11-231-0/+52
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Add acceptance test for checking that the owner can see resharesDaniel Calviño Sánchez2018-11-231-0/+25
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Add acceptance test for resharing a file with another userDaniel Calviño Sánchez2018-11-234-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To reshare a file there must be at least three enabled users in the system; although it would be possible to run the steps to create a third user in the scenarios that need it for convenience a third enabled user besides "admin" and "user0" was added to the default setup. In a similar way, a new step was added too to login as a given user name, similar to the steps to log in as "user0" and as "admin". Finally, another actor, "Jim", was introduced for those scenarios which should be played by three standard actors (that is, without a special configuration like "Rubeus"). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Add acceptance tests for sharing a folder with another userDaniel Calviño Sánchez2018-11-231-0/+59
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Add acceptance tests for sharing a file with another userDaniel Calviño Sánchez2018-11-232-0/+143
|/ | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Merge pull request #12571 from ↵Morris Jobke2018-11-221-6/+20
|\ | | | | | | | | TheLastProject/feature/make_connectivity_check_domains_changeable Make connectivity check domains configurable
| * Make connectivity check domains configurableSylvia van Os2018-11-221-6/+20
| | | | | | | | Signed-off-by: Sylvia van Os <sylvia@hackerchick.me>