security fix and fix parent pages
API CI/CD / Validate (composer + pint) (push) Successful in 3m7s
API CI/CD / Test (PHPUnit) (push) Failing after 5m46s
API CI/CD / Build frontend assets (push) Successful in 1m2s
API CI/CD / Security audit (push) Failing after 49s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped

This commit is contained in:
root
2026-07-06 02:14:16 -04:00
parent 39228168c8
commit 90f9857b06
43 changed files with 4323 additions and 132 deletions
@@ -16,6 +16,7 @@ class ClassProgressIndexRequest extends ClassProgressFormRequest
return [
'class_section_id' => ['nullable', 'integer', 'min:1'],
'teacher_id' => ['nullable', 'integer', 'min:1'],
'school_year_id' => ['nullable', 'integer', 'min:1'],
'school_year' => ['nullable', 'string', 'max:20'],
'semester' => ['nullable', 'string', 'max:20'],
'week_start' => ['nullable', 'date_format:Y-m-d'],
@@ -16,6 +16,7 @@ class FamilyAdminCardRequest extends ApiFormRequest
return [
'student_id' => ['nullable', 'integer', 'min:1'],
'guardian_id' => ['nullable', 'integer', 'min:1'],
'school_year' => ['nullable', 'string', 'max:20'],
'family_id' => ['nullable', 'integer', 'min:1'],
];
}
@@ -16,6 +16,7 @@ class FamilyAdminIndexRequest extends ApiFormRequest
return [
'student_id' => ['nullable', 'integer', 'min:1'],
'guardian_id' => ['nullable', 'integer', 'min:1'],
'school_year' => ['nullable', 'string', 'max:20'],
];
}
}
@@ -10,6 +10,7 @@ class ParentAttendanceRequest extends ApiFormRequest
{
return [
'school_year' => ['nullable', 'string', 'max:20'],
'school_year_id' => ['nullable', 'integer'],
];
}
}