Commit Graph

48 Commits

Author SHA1 Message Date
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 baa6fff459 fix tests isssues
API CI/CD / Validate (composer + pint) (push) Successful in 2m6s
API CI/CD / Test (PHPUnit) (push) Failing after 2m24s
API CI/CD / Build frontend assets (push) Successful in 2m25s
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:56:12 -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 048d48de6a fix: move badge routes outside multi.auth middleware group and apply it explicitly
API CI/CD / Validate (composer + pint) (push) Successful in 2m7s
API CI/CD / Build frontend assets (push) Successful in 2m26s
API CI/CD / Security audit (push) Successful in 32s
API CI/CD / Test (PHPUnit) (push) Failing after 2m22s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped
The badge route group (form-data, pdf, print-status, log-print) was
accidentally nested inside the multi.auth middleware group that
started at line 567 (for legacy teacher routes). This caused:

1. All badge routes to inherit multi.auth middleware, which
   calls Auth::guard('sanctum')->user() at every request
2. Auth guard [sanctum] not defined errors when the sanctum
   driver wasn't yet registered (config cache / provider order)

Fix: close the large multi.auth group BEFORE the badge routes,
then apply middleware('multi.auth') explicitly to the badge
prefix group. This keeps auth on badge endpoints but avoids
the accidental nesting issue.
2026-06-23 01:29:46 -04:00
root f82017cb91 fir 61 failed tests
API CI/CD / Validate (composer + pint) (push) Successful in 2m6s
API CI/CD / Test (PHPUnit) (push) Failing after 2m33s
API CI/CD / Build frontend assets (push) Successful in 2m20s
API CI/CD / Security audit (push) Successful in 32s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped
2026-06-23 00:39:26 -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 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 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 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 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 ca4ba272fc update controllers logic 2026-04-23 00:04:35 -04:00
root 1977a513df fix student registration 2026-03-26 16:04:03 -04:00
root c582bfc242 update emergency contact student controller 2026-03-25 17:59:40 -04:00
root 33be0c9a0d add class progress and fix endpoints 2026-03-12 17:27:49 -04:00
root 0f39dbee62 fix endpoints 2026-03-11 23:32:54 -04:00
root 863e330dd8 fix some responses 2026-03-11 18:44:16 -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
root f6be51576c add refund and event logic 2026-03-10 23:12:49 -04:00
root 25e7b3c67c add inventory and supply logic 2026-03-10 18:21:08 -04:00
root 17d73e2f92 add family logic 2026-03-10 17:52:47 -04:00
root a82f7aedbc add report card logic 2026-03-10 17:33:03 -04:00
root c235fd2170 add role permission logic 2026-03-10 17:11:48 -04:00
root abebe0d9c0 add school calendar logic 2026-03-10 16:55:50 -04:00
root 311bb93977 add SessionTimeout logic 2026-03-10 16:45:08 -04:00
root 2e9a391280 add stickers logic 2026-03-10 16:40:11 -04:00
root 3bf4c687da add whatsup logic 2026-03-10 16:31:35 -04:00
root 20ee70d153 add more controller 2026-03-10 00:48:32 -04:00
root 1cb3573d4b add more controllers and fix tests 2026-03-09 16:02:30 -04:00
root d76c871cb7 add controllers, servoices 2026-03-09 02:52:13 -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