aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | Merge pull request #33566 from nextcloud/fopen-not-found-rescanblizzz2022-10-011-0/+19
| |\ \ \ \ | | | | | | | | | | | | trigger a rescan when trying to fopen a file that exists in cache but not on disk
| | * | | | add test for trying to fopen a file which no longer exists on diskRobin Appelman2022-09-291-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | | | Merge pull request #34329 from nextcloud/fix/cleanup-long-time-deprecated-stuffCôme Chilliet2022-10-011-2/+2
| |\ \ \ \ \ | | | | | | | | | | | | | | Remove some constants and functions which have been long deprecated
| | * | | | | Fix ContactsManagerTest testCôme Chilliet2022-09-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| | * | | | | Remove some constants and functions which have been long deprecatedCôme Chilliet2022-09-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | | | | Merge pull request #34038 from nextcloud/fix/migrate-TagMapper-to-QBMapperChristoph Wurst2022-09-301-1/+1
| |\ \ \ \ \ \ | | |/ / / / / | |/| | | | | Migrate TagMapper to QBMapper instead of deprecated Mapper
| | * | | | | Inform ServerTest that TagMapper now uses QBMapperCôme Chilliet2022-09-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | | | | Cleanup tags and Share componentCarl Schwan2022-09-292-76/+98
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Port to LoggerInterface - Use IDBConnection and IQueryBuilder instead of raw SQL and OC_DB - Use IEventListener instead of hooks - Remove the now unused OC_DB and OC_DB_StatementWrapper legacy utils Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * | | | | 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 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>
* | | | | Fix the JSON content type regex to match all MIME typesStanimir Bozhilov2022-09-261-0/+91
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Stanimir Bozhilov <stanimir@audriga.com>
* | | | | Add unit tests for application/scim+json content typeStanimir Bozhilov2022-09-201-0/+92
|/ / / / | | | | | | | | | | | | Signed-off-by: Stanimir Bozhilov <stanimir@audriga.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