Commit Graph

435 Commits

Author SHA1 Message Date
Leon Bösche
857a6c7bcf Adjust button width and add spacing in account settings dialog for improved layout 2026-01-27 09:31:21 +01:00
Leon Bösche
ebe2887d7c Refactor profile tab layout: replace SingleChildScrollView with Stack for improved logout button positioning and enhance avatar display 2026-01-27 09:22:44 +01:00
Leon Bösche
262ce18902 idle 2026-01-27 09:20:16 +01:00
Leon Bösche
94ff7f1007 Enhance UI of account settings dialog: update text fields with improved styling and container backgrounds 2026-01-27 08:51:30 +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
770a818f74 Add EUROSCALE_DEPLOYMENT_BLUEPRINT.md to .gitignore 2026-01-27 02:31:52 +01:00
Leon Bösche
e53731fd75 idle 2026-01-27 02:15:12 +01:00
Leon Bösche
d73311e74c idle 2026-01-27 02:01:22 +01:00
Leon Bösche
2a4955b934 Add login page and implement session redirection on authentication 2026-01-27 01:50:52 +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
7c86be2098 Enhance image handling in FileViewerDispatch for web and mobile, adding error handling and CORS support 2026-01-25 19:51:18 +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
0617d258f6 idle 2026-01-25 19:18:24 +01:00
Leon Bösche
f353e634d2 idle 2026-01-25 19:11:04 +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
904e909ce1 Set initial location for GoRouter based on web URL hash 2026-01-25 18:37:01 +01:00
Leon Bösche
2205536549 idle 2026-01-25 18:28:39 +01:00
Leon Bösche
0b07522d7c Set URL strategy for web support in main.dart 2026-01-25 18:19:20 +01:00
Leon Bösche
d471634f30 Remove unused web URL strategy configuration from main.dart 2026-01-25 17:16: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
565b9fed6f Fix GoRouter initialLocation for web share links 2026-01-25 16:57:51 +01:00
Leon Bösche
7a58769139 Enable path-based URL routing for clean share links 2026-01-25 16:45:33 +01:00
Leon Bösche
a451ae8a98 Adjust padding and icon size for download button in PublicFileViewer 2026-01-25 16:40:02 +01:00
Leon Bösche
1c1606d61d Remove duplicate file info header in public file viewer 2026-01-25 16:32:32 +01:00
Leon Bösche
6121acdc4b Adjust padding for leading ModernGlassButton in PublicFileViewer 2026-01-25 16:25:44 +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
d5aecdfba8 idle 2026-01-25 16:04:45 +01:00
Leon Bösche
5fa436f204 idle 2026-01-25 16:03:57 +01:00
Leon Bösche
bd4796116e Refactor ModernGlassButton to accept customizable padding 2026-01-25 15:52:05 +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
7582f27899 Add DOCX viewer support in public file viewer 2026-01-25 15:44:32 +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
a88121d465 Fix PDF loading in public file viewer
- Change PDF viewer to use SfPdfViewer.network instead of loading bytes
- Remove _loadPdfBytes method and _pdfBytes variable
- Use direct network loading for better performance and reliability
- Add onDocumentLoadFailed callback for error handling
- Remove unused dart:typed_data import
2026-01-25 15:23:01 +01:00
Leon Bösche
86f0cb188e Fix public file viewer compilation errors and add PDF styling
- Add missing imports for SfPdfViewer and Uint8List
- Fix _initializeVideoPlayer method declaration
- Correct SfTheme import to use syncfusion_flutter_core/theme.dart
- Restore PDF bytes loading via API for public shares
- Add SfTheme wrapper for PDF viewer styling
2026-01-25 15:13:01 +01:00
Leon Bösche
92bafe57fb Frontend: restore PDF bytes loading for public viewer to fix loading, add SfTheme for app styling consistency 2026-01-25 14:43:44 +01:00
Leon Bösche
b25dd0a10c Remove unused import of 'dart:typed_data' in public_file_viewer.dart 2026-01-25 14:17:28 +01:00
Leon Bösche
0d41cdeebf Frontend: unify PDF viewer to use network URL like internal viewer, remove bytes loading hack 2026-01-25 14:16:28 +01:00
Leon Bösche
083ab8c95d Revert "Restore Traefik dynamic public_share config and copy it during auto-deploy"
This reverts commit 1eae6d5713.
2026-01-25 14:15:48 +01:00