Commit Graph

84 Commits

Author SHA1 Message Date
Shaun Hamilton
d88691bc8a breaking(api): remove screenshot api (#61300) 2025-07-22 08:28:13 -07:00
Oliver Eyton-Williams
87c274a9ef feat(api): allow HOME_LOCATION origin in development (#61003) 2025-06-25 12:00:24 +05:30
Clarence Bakosi
ec764ef7cb chore(curriculum): change to US spelling (#60852) 2025-06-17 09:32:03 -07:00
Oliver Eyton-Williams
8138f086aa fix(api): handle string challengeType (#60491) 2025-05-23 18:26:18 +05:30
Oliver Eyton-Williams
848ae3aacf fix(api): handle users without email addresses (#60467) 2025-05-22 11:28:56 +02:00
Oliver Eyton-Williams
f5b0071a68 fix(api): handle Date values for completedChallenge.completedDate (#60400) 2025-05-16 17:29:06 +05:30
Mrugesh Mohapatra
eeeeb034ec fix(api): deduplicating objects in logs (#60319) 2025-05-13 20:40:49 +05:30
Mrugesh Mohapatra
8a6fcd70db fix(api): update logging (#60210) 2025-05-07 15:30:32 +05:30
Mrugesh Mohapatra
ff43f3aeca fix(api): whitespace in default values (#60199) 2025-05-07 01:52:42 +05:30
Mrugesh Mohapatra
d0e63c60ca fix(api): add req id to logs (#60191) 2025-05-06 22:20:31 +05:30
Mrugesh Mohapatra
008e35d851 fix(api): update logging (#60187) 2025-05-06 20:46:36 +05:30
Shaun Hamilton
6478bea038 feat(api): add user id to user report (#59816) 2025-04-22 09:28:16 -05:00
Oliver Eyton-Williams
cc1b31f59d chore(api): throw if growthbook env vars are missing (#59873) 2025-04-22 07:41:09 +00:00
Mrugesh Mohapatra
ae720e8282 feat(api): add deployment version endpoint (#59841) 2025-04-21 14:30:20 -05:00
Niraj Nandish
dac7fa3a14 feat(api): exam screenshot service (#56940)
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2025-02-18 09:24:54 +00:00
Oliver Eyton-Williams
6e9513a933 chore: upgrade eslint (#58575) 2025-02-07 22:48:43 +02:00
Oliver Eyton-Williams
436d27da52 fix(api): strip query params on redirect (#58608) 2025-02-07 10:55:41 +01:00
Mrugesh Mohapatra
32eca01d3d fix(api): improve logging 2025-01-27 18:47:45 +05:30
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
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
Shaun Hamilton
423db476de chore(api): enable exam environment endpoints in prod (#57604) 2024-12-19 15:13:39 +05:30
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
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
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
Lars Kappert
d32e57813e chore: update Knip to v5 (#56244) 2024-09-26 13:12:00 +02: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
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