Oliver Eyton-Williams
9429f52fd4
feat(api): remove rate limiting ( #58289 )
2025-01-23 15:35:50 -06:00
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
Oliver Eyton-Williams
ced457fed5
refactor: move CSRF code into plugin ( #56447 )
2024-10-04 12:56:04 +00:00
Oliver Eyton-Williams
274680dbdb
refactor: separate public and private plugins ( #56359 )
2024-10-02 13:52:02 +02:00
Lars Kappert
d32e57813e
chore: update Knip to v5 ( #56244 )
2024-09-26 13:12:00 +02:00
Oliver Eyton-Williams
0a99796dd3
refactor: simplified and documented test helpers ( #55493 )
2024-07-12 16:23:37 -07: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
fd1bf0dd5a
test: minor fix to how cookies are passed around ( #55259 )
2024-06-21 08:36:46 -07:00
Oliver Eyton-Williams
d06bbab6f8
refactor(api): more, smaller tests ( #54671 )
2024-05-20 11:18:14 -07:00
Oliver Eyton-Williams
aacfb281fb
feat(api): use jwt_access_token (in development) ( #53997 )
...
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com >
2024-03-20 13:47:12 +02:00
Oliver Eyton-Williams
fcf6bfae6a
test: speed up api tests ( #53969 )
2024-03-09 10:36:19 +05:30
Oliver Eyton-Williams
9f71d1c3ac
test: stop mocking env vars in jest.utils ( #53985 )
2024-03-07 08:36:06 +01:00
Oliver Eyton-Williams
c77a1c622f
refactor(test): improve build error message ( #53946 )
2024-03-01 13:09:23 +01:00
Oliver Eyton-Williams
6849b096b4
test: only use test dbs in testing ( #53770 )
2024-02-18 21:24:14 -08:00
Oliver Eyton-Williams
30667f3b0d
refactor(api): DRY out route tests ( #52193 )
2023-11-16 09:08:32 +01:00
Oliver Eyton-Williams
135812162e
feat(api): POST /ms-trophy-challenge-completed ( #51808 )
...
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com >
2023-11-03 10:00:55 +01: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
Oliver Eyton-Williams
948b7c52c2
fix(api): generate required properties for new users ( #51822 )
2023-10-07 10:50:30 +00:00
Oliver Eyton-Williams
5c8b94f236
test(api): setup mongo schema before running tests ( #51686 )
...
Co-authored-by: Muhammed Mustafa <MuhammedElruby@gmail.com >
2023-10-03 17:00:21 -05:00
Muhammed Mustafa
49b728d31b
refactor: disable naming-convenction rule ( #51685 )
2023-09-30 20:23:39 +07:00
Oliver Eyton-Williams
c2fff83d41
refactor(api): simplify user tests ( #51111 )
2023-07-31 21:08:05 +07:00
Muhammed Mustafa
ea45dc84b7
feat(api): add :email unsubscribe/:email to the deprecated ( #50497 )
...
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
2023-06-22 10:25:40 -05:00
Niraj Nandish
999d8a6c03
feat(api): create account delete endpoint ( #50304 )
...
* feat(api): create account delete endpoint
---------
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
2023-05-18 17:01:21 +03:00
Oliver Eyton-Williams
c3c912db07
feat(api): add csrf protection ( #50275 )
...
Co-authored-by: Sboonny <muhammed@freecodecamp.org >
2023-05-18 17:06:40 +05:30
Oliver Eyton-Williams
c2cb818f87
chore(api): add test utilities ( #50289 )
2023-05-09 11:15:54 +05:30
Oliver Eyton-Williams
46cdfd7802
feat(api): add CORS headers ( #50120 )
...
* test: allow mocking of env vars
Since utils/env is a module, we can mock it to control env vars in
tests. However, it's not compatible with building the server in
setupFilesAfterEnv, so, instead, we can use a utility function to keep
things DRY.
* fix: update type of fastifyTestInstance
* chore: add comment about sts preload
* chore: rename header plugin
* test: add get util + provide origin on request
* feat: add cors headers
* chore: add TODO
2023-04-26 09:02:12 +02:00