Commit Graph

128 Commits

Author SHA1 Message Date
Daniel Volz 3ffca8f333 Refactor code structure for improved readability and maintainability 2025-12-21 07:29:48 +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 55bfea1949 feat: enhance medication overview with expiry date display and status indication 2025-12-20 22:12:10 +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 f02bf72a22 feat: add robots.txt to disallow all web crawlers 2025-12-20 17:28:38 +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 a65e01c22a Adjust compose to use built images 2025-12-19 15:11:18 +01:00
Daniel Volz e80bcf5987 Add Medassist demo dashboard UI 2025-12-19 15:07:57 +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