Commit Graph

343 Commits

Author SHA1 Message Date
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)
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) 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