summaryrefslogtreecommitdiffstats
path: root/tests/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* 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 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>
* 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-141-5/+31
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Update avatars on updateCarl Schwan2022-09-093-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>
* | | Merge pull request #33790 from nextcloud/Valdnet-patch-2Simon L2022-09-021-1/+1
|\ \ \ | | | | | | | | l10n: Spelling unification
| * | | fix testsszaimen2022-09-021-1/+1
| | |/ | |/| | | | | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* | | 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-311-4/+4
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | add a better icon for personal settingsszaimen2022-08-311-1/+1
| | | | | | | | | | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* | | fix testsszaimen2022-08-311-2/+26
|/ / | | | | | | | | Signed-off-by: szaimen <szaimen@e.mail.de> 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 #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>