Commit Graph

45 Commits

Author SHA1 Message Date
Oliver Eyton-Williams
087d17abe6 feat(api): copy /api endpoints (#59283)
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2025-04-04 11:55:43 +00:00
Shaun Hamilton
55deb556ce feat(api): add sentry event route 2025-01-02 18:21:54 +05:30
Huyen Nguyen
ba70f5d253 feat(api): add /submit-quiz-attempt endpoint (#57201) 2024-12-06 12:45:12 -06: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
7345989917 refactor(api): import add-donation schema (#55876) 2024-08-19 13:30:02 +02:00
Ahmad Abdolsaheb
a1c12847e4 feat(api): add update-stripe-card endpoint (#55548)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2024-08-05 18:52:03 -05: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
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
8bcf080ad2 feat(api): GET /api/users/exists (#54875) 2024-06-12 12:01:17 -05:00
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
Oliver Eyton-Williams
ab2f5a3004 refactor(api): simplify schema export (#54722) 2024-05-10 08:53:38 +02: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
Shaun Hamilton
133f07becd chore(api): refactor schemas into individual files (#54350) 2024-04-11 14:45:56 +02: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
Niraj Nandish
f6ae52f6fe fix(api): send msUsername in get session user endpoint (#54050)
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2024-03-28 18:14:31 +02:00
Shaun Hamilton
c333a74e77 fix(api): update backend project validation (#54218)
Co-authored-by: Sem Bauke <semboot699@gmail.com>
2024-03-28 10:54:29 +01:00
Sem Bauke
e8e9f40cc5 feat(api): update my classroom mode (#54009) 2024-03-19 15:42:28 +02:00
Niraj Nandish
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
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
Tom
1efb22cd34 feat(api): add POST /exam-challenge-completed (#52395) 2023-12-27 20:40:30 +05:30
renovate[bot]
87e1ae21a5 chore: update TS and Fastify (#52157)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Sboonny <muhammedelruby@gmail.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-11-07 17:22:59 +05:30
Oliver Eyton-Williams
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
Oliver Eyton-Williams
6163330b70 feat(api): POST /user/ms-username (#51764) 2023-11-03 09:45:21 +01:00
Oliver Eyton-Williams
59a8501f42 feat(api): DELETE /user/ms-username (#51778)
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2023-11-01 09:28:04 -05: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-Dantas
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 Nandish
70741db619 feat(api): report user endpoint (#51170)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-10-11 20:49:05 +05:30
Muhammed Mustafa
44d8add232 feat(api): add update vaildate email endpoint (#50276)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: mot01 <tmondloch01@gmail.com>
2023-10-06 15:06:42 +02:00
Ahmad Abdolsaheb
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
Muhammed Mustafa
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
bd460ecabf feat(api): return flash.wrong-updating if invalid request (#51604) 2023-09-19 13:27:37 -05:00
Riya Dhawan
c12f4bfd45 feat: store sound settings in local storage (#51374)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-09-19 09:17:51 -07:00
Oliver Eyton-Williams
f67fdfd024 feat(api): update-my-portfolio (#51600) 2023-09-19 12:33:21 +03:00
Niraj Nandish
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
Sem Bauke
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-Williams
7eba794749 feat(api): DELETE user/user-token (#50733) 2023-07-26 14:01:12 +04:00
Niraj Nandish
f442145731 feat(api): backend challenge submission endpoint (#50949)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-07-19 21:02:13 +02:00
Oliver Eyton-Williams
5482650dd0 feat(api): project-completed (#50701)
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
Co-authored-by: Niraj Nandish <nirajnandish@icloud.com>
2023-07-17 12:03:17 +04:00
Oliver Eyton-Williams
6e787d3336 feat(api): add /user/get-session-user (#50557)
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2023-07-11 16:28:56 +00:00
Muhammed Mustafa
01ae9d3561 feat(api): add update-my-about endpoint (#50334)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Sem Bauke <semboot699@gmail.com>
2023-06-15 13:15:58 +02:00
Sem Bauke
c5deeccd3f feat: update my username endpoint (#50271)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-06-02 07:04:50 +02:00
Niraj Nandish
8171abfa6d feat(api): reset progress endpoint (#50432)
---------

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-05-26 11:26:26 +03:00
Niraj Nandish
a4ab0b4e18 chore: move update socials schema (#50506)
* chore: move update scoials schema

* fix: set maxLength value to satisfy tests
2023-05-24 11:57:19 -07:00
Oliver Eyton-Williams
39857b5aa4 test(api): schema security (#50413)
* test: confirm all schemas pass basic validation

* refactor: use tested schemas in routes

* chore: move ajv to dev deps
2023-05-24 09:31:13 -07:00