Commit Graph

71 Commits

Author SHA1 Message Date
dependabot[bot] 2bf5ec557f build(deps): bump nodemailer from 6.10.1 to 7.0.11 in /backend
Bumps [nodemailer](https://github.com/nodemailer/nodemailer) from 6.10.1 to 7.0.11.
- [Release notes](https://github.com/nodemailer/nodemailer/releases)
- [Changelog](https://github.com/nodemailer/nodemailer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodemailer/nodemailer/compare/v6.10.1...v7.0.11)

---
updated-dependencies:
- dependency-name: nodemailer
  dependency-version: 7.0.11
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-28 21:30:36 +00: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 618190d20d feat(i18n): add pill emoji to medication reminder titles for better visibility 2025-12-28 18:27:32 +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 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 17a535866b feat(oidc): handle missing sub claim in token and redirect with error 2025-12-28 02:15:26 +01:00
Daniel Volz 5ad260a465 feat(auth, oidc): add user avatar URL to auth response and update redirect URLs to use frontend URL 2025-12-28 02:08:34 +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 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 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 b66b750be9 feat(docker): streamline entrypoint script by removing redundant checks and improving write access testing 2025-12-27 14:11:46 +01:00
Daniel Volz 7713ddbbde feat(docker): improve entrypoint script with enhanced mount info and write test feedback 2025-12-27 13:53:50 +01:00
Daniel Volz fe1f83e305 feat(docker): enhance entrypoint script with ownership checks and provide fix suggestion for permission issues 2025-12-27 13:36:53 +01:00
Daniel Volz 3d497ea6a8 feat(db): add Client type to database client declaration for improved type safety 2025-12-27 13:12:52 +01:00
Daniel Volz f7bad32d68 feat(docker): enhance entrypoint script with gosu for privilege handling and improve healthcheck command 2025-12-27 12:48:19 +01:00
Daniel Volz bedf90d316 feat(docker): add PUID and PGID environment variables for user/group ID handling in Docker setup 2025-12-27 12:39:32 +01:00
Daniel Volz d39ab010a0 feat(docker): update Dockerfile for improved security and add entrypoint script for permission handling 2025-12-27 08:54:54 +01:00
Daniel Volz dd943f7fb2 feat(auth): implement default user ID handling when auth is disabled across routes 2025-12-27 01:30: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 777f49df16 feat(database): add initial table creation for users, medications, and settings in runMigrations 2025-12-27 00:46:32 +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 473ffde4fe feat(dose-tracking): implement dose tracking functionality with API routes for marking and unmarking doses 2025-12-26 21:40:53 +01:00
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