Sem Bauke
f206ba2487
feat(api): add logging to Auth0 endpoint ( #59160 )
...
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com >
Co-authored-by: Naomi Carrigan <commits@nhcarrigan.com >
2025-04-01 15:46:57 -05:00
Oliver Eyton-Williams
f6b57883e1
feat(api): set log level for csrf errors ( #59228 )
2025-03-13 22:24:41 +00:00
Sem Bauke
8bb352b67e
chore(api): add logging for 404 not found requests ( #59068 )
...
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com >
2025-03-11 11:19:18 -05:00
Sem Bauke
d78ae931d3
feat(api) add logging for cookie clearing ( #59058 )
2025-03-11 10:43:28 -05:00
Sem Bauke
b9b94c3187
feat(api): add logging to bouncer ( #59056 )
2025-03-10 13:21:03 -05:00
Sem Bauke
d071676ae7
feat(api): add debug logging for security headers in response ( #59070 )
...
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com >
2025-03-10 12:57:23 -05:00
Oliver Eyton-Williams
e74bc4dfed
fix(api): use req, not _req when logging ( #59181 )
2025-03-08 08:53:54 -06:00
Sem Bauke
9b0a63234d
feat(api): add logging to cookie update ( #59057 )
2025-03-04 16:13:11 +02:00
Sem Bauke
9cb6677e9f
feat(api): log disallowed origins ( #59059 )
2025-03-03 15:44:37 +02:00
Sem Bauke
17838276b8
feat(api): add logging for CSRF addition ( #59062 )
2025-03-03 15:42:38 +02:00
Sem Bauke
99ec728c05
feat(api): log mailer when sending email ( #59065 )
2025-03-01 12:05:32 +01:00
Oliver Eyton-Williams
a943366ac0
feat(api): replace sentry plugin with sdk ( #58912 )
...
Co-authored-by: Naomi <accounts+github@nhcarrigan.com >
2025-02-25 12:35:34 -08:00
Oliver Eyton-Williams
6e9513a933
chore: upgrade eslint ( #58575 )
2025-02-07 22:48:43 +02:00
Oliver Eyton-Williams
478ac3b3c5
fix(api): auth error logging ( #58614 )
2025-02-06 11:37:30 -08:00
Shaun Hamilton
9adc0a621d
feat(api): add growthbook ( #57950 )
2025-01-08 15:35:58 -08:00
Mrugesh Mohapatra
4d4e617b7d
fix(sentry): use environments
2025-01-02 18:21:54 +05:30
Huyen Nguyen
ba70f5d253
feat(api): add /submit-quiz-attempt endpoint ( #57201 )
2024-12-06 12:45:12 -06:00
Oliver Eyton-Williams
fcedb7e98d
chore(curriculum): remove upcoming python superblock ( #57247 )
2024-11-20 09:14:36 -08:00
Oliver Eyton-Williams
2f4e6ae8f5
refactor(api): sync dev and auth0 plugins ( #57136 )
2024-11-12 15:06:54 -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
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
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
Oliver Eyton-Williams
609cdb0c4a
feat(api): redirect auth requests if already signed in ( #55829 )
2024-08-14 18:53:20 +05:30
Oliver Eyton-Williams
e9ac6c5e72
fix(api): modularize auth handlers ( #55671 )
2024-08-08 23:05:25 +05:30
Oliver Eyton-Williams
e94080add5
feat(api): implement authorization code flow in the new api ( #55413 )
2024-07-24 20:08:10 +03:00
Oliver Eyton-Williams
5a00c13de4
refactor(api): use decorator to clear our cookies ( #55470 )
2024-07-15 10:17:40 +02:00
Oliver Eyton-Williams
bb95e2ff54
feat(api): add plugin allowing server to update cookies ( #55395 )
2024-07-09 07:33:04 +00:00
Oliver Eyton-Williams
bc87a56970
chore(deps): bump fastify/cookie ( #55425 )
2024-07-08 20:49:11 +05:30
Oliver Eyton-Williams
e8b15a255b
feat(api): handle missing endpoints ( #55429 )
2024-07-08 13:07:16 +02:00
Oliver Eyton-Williams
766e982040
fix(api): relax cookie settings in development ( #55351 )
...
Co-authored-by: Naomi the Technomancer <accounts+github@nhcarrigan.com >
2024-07-01 08:09:39 -07:00
Shaun Hamilton
253272f35c
fix(api): use HOME_LOCATION var in tests ( #55386 )
2024-07-01 08:06:00 -07:00
Oliver Eyton-Williams
512547e76c
refactor(api): sensible default cookie config ( #55227 )
2024-06-27 08:44:47 +00: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
4c412bff9a
chore(api): remove unused session handling ( #55240 )
2024-06-20 20:18:16 +02:00
Oliver Eyton-Williams
84a41a4da8
feat(api): finish update-my-email endpoint ( #54921 )
...
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com >
2024-06-03 09:08:42 +02:00
Oliver Eyton-Williams
6fe2b0811f
fix(mailhog): use docker network address in containers ( #54877 )
2024-05-23 11:21:32 +02:00
Oliver Eyton-Williams
8775e9d7a1
fix: double signing test ( #54171 )
2024-03-26 10:11:34 +01: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
056ac85e52
chore: delete auth0 PKCE routes ( #53820 )
2024-02-22 22:44:13 +05:30
Niraj Nandish
70741db619
feat(api): report user endpoint ( #51170 )
...
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
2023-10-11 20:49:05 +05:30
Oliver Eyton-Williams
25ff25e74f
feat(api): remove csrf protection from get-session-user ( #51615 )
2023-10-03 16:17:00 -05:00
Oliver Eyton-Williams
2b5bc585a3
feat(api): sync api and api-server CORS headers ( #51608 )
2023-09-21 15:40:19 +02:00
Oliver Eyton-Williams
c1bc0d3f39
feat(api): handle OPTIONS requests ( #51610 )
2023-09-19 16:45:51 -05:00
Oliver Eyton-Williams
f3da82518a
feat(api): email service ( #50637 )
...
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com >
2023-08-04 18:57:59 -07:00
Oliver Eyton-Williams
65239ee68b
feat(api): allow redirection with message ( #50525 )
...
Co-authored-by: Muhammed Mustafa <MuhammedElruby@gmail.com >
2023-06-07 15:30:12 +02:00
Oliver Eyton-Williams
30419c2e20
refactor: register fastify-sentry directly ( #50622 )
2023-06-06 13:45:12 +02:00
Oliver Eyton-Williams
5e17868c74
fix(api): allow fastify to set content-type dynamically ( #50248 )
...
fix: allow fastify to set content-type dynamically
We can set content-type: application/json for specific routes, but
doing so ends up with confusing, over-engineered code.
Instead we should take care when auditing the endpoints.
2023-05-02 10:15:31 -07:00