Commit Graph

156 Commits

Author SHA1 Message Date
Muhammed Mustafa
49b728d31b refactor: disable naming-convenction rule (#51685) 2023-09-30 20:23:39 +07:00
renovate[bot]
e41390b846 chore(deps): update dependency @types/jsonwebtoken to v9.0.3 2023-09-30 00:44:28 +00:00
Oliver Eyton-Williams
1efa4a5935 refactor(api): import ts-reset in entrypoint (#51677) 2023-09-28 09:40:51 -07:00
renovate[bot]
45fedd84e4 fix(deps): update dependency mongodb to v4.17.0 [security] 2023-09-28 16:03:53 +00:00
Muhammed Mustafa
060b0d7aab chore(deps): update new api packages (#51549)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-09-28 19:15:15 +04:00
renovate[bot]
a383fee2a6 chore(deps): update dependency @types/express-session to v1.17.8 2023-09-23 22:11:29 +00: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
renovate[bot]
cf0e3c79ab fix(deps): update prisma monorepo to v5.3.1 2023-09-16 20:08:00 +00:00
renovate[bot]
96f2cc100e chore(deps): update jest monorepo 2023-09-16 06:41:07 +00:00
Oliver Eyton-Williams
05d19b8b42 feat: create docker images for new api (#51538) 2023-09-13 02:15:25 +05:30
Oliver Eyton-Williams
d4a68b93f7 fix(api): use reset.d.ts in development (#51533) 2023-09-12 15:30:36 +03: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
renovate[bot]
e17ebed40e fix(deps): update dependency jsonwebtoken to v9.0.2 2023-09-02 17:48:29 +00:00
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
renovate[bot]
3d4f8e1ddc fix(deps): update prisma monorepo to v5.2.0 2023-08-27 00:39:30 +00:00
renovate[bot]
f05706fa0d chore(deps): update dependency jest to v29.6.4 2023-08-26 17:01:13 +00: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
renovate[bot]
8bd01750f6 chore(deps): update dependency dotenv-cli to v7.3.0 2023-08-19 15:36:40 +00:00
renovate[bot]
b18dcecfb3 chore(deps): update dependency @fastify/type-provider-typebox to v3.5.0 2023-08-19 12:36:12 +00:00
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
renovate[bot]
21cfbf3a43 fix(deps): update prisma monorepo to v5.1.1 2023-08-07 14:58:58 +00:00
Oliver Eyton-Williams
8ff4e9f57a chore: remove unused parts of prisma schema (#51177) 2023-08-07 09:37:14 -05:00
renovate[bot]
98d2032c58 chore(deps): update dependency @fastify/type-provider-typebox to v3.4.0 2023-08-05 10:06:17 +00: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
Muhammed Mustafa
8b9ca4c3ab chore(client): bump prisma to v5 (#51131) 2023-08-03 11:59:15 +02:00
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
renovate[bot]
af6c4febf9 fix(deps): update dependency fastify to v4.21.0 2023-07-30 01:34:37 +00:00
renovate[bot]
6eaa03ab06 chore(deps): update dependency pino-pretty to v10.2.0 2023-07-29 22:55:02 +00:00
renovate[bot]
75ed177a7c chore(deps): update jest monorepo to v29.6.2 2023-07-29 10:20:23 +00: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
renovate[bot]
fab90da45c fix(deps): update dependency fastify to v4.20.0 2023-07-22 16:40:39 +00:00
renovate[bot]
9fd8a65767 chore(deps): update dependency pino-pretty to v10.1.0 2023-07-22 14:12:44 +00: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