bewcloud/static/images
Tilman c4a5166e3b
Support downloading directories as a zip archive (#106)
* Add directory download as zip feature

Implements the ability for users to download directories as zip files if enabled in config. Adds a new API route for directory zipping, updates UI components to show a download button for directories, and introduces related config and type changes. Also includes a new download icon.

* Windows path bugfix

* Include empty directories in zip archive

* Address feedback

- `isDirectoryDownloadsAllowed` -> `areDirectoryDownloadsAllowed`
- send `parentPath` & `name` to API instead of resolving `fullPath` on client
- call `ensureUserPathIsValidAndSecurelyAccessible` before zipping
- set config `allowDirectoryDownloads` default to `false`
- add `zip` to Dockerfile and replace in-house zip algorithm
- replace `download.svg` with heroicon's `arrow-down-tray`
- `replace` with glob -> `replaceAll` with string

* Cleanup apt-get command

* Remove unused zip archive and directory functions
2025-10-08 14:32:45 +01:00
..
add.svg Update OIDC and CalDav/CardDav instructions. 2025-07-26 09:13:59 +01:00
calendar.svg Update OIDC and CalDav/CardDav instructions. 2025-07-26 09:13:59 +01:00
check-all.svg Update OIDC and CalDav/CardDav instructions. 2025-07-26 09:13:59 +01:00
check.svg Update OIDC and CalDav/CardDav instructions. 2025-07-26 09:13:59 +01:00
contacts.svg Update OIDC and CalDav/CardDav instructions. 2025-07-26 09:13:59 +01:00
dashboard.svg Update OIDC and CalDav/CardDav instructions. 2025-07-26 09:13:59 +01:00
default.png Make it public! 2024-03-16 08:40:24 +00:00
delete.svg Update OIDC and CalDav/CardDav instructions. 2025-07-26 09:13:59 +01:00
directory.svg Update OIDC and CalDav/CardDav instructions. 2025-07-26 09:13:59 +01:00
download.svg Support downloading directories as a zip archive (#106) 2025-10-08 14:32:45 +01:00
expenses.svg Update OIDC and CalDav/CardDav instructions. 2025-07-26 09:13:59 +01:00
favicon-dark.png Security fix for path-traversal attack (#48) 2025-02-27 15:02:10 +00:00
favicon-dark.svg Update OIDC and CalDav/CardDav instructions. 2025-07-26 09:13:59 +01:00
favicon.png Make it public! 2024-03-16 08:40:24 +00:00
favicon.svg Update OIDC and CalDav/CardDav instructions. 2025-07-26 09:13:59 +01:00
file.svg Update OIDC and CalDav/CardDav instructions. 2025-07-26 09:13:59 +01:00
files.svg Update OIDC and CalDav/CardDav instructions. 2025-07-26 09:13:59 +01:00
hide-options.svg Update OIDC and CalDav/CardDav instructions. 2025-07-26 09:13:59 +01:00
left-circle.svg Update OIDC and CalDav/CardDav instructions. 2025-07-26 09:13:59 +01:00
left.svg Update OIDC and CalDav/CardDav instructions. 2025-07-26 09:13:59 +01:00
loading.svg Update OIDC and CalDav/CardDav instructions. 2025-07-26 09:13:59 +01:00
logo-white.png Make it public! 2024-03-16 08:40:24 +00:00
logo-white.svg Update OIDC and CalDav/CardDav instructions. 2025-07-26 09:13:59 +01:00
logo.png Make it public! 2024-03-16 08:40:24 +00:00
logo.svg Update OIDC and CalDav/CardDav instructions. 2025-07-26 09:13:59 +01:00
logomark.svg Update OIDC and CalDav/CardDav instructions. 2025-07-26 09:13:59 +01:00
logout.svg Update OIDC and CalDav/CardDav instructions. 2025-07-26 09:13:59 +01:00
move.svg Update OIDC and CalDav/CardDav instructions. 2025-07-26 09:13:59 +01:00
news.svg Update OIDC and CalDav/CardDav instructions. 2025-07-26 09:13:59 +01:00
notes.svg Update OIDC and CalDav/CardDav instructions. 2025-07-26 09:13:59 +01:00
photos.svg Update OIDC and CalDav/CardDav instructions. 2025-07-26 09:13:59 +01:00
refresh.svg Update OIDC and CalDav/CardDav instructions. 2025-07-26 09:13:59 +01:00
rename.svg Update OIDC and CalDav/CardDav instructions. 2025-07-26 09:13:59 +01:00
right-circle.svg Update OIDC and CalDav/CardDav instructions. 2025-07-26 09:13:59 +01:00
right.svg Update OIDC and CalDav/CardDav instructions. 2025-07-26 09:13:59 +01:00
save.svg Update OIDC and CalDav/CardDav instructions. 2025-07-26 09:13:59 +01:00
settings.svg Update OIDC and CalDav/CardDav instructions. 2025-07-26 09:13:59 +01:00
share.svg Update OIDC and CalDav/CardDav instructions. 2025-07-26 09:13:59 +01:00
show-options.svg Update OIDC and CalDav/CardDav instructions. 2025-07-26 09:13:59 +01:00
tasks.svg Update OIDC and CalDav/CardDav instructions. 2025-07-26 09:13:59 +01:00
trash.svg Update OIDC and CalDav/CardDav instructions. 2025-07-26 09:13:59 +01:00