Commit Graph

145 Commits

Author SHA1 Message Date
Daniel Volz f341a2aad2 feat: update package versions to 1.0.0 and enhance release script for secondary remote support 2025-12-29 22:33:23 +01:00
Daniel Volz 263033adfd feat: implement dose tracking cleanup on medication start date change 2025-12-29 22:28:18 +01:00
Daniel Volz cf37400d34 feat: reset planner and range on user change for improved state management 2025-12-29 20:29:46 +01:00
Daniel Volz 48ee9af536 feat: update dose retrieval to remove 30-day limit and add sharedBy field in share routes 2025-12-29 20:00:25 +01:00
Daniel Volz c378d373d8 feat: enhance dose tracking with takenBy parsing and visual indicators 2025-12-29 19:31:34 +01:00
Daniel Volz 666306b416 Refactor medication model to use blisters and pills instead of strips and tabs
- Updated medication schema to replace stripsPerPack and tabsPerStrip with blistersPerPack and pillsPerBlister.
- Adjusted medication routes to handle new blister and pill structure, including calculations for total pills.
- Modified frontend components to reflect changes in medication data structure and ensure compatibility with new backend logic.
- Updated reminder scheduler and share routes to utilize the new medication model.
- Enhanced Docker configuration for better permissions handling during development.
2025-12-29 19:18:14 +01:00
Daniel Volz b65c7e7b49 fix: update dose tracking to support both new and legacy formats for taken doses 2025-12-28 20:28:51 +01:00
Daniel Volz 3b77d484c4 fix: enhance defensive coding for takenBy property in medication details 2025-12-28 20:02:14 +01:00
Daniel Volz 0ad98c26fc fix: ensure safe access to takenBy property to prevent errors 2025-12-28 19:55:33 +01:00
Daniel Volz 69ca8fd3ba feat: implement per-person dose tracking and update migration process
- Enhanced the database migration process to ensure compatibility with existing production databases, including detailed steps for adding/modifying columns.
- Updated the client-side logic to support tracking doses taken by multiple users, including changes to the data structure and UI components.
- Added new styles for per-person dose tracking to improve user experience and visual clarity.
2025-12-28 19:47:14 +01:00
Daniel Volz c7ac7fbf75 feat: remove icons from stock calculation mode settings for cleaner UI 2025-12-28 18:46:38 +01:00
Daniel Volz 0a85b1725a feat: add form state management and reset functionality in medication editor 2025-12-28 18:41:22 +01:00
Daniel Volz 4a6aab338f feat: migrate taken_by to taken_by_json for multi-person support
- Added `taken_by_json` column to `medications` table to store an array of names.
- Updated migration scripts to convert existing `taken_by` data into JSON format.
- Modified backend routes to handle the new `taken_by_json` structure, including parsing and filtering logic.
- Updated frontend to support multi-value input for "Taken By" using tags.
- Adjusted validation and state management for the new array format in forms.
- Enhanced UI for displaying multiple names and added autocomplete suggestions for input.
- Updated translations for input placeholders to reflect new functionality.
- Added CSS styles for tag input components.
2025-12-28 18:22:32 +01:00
Daniel Volz abffd66e9c feat: add expiration date to share tokens and enhance error handling for expired links 2025-12-28 17:47:49 +01:00
Daniel Volz 0e52a03f7a feat: add stock calculation mode to user settings with automatic and manual options 2025-12-28 15:03:24 +01:00
Daniel Volz 78ee668c8b feat: enhance medication reminder system with improved notifications and user settings updates
- Added new translation keys for empty and low stock notifications in both English and German.
- Implemented user authentication for planner routes and improved user settings loading.
- Separated empty and low stock medications for clearer notifications.
- Enhanced email notifications with detailed alerts for empty and low stock medications.
- Updated user settings in the database when reminders are sent for both intake and stock notifications.
- Improved form validation in the frontend with character limits and error messages.
- Added CSS styles for form validation feedback and character count display.
2025-12-28 14:42:51 +01:00
Daniel Volz 30156ebd60 feat(ui): increase notes character limit to 2000 and add auto-resize functionality for textareas 2025-12-28 13:51:57 +01:00
Daniel Volz 47ae762e72 feat(ui): improve table layout with left-aligned text and status chips 2025-12-28 13:26:14 +01:00
Daniel Volz fad92a0b24 feat(ui): enhance email status bar layout with improved styling and responsiveness 2025-12-28 13:14:47 +01:00
Daniel Volz b539738d1e feat(ui): adjust button styles for better accessibility and consistency 2025-12-28 13:08:54 +01:00
Daniel Volz e386ce1fcb feat(ui): enhance tabs styling with improved hover effects and primary state 2025-12-28 12:56:32 +01:00
Daniel Volz 8fcf96997b feat(ui): refine user menu button styles and add dropdown item danger state 2025-12-28 12:53:37 +01:00
Daniel Volz fcd8d0da14 feat(ui): implement modal background scroll prevention and enhance button styles 2025-12-28 12:47:54 +01:00
Daniel Volz d60aeff7bd feat(ui): enhance medication detail modal layout and improve scrolling behavior 2025-12-28 12:07:36 +01:00
Daniel Volz 415dd87117 feat(ui): improve modal footer layout and enhance mobile form styling 2025-12-28 11:56:55 +01:00
Daniel Volz fb1732bd4a feat(ui): update medication icons alignment and styling for improved mobile display 2025-12-28 11:23:57 +01:00
Daniel Volz 02caa0619e feat(ui): enhance medication display layout and improve responsiveness in App component 2025-12-28 11:03:33 +01:00
Daniel Volz 0ecb892a15 feat: add Escape key handling to close modals and dialogs in App and UserProfile components 2025-12-28 03:07:08 +01:00
Daniel Volz f3da765f7c feat(db): add new columns to medications and users tables for enhanced data tracking
feat(oidc): refactor setAuthCookies to use centralized cookie options for consistency
feat(nginx): update configuration to pass cookies through proxy for improved session handling
2025-12-28 02:32:45 +01:00
Daniel Volz 3ffdb8a5fe feat(oidc): implement OIDC authentication flow and user management 2025-12-28 01:13:03 +01:00
Daniel Volz bd5c864e84 feat: add user avatar functionality and update related routes
- Implemented avatar upload and deletion in the Auth context.
- Updated UserProfile component to handle avatar display and actions.
- Modified backend routes to return anonymous user ID when auth is disabled.
- Added avatar_url column to users table in the database.
- Enhanced UI for user menu and profile modal to support avatar display.
- Updated translations for new avatar-related strings.
- Improved stock status calculation for medications in the planner.
2025-12-28 00:43:45 +01:00
Daniel Volz be68fb5dad feat(schedule): add schedule header with title and tooltip for configuration hints 2025-12-27 23:21:02 +01:00
Daniel Volz 27af4dd14b feat(edit-modal): implement mobile edit modal for medication with responsive design 2025-12-27 23:15:14 +01:00
Daniel Volz d378b081c6 feat(med-detail-footer): enhance layout and styling for footer actions and buttons 2025-12-27 22:36:50 +01:00
Daniel Volz a3cb24ccfe feat(settings): improve email and push notification settings validation and state management 2025-12-27 22:32:44 +01:00
Daniel Volz d2324640f4 feat(past-days): enhance past days toggle with missed doses indication and styling 2025-12-27 22:11:51 +01:00
Daniel Volz cfb8494be3 feat(auth): add 'remember me' functionality and token refresh logic 2025-12-27 21:59:21 +01:00
Daniel Volz 65f007732a feat(stock-status): implement stock status indicators for medication days and update styles 2025-12-27 21:46:04 +01:00
Daniel Volz 57377aeead feat(blister-form): update blister form structure to include separate start date and time fields 2025-12-27 15:32:47 +01:00
Daniel Volz 6b6c20bdc3 feat(med-details): enhance medication detail display with current stock and package details 2025-12-27 15:19:14 +01:00
Daniel Volz 9ccb5b1f0f Add past days toggle and update terminology for blisters
- Added translations for showing/hiding past days and past days count in German and English.
- Renamed "slices" to "blisters" in both translation files.
- Updated CSS styles to reflect the change from slices to blisters, including layout and hover effects.
- Introduced new styles for past days toggle button and past day blocks.
2025-12-27 15:01:54 +01:00
Daniel Volz d69c38e141 feat(image-upload): add pending image state and preview for medication creation 2025-12-27 14:36:23 +01:00
Daniel Volz 89d0c3f3f1 feat(auth): enhance error handling in requireAuth and add authError state in AuthProvider 2025-12-27 00:59:47 +01:00
Daniel Volz 64026ab658 feat(schedule): prevent resetting taken doses on error and refine future dose logic 2025-12-27 00:14:40 +01:00
Daniel Volz f34c2c9578 feat(schedule): enhance dose button styles for better user experience and add visual cues for future doses 2025-12-26 23:54:15 +01:00
Daniel Volz c0959f681a feat(share): update description for sharing schedule to include dose tracking visibility 2025-12-26 23:18:18 +01:00
Daniel Volz 68660202cf feat(medications): enhance medication stock calculation and improve UI layout for better readability 2025-12-26 23:06:02 +01:00
Daniel Volz be1e8cda18 feat(schedule): add manual collapse/expand functionality for schedule days and update translations 2025-12-26 22:14:38 +01:00
Daniel Volz 551c0b4db5 feat(shared-schedule): implement polling for real-time sync of taken doses 2025-12-26 21:58:16 +01:00
Daniel Volz 7e51b4c806 feat(reminders): enhance reminder status with low stock warnings and update translations 2025-12-26 21:51:36 +01:00