Commit Graph

69 Commits

Author SHA1 Message Date
Oliver Eyton-Williams
bed3811952 feat(api): migrate to esm (#61915) 2025-09-19 13:28:06 +05:30
Oliver Eyton-Williams
d781102513 feat(api): add more debug logging (#61980) 2025-08-29 03:55:16 -07:00
Mrugesh Mohapatra
45c098d506 feat(api): s/jest/vitest/g (#61863)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2025-08-25 22:57:56 +05:30
Shaun Hamilton
d88691bc8a breaking(api): remove screenshot api (#61300) 2025-07-22 08:28:13 -07:00
Tom
29cd2d227d feat(api): daily challenge api (#61346)
Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
2025-07-17 02:34:46 -07:00
Mrugesh Mohapatra
44e734398f fix(env): remove unused keys (#60878) 2025-06-15 19:16:30 +05:30
Oliver Eyton-Williams
89402caa9d chore(api): migrate to fastify v5 (#57576) 2025-06-02 08:07:57 +05:30
Shaun Hamilton
00264908e8 fix(api): remove authn requirement for coderoad challenges (#60425)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2025-05-19 16:23:43 +05:30
Mrugesh Mohapatra
008e35d851 fix(api): update logging (#60187) 2025-05-06 20:46:36 +05:30
Shaun Hamilton
46b910ee40 dev(api): add build options to test env (#59957) 2025-04-24 22:33:49 +05:30
Oliver Eyton-Williams
37028f2bb8 chore(api): log growthbook initialization failures (#59889)
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2025-04-22 18:36:27 +02:00
Niraj Nandish
dac7fa3a14 feat(api): exam screenshot service (#56940)
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2025-02-18 09:24:54 +00:00
Shaun Hamilton
7760309f93 fix(api): only treat undefined as unset (#58120) 2025-01-14 09:37:52 -08:00
Shaun Hamilton
9adc0a621d feat(api): add growthbook (#57950) 2025-01-08 15:35:58 -08:00
Shaun Hamilton
55deb556ce feat(api): add sentry event route 2025-01-02 18:21:54 +05:30
Oliver Eyton-Williams
5c37562728 fix(api): specify openapi version (#56781) 2024-10-22 11:15:19 +02:00
Oliver Eyton-Williams
f2ec6d6dd5 feat(api): env var to control exam environment (#56701) 2024-10-16 21:48:04 +02:00
Shaun Hamilton
7f1a6e553f chore(api): add request/response shadow dev tool (#56628) 2024-10-11 09:32:20 -07:00
Oliver Eyton-Williams
a7296c7983 fix(api): cookie values for swagger ui (#56620) 2024-10-09 10:05:54 -07:00
Shaun Hamilton
ea44135808 feat(api): add exam-environment endpoints (#55662)
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2024-10-04 09:20:18 -05:00
Oliver Eyton-Williams
ced457fed5 refactor: move CSRF code into plugin (#56447) 2024-10-04 12:56:04 +00:00
Oliver Eyton-Williams
cb4061c250 feat(api): redirect on error if request ACCEPTs html (#56445) 2024-10-03 16:10:25 -07:00
Oliver Eyton-Williams
274680dbdb refactor: separate public and private plugins (#56359) 2024-10-02 13:52:02 +02:00
Oliver Eyton-Williams
3654a297fd refactor: use fastify/rate-limit, drop express (#56328) 2024-09-30 16:13:17 +02:00
Lars Kappert
d32e57813e chore: update Knip to v5 (#56244) 2024-09-26 13:12:00 +02:00
Oliver Eyton-Williams
609cdb0c4a feat(api): redirect auth requests if already signed in (#55829) 2024-08-14 18:53:20 +05:30
Oliver Eyton-Williams
e9ac6c5e72 fix(api): modularize auth handlers (#55671) 2024-08-08 23:05:25 +05:30
Oliver Eyton-Williams
e94080add5 feat(api): implement authorization code flow in the new api (#55413) 2024-07-24 20:08:10 +03:00
Ahmad Abdolsaheb
b2518cc347 feat(api): add charge-stripe and create-stripe-payment-intent endpoints (#54545)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2024-07-15 15:23:51 +02:00
Oliver Eyton-Williams
33eed5bb31 refactor(api): encapsulate auth/csrf hooks (#55481) 2024-07-12 09:22:58 +02:00
Oliver Eyton-Williams
e8b15a255b feat(api): handle missing endpoints (#55429) 2024-07-08 13:07:16 +02:00
Oliver Eyton-Williams
fbf28bbb4c fix(api): remove / handler (#55428) 2024-07-05 20:50:53 -07:00
Oliver Eyton-Williams
669b4908b1 fix(api): CSRF-token should not be httpOnly (#55365) 2024-07-01 21:54:01 +02:00
Oliver Eyton-Williams
a22e90c10d fix(api): use generic error message if CSRF error (#55264) 2024-06-27 10:47:23 +02:00
Oliver Eyton-Williams
512547e76c refactor(api): sensible default cookie config (#55227) 2024-06-27 08:44:47 +00:00
Oliver Eyton-Williams
22e74e6406 feat(api): port /confirm-email to new api (#54975)
Co-authored-by: Niraj Nandish <nirajnandish@icloud.com>
2024-06-27 10:07:53 +02:00
Oliver Eyton-Williams
4c412bff9a chore(api): remove unused session handling (#55240) 2024-06-20 20:18:16 +02:00
Oliver Eyton-Williams
517a351a28 feat(api): send errors to Sentry (#55208)
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2024-06-19 17:36:41 +05:30
Oliver Eyton-Williams
14df93bcef fix(api): use generic error handler with Sentry (#55176) 2024-06-13 22:48:16 +05:30
Oliver Eyton-Williams
a8f7e15dc2 feat(api): api/users/get-public-profile (#54729)
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2024-06-10 12:46:55 -05:00
Tom
acb38ca4e2 feat(api): add email subscription endpoints to new API (#54000)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2024-05-07 11:31:39 +00:00
Muhammed Mustafa
086ff36333 feat(api): get certslug route (#50515)
Co-authored-by: Sboonny <muhammed@freecodecamp.org>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2024-04-11 12:27:46 +05:30
Oliver Eyton-Williams
aacfb281fb feat(api): use jwt_access_token (in development) (#53997)
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2024-03-20 13:47:12 +02:00
Shaun Hamilton
bbc1ffa489 feat(api): add PUT /certificate/verify (#51507)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2024-02-28 16:01:35 +00:00
Oliver Eyton-Williams
056ac85e52 chore: delete auth0 PKCE routes (#53820) 2024-02-22 22:44:13 +05:30
Niraj Nandish
be00d5f3bb feat: mobile login enpoint (#51829)
Co-authored-by: Mrugesh Mohapatra <noreply@mrugesh.dev>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-11-08 19:07:57 +00:00
Shaun Hamilton
3cc47929cf fix: remove unused ts-ignore 2023-11-08 10:11:28 +02:00
Oliver Eyton-Williams
a23a92fb8a feat(api): allow client to signin/signout (#51679) 2023-10-04 09:34:23 -05:00
Oliver Eyton-Williams
25ff25e74f feat(api): remove csrf protection from get-session-user (#51615) 2023-10-03 16:17:00 -05:00
Oliver Eyton-Williams
f3da82518a feat(api): email service (#50637)
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
2023-08-04 18:57:59 -07:00