aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* | | | Support iMIP invitations from MailAnna Larch2022-08-221-1/+376
| |_|/ |/| | | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* | | Merge pull request #33565 from nextcloud/debt/remove_todo_push_service_fairuseLouis2022-08-171-41/+22
|\ \ \ | | | | | | | | Remove time check in isFairUseOfFreePushService
| * | | Fix unit testsJoas Schilling2022-08-171-41/+22
| | |/ | |/| | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #32943 from ↵Vincent Petry2022-08-172-18/+1
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/unencrypted-size-revert-interface-changes Revert interface changes from "store unencrypted size in the unencrypted_size column"
| * | | store unencrypted size in the unencrypted_size columnRobin Appelman2022-08-163-4/+8
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | Revert "store unencrypted size in the unencrypted_size column"Robin Appelman2022-08-162-7/+3
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 8238582e59b7b6ec03318bcf81bf47cce54af320. Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | Revert "add case statement to sql function builder"Robin Appelman2022-08-161-17/+0
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 2a68819a67045d87a369a8a6413f153b3b2bea5f. Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Merge pull request #33540 from nextcloud/mount-provider-migrationVincent Petry2022-08-171-0/+25
|\ \ \ \ | | | | | | | | | | fix updating cached mounts that didn't have their mount provider set previously
| * | | | add tests for cached mount provider migrationRobin Appelman2022-08-161-0/+25
| |/ / / | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Merge pull request #33551 from nextcloud/scanner-dont-update-same-sizeVincent Petry2022-08-171-42/+36
|\ \ \ \ | |_|/ / |/| | | don't update the folder size if we know it hasn't changed
| * | | cleanup scannertest a bitRobin Appelman2022-08-161-42/+36
| |/ / | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>