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
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
ca1b6a230a
fix(api): require CSRF token for user routes ( #50684 )
2023-06-28 00:04:49 +05:30
Muhammed Mustafa
ea45dc84b7
feat(api): add :email unsubscribe/:email to the deprecated ( #50497 )
...
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
2023-06-22 10:25:40 -05: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
f3385dda8e
feat: /status/ping endpoint ( #50697 )
2023-06-14 19:27:10 +04:00
Oliver Eyton-Williams
65239ee68b
feat(api): allow redirection with message ( #50525 )
...
Co-authored-by: Muhammed Mustafa <MuhammedElruby@gmail.com >
2023-06-07 15:30:12 +02:00
Oliver Eyton-Williams
962f45475c
fix(api): improve schema accuracy ( #50626 )
2023-06-07 14:08:37 +02:00
Sem Bauke
754ae54387
feat: add /add-donation endpoint ( #50441 )
...
Co-authored-by: Muhammed Mustafa <MuhammedElruby@gmail.com >
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
2023-06-07 14:04:32 +02:00
Oliver Eyton-Williams
30419c2e20
refactor: register fastify-sentry directly ( #50622 )
2023-06-06 13:45:12 +02:00
Muhammed Mustafa
e368410c89
feat(api): deprecate get account endpoint ( #50419 )
2023-06-02 08:09:54 +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
Oliver Eyton-Williams
4cfd03224d
fix(api): cleanup test dbs after use ( #50466 )
2023-05-24 15:16:31 +02:00
Niraj Nandish
94534382ae
fix(api): rename account delete endpoint ( #50485 )
2023-05-23 21:37:29 -07:00
Muhammed Mustafa
1e6b3cfa70
refactor(test): remove extra undefined mark ( #50428 )
2023-05-18 10:40:31 -07:00
Muhammed Mustafa
2fdaeaf550
fix(api): socials endpoint test ( #50423 )
...
fix(api): uocials endpoint textt
2023-05-18 14:08:40 +00:00
Niraj Nandish
999d8a6c03
feat(api): create account delete endpoint ( #50304 )
...
* feat(api): create account delete endpoint
---------
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
2023-05-18 17:01:21 +03:00
Muhammed Mustafa
885cf86cd6
feat(api): add socials links endpoint ( #50332 )
...
* feat(api): add socials links endpoint
* Sort the typo in body call
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com >
* Revert "Sort the typo in body call"
This reverts commit 0588d3d70d .
---------
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com >
2023-05-18 17:29:43 +04: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