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
2022-09-01Maximize browser window before running the testsDaniel Calviño Sánchez
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>
2022-09-01Wait for the new user form to be visibleDaniel Calviño Sánchez
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>
2022-09-01Adjust theming acceptance testsJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01Merge pull request #33764 from nextcloud/cloudid-cacheVincent Petry
cache cloud id data in CloudIdManager
2022-08-31Fix unit testsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-08-31Merge pull request #33756 from nextcloud/enh/noid/admin-settings-directlySimon L
add a way to open the admin settings overview directly
2022-08-31adjusts tests for CloudIdManagercloudid-cacheRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-08-31add a better icon for personal settingsszaimen
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-08-31fix testsszaimen
Signed-off-by: szaimen <szaimen@e.mail.de> Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-08-31Adjust acceptance tests to changes in app menuDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-08-30Merge pull request #33640 from nextcloud/fix/fix-symfony-event-typingCôme Chilliet
Port Repair and Migrator events to IEventDispatcher
2022-08-29Remove deprecated at matcher from tests/libfix/remove-at-matcher-in-lib-tests-2Côme Chilliet
Only 15 warnings left in there Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-29Remove deprecated at matcher in Updater/VersionCheckTest.phpCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-25Fix BackgroundRepairTestCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-25Fix RepairTestCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-25Migrate Migrator::executeSql to OCP\EventDispatcher\EventCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-25Merge pull request #33516 from nextcloud/update-nextcloud-vue-6.0.0-beta.2Vincent Petry
Bump @nextcloud/vue to 6.0.0-beta.4 and related
2022-08-25Merge pull request #33668 from nextcloud/tests/fix-session-middlewareCarl Schwan
Fix SessionMiddlewareTest and cover new case with reopening
2022-08-25Adjust acceptance test selectorsVincent Petry
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-24Only pass parent if paths matchperf/parent-nodeJulius Härtl
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>
2022-08-24Avoid extra query for the parent node if we can pass it alongJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-24Merge pull request #33593 from nextcloud/improve-binary-cachingCarl Schwan
Move findBinaryFinder and isFunctionEnabled away from OC_Helper
2022-08-24Fix SessionMiddlewareTest and cover new case with reopeningtests/fix-session-middlewareJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-23Move findBinaryFinder and isFunctionEnabled away from OC_Helperimprove-binary-cachingCarl Schwan
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>
2022-08-23Merge pull request #33047 from nextcloud/fix/ijob-logger-deprecatedCarl Schwan
Deprecated ILogger from IJob
2022-08-22Support iMIP invitations from Mailenh/imip-invitations-responsesAnna Larch
Signed-off-by: Anna Larch <anna@nextcloud.com>
2022-08-17Merge pull request #33565 from nextcloud/debt/remove_todo_push_service_fairuseLouis
Remove time check in isFairUseOfFreePushService
2022-08-17Merge pull request #32943 from ↵Vincent Petry
nextcloud/unencrypted-size-revert-interface-changes Revert interface changes from "store unencrypted size in the unencrypted_size column"
2022-08-17Fix unit testsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-08-17Merge pull request #33540 from nextcloud/mount-provider-migrationVincent Petry
fix updating cached mounts that didn't have their mount provider set previously
2022-08-17Merge pull request #33551 from nextcloud/scanner-dont-update-same-sizeVincent Petry
don't update the folder size if we know it hasn't changed
2022-08-16cleanup scannertest a bitRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-08-16store unencrypted size in the unencrypted_size columnRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-08-16add tests for cached mount provider migrationmount-provider-migrationRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-08-16Revert "store unencrypted size in the unencrypted_size column"Robin Appelman
This reverts commit 8238582e59b7b6ec03318bcf81bf47cce54af320. Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-08-16Revert "add case statement to sql function builder"Robin Appelman
This reverts commit 2a68819a67045d87a369a8a6413f153b3b2bea5f. Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-08-15Merge branch 'master' into display-name-cache-publicdisplay-name-cache-publicCarl Schwan
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-08Merge pull request #33415 from nextcloud/fix/integration-test-notifCarl Schwan
Fix integration tests
2022-08-08Merge pull request #32363 from nextcloud/cleanup/remove-long-deprecated-classesCarl Schwan
Remove OCP\App and OCP\BackgroundJob
2022-08-08Fix many tests and warningsfix/ijob-logger-deprecatedCarl Schwan
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-08Port existing server code to new interfaceCarl Schwan
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-05Merge pull request #33398 from nextcloud/enh/noid/sensitive-methods-appsVincent Petry
allow apps to specify methods carrying sensitive parameters
2022-08-04Merge pull request #33435 from nextcloud/fix/remove-at-matchers-in-testsCôme Chilliet
Remove at matchers from tests in oauth2 and tests/Test
2022-08-02Support specifying IPv6 proxies in CIDR notationSimon Leiner
Previously, it was not possible to use CIDR notation for IPv6 proxies in the trusted_proxies parameter of config.php [1]. This patch adds support for that. [1]: https://docs.nextcloud.com/server/24/admin_manual/configuration_server/reverse_proxy_configuration.html#defining-trusted-proxies Signed-off-by: Simon Leiner <simon@leiner.me>
2022-08-02Merge pull request #32958 from ↵Julius Härtl
nextcloud/fix/noid/permission-update-allow-public-uploads
2022-08-02Remove at matchers from tests in:fix/remove-at-matchers-in-testsCôme Chilliet
* apps/oauth2 * tests/Test/Repair/Owncloud Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-02fix share manager testsfix/noid/permission-update-allow-public-uploadsJulien Veyssier
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-08-01Fix dynamic property creations in test filesfix/fix-dynamic-properties-in-testsCôme Chilliet
This fixes warnings in PHP 8.2 Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-01Fix integration testsfix/integration-test-notifCarl Schwan
The html tags changed in the notification apps, adapt selector to the new state Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-01Remove OCP\App and OCP\BackgroundJobcleanup/remove-long-deprecated-classesCarl Schwan
Both deprecated since NC 23 IAppManager is the replacement for OCP\App unfortunately it can't be dependency injected in classes used by the installed otherwise the database connection is initialised too early Signed-off-by: Carl Schwan <carl@carlschwan.eu>