summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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>
* | CSP: Allow fonts to be provided in dataRoeland Jago Douma2019-01-075-63/+63
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | fix can change password check in case of encryption is enabledBjoern Schiessle2019-01-041-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>
* | Add acceptance tests for opening search results for commentsDaniel Calviño Sánchez2019-01-033-0/+91
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Add acceptance tests for searching commentsDaniel Calviño Sánchez2019-01-033-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>
* | Only trust the X-FORWARDED-HOST header for trusted proxiesRoeland Jago Douma2018-12-191-53/+90
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add acceptance tests for comments on shared files and foldersDaniel Calviño Sánchez2018-12-072-0/+209
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Log and continue on Dav reader failureJohn Molakvoæ (skjnldsv)2018-12-051-2/+9
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add setup check for pending bigint conversionMorris Jobke2018-12-051-0/+7
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update casing of PHP inside method nameMorris Jobke2018-12-041-6/+6
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add setup check for recommended PHP modules (i.e. Imagick, intl)Morris Jobke2018-12-041-0/+7
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #12692 from nextcloud/storage-no-encryption-interface-15Morris Jobke2018-11-291-7/+1
|\ | | | | [15] 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 #12736 from nextcloud/backport/12424/stable15Roeland Jago Douma2018-11-293-14/+50
|\ \ | | | | | | [stable15] Add pipe mode for sendmail
| * | Add testcases for pipe modeDaniel Kesselberg2018-11-293-14/+50
| | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | 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>
* | Rename "FilesSharingAppContext" to "PublicShareContext"Daniel Calviño Sánchez2018-11-272-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-273-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-273-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-272-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-271-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-271-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-274-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-271-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-272-0/+143
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Wait for the comment to be added before changing to another fileDaniel Calviño Sánchez2018-11-271-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-271-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>
* 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>
* | Merge pull request #12553 from ↵Morris Jobke2018-11-221-32/+32
|\ \ | | | | | | | | | | | | nextcloud/bugfix/noid/allow-empty-string-in-getAbsoluteURL Allow empty string in get absolute url
| * | Allow empty strings in getAbsoluteURLJoas Schilling2018-11-201-0/+2
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Update the URLGenerator test to current state of artJoas Schilling2018-11-201-32/+30
| |/ | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Add acceptance tests for showing again the input field for tagsDaniel Calviño Sánchez2018-11-221-0/+11
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Add acceptance tests for opening and closing again the details viewDaniel Calviño Sánchez2018-11-221-0/+37
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Add acceptance tests for marking a file as favorite in the details viewDaniel Calviño Sánchez2018-11-222-0/+80
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Add acceptance tests for switching to the comments of another fileDaniel Calviño Sánchez2018-11-222-0/+51
|/ | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Merge pull request #12494 from nextcloud/cache-notfound-idMorris Jobke2018-11-201-0/+1
|\ | | | | return the correct value when trying to get a non existing item from cache by id
| * add test for non existing file by idRobin Appelman2018-11-191-0/+1
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #12401 from pachulo/fix/11107/fix-php-mail-warningMorris Jobke2018-11-191-0/+34
|\ \ | |/ |/| Fix the warning appearing in the admin section when mail_smtpmode is not configured
| * Use the proper default valuesMorris Jobke2018-11-191-2/+2
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * Verify that isPhpMailerUsed uses config as expectedKyle Fazzari2018-11-141-0/+34
| | | | | | | | Signed-off-by: Kyle Fazzari <kyrofa@ubuntu.com>
* | Fix breakpoint and shrinking of the content + listJohn Molakvoæ (skjnldsv)2018-11-141-1/+1
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Merge pull request #11942 from nextcloud/techdebt/noid/use-count-functionMorris Jobke2018-11-125-5/+5
|\ \ | | | | | | Use the defined func()->count() instead of manual counting
| * | Use the defined func()->count() instead of manual countingJoas Schilling2018-11-085-5/+5
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #12371 from ↵Morris Jobke2018-11-121-2/+1
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/bugfix/12369/catch-unique-constraint-violation-exception-in-insertIfNotExist Catch UniqueConstraintViolationException inside insertIfNotExist
| * | | Exception is not thrown anymoreMorris Jobke2018-11-121-2/+1
| | |/ | |/| | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* / | Make sure to always load the latest icons-vars.css fileJulius Härtl2018-11-121-1/+6
|/ / | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>