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
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
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
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
root
33be0c9a0d
add class progress and fix endpoints
2026-03-12 17:27:49 -04:00
root
2ef71cc92b
add all controllers logic
2026-03-11 17:53:15 -04:00
root
3e6c577085
add services logic
2026-03-11 01:38:20 -04:00
root
182036cc41
add notifications logic and add support of both JWT and Sanctum
2026-03-11 01:20:31 -04:00
root
79e44fe037
fix logic and tests, update docker CI file
2026-03-09 16:03:16 -04:00
root
c8de5f7edc
reconstruction of the project
2026-03-08 16:33:24 -04:00
root
23b7db1107
add projet
2026-03-05 12:29:37 -05:00