Commit Graph

113 Commits

Author SHA1 Message Date
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
Oliver Eyton-Williams
58539ce080 refactor(api): DRY tests (#51776) 2023-10-03 21:44:25 +07: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
Muhammed Mustafa
49b728d31b refactor: disable naming-convenction rule (#51685) 2023-09-30 20:23:39 +07:00
Oliver Eyton-Williams
1efa4a5935 refactor(api): import ts-reset in entrypoint (#51677) 2023-09-28 09:40:51 -07:00
Oliver Eyton-Williams
2b5bc585a3 feat(api): sync api and api-server CORS headers (#51608) 2023-09-21 15:40:19 +02:00
Oliver Eyton-Williams
c1bc0d3f39 feat(api): handle OPTIONS requests (#51610) 2023-09-19 16:45:51 -05:00
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
Oliver Eyton-Williams
7265417970 refactor(api): better error reporting during api testing (#51594) 2023-09-18 11:13:57 -07:00
Oliver Eyton-Williams
391fc2e34d refactor: create shared workspace (#51454) 2023-09-07 23:06:01 +05:30
Oliver Eyton-Williams
c0719934ac chore(config): migrate constants to TS (#51485) 2023-09-06 18:27:34 +05:30
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
Oliver Eyton-Williams
567cbfc044 fix: use env.ts to get JWT_SECRET (#51424) 2023-08-30 04:20:30 +05:30
Oliver Eyton-Williams
cb9d6a6243 refactor: stop sharing api/client specific config (#51423) 2023-08-29 18:35:27 +05:30