summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* / Adjust acceptance tests to changes in public share page menuDaniel Calviño Sánchez2018-11-081-1/+4
|/ | | | | | | | The "Download" item in the menu of public share pages is no longer shown in wide (>768px) windows (although the element is in the DOM and shown if resized to a narrow window). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Merge pull request #12313 from nextcloud/generated-avatar-major-cleanupRoeland Jago Douma2018-11-081-0/+82
|\ | | | | Clear avatar cache with frontend repair
| * Clear avatar cache with frontend repairJohn Molakvoæ (skjnldsv)2018-11-081-0/+82
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Merge pull request #11836 from ↵Morris Jobke2018-11-071-2/+5
|\ \ | | | | | | | | | | | | nextcloud/bugfix/2443/comment-mentions-with-spaces Comment mentions with spaces
| * | Match mentions when the username is wrapped in quotesJoas Schilling2018-11-071-2/+5
| |/ | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* / Add test that unique constraint is workingDaniel Kesselberg2018-11-061-0/+13
|/ | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Merge pull request #12185 from nextcloud/cleanup/dicontainerMorris Jobke2018-11-052-17/+7
|\ | | | | Cleanup the DIContainer
| * Fix testsRoeland Jago Douma2018-11-022-17/+7
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #12071 from nextcloud/addressbook-uid-check-migrationRoeland Jago Douma2018-11-021-0/+121
|\ \ | | | | | | Addressbook uid check migration
| * \ Merge branch 'addressbook-uid-check-migration' of ↵John Molakvoæ (skjnldsv)2018-11-0112-41/+369
| |\ \ | | | | | | | | | | | | | | | | | | | | https://github.com/nextcloud/server into addressbook-uid-check-migration Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| | * | TestsJohn Molakvoæ (skjnldsv)2018-11-011-0/+121
| | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * | | Fix phpunitJohn Molakvoæ (skjnldsv)2018-11-011-20/+20
| | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * | | TestsJohn Molakvoæ (skjnldsv)2018-10-301-0/+121
| | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | | Merge pull request #12215 from ↵Roeland Jago Douma2018-11-021-0/+8
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | nextcloud/wait-for-the-link-share-menu-to-open-in-acceptance-tests Wait for the link share menu to open in acceptance tests
| * | | Wait for the link share menu to open in acceptance testsDaniel Calviño Sánchez2018-11-021-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the acceptance tests the link share menu is automatically opened if needed before interacting with an item in the menu; if the menu is not open it is opened by clicking on its toggle. However, since a recent change the link share menu is automatically opened by the regular UI after the link share is created. This causes that, sometimes, after the creation of a link share the acceptance tests check whether the menu is shown or not before the menu was automatically opened; as the menu is not open then the acceptance tests proceed to click on the toggle, but in the meantime the link share was created and the menu opened, so clicking on the toggle now closes it. As the menu is closed it is not possible to interact with its items and the test fails. To prevent that now the acceptance tests wait for the link share menu to open after a link share is created before continuing with the other steps. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | | Merge pull request #11404 from flokli/sendmail-pathRoeland Jago Douma2018-11-021-1/+7
|\ \ \ \ | | | | | | | | | | Mailer: discover sendmail path instead of hardcoding it to /usr/sbin/sendmail
| * | | | Fallback to default path is sendmail can't be foundRoeland Jago Douma2018-11-021-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the sendmail binary can't be found at all we fallback to the default path. It most likely is not there but then at least a proper error message pops up. Updated the tests to also properly pass. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | | Merge pull request #11875 from ↵Roeland Jago Douma2018-11-023-2/+156
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | nextcloud/add-support-for-sending-the-password-for-a-link-share-by-nextcloud-talk Add support for sending the password for a link share by Nextcloud Talk
| * | | | Add acceptance test steps to be used from Talk acceptance testsDaniel Calviño Sánchez2018-11-021-0/+49
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * | | | Test that "Password protect by Talk" is not shown if Talk is not enabledDaniel Calviño Sánchez2018-11-022-0/+48
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * | | | Store "sendPasswordByTalk" property of link shares in the databaseDaniel Calviño Sánchez2018-11-021-0/+9
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * | | | Fix update share testsDaniel Calviño Sánchez2018-11-021-2/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The update share tests only checked that the share returned by "update()" had the expected values. However, as "update()" returns the same share that was given as a parameter the tests were not really verifying that the values were updated in the database. In a similar way, the test that checked that a password was removed did not set a password first, so even if the database returned null it could be simply returning the default value for the share; a password must be set first to ensure that it is removed. Besides that, a typo was fixed too that made the checks on the original share instead of on the one returned by "update()"; right now it is the same share, so the change makes no difference, but it is how the check should be done anyway. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | | | Merge pull request #12200 from nextcloud/tech-debt/noid/cleanup-legacy-sharingMorris Jobke2018-11-021-1/+6
|\ \ \ \ \ | |_|/ / / |/| | | | Cleanup some unused sharing methods from the old sharing code
| * | | | Cleanup some unused sharing methods from the old sharing codeMorris Jobke2018-11-021-1/+6
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | | | Merge pull request #12177 from nextcloud/fix/apptoken_login_flow_proper_hostMorris Jobke2018-11-021-2/+8
|\ \ \ \ \ | |_|/ / / |/| | | | Use the proper server for the apptoken flow login
| * | | | Use the proper server for the apptoken flow loginRoeland Jago Douma2018-11-011-2/+8
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a user can't authenticate normally (because they have 2FA that is not available on their devices for example). The redirect that is generated should be of the proper format. This means 1. Include the protocol 2. Include the possible subfolder Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Merge pull request #11844 from nextcloud/multiple-link-sharesMorris Jobke2018-11-011-21/+18
|\ \ \ \ | |_|/ / |/| | | allow to create multiple link shares via share api
| * | | Adjust acceptance tests to changes in link sharesDaniel Calviño Sánchez2018-11-011-21/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Although now it is possible to create several link shares the acceptance tests currently handles only the first link share; this first link share is now created by clicking an "Add new share" button instead of a checkbox. Besides that, the "Copy link" button has been moved from the menu to the row, next to the menu trigger. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | | Revert "Wait for cron to finish before running upgrade command"Morris Jobke2018-11-011-8/+1
| |/ / |/| | | | | | | | | | | | | | This reverts commit 18e9631810ad1d3d72c2b4bbee330169808108ad. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | fix writeStream for jail wrapperRobin Appelman2018-10-311-0/+17
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>