summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* [stable25] Fix theming testsChristopher Ng2022-11-251-4/+4
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Add label to sharing search fieldChristopher Ng2022-11-241-2/+2
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Increase the fair-use push limit to 1.000 usersJoas Schilling2022-11-211-4/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Run integration tests on 3rdparty bumpJoas Schilling2022-11-141-0/+2
| | | Signed-off-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
* Fix PublicKeyTokenProviderTest import and mockChristoph Wurst2022-11-111-4/+2
| | | | | | | * IDBConnection import missing * Atomic doesn't need a mock Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #34946 from nextcloud/backport/34804/stable25Vincent Petry2022-11-041-2/+3
|\ | | | | [stable25] Skip general login with email for non-valid addresses and LDAP
| * Skip general login with email for non-valid addresses and LDAPJulius Härtl2022-11-031-2/+3
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Run session token renewals in a database transactionChristoph Wurst2022-11-031-2/+18
|/ | | | | | | | | | | | | The session token renewal does 1) Read the old token 2) Write a new token 3) Delete the old token If two processes succeed to read the old token there can be two new tokens because the queries were not run in a transaction. This is particularly problematic on clustered DBs where 1) would go to a read node and 2) and 3) go to a write node. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Emit typed event when preview is requestedJulius Härtl2022-10-271-8/+39
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix LostController testCôme Chilliet2022-10-271-2/+7
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Check share attributes on preview endpointsJulius Härtl2022-10-261-0/+9
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* set theming app to alwaysEnabledszaimen2022-10-182-2/+12
| | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* Fix testsJohn Molakvoæ2022-10-141-0/+19
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Allow to pick custom colourJohn Molakvoæ (skjnldsv)2022-10-132-3/+3
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #34432 from nextcloud/backport/34298/stable25Simon L2022-10-052-2/+23
|\ | | | | [stable25] Use color preset of shipped background as primary color
| * Use brand color for background only and keep accessible color as color primaryChristopher Ng2022-10-052-2/+23
| | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | Update ContactsStoreTest.phpAndy Xheli2022-10-051-1/+5
|/ | | | Signed-off-by: Andy Xheli <axheli@axtsolutions.com>
* add test for trying to fopen a file which no longer exists on diskRobin Appelman2022-10-031-0/+19
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fix various theming bugsChristopher Ng2022-09-282-14/+14
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* remove getDefaultInstallationBundleArthur Schiwon2022-09-221-5/+0
| | | | | | - because all apps are shipped now it was returning an empty result Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* remove InstallCoreBundle repair stepArthur Schiwon2022-09-221-142/+0
| | | | | | | - core bundle was empty and thus removed - all former apps installed this way are shipped Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* remove Core BundleArthur Schiwon2022-09-222-41/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #34192 from nextcloud/move-background-clearing-stable25blizzz2022-09-221-3/+7
|\ | | | | [stable25] Move avatar clearing in the background
| * Move avatar clearing in the backgroundCarl Schwan2022-09-221-3/+7
| | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu> (cherry picked from commit e21e53670c60b74ca2c49c01bf510ccdc5115b0d)
* | Fix tests for nested v4 in v6Côme Chilliet2022-09-221-2/+2
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Harden tests for local IP detection in URLsCôme Chilliet2022-09-222-0/+20
|/ | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #34072 from nextcloud/enh/noid/default-enabled-2Vincent Petry2022-09-151-1/+1
|\ | | | | set defaultEnabled in shipped.json
| * Increase timeout for apps managementVincent Petry2022-09-151-1/+1
| | | | | | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* | fix using FSEEK_END with SeekableHttpStream to get file sizeRobin Appelman2022-09-153-0/+33
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Add accessibility entry in user menuVincent Petry2022-09-142-7/+35
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Update avatars on updateCarl Schwan2022-09-094-7/+6
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Merge pull request #33788 from nextcloud/improve-recentCarl Schwan2022-09-081-4/+4
|\ | | | | Improve getting recent files performance
| * Filter out old files when trying to get recent filesCarl Schwan2022-09-051-4/+4
| | | | | | | | | | | | | | Only do so when asking for less than 100 files and having an offset equal to 0. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Merge pull request #33906 from nextcloud/fix/fix-calendar-tests-getTimestampblizzz2022-09-081-34/+37
|\ \ | | | | | | Fix Calendar tests mocking a non-existant method.
| * | Fix iMIP testsAnna Larch2022-09-081-16/+13
| | | | | | | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
| * | Fix trying to use MockBuilder instead of MockCôme Chilliet2022-09-061-6/+12
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | Fix Calendar tests mocking a non-existant method.Côme Chilliet2022-09-051-12/+12
| | | | | | | | | | | | | | | | | | There is no ITimeFactory::getTimestamp method, only getTime Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | Merge pull request #33600 from nextcloud/lazy-quotablizzz2022-09-071-84/+0
|\ \ \ | | | | | | | | get quota for user only when needed
| * | | get quota for user only when neededRobin Appelman2022-09-011-84/+0
| | | | | | | | | | | | | | | | | | | | | | | | always apply the wrapper but have the wrapper get the quota lazily only when an operation where quota is applied is performed Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | More cleaning up of the login componentCarl Schwan2022-09-061-2/+2
| |/ / |/| | | | | | | | | | | | | | | | | - Move css in scopped vue components - Port to NcNoteCard all the warning messages Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | Merge pull request #33790 from nextcloud/Valdnet-patch-2Simon L2022-09-023-3/+3
|\ \ \ | | | | | | | | l10n: Spelling unification
| * | | fix testsszaimen2022-09-023-3/+3
| | |/ | |/| | | | | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* | | Maximize browser window before running the testsDaniel Calviño Sánchez2022-09-012-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By the default the browser window is not maximized, but opened with a size of 1050x978px. In the Files app, when the navigation bar and the side bar are both open, with the previous design that width caused the file name to be very very narrow, but still clickable. However, with the updated design the file name is too narrow and no longer clickable, which breaks several acceptance tests that descend into subfolders. To solve that now the browser window is maximized before running the tests, which makes the window wide enough (1360px) to show the file name and make it clickable. This commit also removes a step to close the sidebar that was recently added to address the problem mentioned above in a previous pull request. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | Wait for the new user form to be visibleDaniel Calviño Sánchez2022-09-011-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before it was checked if the new user form was visible, but it was not waited for it. It seems that it can happen that the new user form is in the DOM, and therefore found, but not visible yet when the tests run, which caused them to (randomly) fail. Due to that now it is explicitly waited until it is visible, rather than assuming that it is visible as soon as it appears in the DOM. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | Adjust theming acceptance testsJulius Härtl2022-09-012-10/+10
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Merge pull request #33764 from nextcloud/cloudid-cacheVincent Petry2022-09-013-3/+34
|\ \ \ | |/ / |/| | cache cloud id data in CloudIdManager
| * | adjusts tests for CloudIdManagerRobin Appelman2022-08-313-3/+34
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Fix unit testsJoas Schilling2022-08-312-5/+5
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #33756 from nextcloud/enh/noid/admin-settings-directlySimon L2022-08-318-18/+51
|\ \ \ | | | | | | | | add a way to open the admin settings overview directly
| * | | add a better icon for personal settingsszaimen2022-08-311-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: szaimen <szaimen@e.mail.de>