Leon Bösche
7a3abe9fa2
Add secure token-based auth for avatar GET
2026-01-29 21:14:50 +01:00
Leon Bösche
bd56e398e5
Remove auth from avatar GET and always allow save profile
2026-01-29 21:13:40 +01:00
Leon Bösche
def7626b37
Fix avatar URL to full URL and increase WebDAV timeout to 60s with ensureParent enabled
2026-01-29 21:04:13 +01:00
Leon Bösche
38c4d071c9
Revert ensureParent for .avatars to avoid MKCOL timeouts
2026-01-29 20:56:32 +01:00
Leon Bösche
8bf6bde38d
Fix display name input field and enable ensureParent for avatar uploads
...
- Remove controller text reset in BlocBuilder to allow typing
- Always call ensureParent in WebDAV upload to create .avatars folder if needed
2026-01-29 20:28:55 +01:00
Leon Bösche
e26f39ee5b
Fix profile avatar and display name issues
...
- Increase Dio receiveTimeout to 120s for file uploads
- Reduce WebDAV client timeout to 30s
- Add cache-busting v parameter to avatar URLs
- Add hasChanges logic to disable Save button when no changes made
2026-01-29 20:18:11 +01:00
Leon Bösche
bb7957cdde
Update avatar URL in auth state after successful upload
2026-01-29 12:48:39 +01:00
Leon Bösche
7741bd5ccc
Add updated_at column to users table and remove debug logging from profile update handler
2026-01-29 12:39:59 +01:00
Leon Bösche
2678ea2e8a
Add debug logging to profile update handlers and increase WebDAV client timeout to 120 seconds
2026-01-29 12:29:38 +01:00
Leon Bösche
cd2cf7fb06
Skip ensuring parent collections for hidden avatar folders during upload to avoid MKCOL timeouts
2026-01-29 12:16:04 +01:00
Leon Bösche
cd34bcddc9
Increase WebDAV client HTTP timeout from 30 to 60 seconds
2026-01-29 12:16:00 +01:00
Leon Bösche
ed86765321
Fix avatar upload path by adding a leading dot to the avatars directory
2026-01-29 12:08:32 +01:00
Leon Bösche
2f96d35657
Update migration steps to reflect correct total count and improve clarity
2026-01-29 10:56:53 +01:00
Leon Bösche
88a69fdaaf
Update migration steps to reflect new order and add avatar URL migration
2026-01-29 10:56:03 +01:00
Leon Bösche
071f32ddea
Add avatar_url column to users table and create migration scripts for adding and removing it
2026-01-29 10:45:08 +01:00
Leon Bösche
688cec90a8
Refactor WebDAV client to expose BaseURL and update avatar upload logic for improved URL handling
2026-01-29 10:30:24 +01:00
Leon Bösche
11daed18d7
Refactor updateUserProfile method to require displayName and simplify data construction in ApiClient
...
Add GET route for user avatar retrieval and update CORS settings in routes.go
Implement getUserAvatarHandler to serve user avatars from storage
2026-01-29 10:12:20 +01:00
Leon Bösche
62a23b5fb0
Fix ensureParent method to correctly handle baseURL and cur path separators
2026-01-29 03:48:04 +01:00
Leon Bösche
b6a9e2aa54
Add CORS support for user profile and account routes in the API
2026-01-29 00:59:22 +01:00
Leon Bösche
1df16f0fe2
Fix ensureParent method to correctly construct MKCOL URLs for empty paths
2026-01-29 00:52:21 +01:00
Leon Bösche
2623b6818f
Refactor prefix trimming in publicFileDownloadHandler for improved clarity
2026-01-29 00:00:14 +01:00
Leon Bösche
f4f80b9ed7
Remove blurHash references from User model and related components
2026-01-28 23:59:15 +01:00
Leon Bösche
de26b280d0
Add account deletion functionality with confirmation dialog
2026-01-28 23:52:18 +01:00
Leon Bösche
7f668b51f9
Implement folder download as zip in publicFileDownloadHandler
2026-01-28 23:43:02 +01:00
Leon Bösche
425bfcb495
Refactor user profile update handler to support optional email field and dynamic query construction
2026-01-27 08:47:21 +01:00
Leon Bösche
8400e97d17
Implement user profile management: add update profile functionality, avatar upload, and change password features
2026-01-27 03:28:27 +01:00
Leon Bösche
e53731fd75
idle
2026-01-27 02:15:12 +01:00
Leon Bösche
06ece6dc1b
Enhance security architecture and guidelines across documentation and middleware; implement input validation, logging improvements, and security headers in API handlers.
2026-01-27 01:40:36 +01:00
Leon Bösche
abc60399d8
Add folder type checks in viewer handlers to prevent folder viewing
2026-01-26 04:17:38 +01:00
Leon Bösche
5dd6d79d4c
Refine CORS settings in file download handlers and update viewer behavior for mobile and authenticated web
2026-01-25 20:24:07 +01:00
Leon Bösche
ad882ae509
Update CORS handling for web image viewing and adjust host assignment in publicFileShareHandler
2026-01-25 20:06:38 +01:00
Leon Bösche
ce29077e8c
Add folder type checks in publicFileDownloadHandler and publicFileViewHandler
2026-01-25 20:00:31 +01:00
Leon Bösche
38bf8013cd
Update error message for file download failure in publicFileViewHandler
2026-01-25 19:47:59 +01:00
Leon Bösche
bdc971927f
Add image file handling in PublicFileViewer and update publicFileShareHandler for image viewing
2026-01-25 19:39:33 +01:00
Leon Bösche
c91eaa7db9
Update Collabora URL generation in publicFileShareHandler for improved document viewing
2026-01-25 19:30:53 +01:00
Leon Bösche
3854234a3c
Update WOPI source URL for document viewing in publicFileShareHandler
2026-01-25 19:22:26 +01:00
Leon Bösche
b041cd5440
Set initial location for GoRouter based on web platform and clean up unused imports in PublicFileViewer
2026-01-25 18:59:28 +01:00
Leon Bösche
3fb556c8f1
Refactor URL generation in file sharing handlers to remove hash fragment
2026-01-25 18:50:02 +01:00
Leon Bösche
2205536549
idle
2026-01-25 18:28:39 +01:00
Leon Bösche
9aa1667e9c
Implement authentication check and redirect for internal file access in PublicFileViewer
2026-01-25 17:11:58 +01:00
Leon Bösche
26fa1712ec
Fix WebDAV 504 by using internal Nextcloud URL
2026-01-25 16:23:18 +01:00
Leon Bösche
9bc03f6db8
Add file viewer dispatch for handling multiple file types and extend download timeout
2026-01-25 16:14:03 +01:00
Leon Bösche
0aea602122
Implement public WOPI routes for shared files and integrate Collabora for document viewing
2026-01-25 15:47:59 +01:00
Leon Bösche
532848ebdf
Fix PDF loading by preserving Nextcloud headers
...
- Revert to synchronous download but keep 5-minute timeout
- Copy Content-Length and other headers from Nextcloud response
- Ensures PDF viewer gets proper content metadata
- Maintains streaming for audio/video with headers
2026-01-25 15:42:10 +01:00
Leon Bösche
387f39cbcc
Fix public file streaming with async download
...
- Use io.Pipe for immediate response headers
- Start WebDAV download in goroutine to avoid blocking
- Stream content as it becomes available
- Prevents client timeouts on slow downloads
- Maintains CORS and MIME type headers
2026-01-25 15:40:04 +01:00
Leon Bösche
4d1e83e9e7
Fix public file download timeout
...
- Increase timeout for WebDAV downloads from default to 5 minutes
- Prevents 504 Gateway Timeout errors when downloading large files
- Uses context.WithTimeout for better control over download duration
2026-01-25 15:26:09 +01:00
Leon Bösche
93bc0e582a
Change API base URL to www.b0esche.cloud and revert host to www for public URLs
2026-01-25 03:34:17 +01:00
Leon Bösche
d3c174f623
Fix public share URLs to use request host instead of hardcoded www.b0esche.cloud
2026-01-25 03:33:28 +01:00
Leon Bösche
08fc0906c0
Add range request support to publicFileViewHandler for video/audio seeking
2026-01-25 03:23:59 +01:00
Leon Bösche
e7b222bc7d
Force correct Content-Type for public files and add OPTIONS handlers for CORS
2026-01-25 03:22:39 +01:00