aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js/filelist.js
Commit message (Collapse)AuthorAgeFilesLines
* chore(files): Remove legacy UI scripts now that everything is migrated to VueFerdinand Thiessen2024-09-201-4038/+0
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-291-8/+4
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix(files): legacy humanFileSize testsJohn Molakvoæ2023-10-041-4/+4
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* adjust add buttonSimon L2023-08-151-1/+2
| | | | | Signed-off-by: Simon L <szaimen@e.mail.de> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix: prevent sidebar from openingChristopher Ng2023-08-091-1/+3
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* address reviewSimon L2023-06-241-3/+3
| | | | | Signed-off-by: Simon L <szaimen@e.mail.de> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* only print deprecation logs if debug mode is enabledSimon L2023-06-241-3/+3
| | | | Signed-off-by: Simon L <szaimen@e.mail.de>
* Move deprecation warnings to debugSimon L2023-06-241-3/+3
| | | | Signed-off-by: Simon L <szaimen@e.mail.de>
* reload filelist when adding or removing sharesRobin Appelman2023-05-221-2/+5
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* feat(files): implement sorting per viewJohn Molakvoæ2023-04-061-2/+4
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Do not open the sidebar automatically on small widthsSimon L2023-02-021-2/+6
| | | | Signed-off-by: Simon L <szaimen@e.mail.de>
* fix(files) Call .action of local elementThomas P2023-01-301-1/+1
| | | | | | When calling .action from the global page, newButton may conflict with other app-content which is similar to app-content-files Signed-off-by: Thomas Payen <thomas.payen@i-carre.net>
* Add component testingJohn Molakvoæ2023-01-041-2/+0
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Fix preview cropJohn Molakvoæ2023-01-041-4/+3
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Port settings to ModalJohn Molakvoæ2023-01-041-30/+32
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Replace custom tooltips with native ones in filesjulia.kirschenheuter2022-12-221-14/+1
| | | | Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
* Prevents the selection of encrypted files when scroll the pagekavita.sonawane@t-systems.com2022-12-011-4/+4
| | | | Signed-off-by: kavita.sonawane@t-systems.com <kavita.sonawane@t-systems.com>
* Prevent selection of encrypted folderskavita.sonawane@t-systems.com2022-11-221-1/+4
| | | | Signed-off-by: kavita.sonawane@t-systems.com <kavita.sonawane@t-systems.com>
* Prevents the selection of encrypted folder on next page loadkavita.sonawane@t-systems.com2022-11-221-1/+1
| | | | Signed-off-by: kavita.sonawane@t-systems.com <kavita.sonawane@t-systems.com>
* Prevents the selection of encrypted folder on scroll pagekavita.sonawane@t-systems.com2022-11-221-1/+2
| | | | Signed-off-by: kavita.sonawane@t-systems.com <kavita.sonawane@t-systems.com>
* Add comments for prevents the selection of encrypted folderskavita.sonawane@t-systems.com2022-11-221-0/+1
| | | | Signed-off-by: kavita.sonawane@t-systems.com <kavita.sonawane@t-systems.com>
* Filelist:-Deselecting all files checkboxes within cells of encrypted folderkavita.sonawane@t-systems.com2022-11-221-1/+2
| | | | Signed-off-by: kavita.sonawane@t-systems.com <kavita.sonawane@t-systems.com>
* Require a token for "Edit locally"Joas Schilling2022-10-111-5/+16
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Remove port parameter which is included in hostChristopher Ng2022-09-211-1/+1
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Add edit locally file actionChristopher Ng2022-09-201-0/+9
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Fix grid view toggleVincent Petry2022-09-141-28/+2
| | | | | | | | | | Move grid view logic to the files app itself because the button does not belong to any specific file list. Then inject the grid view state when switching file lists. Signed-off-by: Vincent Petry <vincent@nextcloud.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.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 file list scrollingJulius Härtl2022-09-011-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add ```aria-expanded``` value to select2-container om systemtag and file tagsjulia.kirschenheuter2022-08-171-1/+2
| | | | | | | | | | | | Add ```aria-expanded``` to color picker Add ```aria-expanded``` to UnifiedSearch.vue Add ```aria-expanded``` to new button on files Add ```aria-expanded``` to action menu Add ```aria-expanded``` to icon .federation-menu Add ```aria-expanded``` to app navigation collapse button Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Merge pull request #33394 from ↵Julia Kirschenheuter2022-07-281-3/+4
|\ | | | | | | | | nextcloud/fix/fix-370-Label_not_connected_to_form-element_in_file_listing Connect ```input``` checkbox with corresponding file name via ```aria-describedby```
| * Connect ```input``` checkbox with corresponding file name via ↵julia.kirschenheuter2022-07-281-3/+4
| | | | | | | | | | | | ```aria-describedby``` Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
* | Merge pull request #33299 from nextcloud/fix/files-dark-color-themeLouis2022-07-281-2/+5
|\ \ | |/ |/| [files app]: Fix dark color mode detection for filelist
| * files: Fix colormode detection for filelistFerdinand Thiessen2022-07-261-2/+5
| | | | | | | | | | | | | | | | | | | | When system default color theme is selected for theming, the `enabledThemes` array is empty or just contains on entry `'default'`, in this case the color theme has to be retrieved from the browser to ensure text like the modified date is readable. This fixes #33298 Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
* | Remove more legacy idsVincent Petry2022-07-271-1/+1
| | | | | | | | | | | | | | | | 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>
* | Merge pull request #33373 from nextcloud/techdebt/noid/remove-legacy-dirVincent Petry2022-07-271-4/+6
|\ \ | | | | | | Remove legacy #dir element in files list
| * | Remove legacy #dir element in files listVincent Petry2022-07-271-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | Merge pull request #33271 from nextcloud/enh/a11y-new-file-menuVincent Petry2022-07-271-2/+2
|\ \ \ | |/ / |/| | Use explicit name for new file/folder menu
| * | Use explicit name for new file/folder menuChristopher Ng2022-07-181-2/+2
| |/ | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* / Replace files app ids to classesVincent Petry2022-07-261-29/+30
|/ | | | | | | | | | | 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>
* Merge pull request #32993 from nextcloud/fixes-for-quota-text-in-navigation-barDaniel Calviño Sánchez2022-07-051-2/+8
|\ | | | | Fixes for quota text in navigation bar
| * Fix quota text not updated after copying or moving a fileDaniel Calviño Sánchez2022-06-231-2/+8
| | | | | | | | | | | | | | | | | | | | Note that the quota may change too when files are moved if the file is moved, for example, to or from a folder shared by other user. Besides the quota the storage statistics are also updated, similar to what is done when a file is deleted. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Change tooltip title of files grid view toggle dynamicallyChristopher Ng2022-07-041-5/+9
|/ | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Add title to file nameCarl Schwan2022-06-211-1/+1
| | | | | | Fix #32157 Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* l10n: Delete apostropheValdnet2022-06-071-1/+1
| | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* Improve accessibility with more visible focus indication for non vue appsCarl Schwan2022-05-161-1/+3
| | | | | | | | | | | | - 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>
* Remove accessibilityJohn Molakvoæ2022-04-211-1/+2
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix filelist not loading after refresh in firefoxRobin Appelman2022-04-071-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* try to fix broken tooltipszaimen2022-02-141-1/+0
| | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* Fix bugs with incorrect currentFileList in the favorite and share by youCarl Schwan2022-02-031-0/+6
| | | | | | | | view This was causing bugs when trying to create new template in this views Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Merge pull request #30572 from nextcloud/fix/lint_warningsLouis2022-01-121-14/+14
|\ | | | | Fix lint warnings