aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * Port existing server code to new interfaceCarl Schwan2022-08-081-0/+2
| | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Use user name cache in activity providersJoas Schilling2022-08-191-9/+2
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Remove more legacy idsVincent Petry2022-07-272-2/+2
| | | | | | | | Remove more unused legacy ids from early ownCloud times. This reduces the number of duplicate ids in the DOM. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Remove legacy #dir element in files listVincent Petry2022-07-274-20/+19
| | | | | | | | | | Removed legacy "#dir" input element in the DOM. Apps should use OCA.Files.App.currentFileList or OCA.Sharing.PublicApp.fileList and call getCurrentDirectory() to retrieve the current directory and changeDirectory() to change it. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Replace files app ids to classesVincent Petry2022-07-268-134/+136
| | | | | | | | | | | Replaced ids to classes for the following: - #filestable -> .files-filestable - #fileList -> .files-fileList - #controls -> .files-controls - #emptycontent -> .emptyfilelist.emptycontent Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Remove at() matcher for tests for files appCôme Chilliet2022-05-243-21/+19
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Improve accessibility with more visible focus indication for non vue appsCarl Schwan2022-05-161-4/+4
| | | | | | | | | | | | - Add visible-focus effect on each header entry - Show focus outline when using focus-visible (keyboard navigation) - Add polyfy for focus-visible since it's only very recently available on webkit - Change text for link to home button to describe the destination and not the current page - Improve focus effect in app sidebar navigation Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Revert "Show the child folders in the breadcrumb menu when on a parent entry."Simon L2022-04-291-4/+2
| | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* fix filelist not loading after refresh in firefoxRobin Appelman2022-04-071-0/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fix ILogger instances in application tests for core parametersCôme Chilliet2022-03-241-2/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Redirection now only happens when dir is emptyCarl Schwan2022-02-211-4/+4
| | | | | | Otherwise dir it's just ignored and fileid is used Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Show the parent folders in the breadcrumb menu when on a child entry.Christian Paier2022-02-021-2/+4
| | | | | | | | | | | | Previously, clicking on an menu item in the breadcrumb menu removed the parent entries of the path, i.e.: Clicking on the "to" entry in "/path/to/some/folder" changed the breadcrumb menu to show only the "/path/to" entries. With this change the breadcrumb menu changes this behaviour as the full path is still visible (and usable) but with the "to" entry beeing highlighted. Signed-off-by: Christian Paier <hallo+git@cpaier.com>
* Replace license information to SPDX expressionLouis Chemineau2022-01-1114-15/+15
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix testsRobin Appelman2021-12-021-3/+0
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Remove isIE and associated legacy scriptsJohn Molakvoæ (skjnldsv)2021-11-301-2/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix errors from files applications tests on PHP 8.1Côme Chilliet2021-11-231-1/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>