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
Muhammed Mustafa
39672e14f7
refactor: use challengeTypes instead of magic numbers ( #51373 )
2023-08-28 09:07:49 -07: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
Rene Pot
df49297de2
feat(api): improve performance with profanity filter replacement ( #51112 )
...
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
2023-08-08 15:27:41 -07: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
Oliver Eyton-Williams
f4a45878b7
fix(test): confirm the decoded token is correct ( #51143 )
2023-08-04 15:43:37 +02:00
Naomi Carrigan
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
Oliver Eyton-Williams
bbfb5bf08e
test(api): count userTokens before getting user ( #51132 )
2023-08-02 20:15:41 +03:00
Oliver Eyton-Williams
c2fff83d41
refactor(api): simplify user tests ( #51111 )
2023-07-31 21:08:05 +07:00
Oliver Eyton-Williams
7eba794749
feat(api): DELETE user/user-token ( #50733 )
2023-07-26 14:01:12 +04:00
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
Oliver Eyton-Williams
10eb1d9630
refactor: clean up api tests ( #51035 )
2023-07-23 12:33:17 +03: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
Niraj Nandish
260d64a0ed
fix(api): getChallenges helper function ( #51011 )
...
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-07-19 13:10:32 +02:00