Commit Graph

93 Commits

Author SHA1 Message Date
Daniel Volz b0f26b1e66 feat(share): implement share functionality for medication schedules with token-based access 2025-12-26 21:06:03 +01:00
Daniel Volz a7f9f90db4 feat(auth): implement user authentication and profile management
- Added authentication context and provider to manage user state.
- Created login and registration forms with validation and error handling.
- Implemented user profile component for updating user information and changing passwords.
- Introduced user settings in the database for notification preferences.
- Updated translations for authentication-related strings in English and German.
- Enhanced styles for authentication components and user profile.
- Added middleware for optional and required authentication checks.
2025-12-26 19:57:35 +01:00
Daniel Volz 5900fddb2d feat: simplify environment configuration by hardcoding token TTLs and removing unnecessary variables 2025-12-25 14:54:38 +01:00
Daniel Volz 09bd7dc34a feat: update SMTP authentication to support OAuth2 token alongside traditional password 2025-12-25 13:29:27 +01:00
Daniel Volz aa87a65d31 feat: remove email rate limit configuration from environment and database schema 2025-12-25 13:24:25 +01:00
Daniel Volz 55dd9bbff5 feat: add locale support for date formatting in reminders and planner routes 2025-12-25 13:19:41 +01:00
Daniel Volz 80268fb1f1 feat: add admin settings for reminder hour and minutes, and update expiry warning handling in UI and translations 2025-12-25 13:06:43 +01:00
Daniel Volz 1468c62d59 feat: add takenBy and pillWeightMg to intake reminders and update translations 2025-12-25 12:40:40 +01:00
Daniel Volz 06da1d6eb8 feat: add repeat daily reminder functionality with UI updates and translations 2025-12-25 12:29:42 +01:00
Daniel Volz 3d5526875c feat: enhance reminder system with notification type and channel tracking 2025-12-25 09:10:41 +01:00
Daniel Volz 738513a3ba refactor: rename project to MedAssist-ng and update configurations
- Updated environment variables in .env.example for production setup.
- Changed project references from MedAssist to MedAssist-ng in documentation and code.
- Adjusted Docker configurations for new image names and ports.
- Removed deprecated push-images.sh script and added docker-compose.dev.yml for development.
- Updated translation files to reflect new project name.
- Ensured all email notifications and headers reflect the new branding.
2025-12-24 13:01:53 +01:00
Daniel Volz 55d0603dce feat: improve intake reminder scheduling logic to account for timing jitter and ensure accurate notifications 2025-12-23 11:03:22 +01:00
Daniel Volz e76bf53986 feat: enhance Docker and Nginx configurations for security hardening and improved directory management 2025-12-22 11:51:56 +01:00
Daniel Volz fc7852bafe feat(i18n): add internationalization support with English and German translations
- Integrated i18next for language detection and translation management.
- Added translation files for English and German languages.
- Implemented translation keys for notifications, reminders, and common UI elements.
- Updated main application entry point to include i18n initialization.
- Styled language selection dropdown in settings.
- Enhanced package dependencies to include i18next and react-i18next.
2025-12-22 10:55:53 +01:00
Daniel Volz f1ee8e6fdf feat: add multiple columns to medications table for enhanced data tracking 2025-12-21 13:05:57 +01:00
Daniel Volz eb3bfea940 feat: add pill weight and taken by fields to medications schema and update related components 2025-12-21 12:21:00 +01:00
Daniel Volz 221811ed7c feat: add granular notification settings for email and Shoutrrr reminders 2025-12-21 09:52:48 +01:00
Daniel Volz f06904f8ae feat: add intake reminders feature with email notifications and UI integration 2025-12-21 09:18:03 +01:00
Daniel Volz 2054fc0b56 feat: implement push notification support for low stock reminders and enhance email validation 2025-12-21 08:40:06 +01:00
Daniel Volz 4161fc7d8a feat: add timezone support for reminders and enhance UI for settings overview 2025-12-21 07:46:38 +01:00
Daniel Volz 4ffbcef877 feat: add totalPills to medication and planner rows for improved stock tracking 2025-12-21 00:12:47 +01:00
Daniel Volz 522223cb01 feat: add Shoutrrr push notification support and settings to reminders 2025-12-20 23:02:04 +01:00
Daniel Volz 8a03bf3f86 feat: add expiry_date, notes, and generic_name columns to medications table with corresponding migrations 2025-12-20 22:06:44 +01:00
Daniel Volz b96c8db3de feat: increase file upload limit to 10MB for medication images 2025-12-20 21:21:49 +01:00
Daniel Volz 1c9950d29f feat: refactor migration handling to ensure server waits for database migrations before starting 2025-12-20 21:14:43 +01:00
Daniel Volz 258c90a52c feat: implement auto-run migrations for medications table to handle image_url column 2025-12-20 21:10:33 +01:00
Daniel Volz 0239d01d3b feat: add migration for image_url column in medications table with error handling 2025-12-20 21:01:18 +01:00
Daniel Volz 3b0526c7d0 feat: add image_url column to medications table for medication photos 2025-12-20 20:54:53 +01:00
Daniel Volz a0e879e8d2 Refactor code structure for improved readability and maintainability 2025-12-20 20:48:23 +01:00
Daniel Volz 4c351aae2d feat: add next scheduled check to reminder state and update UI to display next check time 2025-12-20 19:55:03 +01:00
Daniel Volz b588fb2f95 feat: add reminder functionality with daily email notifications
- Implemented reminder scheduler service to check for low stock medications and send email notifications.
- Added repeat daily reminders option in settings to allow users to receive daily emails while stock is low.
- Updated backend settings route to include new reminder state and settings.
- Enhanced frontend to manage and display reminder settings, including last automatic email sent.
- Improved UI for better user experience with new styles for settings and notifications.
2025-12-20 19:48:23 +01:00
Daniel Volz c643bfcc47 feat: implement database setup with direct table creation and improved error handling 2025-12-20 17:57:11 +01:00
Daniel Volz e849f7ea1c refactor: consolidate email settings into the settings table and remove obsolete migration files 2025-12-20 17:53:49 +01:00
Daniel Volz df1ac56948 refactor: update migration files to maintain compatibility and remove redundant column additions 2025-12-20 17:49:59 +01:00
Daniel Volz 70bdc393cc feat: update Dockerfile to run migrations at startup and adjust data volume path in docker-compose 2025-12-20 17:47:18 +01:00
Daniel Volz ac7bc940b8 fix: remove unnecessary data copy in Dockerfile and create data directory at runtime 2025-12-20 17:34:29 +01:00
Daniel Volz 5cb5e2ba26 feat: add planner routes and email functionality; update settings and App component for new stock thresholds and email reminders 2025-12-20 17:26:46 +01:00
Daniel Volz ce02ab8372 feat: add email notification settings and test email functionality
- Created a new migration to add email settings to the database.
- Implemented routes for managing notification settings, including retrieving and updating settings.
- Added functionality to send test emails using SMTP configuration from environment variables.
2025-12-20 16:07:20 +01:00
Daniel Volz aac4079c54 Add script to build and push Docker images to registry
- Introduced `push-images.sh` script for building and pushing backend and frontend images.
- Added functionality to select or input image tags.
- Integrated environment variable support for registry configuration.
- Implemented prompts for user confirmation before building and pushing images.
- Updated `docker-compose.prod.yml` with new image tags after pushing.
2025-12-20 15:32:38 +01:00
Daniel Volz dc1dd8c552 Add editable medication planner UI and API 2025-12-19 15:47:00 +01:00
Daniel Volz c61814fa23 Update helmet for Fastify 5 2025-12-19 14:05:03 +01:00
Daniel Volz d046f8316d Use Node 25 images and update sensible 2025-12-19 13:15:32 +01:00
Daniel Volz 47f8494795 Initial commit 2025-12-19 13:09:53 +01:00