bewcloud/routes
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
..
.well-known Add CardDav and CalDav servers (#80) 2025-07-20 10:35:32 +01:00
api Support downloading directories as a zip archive (#106) 2025-10-08 14:32:45 +01:00
calendar Basic CalDav UI (Calendar) 2025-09-06 12:46:13 +01:00
contacts Basic CardDav UI (Contacts) 2025-08-10 07:48:16 +01:00
file-share Support downloading directories as a zip archive (#106) 2025-10-08 14:32:45 +01:00
files/open Update all dependencies 2025-09-27 19:39:09 +01:00
news Refactor data handlers + misc fixes 2025-05-24 08:24:10 +01:00
notes/open Refactor data handlers + misc fixes 2025-05-24 08:24:10 +01:00
oidc Implement (optional) SSO via OIDC (OpenID Connect) (#64) 2025-06-05 18:10:40 +01:00
photos/thumbnail Update all dependencies 2025-09-27 19:39:09 +01:00
_404.tsx Update all dependencies 2025-09-27 19:39:09 +01:00
_app.tsx Implement a more robust Config (#60) 2025-05-25 15:48:53 +01:00
_middleware.tsx Add CardDav and CalDav servers (#80) 2025-07-20 10:35:32 +01:00
caldav.tsx Properly fix empty body on GET/HEAD for CardDav/CalDav 2025-08-28 17:48:10 +01:00
calendar.tsx Fix calendar color when creating a calendar 2025-09-06 19:46:47 +01:00
calendars.tsx Basic CalDav UI (Calendar) 2025-09-06 12:46:13 +01:00
carddav.tsx Properly fix empty body on GET/HEAD for CardDav/CalDav 2025-08-28 17:48:10 +01:00
contacts.tsx Basic CardDav UI (Contacts) 2025-08-10 07:48:16 +01:00
dashboard.tsx Refactor data handlers + misc fixes 2025-05-24 08:24:10 +01:00
dav.tsx Update all dependencies 2025-09-27 19:39:09 +01:00
expenses.tsx Implement a more robust Config (#60) 2025-05-25 15:48:53 +01:00
files.tsx Support downloading directories as a zip archive (#106) 2025-10-08 14:32:45 +01:00
index.tsx Make it public! 2024-03-16 08:40:24 +00:00
login.tsx Migrate email provider (from Brevo to generic SMTP) (#67) 2025-06-10 10:28:13 +01:00
logout.tsx Make it public! 2024-03-16 08:40:24 +00:00
mfa-verify.tsx Enable Email as a MFA method/option (#68) 2025-06-11 15:53:39 +01:00
news.tsx Make initial News loading faster 2025-10-01 14:17:39 +01:00
notes.tsx Implement a more robust Config (#60) 2025-05-25 15:48:53 +01:00
photos.tsx Implement a more robust Config (#60) 2025-05-25 15:48:53 +01:00
settings.tsx Basic CalDav UI (Calendar) 2025-09-06 12:46:13 +01:00
signup.tsx Migrate email provider (from Brevo to generic SMTP) (#67) 2025-06-10 10:28:13 +01:00