Oliver Eyton-Williams
e94080add5
feat(api): implement authorization code flow in the new api ( #55413 )
2024-07-24 20:08:10 +03: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
5fcdfe0ec2
fix(api): control host with env var ( #55439 )
2024-07-08 18:09:18 +05:30
Oliver Eyton-Williams
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-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
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-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
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
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
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
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
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-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
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
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
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
Oliver Eyton-Williams
948b7c52c2
fix(api): generate required properties for new users ( #51822 )
2023-10-07 10:50:30 +00: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
391fc2e34d
refactor: create shared workspace ( #51454 )
2023-09-07 23:06:01 +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
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
f3da82518a
feat(api): email service ( #50637 )
...
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com >
2023-08-04 18:57:59 -07: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
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 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
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
Sem Bauke
e32f0c83f1
chore(api): builduser update function ( #50642 )
...
Co-authored-by: Niraj Nandish <nirajnandish@icloud.com >
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com >
2023-07-04 22:10:22 +02:00
Oliver Eyton-Williams
16c0949a4b
feat(api): user/user-token ( #50721 )
...
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com >
2023-06-29 10:36:44 +00:00
Oliver Eyton-Williams
c3c912db07
feat(api): add csrf protection ( #50275 )
...
Co-authored-by: Sboonny <muhammed@freecodecamp.org >
2023-05-18 17:06:40 +05:30
Oliver Eyton-Williams
46cdfd7802
feat(api): add CORS headers ( #50120 )
...
* test: allow mocking of env vars
Since utils/env is a module, we can mock it to control env vars in
tests. However, it's not compatible with building the server in
setupFilesAfterEnv, so, instead, we can use a utility function to keep
things DRY.
* fix: update type of fastifyTestInstance
* chore: add comment about sts preload
* chore: rename header plugin
* test: add get util + provide origin on request
* feat: add cors headers
* chore: add TODO
2023-04-26 09:02:12 +02:00