- Removed old middleware files and replaced them with new proxy implementations for auth, API, password change, test redirection, and updater functionalities.
- Introduced a new proxy handler to streamline request processing through a chain of proxies.
- Updated package.json and package-lock.json to reflect dependency changes and ensure compatibility with the latest versions of Next.js, React, and related packages.
- Enhanced error handling and response management in the new proxy implementations.
- Added user_invites table to manage invitation tokens.
- Created invite router with procedures for sending, verifying, and accepting invites.
- Implemented email sending functionality for invites.
- Updated user controller to handle password setting during invite acceptance.
- Introduced mustChangePassword flag in user schema and related logic.
- Added middleware to enforce password change requirement.
- Created forms for accepting invites and changing passwords.
- Updated database migrations to reflect new user invite structure and fields.