summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fix various theming bugsChristopher Ng2022-09-282-14/+14
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Move avatar clearing in the backgroundCarl Schwan2022-09-261-3/+7
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* 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>
* Fix tests for nested v4 in v6Côme Chilliet2022-09-201-2/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Harden tests for local IP detection in URLsCôme Chilliet2022-09-202-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>
| * | | fix testsszaimen2022-08-318-18/+51
| |/ / | | | | | | | | | | | | Signed-off-by: szaimen <szaimen@e.mail.de> Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* / / Adjust acceptance tests to changes in app menuDaniel Calviño Sánchez2022-08-311-2/+2
|/ / | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Merge pull request #33640 from nextcloud/fix/fix-symfony-event-typingCôme Chilliet2022-08-303-34/+43
|\ \ | | | | | | Port Repair and Migrator events to IEventDispatcher
| * | Fix BackgroundRepairTestCôme Chilliet2022-08-251-14/+16
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | Fix RepairTestCôme Chilliet2022-08-251-19/+26
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | Migrate Migrator::executeSql to OCP\EventDispatcher\EventCôme Chilliet2022-08-251-1/+1
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | Remove deprecated at matcher from tests/libCôme Chilliet2022-08-2910-368/+294
| | | | | | | | | | | | | | | | | | Only 15 warnings left in there Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | Remove deprecated at matcher in Updater/VersionCheckTest.phpCôme Chilliet2022-08-291-107/+111
|/ / | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Merge pull request #33516 from nextcloud/update-nextcloud-vue-6.0.0-beta.2Vincent Petry2022-08-255-7/+8
|\ \ | | | | | | Bump @nextcloud/vue to 6.0.0-beta.4 and related
| * | Adjust acceptance test selectorsVincent Petry2022-08-255-7/+8
| | | | | | | | | | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* | | Merge pull request #33668 from nextcloud/tests/fix-session-middlewareCarl Schwan2022-08-251-3/+17
|\ \ \ | | | | | | | | Fix SessionMiddlewareTest and cover new case with reopening
| * | | Fix SessionMiddlewareTest and cover new case with reopeningJulius Härtl2022-08-241-3/+17
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | Only pass parent if paths matchJulius Härtl2022-08-241-3/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | As the user folder might be initialized by the root from two levels down the hierarchy, passing this as a parent only works if the path matches Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | Avoid extra query for the parent node if we can pass it alongJulius Härtl2022-08-241-2/+2
| |/ / |/| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Merge pull request #33593 from nextcloud/improve-binary-cachingCarl Schwan2022-08-242-2/+2
|\ \ \ | |/ / |/| | Move findBinaryFinder and isFunctionEnabled away from OC_Helper
| * | Move findBinaryFinder and isFunctionEnabled away from OC_HelperCarl Schwan2022-08-232-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | findBinaryFinder is now a service that is still private but with some minor optimization (remove the hasKey check). isFunctionEnabled is now in OCP\Util Both function are still keep but all internal usage in nextcloud/server were migrated to the new usage, so that we can remove it in 26 Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | Merge pull request #33047 from nextcloud/fix/ijob-logger-deprecatedCarl Schwan2022-08-233-11/+18
|\ \ \ | | | | | | | | Deprecated ILogger from IJob
| * | | Fix many tests and warningsCarl Schwan2022-08-081-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * | | Port existing server code to new interfaceCarl Schwan2022-08-082-10/+17
| | | | | | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>