summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fix testsRoeland Jago Douma2019-01-151-9/+23
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #13032 from nextcloud/objectstore-write-existsMorris Jobke2019-01-144-1/+122
|\ | | | | upload new files in objectstore to a .part path first
| * upload new files in objectstore to a .part path firstRobin Appelman2018-12-123-1/+107
| | | | | | | | | | | | | | | | This prevent the object store and cache from getting out of sync when an objectstore silently fails or the php process get's killed during the upload without giving us the chance to cleanup Signed-off-by: Robin Appelman <robin@icewind.nl>
| * Add objectExists to objectstore interfaceRobin Appelman2018-12-121-0/+15
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Cache tokens when using swift's v2 authenticationRobin Appelman2019-01-131-0/+8
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Don't load old vendor files during jsunit testsChristoph Wurst2019-01-091-7/+1
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Set default frame-ancestors to 'self'Roeland Jago Douma2019-01-085-62/+62
| | | | | | | | | | | | For #13042 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | CSP: Allow fonts to be provided in dataRoeland Jago Douma2019-01-075-63/+63
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #12621 from nextcloud/td/12224/cleanup_middleware_registeringRoeland Jago Douma2019-01-071-9/+10
|\ \ | | | | | | Cleanup middleware registering
| * | Cleanup middleware registeringRoeland Jago Douma2019-01-031-9/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #12224 Since we only use the middleware at 1 location it makes no sense to register them in each and every container. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | 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>