Commit Graph

352 Commits

Author SHA1 Message Date
Leon Bösche
f44d64b7ad Fix share URL host to always use www.b0esche.cloud instead of r.Host 2026-01-25 00:27:58 +01:00
Leon Bösche
7ed915555b Update file share link host to use 'www' for consistency 2026-01-25 00:20:32 +01:00
Leon Bösche
a321104b4c Update file share link URLs to remove 'public' segment for consistency 2026-01-25 00:02:59 +01:00
Leon Bösche
119e8e0736 Remove unused _revokeShareLink method and update share link message for clarity 2026-01-24 23:54:07 +01:00
Leon Bösche
e4931d4e03 Refactor ShareFileDialog: reduce maxLines for share URL input and streamline button layout for link creation 2026-01-24 23:51:29 +01:00
Leon Bösche
ea5c297641 Implement automatic share link creation and logging for file sharing; make org_id nullable in file_share_links 2026-01-24 23:45:08 +01:00
Leon Bösche
82eba17a82 Enhance file sharing functionality: infer org_id when not provided, update share link responses to include shareUrl 2026-01-24 23:16:51 +01:00
Leon Bösche
421e95d83b Fix nullable org_id handling in public share handlers 2026-01-24 22:56:10 +01:00
Leon Bösche
cca21c09d5 Allow NULL org_id in file_share_links for personal file sharing, update model and handlers 2026-01-24 22:54:50 +01:00
Leon Bösche
c7aab0b026 Fix file sharing: add backend routes for /orgs/files/{fileId}/share, update frontend ShareFileDialog to use correct paths and improve UI 2026-01-24 22:47:27 +01:00
Leon Bösche
228a5c9644 Implement user-specific share link management for files 2026-01-24 22:32:58 +01:00
Leon Bösche
acfd882bba Refactor ShareFileDialog header to improve layout and ensure text overflow handling 2026-01-24 22:21:50 +01:00
Leon Bösche
5f7d831bdd Update share button icon to use send_outlined for improved clarity 2026-01-24 22:14:53 +01:00
Leon Bösche
1cf778366f Enhance file sharing handlers to support user ownership checks and improve error handling 2026-01-24 22:13:23 +01:00
Leon Bösche
d8133347f0 Refactor ShareFileDialog to improve UI layout, error handling, and share link management 2026-01-24 21:53:13 +01:00
Leon Bösche
b703a209d0 Refactor share file dialog to auto-create share link and simplify error handling 2026-01-24 21:49:55 +01:00
Leon Bösche
896f475b03 Refactor file sharing UI to use TextField for share link display and improve error handling 2026-01-24 21:38:29 +01:00
Leon Bösche
49c578cef2 Remove backup of file_share_links table migration 2026-01-24 21:22:39 +01:00
Leon Bösche
44081099c4 Update migration steps to include file share links in the migration process 2026-01-24 21:20:06 +01:00
Leon Bösche
828b63c8c8 Refactor file download handling to simplify browser download process and ensure proper content disposition for file downloads 2026-01-24 21:11:25 +01:00
Leon Bösche
6bbdc157cb Implement file sharing functionality with public share links and associated API endpoints 2026-01-24 21:06:18 +01:00
Leon Bösche
4770380e38 Refactor role selection dropdown to use Material widget for improved styling and tap target size 2026-01-24 06:18:09 +01:00
Leon Bösche
a9c49a0282 Enhance role selection dropdown with custom InkWell and update dropdown color 2026-01-24 05:59:18 +01:00
Leon Bösche
692e7767f3 Enhance role selection dropdown styling in organization settings dialog 2026-01-24 05:49:05 +01:00
Leon Bösche
b3d1e40130 Add spacing between role selection and dropdown in organization settings dialog 2026-01-24 05:46:44 +01:00
Leon Bösche
cd3c91f93e Refactor invite tab layout and enhance user suggestions dropdown functionality 2026-01-24 05:27:51 +01:00
Leon Bösche
41898dfcc7 Refactor invite tab to improve layout and remove unused variables 2026-01-24 05:19:28 +01:00
Leon Bösche
17cc47f22d Add maxLines and overflow properties to file name display for better UI handling 2026-01-24 05:14:41 +01:00
Leon Bösche
deb8b50bb9 Fix suggestions positioning using CompositedTransformFollower to properly position dropdown below TextField 2026-01-24 05:06:30 +01:00
Leon Bösche
65ad05ac76 Refactor invitation and invite link sections for improved readability and layout consistency 2026-01-24 04:55:02 +01:00
Leon Bösche
3a80ad4f15 Implement overlay dropdown for username suggestions to prevent pushing content down 2026-01-24 04:54:42 +01:00
Leon Bösche
032b287548 Increase width of ModernGlassButton for improved layout consistency 2026-01-24 04:50:00 +01:00
Leon Bösche
4f9230cdc2 Fix TextField not accepting input by moving TextEditingController to state instead of recreating on every build 2026-01-24 04:39:58 +01:00
Leon Bösche
be09b5830e Refactor Send Invitation button to use fixed width for better layout consistency 2026-01-24 04:38:43 +01:00
Leon Bösche
5cf3b1d997 Use content_copy icon for copy link button; fix missing buttons in personal workspace by granting full permissions for orgId empty 2026-01-24 04:36:40 +01:00
Leon Bösche
4786e5b5d9 Change regenerate button to use refresh icon instead of text 2026-01-24 04:30:15 +01:00
Leon Bösche
c0a3e4d8c3 Add text overflow handling for invite link in Organization Settings dialog 2026-01-24 04:29:02 +01:00
Leon Bösche
56f3de5d0d Fix LoadPermissions event usage: add import and correct constructor call 2026-01-24 04:27:43 +01:00
Leon Bösche
d387f6c4d3 Fix missing buttons in personal workspace by reloading permissions on org change; fix untypeable TextField by removing Container wrapper and using InputDecoration borders 2026-01-24 04:27:09 +01:00
Leon Bösche
9654497a2b Reorder invite tab: move invite link above user search fields; style TextField and Dropdown with app theme colors to avoid purple borders 2026-01-24 04:04:29 +01:00
Leon Bösche
01d3ef8a46 Fix type error in ModernGlassButton onPressed: provide always non-null callback with permission check inside 2026-01-24 03:51:51 +01:00
Leon Bösche
1f7f4f33cc Make invite form always visible in Organization Settings dialog, with send button enabled only if user has manage permission; reposition copy link button next to invite link text for sleeker layout 2026-01-24 03:49:58 +01:00
Leon Bösche
c1c8f837a8 Add null check in ApiClient.getList to handle cases where response.data is null, returning empty list instead of throwing cast error 2026-01-24 03:39:31 +01:00
Leon Bösche
f53424aaa4 Format CircularProgressIndicator for better readability in Organization Settings dialog 2026-01-24 03:36:26 +01:00
Leon Bösche
aaa0062568 Fix CircularProgressIndicator color in Organization Settings dialog to use AppTheme.accentColor 2026-01-24 03:35:58 +01:00
Leon Bösche
b57b1ab030 Fix package name to use underscore instead of dot notation 2026-01-24 03:25:42 +01:00
Leon Bösche
d7ae944aee Fix backend to return empty slices instead of null for JSON encoding
- Initialize slices as empty in database query functions to prevent json.Encode(nil) returning 'null'
- This fixes Flutter Dio parsing 'null' as null, causing cast to List to fail
2026-01-24 03:21:30 +01:00
Leon Bösche
5012c9a1b5 Update package name to use dot notation and add icons asset path 2026-01-24 02:36:33 +01:00
Leon Bösche
c3e3356574 Refactor user struct and user info handling for improved readability 2026-01-24 02:30:34 +01:00
Leon Bösche
c7e740e732 Fix Organization Management dialog type errors
- Fix JSON key mismatch in Flutter models: change 'User' to 'user' in Member and JoinRequest fromJson
- Update backend userInfo to send displayName as *string (null when empty)
- Add json tags to database User struct for consistent lowercase keys
- Handle displayName nullability in backend handlers
2026-01-24 02:30:15 +01:00