Commit Graph

419 Commits

Author SHA1 Message Date
Mrugesh Mohapatra
7e76946a07
fix(api): sending incorrect object in log (#60372) 2025-05-15 09:02:25 -05:00
Mrugesh Mohapatra
eeeeb034ec
fix(api): deduplicating objects in logs (#60319)
Some checks failed
CI - E2E - 3rd party donation tests / Build & Test (20) (push) Has been cancelled
CI - Node.js / Lint (20) (push) Has been cancelled
CI - Node.js / Build (20) (push) Has been cancelled
CI - Node.js / Test (20) (push) Has been cancelled
CI - Node.js / Test - Upcoming Changes (20) (push) Has been cancelled
CI - Node.js / Test - i18n (italian, 20) (push) Has been cancelled
CI - Node.js / Test - i18n (portuguese, 20) (push) Has been cancelled
2025-05-13 20:40:49 +05:30
Tom
f908548246
feat(api): add endpoint for submitting daily coding challenges (#59465)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2025-05-12 17:26:32 +02:00
Oliver Eyton-Williams
a169c2a7b1
chore(api): remove oldschema.prisma (#60227) 2025-05-08 15:27:47 +05:30
Mrugesh Mohapatra
8a6fcd70db
fix(api): update logging (#60210)
Some checks failed
CI - E2E - 3rd party donation tests / Build & Test (20) (push) Has been cancelled
CI - Node.js / Lint (20) (push) Has been cancelled
CI - Node.js / Build (20) (push) Has been cancelled
CI - Node.js / Test (20) (push) Has been cancelled
CI - Node.js / Test - Upcoming Changes (20) (push) Has been cancelled
CI - Node.js / Test - i18n (italian, 20) (push) Has been cancelled
CI - Node.js / Test - i18n (portuguese, 20) (push) Has been cancelled
2025-05-07 15:30:32 +05:30
Mrugesh Mohapatra
ff43f3aeca
fix(api): whitespace in default values (#60199) 2025-05-07 01:52:42 +05:30
Mrugesh Mohapatra
dc5c7893b5
fix(api): update logs in user.ts (#60193)
Some checks failed
CI - E2E - 3rd party donation tests / Build & Test (20) (push) Has been cancelled
CI - Node.js / Lint (20) (push) Has been cancelled
CI - Node.js / Build (20) (push) Has been cancelled
CI - Node.js / Test (20) (push) Has been cancelled
CI - Node.js / Test - Upcoming Changes (20) (push) Has been cancelled
CI - Node.js / Test - i18n (italian, 20) (push) Has been cancelled
CI - Node.js / Test - i18n (portuguese, 20) (push) Has been cancelled
2025-05-06 23:49:24 +05:30
Mrugesh Mohapatra
d0e63c60ca
fix(api): add req id to logs (#60191) 2025-05-06 22:20:31 +05:30
Mrugesh Mohapatra
008e35d851
fix(api): update logging (#60187) 2025-05-06 20:46:36 +05:30
Mrugesh Mohapatra
a905083bf8
chore(api): improve log statements (#59992)
Some checks failed
CI - E2E - 3rd party donation tests / Build & Test (20) (push) Has been cancelled
CI - Node.js / Lint (20) (push) Has been cancelled
CI - Node.js / Build (20) (push) Has been cancelled
CI - Node.js / Test (20) (push) Has been cancelled
CI - Node.js / Test - Upcoming Changes (20) (push) Has been cancelled
CI - Node.js / Test - i18n (italian, 20) (push) Has been cancelled
CI - Node.js / Test - i18n (portuguese, 20) (push) Has been cancelled
2025-04-25 10:34:03 +00:00
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)
Some checks failed
CI - E2E - 3rd party donation tests / Build & Test (20) (push) Has been cancelled
CI - Node.js / Lint (20) (push) Has been cancelled
CI - Node.js / Build (20) (push) Has been cancelled
CI - Node.js / Test (20) (push) Has been cancelled
CI - Node.js / Test - Upcoming Changes (20) (push) Has been cancelled
CI - Node.js / Test - i18n (italian, 20) (push) Has been cancelled
CI - Node.js / Test - i18n (portuguese, 20) (push) Has been cancelled
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)
Some checks failed
i18n - Build Validation / Validate i18n Builds (20) (push) Has been cancelled
CI - Node.js / Lint (20) (push) Has been cancelled
CI - Node.js / Build (20) (push) Has been cancelled
CI - Node.js / Test (20) (push) Has been cancelled
CI - Node.js / Test - Upcoming Changes (20) (push) Has been cancelled
CI - Node.js / Test - i18n (italian, 20) (push) Has been cancelled
CI - Node.js / Test - i18n (portuguese, 20) (push) Has been cancelled
i18n - Upload Client UI / Client (push) Has been cancelled
i18n - Upload Curriculum / Learn (push) Has been cancelled
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)
Some checks failed
i18n - Build Validation / Validate i18n Builds (20.x) (push) Has been cancelled
CI - Node.js / Lint (20.x) (push) Has been cancelled
CI - Node.js / Build (20.x) (push) Has been cancelled
CI - Node.js / Test (20.x) (push) Has been cancelled
CI - Node.js / Test - Upcoming Changes (20.x) (push) Has been cancelled
CI - Node.js / Test - i18n (italian, 20.x) (push) Has been cancelled
CI - Node.js / Test - i18n (portuguese, 20.x) (push) Has been cancelled
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)
Some checks failed
CI - E2E - 3rd party donation tests / Build & Test (20.x) (push) Has been cancelled
CI - Node.js / Lint (20.x) (push) Has been cancelled
CI - Node.js / Build (20.x) (push) Has been cancelled
CI - Node.js / Test (20.x) (push) Has been cancelled
CI - Node.js / Test - Upcoming Changes (20.x) (push) Has been cancelled
CI - Node.js / Test - i18n (italian, 20.x) (push) Has been cancelled
CI - Node.js / Test - i18n (portuguese, 20.x) (push) Has been cancelled
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