Commit Graph

357 Commits

Author SHA1 Message Date
Oliver Eyton-Williams
e048e903c3
refactor(api): delete dead code (#58577) 2025-02-05 08:36:58 -05:00
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