Commit Graph

496 Commits

Author SHA1 Message Date
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
Oliver Eyton-Williams
2d04d11056 chore(deps): update pino (#63142) 2025-10-28 19:13:50 +05:30
Shaun Hamilton
c2c6ca37b8 feat: copy and generate exam token (#62623)
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2025-10-24 08:22:15 +00:00
Shaun Hamilton
dd08d1ae1c chore(api): upgrade typebox to 1.0 (#62969)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2025-10-24 07:22:35 +05:30
Oliver Eyton-Williams
4a635c1b32 refactor: migrate (some) curriculum files to TypeScript (#62228)
Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
2025-10-23 10:54:57 +05:30
Shaun Hamilton
ed568658c1 feat: add a2-english cert and exam (#62855) 2025-10-16 13:52:37 -07:00
Shaun Hamilton
59cab66cf2 feat: remove deprecated exam fields (#62852) 2025-10-16 09:54:58 -07:00
Shaun Hamilton
ca02bcb7ee feat(api,client): add rwd and js v9 certs (#62458) 2025-10-15 09:06:42 -07:00
Sem Bauke
c005816748 fix(api): handle invalid picture URLs for '/update-my-about' (#61769) 2025-10-13 16:15:08 +05:30
Sem Bauke
7cbd1d79b9 feat(api): add DELETE "/account" endpoint to API (#61745)
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2025-10-12 21:29:42 +05:30
swdev33
b707f80d63 feat(client, api): bluesky profile link (#62400)
Co-authored-by: swdev33 <18295918+swdev33@users.noreply.github.com>
2025-10-09 09:07:12 +02:00
Shaun Hamilton
082bff570b feat(api): add moderation schema challengesAwarded field (#62490) 2025-10-09 09:35:44 +05:30
Shaun Hamilton
cf6dbc0218 fix(api): can take exam if attempt not expired (#62543) 2025-10-07 20:16:52 +05:30
Mrugesh Mohapatra
3cbe2ab8b1 fix(tools): consolidate docker compose setup (#62525) 2025-10-07 10:49:41 +05:30
Shaun Hamilton
9abf0c970c feat(api): reuse exam generations (#62459) 2025-10-06 15:07:40 +05:30
Mrugesh Mohapatra
ef610dd36c fix(tools): s/MailHog/Mailpit/g (#62481) 2025-10-03 13:25:33 -07:00
Shaun Hamilton
179d92b190 chore(api): remove vitest import from mock (#62478) 2025-10-03 19:42:25 +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
Oliver Eyton-Williams
e190218840 fix(api): adjust daily-challenge time from UTC (#62444) 2025-10-01 14:17:27 -05: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
Sonu
093f99d5e4 fix(api): cleanup props from get public profile endpoint (#62007) 2025-09-23 08:58:22 -07:00
Tom
e6066a1d50 feat(api): daily challenge by month endpoint (#61400) 2025-09-23 14:49:37 +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
Oliver Eyton-Williams
91e4c05b9f fix(api): handle termination signals (#61171) 2025-09-16 20:07:09 +05:30
Ahmad Abdolsaheb
09dc696c29 feat: add email sign up alert (#61218)
Co-authored-by: Niraj Nandish <nirajnandish@icloud.com>
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2025-09-11 10:14:00 +02:00
Shaun Hamilton
ebd17c473b fix(api): throw during exam generation if empty config (#62044) 2025-09-04 10:49:07 +00:00
Oliver Eyton-Williams
8cd2efe570 feat: base64 encode file contents when making api requests (#62006)
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2025-09-02 16:20:48 +02:00
Oliver Eyton-Williams
d781102513 feat(api): add more debug logging (#61980) 2025-08-29 03:55:16 -07: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
a33bc0b4b5 chore(api): rename ExamEnvironmentTempExam -> ExamCreatorExam (#61868) 2025-08-19 12:46:02 +02:00
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
8405f24a40 chore(api): add collections related to exam creator (#61773) 2025-08-12 08:36:39 +02: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
Oliver Eyton-Williams
55fbe40152 fix(api): more informative auth errors (#61607) 2025-07-31 09:13:39 -05: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
Oliver Eyton-Williams
4448bcbd92 Revert "fix(api): use lowercase email address (#61490)" (#61608) 2025-07-30 20:39:36 +05:30
Shaun Hamilton
ad7b0748d9 fix(api): return usernameDisplay (#61567)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2025-07-29 08:04:31 -07:00
Shaun Hamilton
f662b64a37 fix(api): use lowercase email address (#61490)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2025-07-29 09:46:50 +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
Tom
29cd2d227d feat(api): daily challenge api (#61346)
Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
2025-07-17 02:34:46 -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
Tom
5ae2e3eca7 chore(deps,api): update date-fns and add date-fns-tz (#61048) 2025-06-25 18:49:04 +02:00