Commit Graph
59 Commits
Author SHA1 Message Date
Shaun Hamilton 423db476de chore(api): enable exam environment endpoints in prod (#57604) 2024-12-19 15:13:39 +05:30
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
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
Huyen NguyenandOliver Eyton-Williams 0ba9eeff43 refactor(api, curriculum): use the shared shuffleArray util (#56444)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2024-10-02 08:55:38 -05:00
Lars Kappert d32e57813e chore: update Knip to v5 (#56244) 2024-09-26 13:12:00 +02:00
Oliver Eyton-Williams e94080add5 feat(api): implement authorization code flow in the new api (#55413) 2024-07-24 20:08:10 +03:00
Ahmad AbdolsahebandOliver Eyton-Williams 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 5fcdfe0ec2 fix(api): control host with env var (#55439) 2024-07-08 18:09:18 +05:30
Oliver Eyton-WilliamsandShaun Hamilton 197becc52a fix(api): handle concurrent challenge submissions (#55336)
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2024-06-27 12:08:53 +00: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-WilliamsandNiraj Nandish 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 19b5134732 fix(api): use challenge helper to update completed challenges (#55046) 2024-06-20 10:44:55 +02:00
Oliver Eyton-WilliamsandShaun Hamilton 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
Oliver Eyton-WilliamsandShaun Hamilton 84a41a4da8 feat(api): finish update-my-email endpoint (#54921)
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2024-06-03 09:08:42 +02:00
Oliver Eyton-Williams dae7701b1a fix(api): reset all claimed certs during reset (#54883) 2024-05-28 09:03:43 -07:00
Oliver Eyton-Williams 6fe2b0811f fix(mailhog): use docker network address in containers (#54877) 2024-05-23 11:21:32 +02:00
Oliver Eyton-Williams e877b9208c fix(api): give expected default if field missing (#54807) 2024-05-22 14:43:13 +03:00
Oliver Eyton-Williams d06bbab6f8 refactor(api): more, smaller tests (#54671) 2024-05-20 11:18:14 -07:00
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
Oliver Eyton-Williams fc6498eddf fix(api): return missing isXCertified (#54627) 2024-05-03 09:25:10 +02:00
Oliver Eyton-Williams 9c0de67a1e fix(api): allow server to be run from any dir (#54610) 2024-05-02 12:12:09 -07:00
Oliver Eyton-Williams 84a81c842b fix(api): remove cookie domain in development (#54518) 2024-04-26 08:32:46 -07:00
Oliver Eyton-Williams 28f45b51dd fix(api): consistent responses from certificate/showCert (#54426) 2024-04-25 14:02:59 +02:00
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-WilliamsandTom 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
Oliver Eyton-WilliamsandmoT01 efb8cafb06 chore: copy redirect + tests to new api (#53999)
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2024-03-15 08:21:05 -05:00
TomandShaun Hamilton 2183ae4d89 feat(api): add multifile python projects to new api (#53931)
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2024-03-11 15:58:09 +01:00
Niraj NandishandTom 0577deb64f feat(api): submit survey endpoint (#53934)
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2024-03-11 10:56:34 +01:00
Oliver Eyton-Williams 9f71d1c3ac test: stop mocking env vars in jest.utils (#53985) 2024-03-07 08:36:06 +01:00
Shaun HamiltonandOliver Eyton-Williams 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
Tom 1efb22cd34 feat(api): add POST /exam-challenge-completed (#52395) 2023-12-27 20:40:30 +05:30
Oliver Eyton-Williams 3940eddbbb fix(api): trim trailing space if no reporter name (#52199) 2023-11-03 16:38:19 +01:00
Oliver Eyton-WilliamsandTom 135812162e feat(api): POST /ms-trophy-challenge-completed (#51808)
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2023-11-03 10:00:55 +01:00
Tom 46375c6dd6 feat(api): add exam utils and GET /exam/:id endpoint to new api (#51609) 2023-10-26 13:35:09 +05:30
Marcel Ribeiro-DantasandMuhammed Mustafa 21ac8999af docs/fix(typos): Fix minor typos in English (#51853)
Co-authored-by: Muhammed Mustafa <muhammed@freecodecamp.org>
2023-10-14 04:16:15 +00:00
Niraj NandishandOliver Eyton-Williams 70741db619 feat(api): report user endpoint (#51170)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-10-11 20:49:05 +05:30
Oliver Eyton-Williams 948b7c52c2 fix(api): generate required properties for new users (#51822) 2023-10-07 10:50:30 +00:00
Ahmad AbdolsahebandOliver Eyton-Williams 0060e78715 feat(api): add POST /donate/charge-stripe-card (#51348)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-10-06 12:56:26 +00:00
2d2684ac8b feat(api): create save challenge route (#50040)
Co-authored-by: Niraj Nandish <nirajnandish@icloud.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-09-30 23:26:57 +05:30
Oliver Eyton-Williams 5cb22dca84 refactor(api): error formatting (#51595) 2023-09-19 15:55:35 -05:00
Oliver Eyton-Williams 391fc2e34d refactor: create shared workspace (#51454) 2023-09-07 23:06:01 +05:30
b0022fc45f feat(api): modern challenge submission endpoint (#50998)
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Muhammed Mustafa <muhammed@freecodecamp.org>
2023-08-31 14:58:58 +02:00
d31e910f3a feat: coderoad endpoint (#50636)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2023-08-24 21:23:04 +05:30
Oliver Eyton-WilliamsandNaomi Carrigan f3da82518a feat(api): email service (#50637)
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
2023-08-04 18:57:59 -07:00
Naomi CarriganandOliver Eyton-Williams 0aa1ad0d09 feat: require JSDoc in new api (#50429)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-08-03 21:50:54 +05:30
Niraj Nandish 29556804b0 fix: update already completed challenge (#51017) 2023-07-25 12:42:37 -07:00
Oliver Eyton-Williams 9441f781fd refactor: move challenge types to config (#51027) 2023-07-24 13:12:47 -07:00
Niraj NandishandOliver Eyton-Williams 260d64a0ed fix(api): getChallenges helper function (#51011)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-07-19 13:10:32 +02:00