Commit Graph

105 Commits

Author SHA1 Message Date
Julien Froidefond
87a24d7ebf chore: optimize dependency installation in Dockerfile using pnpm cache
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 3m55s
2025-12-13 12:14:20 +01:00
Julien Froidefond
fea940df5f fix: update next and address vulnerabilities
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 20s
2025-12-13 07:26:59 +01:00
Julien Froidefond
3999446509 chore: update DB_HOST in docker-compose.yml to use peakskills-postgres
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 16s
2025-12-11 12:54:36 +01:00
Julien Froidefond
ee83efc317 chore: add public directory to Dockerfile and include .gitkeep for tracking
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 2m48s
2025-12-11 12:33:03 +01:00
Julien Froidefond
ad7d03ebef chore: add Watchtower label to prevent automatic updates in docker-compose.yml
Some checks failed
Deploy with Docker Compose / deploy (push) Failing after 1m40s
2025-12-11 12:11:35 +01:00
Julien Froidefond
bd6f071620 chore: rename services in docker-compose.yml for clarity and update environment variable handling
Some checks failed
Deploy with Docker Compose / deploy (push) Failing after 2m32s
2025-12-11 12:03:48 +01:00
Julien Froidefond
3fd3e165e2 chore: update docker-compose port mapping and upgrade Next.js and dependencies in package.json 2025-12-05 10:53:14 +01:00
Julien Froidefond
a6362b6435 feat: add authentication configuration to docker-compose.yml 2025-10-12 16:16:37 +02:00
Julien Froidefond
6db4921d0f feat: add lint:fix command to package.json and update French text for consistency across various components 2025-10-12 16:09:31 +02:00
Julien Froidefond
ad5d954182 feat: add importance property to category breakdown and update team stats structure 2025-10-12 16:03:11 +02:00
Julien Froidefond
7d12a66c12 refactor: migrate authentication to NextAuth and clean up related services 2025-10-12 15:45:09 +02:00
Julien Froidefond
117ac243f5 refactor: review cookie code for auth 2025-08-28 12:07:35 +02:00
Julien Froidefond
725a368b7e feat: homepage and skills : sorting and coloring 2025-08-27 15:02:06 +02:00
Julien Froidefond
84979501fa fix: risk and colors on covergae in myteam page 2025-08-27 14:57:10 +02:00
Julien Froidefond
85b0cb0a6b feat: review UI of skill matrix in myteam page 2025-08-27 14:50:27 +02:00
Julien Froidefond
a8cad0b2ec refactor: rule of coverage are in one place 2025-08-27 14:31:05 +02:00
Julien Froidefond
a5bcdd34fb feat: review admin teams views for importance inclusion 2025-08-27 13:43:47 +02:00
Julien Froidefond
e9aecca2a5 feat: review admin overview and popup details fwith importance 2025-08-27 13:16:39 +02:00
Julien Froidefond
94a18b0ca5 feat: review my team page with importance 2025-08-27 12:56:48 +02:00
Julien Froidefond
88dc00a44b chore: datas are ok and sync also 2025-08-27 12:18:40 +02:00
Julien Froidefond
aee5d74445 feat: importance in db and mentorcard home colors 2025-08-27 11:51:43 +02:00
Julien Froidefond
df1fd24e84 feat: mentor section on homepage 2025-08-27 11:25:00 +02:00
Julien Froidefond
85a1484c01 chore: test data; always same password 2025-08-27 11:10:21 +02:00
Julien Froidefond
c7a5b25501 feat: my team page 2025-08-27 10:53:11 +02:00
Julien Froidefond
b7e6fa257e chore: dockerfile and compose 2025-08-27 09:56:55 +02:00
Julien Froidefond
e475c5b239 fix: no auth possible 2025-08-27 09:56:44 +02:00
Julien Froidefond
03d49aa16a fix: improve skill category syncing and data structure
- Enhanced skill category syncing by ensuring id and name properties are included, boosting data integrity.
- Cleaned up admin exports related to skill categories for better maintainability.
2025-08-26 13:21:08 +02:00
Julien Froidefond
9d11a725d7 fix: clean up admin exports and enhance skill category structure
- Removed unused export for management pages in admin index.
- Added id and name properties to skills being synced from JSON, improving data integrity for skill categories.
2025-08-26 13:06:43 +02:00
Julien Froidefond
ad5aa04d69 chore: dev with turbopack 2025-08-26 07:10:39 +02:00
Julien Froidefond
d7fef0be9b feat: remove a skill category empty 2025-08-26 07:10:26 +02:00
Julien Froidefond
e12816a9c2 fix: double skills cleaning and script 2025-08-25 22:46:36 +02:00
Julien Froidefond
e9232938ce feat: adding skills and remove cloud 2025-08-25 22:34:11 +02:00
Julien Froidefond
2318656a7e feat: enhance skill and user data generation
- Updated loadAllSkills to return both skills and categories, improving data structure.
- Added insertSkillCategories and insertSkills functions for database insertion of skills and categories.
- Modified insertTestUsers to include email and password hash, enhancing user data integrity.
- Improved logging for better visibility during data generation process.
2025-08-25 22:11:17 +02:00
Julien Froidefond
d58ee314f7 feat: remove user even if in a team 2025-08-25 22:04:39 +02:00
Julien Froidefond
e8138ebcb3 fix: update delete button behavior in TreeCategoryHeader and TeamsList
- Removed unnecessary canDelete prop from TreeCategoryHeader's delete button condition.
- Added disabled state to the delete button based on canDelete logic.
- Updated canDelete prop in TeamsList to reflect whether the direction has members.
2025-08-25 22:00:40 +02:00
Julien Froidefond
3b8f3e4110 feat: total members on direction line manage 2025-08-25 21:57:18 +02:00
Julien Froidefond
565fde2808 refactor: no XHR for currentUser but backside 2025-08-25 21:47:15 +02:00
Julien Froidefond
5e1e06be47 perf: homepage 2025-08-25 21:30:35 +02:00
Julien Froidefond
a440c0729f refactor: remove unused components and clean up evaluation client
- Deleted CreateSkillForm and ProfileForm components as they are no longer needed.
- Removed the initializeEmptyEvaluation method from EvaluationClient, as the backend handles evaluation creation.
- Updated exports in evaluation index to reflect the removal of WelcomeEvaluationScreen.
2025-08-25 19:31:17 +02:00
Julien Froidefond
abd0de9f12 feat: add logout functionality to navigation component
- Integrated logout feature in the navigation dropdown using authClient.
- Implemented toast notifications for successful logout and error handling.
- Redirected users to the login page post-logout for improved user experience.
2025-08-25 19:14:56 +02:00
Julien Froidefond
42217c1c13 feat: enhance user authentication and profile retrieval
- Updated GET handler in auth route to fetch user UUID from cookie using AuthService.
- Improved error handling for unauthenticated and non-existent users.
- Added team name retrieval for the user profile, with fallback handling.
- Refactored AuthClient to return detailed user information including team details.
- Enhanced navigation component to use a dropdown menu for user actions, improving UI/UX.
- Implemented loading state in UserContext to manage user info fetching.
2025-08-25 16:33:10 +02:00
Julien Froidefond
49804c0fa1 fix: auto-login user after successful registration
- Updated AuthWrapper to automatically log in the user upon successful registration.
- Added toast notification for user feedback during the redirection process.
- Redirects user to the home page after registration completion.
2025-08-25 16:22:09 +02:00
Julien Froidefond
5c71ce1a54 refactor: update authentication flow and cookie management
- Changed COOKIE_NAME from "peakSkills_userId" to "session_token" for better clarity.
- Updated AuthClient to handle login and registration with new data structures.
- Enhanced AuthWrapper to manage user sessions and display appropriate messages.
- Added error handling in LoginForm and RegisterForm for better user feedback.
- Refactored user service methods to streamline user creation and verification processes.
2025-08-25 16:19:31 +02:00
Julien Froidefond
caf396d964 feat: adding login/RegisterForm and new columns in PG 2025-08-25 14:02:07 +02:00
Julien Froidefond
ee58eb82e5 refactor: auth service for logic in evaluation skill PUT 2025-08-25 10:50:39 +02:00
Julien Froidefond
d575596c71 fix: login was KO by profile 2025-08-25 10:48:13 +02:00
Julien Froidefond
9a818b7205 refactor: SSR on page teams and split getAdminData 2025-08-25 09:20:36 +02:00
Julien Froidefond
0c7903bcb2 refactor: SSR on skills management 2025-08-25 09:04:33 +02:00
Julien Froidefond
e02af4f992 chore: readme reset 2025-08-25 08:40:04 +02:00
Julien Froidefond
a5e5a75561 refactor: use services in routes plz 2025-08-25 08:38:56 +02:00