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
5ead80fdc7
fix tests
2026-06-11 11:46: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
6866aedf42
add school year model
2026-06-07 00:52:01 -04:00
root
5e5fe3794a
fix api security issues and update pages issue
2026-06-04 16:41:19 -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
ca4ba272fc
update controllers logic
2026-04-23 00:04:35 -04:00
root
2ef71cc92b
add all controllers logic
2026-03-11 17:53:15 -04:00
root
182036cc41
add notifications logic and add support of both JWT and Sanctum
2026-03-11 01:20:31 -04:00