Commit Graph

13 Commits

Author SHA1 Message Date
Nils-Johan Gynther 34e0c44a40 fix(navigation): reorder admin and user links in navigation menu 2026-04-18 15:12:34 +02:00
Nils-Johan Gynther 537a4f8ab6 feat: Implement admin user management features
- Added adminCreateUser endpoint and corresponding DTO for creating users.
- Implemented deleteUser and resetPassword functionalities for admin users.
- Introduced updateEmail functionality for admin users.
- Updated UsersService to handle user creation, deletion, password reset, and email updates.
- Modified UsersController to include new admin routes with appropriate role checks.
- Refactored frontend navigation to link to user management under profile.
- Created new profile tabs for user management and database management.
- Developed AnvandareClient component for user management, including user creation, deletion, role changes, and password resets.
- Added DatabsTab for managing product listings and merging duplicates.
- Enhanced MinProfilTab for user profile management with form handling.
2026-04-18 14:49:02 +02:00
Nils-Johan Gynther c5ccef2313 feat(auth): implement role-based access control and user management features 2026-04-18 09:34:22 +02:00
Nils-Johan Gynther a9e83544c5 feat(profile): add user profile management with first and last name fields 2026-04-17 20:44:23 +02:00
Nils-Johan Gynther e06d05e8db feat(auth): refactor sign-out functionality and update import paths 2026-04-17 19:58:45 +02:00
Nils-Johan Gynther ce0cc6fbf0 feat(auth): implement user authentication with JWT and NextAuth
- Added user registration and login functionality with JWT authentication.
- Created auth controller, service, and module in the backend.
- Implemented user model and user products management.
- Integrated NextAuth for session management on the frontend.
- Added middleware for protecting routes and handling public access.
- Updated frontend API routes to include authorization headers.
- Enhanced recipe and user product models to support ownership and visibility.
- Created registration and login pages in the frontend.
- Added necessary types for NextAuth session management.
2026-04-17 19:57:08 +02:00
Nils-Johan Gynther 4474c4da01 feat: implement import functionality with tab navigation for receipts and invoices 2026-04-16 21:39:23 +02:00
Nils-Johan Gynther a12abe0402 feat: add receipt import functionality with UI and backend integration 2026-04-16 20:02:57 +02:00
Nils-Johan Gynther 1b82b02021 feat: implement meal planning feature with CRUD operations and UI integration 2026-04-16 19:37:09 +02:00
Nils-Johan Gynther 47d1aafd9e feat: PantryItem (Baslager) - tabell, backend-modul och frontend-sida 2026-04-15 22:06:40 +02:00
Nils-Johan Gynther ea307e6a6c feat: Add expandable section for creating products with integrated product form 2026-04-12 08:29:28 +02:00
Nils-Johan Gynther 4ea55012bb feat: add import recipes link to navigation 2026-04-11 17:52:48 +02:00
Nils-Johan Gynther 8fce96e1ce Add Navigation component and integrate it into multiple pages for consistent navigation 2026-04-10 20:03:43 +02:00