Commit Graph

33 Commits

Author SHA1 Message Date
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
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
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
Oliver Eyton-Williams
fcedb7e98d chore(curriculum): remove upcoming python superblock (#57247) 2024-11-20 09:14:36 -08: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
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
7d84da184a fix(api): UserRateLimit schema (#55663) 2024-08-08 23:03:49 +05:30
Shaun Hamilton
1de602814f feat(api): add updateCount field to user (#55349)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2024-07-01 08:13:10 -07:00
Tom
be6d26c757 fix(api): add msUsername index to prisma (#54187) 2024-04-02 09:15:01 -07:00
Sem Bauke
e8e9f40cc5 feat(api): update my classroom mode (#54009) 2024-03-19 15:42:28 +02:00
Niraj Nandish
0577deb64f feat(api): submit survey endpoint (#53934)
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2024-03-11 10:56:34 +01:00
Shaun Hamilton
bbc1ffa489 feat(api): add PUT /certificate/verify (#51507)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2024-02-28 16:01:35 +00:00
Tom
1efb22cd34 feat(api): add POST /exam-challenge-completed (#52395) 2023-12-27 20:40:30 +05:30
Oliver Eyton-Williams
59a8501f42 feat(api): DELETE /user/ms-username (#51778)
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2023-11-01 09:28:04 -05:00
Tom
46375c6dd6 feat(api): add exam utils and GET /exam/:id endpoint to new api (#51609) 2023-10-26 13:35:09 +05:30
Krzysztof G
174865974b fix: text typos (#51876)
Co-authored-by: Viktor Szépe <viktor@szepe.net>
2023-10-09 19:36:27 +07:00
Riya Dhawan
c12f4bfd45 feat: store sound settings in local storage (#51374)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-09-19 09:17:51 -07:00
Oliver Eyton-Williams
05d19b8b42 feat: create docker images for new api (#51538) 2023-09-13 02:15:25 +05:30
Oliver Eyton-Williams
8ff4e9f57a chore: remove unused parts of prisma schema (#51177) 2023-08-07 09:37:14 -05:00
Muhammed Mustafa
8b9ca4c3ab chore(client): bump prisma to v5 (#51131) 2023-08-03 11:59:15 +02:00
Oliver Eyton-Williams
6419daa038 fix(api): specify use of Int32 for small ints (#50971)
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2023-07-18 11:03:49 +02:00
Sem Bauke
e32f0c83f1 chore(api): builduser update function (#50642)
Co-authored-by: Niraj Nandish <nirajnandish@icloud.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2023-07-04 22:10:22 +02:00
Oliver Eyton-Williams
962f45475c fix(api): improve schema accuracy (#50626) 2023-06-07 14:08:37 +02:00
Sem Bauke
c5deeccd3f feat: update my username endpoint (#50271)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-06-02 07:04:50 +02:00
Oliver Eyton-Williams
2f77513a6a fix(api): update new api schema (#50500)
* fix(api): remove unused parts of schema

isX are unused and prisma does not care what's in the db if you do not
ask for it.

* fix: add isCollegeAlgebraPyCertV8
2023-05-24 20:37:57 +03:00
Muhammed Mustafa
9e905b58e1 feat(api): add json protocol to prisma client (#50418) 2023-05-18 17:16:53 +04:00
Shaun Hamilton
651e1905fd chore(api): pull prod db schema (#49735)
* chore(api): pull prod db schema

* manual user model schema

* adjust json types

* temp: fix object type

* adjust schema with Json types

* fix: oliver found my bugs 🐛

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* ttl to int, remove github from user

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* fix: remove unused parts of the prisma schema

---------

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-05-16 07:28:39 +03:00
Oliver Eyton-Williams
fa7955dc75 feat(api): add prisma as orm (#49413) 2023-03-14 17:29:55 +00:00