Commit Graph

214 Commits

Author SHA1 Message Date
Leon Bösche
425ac0c99e Refactor WOPI handlers to retrieve access token from Authorization header, maintaining backward compatibility with query parameter 2026-02-05 12:18:43 +01:00
Leon Bösche
67e6d89eb2 URL-decode access token in WOPI handlers and add debug logging for received tokens 2026-02-04 23:56:42 +01:00
Leon Bösche
5139334d4d Refactor WOPI handlers to remove debug logging and streamline access token usage 2026-02-04 23:31:28 +01:00
Leon Bösche
0d8bf651b2 Add debug logging for WOPI handlers and include access token in WOPISrc URL 2026-02-04 16:58:56 +01:00
Leon Bösche
88aefae33b idle 2026-02-03 19:38:13 +01:00
Leon Bösche
a3a596bbdb Improve avatar download and verification handling with context cancellation and exponential backoff 2026-02-01 00:50:50 +01:00
Leon Bösche
96a044450f Enhance authentication error handling with specific error codes and inline validation feedback 2026-02-01 00:24:19 +01:00
Leon Bösche
17ac65a493 Refactor avatar upload and download handlers to use internal WebDAV client for server-to-server operations 2026-01-31 23:48:08 +01:00
Leon Bösche
9ac649105a Refactor WOPI access checks to prioritize organization membership over user ownership 2026-01-31 23:45:07 +01:00
Leon Bösche
048356dddf Refactor ensureParent method to simplify MKCOL URL construction 2026-01-31 23:37:16 +01:00
Leon Bösche
367afab430 Add diagnostics for MKCOL failures in ensureParent method 2026-01-31 23:17:48 +01:00
Leon Bösche
94e9036e87 Increase avatar download timeout and retries; add verification for uploaded avatars with fallback caching 2026-01-31 18:44:52 +01:00
Leon Bösche
ff4c9bb26c Enhance avatar upload handling by providing immediate preview data and improving cache write logic 2026-01-31 18:09:07 +01:00
Leon Bösche
6085409bad Enhance avatar handling by implementing download retries with backoff and adding timeout configuration 2026-01-31 17:48:30 +01:00
Leon Bösche
1bc1dd8460 Enhance avatar caching by adding versioning support and improving cache read/write logic 2026-01-30 13:41:17 +01:00
Leon Bösche
87bf4b8ca3 Add defensive check for profile update response and set content type in user profile handler 2026-01-30 13:24:43 +01:00
Leon Bösche
07975c4fbe Improve avatar cache handling by adding fallback directory creation and enhancing read logic 2026-01-29 23:12:12 +01:00
Leon Bösche
a2884a9891 Add avatar caching functionality and update config for cache directory 2026-01-29 23:00:59 +01:00
Leon Bösche
00a585e2c1 Fix avatar URL token handling and improve user avatar download timeout management 2026-01-29 22:55:46 +01:00
Leon Bösche
9b6f5c960a Enhance user profile handling by fetching full profile data and updating avatar URLs in AuthBloc and related components 2026-01-29 22:42:36 +01:00
Leon Bösche
36de8c2313 Fix avatar and display name update issues
- Remove avatar handling from profile update to prevent overwriting DB with display URL
- Skip ensureParent for .avatars to speed up upload
- Add change detection for display name save button
- Update API client to not send avatarUrl in profile update
2026-01-29 22:03:36 +01:00
Leon Bösche
b30b8eb934 Fix JWT validation method name 2026-01-29 21:20:01 +01:00
Leon Bösche
cabb330966 Fix JWTManager access in getUserAvatarHandler 2026-01-29 21:19:15 +01:00
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