Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2018-11-20Merge pull request #12494 from nextcloud/cache-notfound-idMorris Jobke
return the correct value when trying to get a non existing item from cache by id
2018-11-19add test for non existing file by idRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-11-19Merge pull request #12401 from pachulo/fix/11107/fix-php-mail-warningMorris Jobke
Fix the warning appearing in the admin section when mail_smtpmode is not configured
2018-11-19Use the proper default valuesMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-11-14Verify that isPhpMailerUsed uses config as expectedKyle Fazzari
Signed-off-by: Kyle Fazzari <kyrofa@ubuntu.com>
2018-11-14Fix breakpoint and shrinking of the content + listJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-11-12Merge pull request #11942 from nextcloud/techdebt/noid/use-count-functionMorris Jobke
Use the defined func()->count() instead of manual counting
2018-11-12Merge pull request #12371 from ↵Morris Jobke
nextcloud/bugfix/12369/catch-unique-constraint-violation-exception-in-insertIfNotExist Catch UniqueConstraintViolationException inside insertIfNotExist
2018-11-12Exception is not thrown anymoreMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-11-12Make sure to always load the latest icons-vars.css fileJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-11-08Use the defined func()->count() instead of manual countingJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-11-08Adjust acceptance tests to changes in public share page menuDaniel Calviño Sánchez
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>
2018-11-08Merge pull request #12313 from nextcloud/generated-avatar-major-cleanupRoeland Jago Douma
Clear avatar cache with frontend repair
2018-11-08Clear avatar cache with frontend repairJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-11-07Merge pull request #11836 from ↵Morris Jobke
nextcloud/bugfix/2443/comment-mentions-with-spaces Comment mentions with spaces
2018-11-07Match mentions when the username is wrapped in quotesJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-11-06Add test that unique constraint is workingDaniel Kesselberg
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2018-11-05Merge pull request #12185 from nextcloud/cleanup/dicontainerMorris Jobke
Cleanup the DIContainer
2018-11-02Merge pull request #12071 from nextcloud/addressbook-uid-check-migrationRoeland Jago Douma
Addressbook uid check migration
2018-11-02Merge pull request #12215 from ↵Roeland Jago Douma
nextcloud/wait-for-the-link-share-menu-to-open-in-acceptance-tests Wait for the link share menu to open in acceptance tests
2018-11-02Fix testsRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-11-02Merge pull request #11404 from flokli/sendmail-pathRoeland Jago Douma
Mailer: discover sendmail path instead of hardcoding it to /usr/sbin/sendmail
2018-11-02Merge pull request #11875 from ↵Roeland Jago Douma
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
2018-11-02Wait for the link share menu to open in acceptance testsDaniel Calviño Sánchez
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>
2018-11-02Merge pull request #12200 from nextcloud/tech-debt/noid/cleanup-legacy-sharingMorris Jobke
Cleanup some unused sharing methods from the old sharing code
2018-11-02Fallback to default path is sendmail can't be foundRoeland Jago Douma
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>
2018-11-02Add acceptance test steps to be used from Talk acceptance testsDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-02Test that "Password protect by Talk" is not shown if Talk is not enabledDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-02Cleanup some unused sharing methods from the old sharing codeMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-11-02Merge pull request #12177 from nextcloud/fix/apptoken_login_flow_proper_hostMorris Jobke
Use the proper server for the apptoken flow login
2018-11-02Store "sendPasswordByTalk" property of link shares in the databaseDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-02Fix update share testsDaniel Calviño Sánchez
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>
2018-11-02Merge pull request #11844 from nextcloud/multiple-link-sharesMorris Jobke
allow to create multiple link shares via share api
2018-11-01Adjust acceptance tests to changes in link sharesDaniel Calviño Sánchez
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>
2018-11-01Merge branch 'addressbook-uid-check-migration' of ↵John Molakvoæ (skjnldsv)
https://github.com/nextcloud/server into addressbook-uid-check-migration Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-11-01Fix phpunitJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-11-01Revert "Wait for cron to finish before running upgrade command"Morris Jobke
This reverts commit 18e9631810ad1d3d72c2b4bbee330169808108ad. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-11-01TestsJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-11-01Use the proper server for the apptoken flow loginRoeland Jago Douma
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>
2018-10-31fix writeStream for jail wrapperRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-10-31extend storage api to allow directly writing a stream to storageRobin Appelman
this removes the need for temporary storages with some external storage backends. The new method is added to a separate interface to maintain compatibility with storage backends implementing the storage interface directly (without inheriting common) Currently the interface is implemented for objectstorage based storages and local storage and used by webdav uploads Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-10-31Only generate previews in powers of 4 and set minRoeland Jago Douma
Before we'd round up all preview request to their nearest power of two. This resulted still in a lot of possible images. Generating a lot of server load and taking up a lot of space. This moves it to previews to be powers of 4: 64, 256, 1024 and 4096 Also the first two powers are always skipped (4, 16) as it doesn't make sense to generate previews for that. We cache preview pretty agressively and I feel this is a better tradeoff. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-31Merge pull request #12089 from Rayn0r/masterDennis1993
added possibility to disable autocomplete in login form
2018-10-30Move ExpiredTokenException to the correct namespaceRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-30Merge pull request #11899 from nextcloud/enhancement/noid/sharing-consolidationRoeland Jago Douma
Sharing user consolidation
2018-10-30Add acceptance tests for hiding download in link sharesDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-10-30TestsJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-10-30Fix injection to get the user idJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-10-30adapted automated test for autocomplete changesRayn0r
Signed-off-by: Rayn0r <Andre.Weidemann@web.de>
2018-10-30Merge pull request #12036 from olivermg/masterMorris Jobke
Add capability of specifying "trusted_proxies" entries in CIDR notation (IPv4)