Commit graph

1858 commits

Author SHA1 Message Date
Julius Härtl
e23aa8883e
feat(s3): Use multipart upload for chunked uploading
This allows to stream file chunks directly to S3 during upload.

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-08 14:00:04 +01:00
Louis Chemineau
47f406bda7 Prevent scrolling hover .files-controls
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-02-08 10:51:16 +01:00
Simon L
7fa42a2f03 Do not open the sidebar automatically on small widths
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-02-02 19:01:19 +01:00
Louis
3ff568342b
Merge pull request #36331 from tpayen/fix/globalNewButton
fix(files) Call .action of local element instead of global page
2023-01-31 14:23:16 +01:00
Luka Trovic
cacffecba5 feat: update newfilemenu.js for rich-workspace
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2023-01-30 20:27:16 +01:00
Thomas P
87887d7837 fix(files) Call .action of local element
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>
2023-01-30 15:27:00 +01:00
Louis Chemineau
4236ee2485 Fix scrolling while dragging in file list view
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-01-05 17:20:18 +01:00
John Molakvoæ
5b9a8f0407
Add component testing
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-01-04 16:46:14 +01:00
John Molakvoæ
8f1bf13ae3
Fix preview crop
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-01-04 16:45:54 +01:00
John Molakvoæ
5c987a0ff4
Port settings to Modal
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-01-04 16:45:52 +01:00
John Molakvoæ
887c9e05de
Port Files navigation to vue
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-01-04 16:45:41 +01:00
julia.kirschenheuter
3485450b20 Replace custom tooltips with native ones in files
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2022-12-22 14:43:26 +01:00
Simon L
decf2b4524
Merge pull request #35521 from nextmcloud/nmcpr/1416-prevents-selection-of-encrypted-folders
[BUGFIX] Prevents the selection of encrypted files at the bottom of the list(before scrolling)
2022-12-06 10:30:10 +01:00
kavita.sonawane@t-systems.com
4d0b80d35e Prevents the selection of encrypted files when scroll the page
Signed-off-by: kavita.sonawane@t-systems.com <kavita.sonawane@t-systems.com>
2022-12-01 11:43:44 +05:30
Vincent Petry
0b21a9ac6f
Merge pull request #35299 from nextmcloud/nmcpr/1416-prevents-selection-of-encrypted-folders
Prevents the selection of encrypted folders when clicking on the "Select all" checkbox
2022-11-22 18:09:26 +01:00
kavita.sonawane@t-systems.com
95e61ef685 Prevent selection of encrypted folders
Signed-off-by: kavita.sonawane@t-systems.com <kavita.sonawane@t-systems.com>
2022-11-22 15:56:10 +05:30
kavita.sonawane@t-systems.com
acdd34ecaf Prevents the selection of encrypted folder on next page load
Signed-off-by: kavita.sonawane@t-systems.com <kavita.sonawane@t-systems.com>
2022-11-22 15:56:10 +05:30
kavita.sonawane@t-systems.com
44c1049e0c Prevents the selection of encrypted folder on scroll page
Signed-off-by: kavita.sonawane@t-systems.com <kavita.sonawane@t-systems.com>
2022-11-22 15:56:10 +05:30
kavita.sonawane@t-systems.com
23f968400c Add comments for prevents the selection of encrypted folders
Signed-off-by: kavita.sonawane@t-systems.com <kavita.sonawane@t-systems.com>
2022-11-22 15:56:09 +05:30
kavita.sonawane@t-systems.com
64f409e8ab Filelist:-Deselecting all files checkboxes within cells of encrypted folder
Signed-off-by: kavita.sonawane@t-systems.com <kavita.sonawane@t-systems.com>
2022-11-22 15:56:09 +05:30
Vincent Petry
feda03b6ed
Also cancel XHR when cancelling uploads
Fixes issue when cancelling a long list of uploads.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-11-18 15:47:19 +01:00
Daniel Calviño Sánchez
a8fea270ed Fix sidebar not automatically hidden in Files app
Although the Files app creates the legacy sidebar (details view) it is
then replaced with the newer Vue app sidebar. Due to this ".detailsView"
no longer finds an element and therefore nothing was hidden when
"hideAppSidebar($('.detailsView'))" was called (for example, when
changing to another section).

However, "OC.Apps.hideAppSidebar()" does not properly work either with
the Vue sidebar used in the Files app (once hidden the sidebar is not
shown again). For simplicity, and to avoid any possible side effect in
other apps from changing "OC.Apps.hideAppSidebar", now
"OC.Files.Sidebar.close()" is used instead.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-11-09 17:45:00 +01:00
Joas Schilling
cfbbace450
Require a token for "Edit locally"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-11 20:15:26 +02:00
szaimen
d552bae403 do not show editlocally on mobile
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-10-11 00:12:58 +02:00
Joas Schilling
cbef32b6f8
Merge pull request #34134 from nextcloud/Valdnet-patch-4
l10n: Fix text string
2022-09-27 11:25:11 +02:00
Christopher Ng
1f786f6bcc Remove port parameter which is included in host
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-21 19:11:38 +00:00
Christopher Ng
09b7776720 Use computer icon for edit locally file action
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-21 18:59:40 +00:00
Christopher Ng
d415c656f6 Add edit locally file action
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-20 19:43:34 +00:00
Valdnet
57071228df
l10n: Correct text string
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-09-19 11:36:39 +02:00
Christopher Ng
a7c7d84f59 Reset global search on files sidebar navigation change
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-15 18:55:00 +00:00
Vincent Petry
d939be4a43 Fix grid view toggle
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>
2022-09-14 12:52:01 +00:00
luz paz
9d26671f05 Fix typos in apps/ subdirectory
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>
2022-09-05 12:59:54 +00:00
Julius Härtl
6bf770e8b9
Fix file list scrolling
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:41 +02:00
Vincent Petry
809f448ef7
Merge pull request #33746 from nextcloud/a11y/33739/fix-legacy-nav
Add a11y attributes for legacy app navigation
2022-08-31 11:57:31 +02:00
Vincent Petry
cc53efe4dd
Add a11y attributes for legacy app navigation
Aded "role=navigation"
Added "aria-current=page" for the currently selected item.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-29 22:46:48 +02:00
Vincent Petry
d1317e7540
Remove copy in file actions when not allowed
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-26 14:18:47 +02:00
julia.kirschenheuter
6d12f8b8a1 Add ``aria-expanded`` value to select2-container om systemtag and file tags
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>
2022-08-17 19:28:40 +00:00
Daniel Calviño Sánchez
4c837dadf2 Show usage percenteage in the tooltip
The tooltip of the initial quota display showed the usage percenteage
and the total available space. However, the total available space was
redundant, as it was shown just below. The tooltip of the updated quota
display showed the usage percenteage, but based on the quota rather than
the total available space, so there was a mismatch between the tooltip
and the bar below. Now the tooltip of the initial and the updated quota
display both show just the usage percenteage based on the total
available space.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-08-10 11:23:27 +02:00
Daniel Calviño Sánchez
f6bdaac88e Use total available space rather than quota when updating the display
The initial quota display uses the total available space rather than the
quota. Moreover, the relative usage is based on the total space rather
than the quota. Due to this now the total available space is also used
when updating the quota display.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-08-10 11:22:50 +02:00
Carl Schwan
f74e89bde5
Merge pull request #32482 from nextcloud/enh/noid/share-attributes
Add share attributes + prevent download permission
2022-08-01 09:44:31 +02:00
Vincent Petry
a95c19e14b
Add share attributes + prevent download permission
Makes it possible to store download permission

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-07-28 16:53:22 +02:00
Julia Kirschenheuter
532ea001a5
Merge pull request #33394 from nextcloud/fix/fix-370-Label_not_connected_to_form-element_in_file_listing
Connect ```input``` checkbox with corresponding file name via ```aria-describedby```
2022-07-28 15:59:47 +02:00
julia.kirschenheuter
ef3fb28446 Connect ``input` checkbox with corresponding file name via `aria-describedby``
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2022-07-28 14:20:32 +02:00
Louis
d2d408bba7
Merge pull request #33299 from nextcloud/fix/files-dark-color-theme
[files app]: Fix dark color mode detection for filelist
2022-07-28 11:04:16 +02:00
Vincent Petry
00066cbeaf
Remove more legacy ids
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>
2022-07-27 14:29:26 +02:00
Vincent Petry
fc276ba42f
Merge pull request #33373 from nextcloud/techdebt/noid/remove-legacy-dir
Remove legacy #dir element in files list
2022-07-27 13:44:52 +02:00
Vincent Petry
8be9b04981
Remove legacy #dir element in files list
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>
2022-07-27 10:23:44 +02:00
Vincent Petry
1cf6839a3a
Merge pull request #33271 from nextcloud/enh/a11y-new-file-menu
Use explicit name for new file/folder menu
2022-07-27 09:23:50 +02:00
Ferdinand Thiessen
e4c825e583 files: Fix colormode detection for filelist
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>
2022-07-26 12:19:42 +02:00
Vincent Petry
bb2557c389
Replace files app ids to classes
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>
2022-07-26 10:19:19 +02:00