Commit Graph

7 Commits

Author SHA1 Message Date
Yoga Pangestu
5994f38f01 feat: implement permission checks for academic terms, courses, departments, and user management
- Added permission checks for creating, updating, and deleting academic terms, courses, and departments.
- Updated the routes to enforce permissions for various actions in the admin panel.
- Enhanced user management by adding permissions for administrators, lecturers, and students.
- Refactored components to conditionally render actions based on user permissions.
- Updated the auth type to include optional permissions array for user roles.
2026-08-30 23:27:31 +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
982051ee2e feat: add active status management for academic terms, users, and students with new UpdateStatusRequest
Some checks failed
tests / ci (pull_request) Has been cancelled
2026-08-30 11:18:20 +07:00
Yoga Pangestu
9c03876a71 feat: implement user status management with active/inactive toggle
Some checks failed
tests / ci (pull_request) Has been cancelled
2026-08-30 11:08:08 +07:00
Yoga Pangestu
79261bd0e0 feat: update terminology from 'password' to 'kata sandi' across various components and pages
Some checks failed
tests / ci (pull_request) Has been cancelled
2026-08-26 00:57:49 +07:00
Yoga Pangestu
1012127196 feat: add GenderBadge and StudentStatusBadge components; update user columns to utilize new badges
Some checks failed
tests / ci (pull_request) Has been cancelled
2026-08-26 00:51:22 +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