aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/tests
Commit message (Collapse)AuthorAgeFilesLines
* fix(tests): remove redundant unit test for activityfix/activity-log-for-favorites-in-davgrnd-alt2024-12-031-40/+0
| | | | Signed-off-by: grnd-alt <github@belakkaf.net>
* refactor(tags): move favorite event dispatching to tags.phpgrnd-alt2024-12-031-1/+0
| | | | Signed-off-by: grnd-alt <salimbelakkaf@outlook.de>
* fix(dav): add activity logging for favorites in davgrnd-alt2024-12-031-8/+19
| | | | Signed-off-by: grnd-alt <salimbelakkaf@outlook.de>
* fix(OpenAPI): Adjust array syntax to avoid ambiguitiesfix/openapi/array-syntaxprovokateurin2024-11-051-7/+7
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* refactor(apps): Use constructor property promotion when possibleprovokateurin2024-10-213-6/+8
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore(apps): Apply new rector configuration to autouse classesCôme Chilliet2024-10-155-16/+27
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(tests): Fix tests now that trashbin listens to events properlyCôme Chilliet2024-09-231-17/+11
| | | | | | | Hooks are cleared in test bootstrap so switching to events activates them in tests. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(activity): Update more activity providers to use new exceptionsfollowup/48086/fix-more-activity-providersJoas Schilling2024-09-231-1/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* chore(files): Remove legacy UI scripts now that everything is migrated to VueFerdinand Thiessen2024-09-2010-6290/+0
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor: Add void return type to PHPUnit test methodsChristoph Wurst2024-09-1510-41/+41
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* fix: implement sharding compatible cleanup for various bitsRobin Appelman2024-08-281-4/+10
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* perf(files): Do not block files page load with server-side favorites retrievalChristopher Ng2024-08-271-48/+16
| | | | | Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Signed-off-by: Christopher Ng <chrng8@gmail.com>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-251-4/+4
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* test(files): Fix ApiController testChristopher Ng2024-08-011-1/+16
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix: Ignore preview requests for invalid file idsJulius Härtl2024-07-221-0/+12
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* refactor: Remove deprecated `Util` function for filename validation to ↵Ferdinand Thiessen2024-07-161-4/+7
| | | | | | `FilenameValidator` Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-2920-468/+64
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix(files): Use OCP\Util::getForbiddenFileNameChars instead of direct access ↵Ferdinand Thiessen2024-04-291-5/+0
| | | | | | to system config Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat: cleanup filecache_extended items by defaultRobin Appelman2024-04-151-1/+2
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* perf: switch places that always use the first getById result to getFirstNodeByIdRobin Appelman2024-03-041-5/+5
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix(files): Remove dead code from files controllersFerdinand Thiessen2024-02-121-3/+2
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): combine navigation and files list into single Vue appGrigorii K. Shartsev2024-01-251-5/+0
| | | | Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* fix(files): Adjust ID for skip content buttonsFerdinand Thiessen2023-12-211-0/+2
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-231-1/+0
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* fix(cypress): formatFileSize change revert from files libraryJohn Molakvoæ2023-11-083-13/+13
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix(files): disallow illegal charactersJohn Molakvoæ (skjnldsv)2023-10-041-1/+6
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* fix: remove old fileUploadSpec jsunit testJohn Molakvoæ2023-09-011-303/+0
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix(files): trashbin redirect and default fileid Sidebar openJohn Molakvoæ2023-08-171-156/+13
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Fix various deprecation warnings in tests on PHP 8.3Côme Chilliet2023-08-141-0/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Migrate parts of files app away from depecrated Iloggerfenn-cs2023-08-131-8/+10
| | | | | | | - Migrate some backgrounds jobs, `TransferOwnership` & `DeleteOrphanedItems` - Migrate `DirectEditingController` Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* Merge pull request #39605 from nextcloud/bugfix/noid/final-events-cleanupJoas Schilling2023-08-041-3/+3
|\ | | | | fix!: Final round of moving to IEventDispatcher
| * feat!: Migrate TagService events to typed eventsJoas Schilling2023-07-281-3/+3
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | feat(files): migrate recent viewJohn Molakvoæ (skjnldsv)2023-08-021-17/+0
|/ | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* fix(dispatcher): Move remaining simple cases in apps/ folder to IEventDispatcherJoas Schilling2023-07-251-2/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix: drop legacy sharing filesJohn Molakvoæ2023-07-111-74/+0
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* chore: remove old favorites viewJohn Molakvoæ2023-07-053-314/+0
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat(files): add view config service to store user-config per viewJohn Molakvoæ2023-04-182-47/+11
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix(tests): update jsunit tests after dep and files updateJohn Molakvoæ2023-04-064-14/+14
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat(files): implement sorting per viewJohn Molakvoæ2023-04-062-30/+20
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Adjust breadcrumb navigation structure to the navigation listjulia.kirschenheuter2023-04-041-5/+5
| | | | Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
* Fix name of skip method for phpunitCôme Chilliet2023-02-071-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Improve behavior with dates on 32bits and fix tests or skip themCôme Chilliet2023-02-071-1/+4
| | | | | | | We do not support events after 2038 on 32bits but still behave better when date range start/end is after 2038. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* feat(files): Quota in navigationJohn Molakvoæ2023-01-171-8/+4
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Fix favourite openingJohn Molakvoæ2023-01-041-12/+16
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Fixing testsJohn Molakvoæ2023-01-045-279/+35
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Port Files navigation to vueJohn Molakvoæ2023-01-041-4/+2
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Adapt tests to new job constructorsCôme Chilliet2022-12-051-5/+8
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix typos in apps/ subdirectoryluz paz2022-09-051-3/+3
| | | | | | | Found via `codespell -q 3 -S l10n,./apps/files_external/3rdparty -L adn,ba,boxs,keypair,jus,optionel,ressource,tabel ./apps/` Signed-off-by: luz paz <luzpaz@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Fix jsunit testsJulius Härtl2022-09-012-4/+4
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #33047 from nextcloud/fix/ijob-logger-deprecatedCarl Schwan2022-08-231-0/+2
|\ | | | | Deprecated ILogger from IJob