Commit Graph

310 Commits

Author SHA1 Message Date
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
Leon Bösche
273976a69e Add onTap handler to 'Add' navigation button in HomePage 2026-01-24 01:33:11 +01:00
Leon Bösche
3dd4a9b692 Update header text in organization settings dialog to include organization name 2026-01-24 01:31:25 +01:00
Leon Bösche
c675cb9125 Update icon for Manage button to use rounded accounts icon 2026-01-24 01:19:43 +01:00
Leon Bösche
76ad2f4581 Update header text in organization settings dialog to 'Manage Organization' 2026-01-24 01:17:08 +01:00
Leon Bösche
4c8ef754c0 Add initial state emission for empty organization ID in permissions loading 2026-01-24 00:35:38 +01:00
Leon Bösche
25b053ee13 Improve error handling and logging in data loading for organization settings dialog 2026-01-24 00:24:43 +01:00
Leon Bösche
960d2c8805 Refactor button color logic and improve readability in home page and organization settings dialog 2026-01-24 00:22:38 +01:00
Leon Bösche
56d8054d90 Fix Manage button visibility
- Change icon from Icons.settings to Icons.admin_panel_settings for better recognition
- Use AppTheme.primaryText (white) instead of secondaryText (white70) for action buttons
- Improve visibility of the Manage button in the navigation bar
2026-01-24 00:21:15 +01:00
Leon Bösche
b4e9829f04 Fix splash effects on all buttons in organization settings dialog
- Add splashColor: Colors.transparent and highlightColor: Colors.transparent to all IconButtons
- Add ButtonStyle with NoSplash.splashFactory and transparent overlayColor to all TextButtons
- Updated close button, remove member button, cancel invitation button, and accept/reject buttons
- Maintains consistent button behavior across the entire app
2026-01-24 00:02:22 +01:00
Leon Bösche
48c9c19a64 Fix settings button and dialog tab buttons
- Change 'Settings' button to 'Manage' with proper icon visibility
- Only show Manage button when in an organization (selectedOrg != null)
- Replace TabBar with custom animated tab buttons that match app styling
- Add smooth animations and visual feedback to tab buttons
- Maintain consistent splash effects across the dialog
2026-01-24 00:00:04 +01:00
Leon Bösche
e10e499b6c Backend: Fix organization API endpoints and RBAC
- Fix member list API response format to match frontend expectations
- Fix join requests API response format
- Add proper JSON tags to Invitation struct
- Grant OrgManage permission to admin role for proper RBAC

These changes ensure frontend-backend API contracts are aligned and admins can manage organizations.
2026-01-23 23:48:10 +01:00
Leon Bösche
bfe2d1d521 Fix string concatenation for error messages in audio playback handling 2026-01-23 23:40:30 +01:00
Leon Bösche
26cbe83d66 Add JoinPage feature with invite token handling and update routing 2026-01-23 23:39:59 +01:00
Leon Bösche
98e7bbdb9e Refactor code for improved readability and consistency in multiple files 2026-01-23 23:21:46 +01:00
Leon Bösche
20bc0ac757 Implement complete Organizations feature with RBAC
- Add owner/admin/member roles with proper permissions
- Implement invite links and join requests system
- Add organization settings dialog with member management
- Create database migrations for invitations and invite links
- Update backend API with org management endpoints
- Fix compilation errors and audit logging
- Update frontend models and API integration
2026-01-23 23:21:23 +01:00
Leon Bösche
a03b0dfe33 idle 2026-01-21 14:54:47 +01:00
Leon Bösche
73e757a86b Adjust audio player bar positioning for improved layout 2026-01-19 23:12:46 +01:00
Leon Bösche
6c4a5555f3 letzte heute 2026-01-17 04:17:53 +01:00
Leon Bösche
d41566f4dc Adjust audio player bar positioning and width for improved layout 2026-01-17 04:12:40 +01:00
Leon Bösche
800d0c3020 Adjust audio player bar positioning for improved layout 2026-01-17 04:04:03 +01:00
Leon Bösche
968065a0a3 idle 2026-01-17 03:55:48 +01:00
Leon Bösche
cb5f4d0e83 Remove debug print statements from audio player for cleaner code. deploy now 2026-01-17 03:45:07 +01:00
Leon Bösche
898922efd1 Refactor audio player to manage subscriptions more effectively and ensure proper cleanup 2026-01-17 03:40:56 +01:00
Leon Bösche
014b77a27e idle3 2026-01-17 03:39:07 +01:00
Leon Bösche
ab6c6b2ff8 idle2 2026-01-17 03:38:07 +01:00
Leon Bösche
bdba13cb60 idle 2026-01-17 03:32:22 +01:00
Leon Bösche
0c1e470779 Replace close button with a simple 'x' text for improved clarity and simplicity 2026-01-17 03:31:13 +01:00
Leon Bösche
0d88d8e58e Increase right padding of audio player bar to avoid overlapping navigation buttons 2026-01-17 03:30:19 +01:00
Leon Bösche
3e7cc12b32 Increase right padding of audio player bar to avoid overlapping navigation buttons 2026-01-17 03:14:41 +01:00
Leon Bösche
d806fb806c Adjust audio player bar width to 24% for improved layout 2026-01-17 03:08:16 +01:00
Leon Bösche
25790fd157 Adjust audio player bar positioning for improved layout and avoid overlapping navigation buttons 2026-01-17 03:02:11 +01:00
Leon Bösche
00b4436013 Adjust audio player bar positioning and width for improved layout; add authentication token retrieval in file download URL generation 2026-01-17 03:02:04 +01:00
Leon Bösche
0a23133043 Refactor file URL generation to use file path instead of file ID and adjust audio player bar width for improved layout 2026-01-17 02:55:34 +01:00
Leon Bösche
66ec456102 Update url_launcher_web version to 2.4.2 and sha256 checksum in pubspec.lock 2026-01-17 02:53:50 +01:00
Leon Bösche
1c1e6a570c Fix audio player state access for conditional imports to ensure compatibility across platforms 2026-01-17 02:46:36 +01:00
Leon Bösche
8a1660b781 Add web audio player implementation with enhanced stream handling and error management 2026-01-17 02:40:58 +01:00
Leon Bösche
d9a651b375 Enhance audio file handling with improved error logging and UI adjustments for audio player bar positioning 2026-01-17 02:31:33 +01:00
Leon Bösche
979091f975 jetzaber 2026-01-17 02:20:10 +01:00
Leon Bösche
712abbb34f Refactor HomePage layout to center title and align navigation buttons, enhancing visual structure 2026-01-17 01:58:27 +01:00
Leon Bösche
a219b8c1a2 Refactor HomePage layout to separate title and audio player bar, enhancing clarity and organization 2026-01-17 01:51:43 +01:00
Leon Bösche
2c565c3b50 Refactor HomePage layout to improve audio bar integration and navigation button arrangement 2026-01-17 01:41:58 +01:00
Leon Bösche
6ee244b829 Refactor HomePage layout by simplifying padding and removing duplicate title widget 2026-01-17 01:34:02 +01:00