Commit Graph

506 Commits

Author SHA1 Message Date
Oliver Eyton-Williams
70166a9517
chore: remove non-root eslint calls (#58470) 2025-01-30 20:40:13 -05:00
Shaun Hamilton
63dc0d81aa
chore(api): add env exam scripts (#58208)
Co-authored-by: Naomi <accounts+github@nhcarrigan.com>
2025-01-28 17:00:52 +01:00
Mrugesh Mohapatra
32eca01d3d
fix(api): improve logging
Some checks failed
CI - E2E - 3rd party donation tests / Build & Test (20.x) (push) Has been cancelled
CI - Node.js / Lint (20.x) (push) Has been cancelled
CI - Node.js / Build (20.x) (push) Has been cancelled
CI - Node.js / Test (20.x) (push) Has been cancelled
CI - Node.js / Test - Upcoming Changes (20.x) (push) Has been cancelled
CI - Node.js / Test - i18n (italian, 20.x) (push) Has been cancelled
CI - Node.js / Test - i18n (portuguese, 20.x) (push) Has been cancelled
2025-01-27 18:47:45 +05:30
Oliver Eyton-Williams
5deea90fa3
fix(api): delete exam auth tokens with user (#58284) 2025-01-24 08:20:31 -06:00
Oliver Eyton-Williams
9429f52fd4
feat(api): remove rate limiting (#58289) 2025-01-23 15:35:50 -06:00
Shaun Hamilton
7760309f93
fix(api): only treat undefined as unset (#58120) 2025-01-14 09:37:52 -08:00
Shaun Hamilton
9adc0a621d
feat(api): add growthbook (#57950) 2025-01-08 15:35:58 -08:00
Oliver Eyton-Williams
56e520b2e4
refactor(api): provide default env values (#57986) 2025-01-08 21:39:40 +05:30
Oliver Eyton-Williams
d3cfb8ed0f
fix(api): make log level + flags optional (#57978) 2025-01-07 17:52:21 +02:00
Oliver Eyton-Williams
329eba03a5
docs(api): add troubleshooting section (#57896) 2025-01-07 08:35:36 +01:00
Mrugesh Mohapatra
c2e1032e08
fix(api): logging configs
Some checks failed
CI - E2E - 3rd party donation tests / Build & Test (20.x) (push) Has been cancelled
CI - Node.js / Lint (20.x) (push) Has been cancelled
CI - Node.js / Build (20.x) (push) Has been cancelled
CI - Node.js / Test (20.x) (push) Has been cancelled
CI - Node.js / Test - Upcoming Changes (20.x) (push) Has been cancelled
CI - Node.js / Test - i18n (italian, 20.x) (push) Has been cancelled
CI - Node.js / Test - i18n (portuguese, 20.x) (push) Has been cancelled
2025-01-02 19:20:43 +05:30
Shaun Hamilton
a477643d7d
chore(api): add log level configuration 2025-01-02 18:21:55 +05:30
Shaun Hamilton
55deb556ce
feat(api): add sentry event route 2025-01-02 18:21:54 +05:30
Mrugesh Mohapatra
4d4e617b7d
fix(sentry): use environments 2025-01-02 18:21:54 +05:30
Huyen Nguyen
21081a405a
fix(api): /showCert not returning user full name (#57666)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2024-12-22 13:44:28 +05:30
Shaun Hamilton
423db476de
chore(api): enable exam environment endpoints in prod (#57604) 2024-12-19 15:13:39 +05:30
Chaitanya Rahalkar
705a698c1c
fix(api): extra 'at' in the certificate email template (#57532) 2024-12-14 15:08:19 +05:30
Oliver Eyton-Williams
3e0b2b914c
fix(api): return after reply (save-challenge) (#57487) 2024-12-12 22:35:14 +05:30
Oliver Eyton-Williams
33f7b85f4e
fix(api): only query for potentially valid tokens (#57383)
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2024-12-06 13:06:38 -06:00
Huyen Nguyen
ba70f5d253
feat(api): add /submit-quiz-attempt endpoint (#57201) 2024-12-06 12:45:12 -06:00
Shaun Hamilton
9d4f63920b
breaking(api): remove submission time from exam env (#57365) 2024-12-06 09:50:37 +01:00
Huyen Nguyen
ab359f189f
chore(api): remove version field from docker-compose.yml (#57310) 2024-11-25 13:48:42 +02:00
Shaun Hamilton
ed083cc7d0
fix(api): adjust schema for 500 (#57268) 2024-11-21 23:48:17 +02:00
Oliver Eyton-Williams
fcedb7e98d
chore(curriculum): remove upcoming python superblock (#57247) 2024-11-20 09:14:36 -08:00
Shaun Hamilton
9f3e827e37
chore: update /exams response (#57157) 2024-11-15 08:09:08 +02:00
Oliver Eyton-Williams
2f4e6ae8f5
refactor(api): sync dev and auth0 plugins (#57136) 2024-11-12 15:06:54 -08:00
Oliver Eyton-Williams
88e2ff6eab
fix(api): delete user's exam attempts with account (#57079) 2024-11-11 08:04:10 -08:00
Oliver Eyton-Williams
9c73159f10
fix(api): increase max message size for sentry (#57080) 2024-11-07 12:51:02 +01:00
Shaun Hamilton
bb16ab9245
breaking(api): refactor exam environment endpoints (#56806) 2024-10-30 10:45:31 +05:30
Shaun Hamilton
51802492b1
chore(api): add ExamEnvironmentAuthorizationToken -> user relation (#56627)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2024-10-25 10:10:26 +02:00
Shaun Hamilton
a428a1387b
chore: upgrade mongodb (#56829) 2024-10-25 11:26:54 +05:30
Shaun Hamilton
08bc090636
feat(api): add prerequisites to env exam (#56731)
Some checks failed
CI - E2E - 3rd party donation tests / Build & Test (20.x) (push) Has been cancelled
CI - Node.js / Lint (20.x) (push) Has been cancelled
CI - Node.js / Build (20.x) (push) Has been cancelled
CI - Node.js / Test (20.x) (push) Has been cancelled
CI - Node.js / Test - Upcoming Changes (20.x) (push) Has been cancelled
CI - Node.js / Test - i18n (italian, 20.x) (push) Has been cancelled
CI - Node.js / Test - i18n (portuguese, 20.x) (push) Has been cancelled
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2024-10-23 19:49:58 -05:00
mnv
5a9cb9d454
fix(docker): mongod healthcheck before replica initialization (#56789)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2024-10-23 11:51:05 +00:00
Oliver Eyton-Williams
5c37562728
fix(api): specify openapi version (#56781) 2024-10-22 11:15:19 +02:00
Sem Bauke
27e8bf9da0
feat(api): get exams endpoint (#56727) 2024-10-18 18:43:28 +00:00
Oliver Eyton-Williams
f2ec6d6dd5
feat(api): env var to control exam environment (#56701) 2024-10-16 21:48:04 +02:00
Shaun Hamilton
7f1a6e553f
chore(api): add request/response shadow dev tool (#56628) 2024-10-11 09:32:20 -07:00
Shaun Hamilton
916e22fd6b
fix(api): allow coderoad and exam env headers (#56619) 2024-10-09 10:06:53 -07:00
Oliver Eyton-Williams
a7296c7983
fix(api): cookie values for swagger ui (#56620) 2024-10-09 10:05:54 -07:00
Shaun Hamilton
ea44135808
feat(api): add exam-environment endpoints (#55662)
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2024-10-04 09:20:18 -05:00
Oliver Eyton-Williams
ced457fed5
refactor: move CSRF code into plugin (#56447) 2024-10-04 12:56:04 +00:00
Oliver Eyton-Williams
cb4061c250
feat(api): redirect on error if request ACCEPTs html (#56445) 2024-10-03 16:10:25 -07:00
Huyen Nguyen
0ba9eeff43
refactor(api, curriculum): use the shared shuffleArray util (#56444)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2024-10-02 08:55:38 -05:00
Oliver Eyton-Williams
274680dbdb
refactor: separate public and private plugins (#56359) 2024-10-02 13:52:02 +02:00
Oliver Eyton-Williams
3654a297fd
refactor: use fastify/rate-limit, drop express (#56328) 2024-09-30 16:13:17 +02:00
Lars Kappert
d32e57813e
chore: update Knip to v5 (#56244) 2024-09-26 13:12:00 +02:00
Oliver Eyton-Williams
5c4fd56e60
test(api): flaky rate-limit test (#56120) 2024-09-17 15:56:51 +05:30
Oliver Eyton-Williams
838f30e2be
feat(api): update mobile-login to match api-server (#55863)
Some checks failed
i18n - Build Validation / Validate i18n Builds (20.x) (push) Has been cancelled
CI - Node.js / Lint (20.x) (push) Has been cancelled
i18n - Download Client UI / Client (push) Has been cancelled
CI - Node.js / Build (20.x) (push) Has been cancelled
CI - Node.js / Test (20.x) (push) Has been cancelled
CI - Node.js / Test - Upcoming Changes (20.x) (push) Has been cancelled
CI - Node.js / Test - i18n (italian, 20.x) (push) Has been cancelled
CI - Node.js / Test - i18n (portuguese, 20.x) (push) Has been cancelled
2024-09-03 20:38:50 -05:00
Oliver Eyton-Williams
7345989917
refactor(api): import add-donation schema (#55876) 2024-08-19 13:30:02 +02:00
Oliver Eyton-Williams
eba0f1ef9b
fix(api): send captured errors to Sentry. (#55877) 2024-08-19 08:55:22 +02:00
Oliver Eyton-Williams
609cdb0c4a
feat(api): redirect auth requests if already signed in (#55829) 2024-08-14 18:53:20 +05:30
Oliver Eyton-Williams
e9ac6c5e72
fix(api): modularize auth handlers (#55671) 2024-08-08 23:05:25 +05:30
Oliver Eyton-Williams
7d84da184a
fix(api): UserRateLimit schema (#55663) 2024-08-08 23:03:49 +05:30
Ahmad Abdolsaheb
a1c12847e4
feat(api): add update-stripe-card endpoint (#55548)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2024-08-05 18:52:03 -05:00
Krzysztof G.
564aeed3d9
test(api/client): empty string in about settings (#55700)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2024-07-31 07:20:00 -07:00
Gagan Bhullar
9090c0803f
fix: Settings page picture url fix (#55673) 2024-07-30 09:22:38 +02:00
Oliver Eyton-Williams
02b1077abe
test(api): don't sign in before testing signin (#55661) 2024-07-25 13:36:12 -04:00
Oliver Eyton-Williams
ee37d563f7
fix(api): reject social urls with invalid domains (#55595) 2024-07-25 10:49:34 -05:00
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
5a00c13de4
refactor(api): use decorator to clear our cookies (#55470) 2024-07-15 10:17:40 +02:00
Oliver Eyton-Williams
0a99796dd3
refactor: simplified and documented test helpers (#55493) 2024-07-12 16:23:37 -07:00
Oliver Eyton-Williams
b45a88d6db
refactor(api): use reject user-agents early (#55491) 2024-07-12 18:03:30 +02:00
Niraj Nandish
ca60b5e81d
feat(api): block useragents in /get-public-profile (#55487) 2024-07-12 09:33:00 +02:00
Oliver Eyton-Williams
33eed5bb31
refactor(api): encapsulate auth/csrf hooks (#55481) 2024-07-12 09:22:58 +02:00
Oliver Eyton-Williams
4547b8d1f9
fix(api): return examResults in user's challenges (#55451) 2024-07-11 22:09:49 +05:30
Oliver Eyton-Williams
bb95e2ff54
feat(api): add plugin allowing server to update cookies (#55395) 2024-07-09 07:33:04 +00:00
Oliver Eyton-Williams
bc87a56970
chore(deps): bump fastify/cookie (#55425) 2024-07-08 20:49:11 +05:30
Oliver Eyton-Williams
5fcdfe0ec2
fix(api): control host with env var (#55439) 2024-07-08 18:09:18 +05:30
Oliver Eyton-Williams
e8b15a255b
feat(api): handle missing endpoints (#55429) 2024-07-08 13:07:16 +02:00
Oliver Eyton-Williams
fbf28bbb4c
fix(api): remove / handler (#55428) 2024-07-05 20:50:53 -07:00
Oliver Eyton-Williams
669b4908b1
fix(api): CSRF-token should not be httpOnly (#55365) 2024-07-01 21:54:01 +02:00
Shaun Hamilton
1de602814f
feat(api): add updateCount field to user (#55349)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2024-07-01 08:13:10 -07:00
Oliver Eyton-Williams
766e982040
fix(api): relax cookie settings in development (#55351)
Co-authored-by: Naomi the Technomancer <accounts+github@nhcarrigan.com>
2024-07-01 08:09:39 -07:00
Shaun Hamilton
253272f35c
fix(api): use HOME_LOCATION var in tests (#55386) 2024-07-01 08:06:00 -07:00
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
512547e76c
refactor(api): sensible default cookie config (#55227) 2024-06-27 08:44:47 +00: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
fd1bf0dd5a
test: minor fix to how cookies are passed around (#55259) 2024-06-21 08:36:46 -07:00
Oliver Eyton-Williams
dda9c929b0
fix(api): clear cookies on account/delete (#55260) 2024-06-21 16:39:31 +02:00
Oliver Eyton-Williams
589e891c26
fix(api): narrow serializers for update-my-email (#55178) 2024-06-20 20:20:08 +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
517a351a28
feat(api): send errors to Sentry (#55208)
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2024-06-19 17:36:41 +05:30
Oliver Eyton-Williams
0916d1bb49
test: check reporting user sends an email (#55166) 2024-06-15 11:34:20 +05:30
Oliver Eyton-Williams
14df93bcef
fix(api): use generic error handler with Sentry (#55176) 2024-06-13 22:48:16 +05:30
Oliver Eyton-Williams
b54edc7e1c
feat(api): send message to Sentry if duplicate accounts (#55171) 2024-06-13 19:45:11 +05:30
Oliver Eyton-Williams
8bcf080ad2
feat(api): GET /api/users/exists (#54875) 2024-06-12 12:01:17 -05:00
Shaun Hamilton
63a3b8ac05
fix(api): unsubscribe all subscribed emails (#54953) 2024-06-11 16:14:00 +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
aae96b3af9
fix(api): update-my-username response body (#54901) 2024-05-22 16:44:36 -07: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
Oliver Eyton-Williams
ab2f5a3004
refactor(api): simplify schema export (#54722) 2024-05-10 08:53:38 +02: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
f26a9b9bc0
fix(api): allow empty string for social, not undefined (#54621) 2024-05-03 09:23:47 +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
4b71954dbb
fix(api): only import types from ts-reset (#54565) 2024-04-30 09:22:16 +02:00
Oliver Eyton-Williams
84a81c842b
fix(api): remove cookie domain in development (#54518) 2024-04-26 08:32:46 -07:00
Ahmad Abdolsaheb
3f9f7e729b
feat: restrict card donation for users with little progress (#54529)
Co-authored-by: Naomi <nhcarrigan@gmail.com>
2024-04-26 16:27:50 +03:00
Oliver Eyton-Williams
0b65ec502b
fix(api): /charge-stripe-card responses (#54530)
Co-authored-by: Naomi <nhcarrigan@gmail.com>
2024-04-25 12:22:43 -07:00
Oliver Eyton-Williams
28f45b51dd
fix(api): consistent responses from certificate/showCert (#54426) 2024-04-25 14:02:59 +02:00
Oliver Eyton-Williams
d60fb06ef1
refactor(api): clean up route code (#54351) 2024-04-15 09:19:44 +02:00
Shaun Hamilton
133f07becd
chore(api): refactor schemas into individual files (#54350) 2024-04-11 14:45:56 +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
Shaun Hamilton
c98e1803a3
fix(api): use port 27017 (#54220) 2024-04-02 17:07:02 -07:00
Tom
be6d26c757
fix(api): add msUsername index to prisma (#54187) 2024-04-02 09:15:01 -07:00
Oliver Eyton-Williams
0f0a2682f0
fix: email authenication link messages (#54152) 2024-04-02 09:23:50 +02:00
Niraj Nandish
f6ae52f6fe
fix(api): send msUsername in get session user endpoint (#54050)
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2024-03-28 18:14:31 +02:00
Shaun Hamilton
c333a74e77
fix(api): update backend project validation (#54218)
Co-authored-by: Sem Bauke <semboot699@gmail.com>
2024-03-28 10:54:29 +01:00
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
fcf6bfae6a
test: speed up api tests (#53969) 2024-03-09 10:36:19 +05:30
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
Oliver Eyton-Williams
c77a1c622f
refactor(test): improve build error message (#53946) 2024-03-01 13:09:23 +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
renovate[bot]
73dcd322fb fix(deps): update dependency fastify to v4.26.1 2024-02-25 14:13:17 +00:00
renovate[bot]
dc84594ee5 fix(deps): update dependency @fastify/type-provider-typebox to v3.6.0 2024-02-24 14:17:39 +00:00
renovate[bot]
ded186c7b8 fix(deps): update dependency @fastify/swagger to v8.14.0 2024-02-24 14:17:18 +00:00
renovate[bot]
8209dff630 fix(deps): update dependency @fastify/session to v10.7.0 2024-02-24 10:43:14 +00:00
renovate[bot]
b253551c85 fix(deps): update dependency @fastify/cookie to v9.3.1 2024-02-24 10:40:34 +00:00
renovate[bot]
3163ceab4a fix(deps): update dependency @aws-sdk/client-ses to v3.521.0 2024-02-24 08:12:30 +00:00
renovate[bot]
accc2686e1 fix(deps): update dependency nodemailer to v6.9.10 2024-02-23 20:18:48 +00:00
renovate[bot]
a01b84bd14 chore(deps): update dependency joi to v17.12.2 2024-02-23 20:08:12 +00:00
renovate[bot]
d277d00770 chore(deps): update dependency dotenv to v16.4.5 2024-02-23 17:45:41 +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
renovate[bot]
b19a10164c chore(deps): update dependency joi to v17.12.1 2024-02-14 22:26:32 +00:00
renovate[bot]
9f148c68e0 chore(deps): update dependency dotenv to v16.4.4 2024-02-14 17:45:06 +00:00
renovate[bot]
a6619b1ea6 fix(deps): update dependency mongodb to v4.17.2 2024-02-14 13:09:01 +00:00
renovate[bot]
671266d48f fix(deps): update dependency @fastify/swagger-ui to v1.10.2 2024-02-14 08:26:17 +00:00
renovate[bot]
34597bfba9 chore(deps): update dependency ts-jest to v29.1.2 2024-02-14 02:58:45 +00:00
renovate[bot]
3ebf60dd82
fix(deps): update dependency nodemailer to v6.9.9 [security] (#53503)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-06 12:28:18 +05:30
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
renovate[bot]
f83bc935e6 fix(deps): update dependency @aws-sdk/client-ses to v3.449.0 2023-11-10 22:37:14 +00:00
renovate[bot]
a9c3d4c905 fix(deps): update dependency @aws-sdk/client-ses to v3.445.0 2023-11-09 03:24:11 +00:00
renovate[bot]
27c09aaf11 chore(deps): update dependency @types/supertest to v2.0.16 2023-11-09 03:20:36 +00: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]
9abff22c6d fix(deps): update dependency @fastify/csrf-protection to v6.4.1 2023-11-08 10:11:28 +02:00
renovate[bot]
db3a0f06b9 chore(deps): update dependency @types/nodemailer to v6.4.14 2023-11-08 08:06:47 +00: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
renovate[bot]
0325ea4373 chore(deps): update dependency @types/jsonwebtoken to v9.0.5 2023-11-07 10:34:27 +00:00
renovate[bot]
40b8cb8b48 chore(deps): update dependency @types/express-session to v1.17.10 2023-11-07 08:08:40 +00:00
renovate[bot]
5a1c22723e fix(deps): update prisma monorepo to v5.5.2 2023-11-05 12:25:40 +00:00
renovate[bot]
3cd2eac92e fix(deps): update dependency stripe to v8.222.0 2023-11-05 04:57:54 +00:00
renovate[bot]
d943c7a80f fix(deps): update dependency fast-uri to v2.3.0 2023-11-04 22:45:17 +00:00
renovate[bot]
e44aabf114 fix(deps): update dependency @fastify/csrf-protection to v6.4.0 2023-11-04 19:35:46 +00:00
renovate[bot]
bcbc99dff5 fix(deps): update dependency @aws-sdk/client-ses to v3.441.0 2023-11-04 17:48:49 +00:00
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
renovate[bot]
9b255cb859 fix(deps): update dependency @fastify/swagger-ui to v1.10.1 2023-10-28 07:41:24 +00:00
renovate[bot]
7af64e06a4 fix(deps): update dependency @aws-sdk/client-ses to v3.438.0 2023-10-28 03:22:43 +00:00
renovate[bot]
97f266ffc3 fix(deps): update dependency @fastify/swagger to v8.12.0 2023-10-28 03:15:54 +00:00
renovate[bot]
3912e15f44 chore(deps): update dependency joi to v17.11.0 2023-10-28 01:40:36 +00:00
renovate[bot]
436247916d fix(deps): update dependency pino-pretty to v10.2.3 2023-10-27 19:17:56 +00:00
renovate[bot]
3a17864f69 fix(deps): update dependency nodemailer to v6.9.7 2023-10-27 19:16:01 +00:00
renovate[bot]
bebdbdfa1c fix(deps): update dependency fastify-auth0-verify to v1.2.1 2023-10-27 17:07:49 +00:00
renovate[bot]
7d63ec5b66 chore(deps): update dependency @types/supertest to v2.0.15 2023-10-27 08:21:20 +00: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
renovate[bot]
619f16988a chore(deps): update dependency @types/jsonwebtoken to v9.0.4 2023-10-25 05:05:04 +00:00
renovate[bot]
27154f6b72 chore(deps): update dependency @types/express-session to v1.17.9 2023-10-25 01:40:37 +00:00
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
Krzysztof G
174865974b
fix: text typos (#51876)
Co-authored-by: Viktor Szépe <viktor@szepe.net>
2023-10-09 19:36:27 +07:00
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
renovate[bot]
8ae3d874a4 fix(deps): update dependency @aws-sdk/client-ses to v3.421.0 2023-10-01 13:11:52 +00:00
renovate[bot]
80291fad35 fix(deps): update dependency no-profanity to v1.5.1 2023-10-01 13:11:17 +00:00
renovate[bot]
93e4b04e91
chore(deps): update dependency @total-typescript/ts-reset to v0.5.1 (#51724)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-01 16:48:50 +05:30
renovate[bot]
1c2bab4b85 fix(deps): update dependency @fastify/cookie to v9.1.0 2023-10-01 09:51:12 +00:00
renovate[bot]
878993171f fix(deps): update dependency nodemailer to v6.9.5 2023-10-01 04:58:58 +00:00
renovate[bot]
650995cf30 fix(deps): update dependency mongodb to v4.17.1 2023-10-01 04:56:46 +00:00
renovate[bot]
6969b567c5 fix(deps): update dependency @immobiliarelabs/fastify-sentry to v7.1.1 2023-10-01 03:27:53 +00:00
renovate[bot]
a087b1e27e fix(deps): update dependency @fastify/swagger to v8.10.1 2023-10-01 02:28:46 +00:00
renovate[bot]
3d3992d3dd chore(deps): update dependency @types/supertest to v2.0.13 2023-09-30 18:41:50 +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