Commit Graph

74 Commits

Author SHA1 Message Date
root e0dfc3ec82 Fixed many feature failures around preferences, route coverage, administrator enrollment, assignment section names, attendance tracking controller access, finance PDF generation, and finance notification logging.
API CI/CD / Validate (composer + pint) (push) Successful in 3m15s
API CI/CD / Test (PHPUnit) (push) Failing after 5m4s
API CI/CD / Build frontend assets (push) Successful in 1m3s
API CI/CD / Security audit (push) Failing after 49s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped
2026-07-07 21:26:47 -04:00
root e13df69885 fix unittests issues
API CI/CD / Validate (composer + pint) (push) Successful in 3m6s
API CI/CD / Test (PHPUnit) (push) Failing after 4m53s
API CI/CD / Build frontend assets (push) Successful in 1m2s
API CI/CD / Security audit (push) Failing after 59s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped
2026-07-07 20:56:32 -04:00
root f83f21936f fix test issues
API CI/CD / Validate (composer + pint) (push) Successful in 3m30s
API CI/CD / Test (PHPUnit) (push) Failing after 5m4s
API CI/CD / Build frontend assets (push) Successful in 1m1s
API CI/CD / Security audit (push) Failing after 49s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped
2026-07-07 09:06:42 -04:00
root 3fde161f29 fix failed tests
API CI/CD / Validate (composer + pint) (push) Successful in 3m6s
API CI/CD / Test (PHPUnit) (push) Failing after 6m55s
API CI/CD / Build frontend assets (push) Successful in 1m2s
API CI/CD / Security audit (push) Failing after 50s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped
2026-07-07 04:12:02 -04:00
root 031e499819 fix apply the plan docs/alrahma_api_fix_plan_school_year_only_v7
API CI/CD / Validate (composer + pint) (push) Successful in 3m10s
API CI/CD / Test (PHPUnit) (push) Failing after 6m49s
API CI/CD / Build frontend assets (push) Successful in 1m3s
API CI/CD / Security audit (push) Failing after 1m0s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped
2026-07-07 01:52:29 -04:00
root 58726ee0e9 fix tables to have school year, and remove school year from other tables.
API CI/CD / Validate (composer + pint) (push) Successful in 3m6s
API CI/CD / Test (PHPUnit) (push) Failing after 5m48s
API CI/CD / Build frontend assets (push) Successful in 1m2s
API CI/CD / Security audit (push) Failing after 1m33s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped
2026-07-06 22:27:21 -04:00
root 304fa6bfd0 fix test issues
API CI/CD / Validate (composer + pint) (push) Successful in 3m5s
API CI/CD / Test (PHPUnit) (push) Failing after 7m12s
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
2026-07-06 02:39:13 -04:00
root 90f9857b06 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
2026-07-06 02:14:16 -04:00
root 39228168c8 add school year and security fix
API CI/CD / Validate (composer + pint) (push) Successful in 3m14s
API CI/CD / Test (PHPUnit) (push) Failing after 3m28s
API CI/CD / Build frontend assets (push) Successful in 1m2s
API CI/CD / Security audit (push) Failing after 56s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped
2026-07-06 00:55:01 -04:00
root 99782c2a3c remove unecessary folders
API CI/CD / Validate (composer + pint) (push) Successful in 3m3s
API CI/CD / Test (PHPUnit) (push) Failing after 2m1s
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
2026-07-05 15:17:56 -04:00
root cccc2872cd fix calendar page
API CI/CD / Validate (composer + pint) (push) Successful in 3m9s
API CI/CD / Test (PHPUnit) (push) Failing after 2m0s
API CI/CD / Build frontend assets (push) Failing after 1m55s
API CI/CD / Security audit (push) Failing after 55s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped
2026-07-05 14:18:40 -04:00
root 5e35fefd69 fix test errors
API CI/CD / Validate (composer + pint) (push) Successful in 2m47s
API CI/CD / Test (PHPUnit) (push) Failing after 3m8s
API CI/CD / Build frontend assets (push) Failing after 5m22s
API CI/CD / Security audit (push) Failing after 34s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped
2026-06-26 15:37:03 -04:00
root 2ad6e9cf02 tests fix
API CI/CD / Validate (composer + pint) (push) Successful in 2m51s
API CI/CD / Test (PHPUnit) (push) Failing after 3m6s
API CI/CD / Build frontend assets (push) Failing after 5m23s
API CI/CD / Security audit (push) Failing after 34s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped
2026-06-25 21:41:19 -04:00
root 7638932540 remaining failures are now broader contract/workflow assertions and route/API behavior issues
API CI/CD / Validate (composer + pint) (push) Successful in 2m47s
API CI/CD / Test (PHPUnit) (push) Failing after 3m5s
API CI/CD / Build frontend assets (push) Failing after 5m22s
API CI/CD / Security audit (push) Failing after 34s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped
2026-06-25 19:28:01 -04:00
root 181ac9e94e fix(ci): fix autoloading and bootstrap cache issues causing test failures
API CI/CD / Validate (composer + pint) (push) Successful in 2m8s
API CI/CD / Test (PHPUnit) (push) Failing after 54s
API CI/CD / Build frontend assets (push) Successful in 53s
API CI/CD / Security audit (push) Successful in 33s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped
Three changes:
1. Add composer dump-autoload after composer install in all jobs
   (validate, test, security) — ensures fresh autoloader mapping
2. Replace config:clear + view:clear with optimize:clear in test job
   — clears bootstrap/cache (services.php, packages.php) which
   caused 'Class not found' for Sanctum\Guard, 'not instantiable'
   for AttendanceMailerService, and 'factory() undefined' for User
3. Add explicit $incrementing = true to Configuration model
   — ensures Eloquent treats id as auto-increment (belt-and-suspenders
   for SQLite NOT NULL constraint failures)
2026-06-25 17:27:53 -04:00
root 940afe9319 fix unit tests as well as missing code
API CI/CD / Validate (composer + pint) (push) Successful in 2m7s
API CI/CD / Test (PHPUnit) (push) Failing after 2m23s
API CI/CD / Build frontend assets (push) Successful in 2m18s
API CI/CD / Security audit (push) Successful in 31s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped
2026-06-25 14:26:32 -04:00
root fdfcd1f0e2 fix: ensure sanctum guard driver is always registered
API CI/CD / Validate (composer + pint) (push) Successful in 2m6s
API CI/CD / Build frontend assets (push) Successful in 2m20s
API CI/CD / Security audit (push) Successful in 32s
API CI/CD / Test (PHPUnit) (push) Failing after 2m17s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped
Two changes:

1. app/Http/Middleware/TeacherPortalAuthenticate.php:
   - Added try-catch around Auth::guard('sanctum')->user() to match
     the defensive pattern used by MultiAuth and
     EnsurePrintRequestsAdminAccess middleware.

2. app/Providers/AppServiceProvider.php:
   - Added Auth::resolved() callback to re-register the sanctum guard
     driver as a safety net. This ensures the driver is available even
     when a stale cached config lacks the auth.guards.sanctum entry,
     or when SanctumServiceProvider::configureGuard() runs before
     the AuthManager is ready to accept custom guard creators.
2026-06-24 22:17:45 -04:00
root 36101b78d3 fix: guard Auth::guard('sanctum') call with try-catch in TeacherPortalAuthenticate
API CI/CD / Validate (composer + pint) (push) Successful in 2m7s
API CI/CD / Test (PHPUnit) (push) Failing after 2m17s
API CI/CD / Build frontend assets (push) Successful in 2m13s
API CI/CD / Security audit (push) Successful in 32s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped
The TeacherPortalAuthenticate middleware called Auth::guard('sanctum')
without a try-catch, unlike MultiAuth and EnsurePrintRequestsAdminAccess
which already handle the InvalidArgumentException gracefully when the
sanctum guard driver is not yet registered.

This caused 'Auth guard [sanctum] is not defined' errors in tests when
the SanctumServiceProvider's driver registration hadn't completed before
middleware execution.
2026-06-24 02:33:06 -04:00
root 2e0bc37d91 fix the tests failure
API CI/CD / Validate (composer + pint) (push) Successful in 2m6s
API CI/CD / Test (PHPUnit) (push) Failing after 2m16s
API CI/CD / Build frontend assets (push) Successful in 2m15s
API CI/CD / Security audit (push) Successful in 32s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped
2026-06-24 00:34:58 -04:00
root 268548faed Add AUTOINCREMENT to SqliteCompat PRIMARY KEY for SQLite compatibility
API CI/CD / Validate (composer + pint) (push) Successful in 2m6s
API CI/CD / Test (PHPUnit) (push) Failing after 2m27s
API CI/CD / Build frontend assets (push) Successful in 2m14s
API CI/CD / Security audit (push) Successful in 32s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped
2026-06-22 00:00:49 -04:00
root 5ead80fdc7 fix tests 2026-06-11 11:46:12 -04:00
root c91fa2ce4d fix inventory 2026-06-11 11:06:32 -04:00
root 9483750161 archetecture security fix 2026-06-11 03:22:12 -04:00
root 6def9993da fix gitlab tests 2026-06-09 02:32:58 -04:00
root 20a0b6c4e5 Fix Pint formatting 2026-06-09 01:25:14 -04:00
root 6be4875c5e add tests batch 20 2026-06-09 01:03:53 -04:00
root b5fd4a4ca1 Fix Laravel Pint formatting 2026-06-09 00:03:03 -04:00
root 8d4d610b82 add test batches 2026-06-08 23:45:55 -04:00
root c792b8be05 Fix Laravel Pint formatting 2026-06-08 23:30:22 -04:00
root 60ecacb7f8 update tests 2026-06-08 22:06:30 -04:00
root 68a5c9edca update the new school year model 2026-06-07 20:01:58 -04:00
root 6866aedf42 add school year model 2026-06-07 00:52:01 -04:00
root a192ed433d badge creation 2026-06-05 17:16:38 -04:00
root ad968eaff7 fix financial and certificates 2026-06-05 01:51:08 -04:00
root d28d11e2e5 fix attendance 2026-06-04 20:49:14 -04:00
root 6fa656bb6c fix teacher page 2026-06-04 19:26:24 -04:00
root 5e5fe3794a fix api security issues and update pages issue 2026-06-04 16:41:19 -04:00
root feb6be0610 fix exam and grading 2026-06-04 13:25:31 -04:00
root b4e6ac03c5 remove codeigniter 2026-06-04 02:41:08 -04:00
root 4e33882ac7 update api and add more features 2026-06-04 02:24:41 -04:00
root fa6c9519a0 add certificates 2026-05-18 00:07:30 -04:00
root df5266c5b5 add grading, attendnace management 2026-04-29 17:39:33 -04:00
root 8beeed883f update exam and attendance 2026-04-26 14:57:43 -04:00
root 5e8fa682b9 fix class progress admin side 2026-04-25 21:56:33 -04:00
root 5c544f93b9 add badge logic 2026-04-25 01:23:21 -04:00
root eafe4eb134 fix parent, teacher and admin pages 2026-04-25 00:00:23 -04:00
root 4cd98f1d30 add usercontroller fix 2026-04-24 12:52:30 -04:00
root 7216cb2885 fix teacher and parent routes 2026-04-24 02:12:01 -04:00
root 5128c74892 fix login issues 2026-04-23 15:30:50 -04:00
root ca4ba272fc update controllers logic 2026-04-23 00:04:35 -04:00