Commit Graph

44 Commits

Author SHA1 Message Date
Shaun Hamilton
22a56eddfb refactor(api): remove exam-env feature flag (#63909) 2025-11-24 20:08:06 +05:30
Oliver Eyton-Williams
1e0805fd72 refactor: one eslint task per workspace (#63835) 2025-11-21 19:21:46 +05:30
Shaun Hamilton
037cac3991 fix: account for expired attempt without mod record (#63317) 2025-10-30 12:38:51 +01:00
Shaun Hamilton
26ca8fee4b feat: add attempt statuses (#63035) 2025-10-29 16:20:02 +02:00
Shaun Hamilton
eb649ff99c feat: add unmet exam prerequisites (#63131)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2025-10-28 19:14:16 +05:30
Shaun Hamilton
59cab66cf2 feat: remove deprecated exam fields (#62852) 2025-10-16 09:54:58 -07:00
Shaun Hamilton
cf6dbc0218 fix(api): can take exam if attempt not expired (#62543) 2025-10-07 20:16:52 +05:30
Shaun Hamilton
9abf0c970c feat(api): reuse exam generations (#62459) 2025-10-06 15:07:40 +05:30
Shaun Hamilton
568840b8d8 feat(api): exam date use + split prisma files (#62344)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2025-10-02 14:28:36 +02:00
Shaun Hamilton
c7a8b183d3 fix(api): 400 for exam-challenge route with no params (#62404) 2025-09-29 18:56:29 +05:30
Shaun Hamilton
35d05d2c05 feat(client): add exam attempts to exam-download page (#61361)
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2025-09-25 21:27:31 +02:00
Oliver Eyton-Williams
51eba06a7d refactor: remove jest and lint vitest (#62330) 2025-09-24 09:27:03 +02:00
Oliver Eyton-Williams
bed3811952 feat(api): migrate to esm (#61915) 2025-09-19 13:28:06 +05:30
Shaun Hamilton
92d6901c2f feat(api): add exam->challenge map and routes (#61683)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2025-09-18 15:32:44 +02:00
Shaun Hamilton
ebd17c473b fix(api): throw during exam generation if empty config (#62044) 2025-09-04 10:49:07 +00:00
Mrugesh Mohapatra
0c1498a84d fix(environment): Use DEPLOYMENT_ENV and DEPLOYMENT_TLD (#61925) 2025-08-27 22:47:21 +05:30
Mrugesh Mohapatra
45c098d506 feat(api): s/jest/vitest/g (#61863)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2025-08-25 22:57:56 +05:30
Shaun Hamilton
3d78a31bc6 fix(api): DEPLOYMENT_ENV not same as client (#61893) 2025-08-21 06:58:05 +05:30
Shaun Hamilton
db9b7d2358 chore(api): prevent non-staff exam authz token gen on staging (#61786)
Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
2025-08-13 21:03:14 +05:30
Shaun Hamilton
6adc98a426 feat(api): add version to exam collections (#61644)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2025-08-12 02:39:07 -07:00
Shaun Hamilton
143565ce63 feat(api): add attempt id and exam id to response (#61637) 2025-08-04 11:12:46 -05:00
Shaun Hamilton
76c9fa9d48 feat(api): add attempts routes to user (#61362)
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2025-07-31 14:54:29 +00:00
Shaun Hamilton
500342b24f fix(api): shuffle generated exam answers each time (#61352)
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2025-07-31 15:50:59 +02:00
Shaun Hamilton
10c8733641 fix(api): check attempts and moderations records for available exams (#61302)
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2025-07-28 12:05:28 +02:00
Shaun Hamilton
d88691bc8a breaking(api): remove screenshot api (#61300) 2025-07-22 08:28:13 -07:00
Shaun Hamilton
92b6ca5343 feat(api): add exam env attempts endpoints and fields (#59634)
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2025-07-16 11:35:12 -05:00
Oliver Eyton-Williams
ae387fbd5c refactor(api): organise tooling (#59931) 2025-04-24 10:27:23 +05:30
Shaun Hamilton
e89a9b9e3f feat(api): add logs to exam environment routes (#59139) 2025-04-01 21:05:05 +00:00
fadiothman22
9aae2307e5 fix: remove duplicate if statement (#59029) 2025-03-03 09:18:44 -08: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
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
Shaun Hamilton
423db476de chore(api): enable exam environment endpoints in prod (#57604) 2024-12-19 15:13:39 +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
Shaun Hamilton
9d4f63920b breaking(api): remove submission time from exam env (#57365) 2024-12-06 09:50:37 +01:00
Shaun Hamilton
ed083cc7d0 fix(api): adjust schema for 500 (#57268) 2024-11-21 23:48:17 +02:00
Shaun Hamilton
9f3e827e37 chore: update /exams response (#57157) 2024-11-15 08:09:08 +02:00
Oliver Eyton-Williams
88e2ff6eab fix(api): delete user's exam attempts with account (#57079) 2024-11-11 08:04:10 -08: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
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
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
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