Dionisio
3f60765d9a
fix( #104 ): enforce storage quota on uploads & fix usage tracking
...
Backend:
- Add QuotaExceeded error kind mapped to HTTP 507 Insufficient Storage
- Add check_storage_quota() and get_user_storage_info() to StorageUsagePort
- Enforce quota in upload_file_with_cache, upload_file_with_thumbnails (AuthUser extractor)
- Enforce quota in chunked upload create_upload handler
- Add update_user_storage_usage_by_username() for username-based lookup
- Fix extract_username_from_path() to handle subfolders (take first segment only)
- Fix maybe_update_storage_usage() to use username-based lookup instead of passing
username to get_user_by_id (which always failed silently)
Frontend:
- Parse and display quota error messages on upload failure (507 / QuotaExceeded)
- Stop remaining uploads when quota is exceeded
- Call refreshUserData() after uploads to update storage usage display
- Bump service worker cache to v9
2026-02-14 10:34:07 +01:00
Dionisio
aba7ea9d79
feat: add file upload progress toast with per-file tracking ( #93 )
...
Replaced the hidden dropzone-only progress bar with a floating
upload toast that appears at the bottom-right corner whenever
files are being uploaded (button or drag-and-drop).
Features:
- Per-file progress bar with real byte-level tracking via XHR
- Spinning icon while uploading, green check on success, red on error
- Overall progress bar and file counter in the footer
- Auto-hides 4 seconds after all uploads complete
- Dismiss button to minimise the toast
- Works for both file and folder uploads
- i18n keys added to all 8 locale files
- Service worker cache bumped to v3
2026-02-13 22:08:36 +01:00
Dionisio
d31a413e57
chore: translate all Spanish comments and log messages to English
2026-02-12 09:41:25 +01:00
Diocrafts
5bd505ccd7
modernizing frontend
2026-02-08 22:44:42 +01:00
Dionisio
8f2b0a354c
big refactoring
2026-02-03 17:59:04 +01:00
DioCrafts
090ab07423
fix files uploading
2025-04-12 12:37:12 +02:00
DioCrafts
5306bdc9e3
fix uploding bugs
2025-04-12 12:21:57 +02:00
DioCrafts
705cb5b069
adding pdf and image viewer
2025-04-02 01:22:05 +02:00
DioCrafts
f1f5f46728
fix shared tab bug
2025-04-01 21:14:09 +02:00
DioCrafts
7affff379d
adding search engine
2025-03-27 01:13:34 +01:00
DioCrafts
bd623ec07e
adding trash folder
2025-03-24 17:49:53 +01:00
DioCrafts
9a9fd72f61
fixing bugs
2025-03-23 22:44:18 +01:00
DioCrafts
961545aef7
adding features
2025-03-19 23:28:29 +01:00