aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src
Commit message (Collapse)AuthorAgeFilesLines
...
* fix(files): Update current fileid in route if that node was deletedFerdinand Thiessen2024-06-043-3/+40
| | | | | | | We do not change the view to the trash bin but stay in the current view, so we need to update the current fileid on the route if that was deleted. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Close sidebar if shown node is deletedFerdinand Thiessen2024-06-041-1/+14
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(files): Make `currentView` a prop of `FilesListTableFooter`Ferdinand Thiessen2024-05-312-6/+7
| | | | | | | | We already have this as a required prop in `FilesListVirtual`, so passing it to the footer is straight forward and removed need of computed value. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(files): Properly add type information to FilesListTableFooterFerdinand Thiessen2024-05-311-8/+8
| | | | | | | | - Add correct type for `nodes` prop. - Use `defineComponent` to properly infer Typescript information - Correct usage of nullish coalescing operator Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(files): Fix Typescript issues in filesListWidth mixinFerdinand Thiessen2024-05-311-4/+9
| | | | | | | | | Use `defineComponent` to properly inherit typings. Expect TS errors for the `$resizeOberserver` as we attach it directly on the component instance. `filesListWidth` is now a number which defaults to 0, making compares like `this.fileListWidth < 768` valid in Typescript. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(files): Correctly cast table ref to fix TypeScript errorsFerdinand Thiessen2024-05-311-6/+7
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(deps): Update `@nextcloud/event-bus` to version 3.3.1Ferdinand Thiessen2024-05-315-4/+16
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Update `@nextcloud/files` to 3.4.0 to fix public link sharesFerdinand Thiessen2024-05-312-2/+2
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(files): Consistently sort imports of FileEntryMixinFerdinand Thiessen2024-05-311-3/+3
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Ensure entry with `fileid` is marked as activeFerdinand Thiessen2024-05-312-8/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Keep 'back'-button for not found directories or if user can not ↵Ferdinand Thiessen2024-05-291-3/+17
| | | | | | upload Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(files): Show upload menu in folders' emptycontentMarco2024-05-291-14/+8
| | | | Signed-off-by: Marco <marcoambrosini@icloud.com>
* chore: Add SPDX headerAndy Scherzinger2024-05-29111-1993/+269
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix(files): Adjust type import and usage for removed dependencyFerdinand Thiessen2024-05-271-2/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Implement `SortingService` to fix sorting of filesFerdinand Thiessen2024-05-273-1/+160
| | | | | | | The previously used library was parsing strings to try to detect dates, but for filenames it makes no sense to parse them as dates. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(files): refresh preview on etag changeskjnldsv2024-05-232-2/+8
| | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix(files): Debounce does not return a function so it should be used as computedFerdinand Thiessen2024-05-231-9/+10
| | | | | | This also fixes hacky solution to `this` access Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Use translation function directly instead of calling the ↵Ferdinand Thiessen2024-05-231-13/+13
| | | | | | instance method Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Fix typing issues with dataFerdinand Thiessen2024-05-231-11/+20
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Fix naming issue for reserved Vue property namesFerdinand Thiessen2024-05-231-3/+3
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Drop `xml2js` dependency and use browser native DOMParserFerdinand Thiessen2024-05-171-16/+16
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* perf(deleteAction): Queue delete requestsfenn-cs2024-05-151-1/+16
| | | | | | | | | | When multiple files are deleted at once, all the requests bombard the server simultaneously, causing performance issues. This commit adds queuing that limits the concurrency of these requests to 5 at a time. Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* fix(deleteAction): Remove unused nc l10n importfenn-cs2024-05-151-1/+1
| | | | Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* fix: Do not import styles that are already included in server bundleFerdinand Thiessen2024-05-063-6/+2
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Add missing properties and fix Typescript errors in `FileEntryName`Ferdinand Thiessen2024-05-021-21/+33
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): apply the renaming when leaving the input fieldRaphaël Jakse2024-05-021-1/+1
| | | | | | Refs: #42689 Signed-off-by: Raphaël Jakse <raphael.git@jakse.fr>
* fix(files): Use string array instead of string for forbidden charactersFerdinand Thiessen2024-04-291-7/+5
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Merge pull request #44805 from nextcloud/fix/selected-files-countPytal2024-04-171-0/+6
|\ | | | | fix(files): Display selected files count
| * fix(files): Display selected files countChristopher Ng2024-04-171-0/+6
| | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | fix(comments): Fix issues thrown by comments sidebar tab codeFerdinand Thiessen2024-04-171-4/+4
|/ | | | | | | | When the comments tab is used instead of the merged activity+comments, then some issues are throws due to prop altering and duplicated names (resourceId as prop and data). This is fixed as well as some other vue related errors in the sidebar Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Ensure search query is cleared when changing view or directoryFerdinand Thiessen2024-04-171-0/+10
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Do not show files from hidden folders in "Recent"-view if hidden ↵Ferdinand Thiessen2024-04-165-6/+59
| | | | | | | | files are disabled by user Needed to adjust the store creation to be able to inject pinia before the vue app is initialized. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Focus filename input in new-node dialog when openedFerdinand Thiessen2024-04-161-1/+18
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Merge pull request #44806 from nextcloud/chore/widget-primary-colorPytal2024-04-161-1/+1
|\ | | | | chore(files): Switch widget to primary color
| * chore: Switch widget to primary colorChristopher Ng2024-04-151-1/+1
| | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | fix(files): Inherit some node attributes when creating new nodes to preserve ↵Ferdinand Thiessen2024-04-164-9/+35
| | | | | | | | | | | | shared state Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | fix(files): Sanitize `share-types` attribute in download actionFerdinand Thiessen2024-04-161-1/+2
|/ | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(Cypress): Adjust tests for new breadcrumbsEduardo Morales2024-04-101-1/+1
| | | | Signed-off-by: Eduardo Morales <emoral435@gmail.com>
* fix(files): Hide full view name on small mobile to prevent overflowFerdinand Thiessen2024-04-101-10/+11
| | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> Signed-off-by: Eduardo Morales <emoral435@gmail.com>
* fix(breadcrumbs): Improved breadcrumb progress bar mobile renderingEduardo Morales2024-04-102-19/+21
| | | | Signed-off-by: Eduardo Morales <emoral435@gmail.com>
* fix(files): Call davGetFavoritesReport after the registration of propfind ↵Louis Chemineau2024-04-081-2/+1
| | | | | | properties Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(files): breadcrumbs native drop eventskjnldsv2024-04-041-1/+1
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* chore: add drag and drop recursion and FilesystemAPI testingskjnldsv2024-04-045-174/+350
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat(files): unify drag and drop methodsskjnldsv2024-04-044-151/+355
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): breadcrumbs dndskjnldsv2024-04-043-70/+188
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): Fix error with numeric filenamesChristopher Ng2024-03-281-1/+1
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(files): Fix translation of "Delete file"Joas Schilling2024-03-281-4/+16
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(personal-files): correctly filters groupfolders nowEduardo Morales2024-03-261-6/+9
| | | | Signed-off-by: Eduardo Morales <emoral435@gmail.com>
* fix(tests): Add mock for `window._oc_webroot`Ferdinand Thiessen2024-03-233-0/+18
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): When copying nodes only add the copy suffix for file before file ↵Ferdinand Thiessen2024-03-222-7/+30
| | | | | | | extension Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>