Commit Graph

129 Commits

Author SHA1 Message Date
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
Oliver Eyton-Williams
fc6498eddf
fix(api): return missing isXCertified (#54627) 2024-05-03 09:25:10 +02:00
Oliver Eyton-Williams
f26a9b9bc0
fix(api): allow empty string for social, not undefined (#54621) 2024-05-03 09:23:47 +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
4b71954dbb
fix(api): only import types from ts-reset (#54565) 2024-04-30 09:22:16 +02:00
Oliver Eyton-Williams
84a81c842b
fix(api): remove cookie domain in development (#54518) 2024-04-26 08:32:46 -07:00
Ahmad Abdolsaheb
3f9f7e729b
feat: restrict card donation for users with little progress (#54529)
Co-authored-by: Naomi <nhcarrigan@gmail.com>
2024-04-26 16:27:50 +03:00
Oliver Eyton-Williams
0b65ec502b
fix(api): /charge-stripe-card responses (#54530)
Co-authored-by: Naomi <nhcarrigan@gmail.com>
2024-04-25 12:22:43 -07:00
Oliver Eyton-Williams
28f45b51dd
fix(api): consistent responses from certificate/showCert (#54426) 2024-04-25 14:02:59 +02:00
Oliver Eyton-Williams
d60fb06ef1
refactor(api): clean up route code (#54351) 2024-04-15 09:19:44 +02: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
Oliver Eyton-Williams
0f0a2682f0
fix: email authenication link messages (#54152) 2024-04-02 09:23:50 +02:00
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
Oliver Eyton-Williams
8775e9d7a1
fix: double signing test (#54171) 2024-03-26 10:11:34 +01:00
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
Sem Bauke
e8e9f40cc5
feat(api): update my classroom mode (#54009) 2024-03-19 15:42:28 +02:00
Oliver Eyton-Williams
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
Tom
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 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
Oliver Eyton-Williams
9f71d1c3ac
test: stop mocking env vars in jest.utils (#53985) 2024-03-07 08:36:06 +01:00
Oliver Eyton-Williams
eb066942d8
fix(api): ms validation new api (#53983) 2024-03-06 00:05:59 -08: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
Oliver Eyton-Williams
6849b096b4
test: only use test dbs in testing (#53770) 2024-02-18 21:24:14 -08:00
Huyen Nguyen
dc369b0937
chore: replace deprecated jest matchers (#53759) 2024-02-16 10:17:35 +01:00
Tom
1efb22cd34
feat(api): add POST /exam-challenge-completed (#52395) 2023-12-27 20:40:30 +05:30
Oliver Eyton-Williams
30667f3b0d
refactor(api): DRY out route tests (#52193) 2023-11-16 09:08:32 +01:00
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
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
3940eddbbb
fix(api): trim trailing space if no reporter name (#52199) 2023-11-03 16:38:19 +01:00
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
Naomi Carrigan
09d6c1eb9e
fix(tools): update report user test (#51919) 2023-10-12 09:37:31 +05:30
Oliver Eyton-Williams
45bc74acce
fix(api): return default values for user fields (#51843) 2023-10-11 18:58:52 +03: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
3e937e939a
fix(api): eslint error (#51860) 2023-10-07 23:05:46 +02:00
Oliver Eyton-Williams
948b7c52c2
fix(api): generate required properties for new users (#51822) 2023-10-07 10:50:30 +00:00
Oliver Eyton-Williams
2a34960415
fix(api): stop generating prisma client during tests (#51794) 2023-10-06 17:44:27 +02:00
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
Oliver Eyton-Williams
a23a92fb8a
feat(api): allow client to signin/signout (#51679) 2023-10-04 09:34:23 -05:00
Oliver Eyton-Williams
5c8b94f236
test(api): setup mongo schema before running tests (#51686)
Co-authored-by: Muhammed Mustafa <MuhammedElruby@gmail.com>
2023-10-03 17:00:21 -05:00
Oliver Eyton-Williams
25ff25e74f
feat(api): remove csrf protection from get-session-user (#51615) 2023-10-03 16:17:00 -05:00