Commit Graph

4 Commits

Author SHA1 Message Date
Yoga Pangestu
86ea75ec91 feat: implement authorization checks for various requests in academic and user management 2026-08-31 14:41:25 +07:00
Yoga Pangestu
07a00a92a2 Refactor lecturer management to support multiple departments
Some checks failed
tests / ci (pull_request) Has been cancelled
- Updated LecturerController to load multiple departments for lecturers.
- Modified LecturerRequest to accept an array of department IDs instead of a single department ID.
- Changed Department model to establish a many-to-many relationship with Lecturer.
- Adjusted Lecturer model to reflect the new many-to-many relationship with Department.
- Updated LecturerService to handle multiple departments during creation and updates.
- Created LecturerFactory and StudentFactory for generating test data.
- Added a migration for the new lecturer_department pivot table.
- Refactored seeder classes to accommodate the new structure for lecturers and departments.
- Enhanced frontend components for creating and editing lecturers to support multiple department selection.
2026-08-30 12:18:13 +07:00
Yoga Pangestu
b59804342b feat: implement HasValues trait for enums and update related code for consistency
Some checks failed
tests / ci (pull_request) Has been cancelled
2026-08-25 19:15:40 +07:00
Yoga Pangestu
2885de2c20 feat: add lecturer and student management pages with CRUD functionality
- Implemented LecturerEdit and LecturerIndex components for managing lecturers.
- Created StudentCreate and StudentEdit components for adding and editing students.
- Developed StudentIndex component for listing students with search and pagination.
- Added department and user types for better type safety.
- Updated routes for lecturers and students, including reset password functionality.
- Removed AppSidebar from dashboard for a cleaner layout.
2026-08-21 14:14:01 +07:00