Commit Graph

409 Commits

Author SHA1 Message Date
Mrugesh Mohapatra
fada6f08f8 fix(api): add req to the child logger (#59961) 2025-04-24 19:35:57 +00:00
Mrugesh Mohapatra
ff38233f96 fix(api): adjust levels for cookie related logs (#59946) 2025-04-24 19:20:07 +00:00
Shaun Hamilton
46b910ee40 dev(api): add build options to test env (#59957) 2025-04-24 22:33:49 +05:30
Mrugesh Mohapatra
2fd7344555 fix(api): adjust logs in email-subscription (#59944) 2025-04-24 09:37:45 -05:00
Mrugesh Mohapatra
27689faf41 fix(api): adjust logging in bouncer, downgrade to trace (#59945) 2025-04-24 09:36:28 -05:00
Oliver Eyton-Williams
ae387fbd5c refactor(api): organise tooling (#59931) 2025-04-24 10:27:23 +05:30
Mrugesh Mohapatra
3c822da243 fix(api): catch GB init errors on prod only (#59912)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2025-04-24 10:26:33 +05:30
Oliver Eyton-Williams
db07c718b9 fix: only log if the request has an Origin header (#59920) 2025-04-23 22:50:12 +02:00
Oliver Eyton-Williams
37028f2bb8 chore(api): log growthbook initialization failures (#59889)
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2025-04-22 18:36:27 +02:00
Shaun Hamilton
6478bea038 feat(api): add user id to user report (#59816) 2025-04-22 09:28:16 -05:00
Oliver Eyton-Williams
fdbca0bd1f fix(api): skip cors logging for /status/* routes (#59881)
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2025-04-22 14:05:49 +00:00
Mrugesh Mohapatra
1cab0991b5 fix(api): adjust logs (#59887) 2025-04-22 15:58:26 +02:00
Oliver Eyton-Williams
cc1b31f59d chore(api): throw if growthbook env vars are missing (#59873) 2025-04-22 07:41:09 +00:00
Mrugesh Mohapatra
ae720e8282 feat(api): add deployment version endpoint (#59841) 2025-04-21 14:30:20 -05:00
Oliver Eyton-Williams
6ab9f57d69 feat(api): deprecate /api endpoints (#59657) 2025-04-10 17:04:20 +05:30
Oliver Eyton-Williams
087d17abe6 feat(api): copy /api endpoints (#59283)
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2025-04-04 11:55:43 +00:00
Oliver Eyton-Williams
4bb7d9dd98 feat(api): add logs to protected challenge routes (#59108)
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2025-04-02 22:06:52 +02:00
Shaun Hamilton
e89a9b9e3f feat(api): add logs to exam environment routes (#59139) 2025-04-01 21:05:05 +00:00
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
Sem Bauke
59dda94259 feat(api): enhance logging for mobile login endpoint (#59159) 2025-03-25 02:05:32 +00:00
Oliver Eyton-Williams
f6b57883e1 feat(api): set log level for csrf errors (#59228) 2025-03-13 22:24:41 +00:00
Krzysztof G.
5e2ff8fa3c fix(api): use tsx for develop (#59250)
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2025-03-12 12:07:55 +00:00
Naomi
0b96c09e84 feat: replace ts-node with tsx (#59019) 2025-03-11 19:55:54 +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
Oliver Eyton-Williams
fb8bf0d804 feat(api): protected settings logs (#59063) 2025-03-11 11:15:37 -05:00
Sem Bauke
d78ae931d3 feat(api) add logging for cookie clearing (#59058) 2025-03-11 10:43:28 -05:00
Mrugesh Mohapatra
248e4d733a fix(api): update logging in routes -- donate 2025-03-11 19:16:53 +05:30
Mrugesh Mohapatra
35c0d8234c fix(api): update logging in routes -- email-subscription 2025-03-11 19:16:52 +05:30
Mrugesh Mohapatra
4e80c211ff fix(api): update logging in route -- status 2025-03-11 19:16:52 +05:30
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
0fc4ea6949 feat(api): logging signout route (#59055) 2025-03-05 01:55:47 +05:30
Shaun Hamilton
6af8c1005e feat(api): add public user route logs (#59124) 2025-03-04 21:20:18 +05:30
Sem Bauke
9b0a63234d feat(api): add logging to cookie update (#59057) 2025-03-04 16:13:11 +02:00
Oliver Eyton-Williams
fa5f4cd83d feat(api): add logs to protected user routes (#59102)
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2025-03-04 16:02:15 +02:00
fadiothman22
9aae2307e5 fix: remove duplicate if statement (#59029) 2025-03-03 09:18:44 -08: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
Shaun Hamilton
08e820c8b1 dev(api): add logs to /certificate/showCert (#58981) 2025-02-28 05:26:00 +05:30
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
a8fd25e9fd feat(api): logging protected certificate routes (#58933) 2025-02-24 22:45:23 +05:30
Oliver Eyton-Williams
d15820a2cc feat(api): logging protected donation routes (#58934) 2025-02-24 22:44:09 +05:30
Oliver Eyton-Williams
c2df388d93 chore(deps): update fastify (#58924) 2025-02-24 11:13:09 -06:00
Oliver Eyton-Williams
fba14f0c28 refactor(api): simplify error handling (#58925) 2025-02-23 03:29:00 +02: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
5b0f491c52 refactor(api): simplify logging (#58707)
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2025-02-14 12:06:16 +02:00
Mrugesh Mohapatra
f7e959af47 fix(api): use query not params (#58734) 2025-02-12 18:35:27 +05:30
Oliver Eyton-Williams
6e9513a933 chore: upgrade eslint (#58575) 2025-02-07 22:48:43 +02:00