Commit Graph

744 Commits

Author SHA1 Message Date
mrjvs
e4d8950659 fix: Remove deprecated usage of request.host 2026-09-01 21:33:46 +02:00
mrjvs
7babb418df feat: implement PNID and NEXToken metrics 2026-09-01 21:29:29 +02:00
mrjvs
8a1964fab0 feat: add support for prometheus metrics 2026-09-01 21:15:36 +02:00
mrjvs
5b3b5e4151 fix: made error logs include the stacktrace 2026-09-01 21:02:47 +02:00
mrjvs
a622772eed feat: add healthcheck endpoint 2026-09-01 20:54:37 +02:00
mrjvs
ba245c0f93 fix: remove deletion workflow from boot 2026-09-01 20:49:00 +02:00
mrjvs
13b6feb22f chore: Made schedule creation a success log and not an error 2026-09-01 20:48:27 +02:00
mrjvs
34dc075b58 Merge pull request #355 from PretendoNetwork/feat/update-email
Some checks failed
Build and Publish Docker Image / Build and Publish Docker Image (amd64) (push) Has been cancelled
Build and Publish Docker Image / Build and Publish Docker Image (arm64) (push) Has been cancelled
feat: add updateEmail/verifyEmail grpc, track email changes
2026-08-29 22:29:57 +02:00
limes
4e19a2f785 fix: type import
Some checks failed
Build and Publish Docker Image / Build and Publish Docker Image (amd64) (push) Has been cancelled
Build and Publish Docker Image / Build and Publish Docker Image (arm64) (push) Has been cancelled
2026-08-29 18:02:21 +02:00
limes
5cc6dd30c4 fix: clear email history... better? 2026-08-29 18:01:12 +02:00
limes
dfe17a2bf2 fix: use v2 auth middleware for v2 paths 2026-08-29 16:35:19 +02:00
limes
7f9d91b3b7 fix: history not tracked on nnas endpoint, not scrubbed 2026-08-29 16:26:45 +02:00
Jonathan Barrow
990c9bfd13 Merge pull request #356 from PretendoNetwork/chore/mongo-device-index
Some checks failed
Build and Publish Docker Image / Build and Publish Docker Image (amd64) (push) Has been cancelled
Build and Publish Docker Image / Build and Publish Docker Image (arm64) (push) Has been cancelled
Add Mongo index on `linked_pids` in `DeviceSchema`
2026-08-28 19:25:37 -04:00
Jonathan Barrow
394e772333 chore: add Mongo index on linked_pids in DeviceSchema
helps reduce CPU usage under bigger loads
2026-08-28 19:17:43 -04:00
limes
0bb3d86fa9 feat: add updateEmail/verifyEmail grpc, track email changes 2026-08-26 20:42:43 +02:00
Jonathan Barrow
2f93854240 Merge pull request #354 from PretendoNetwork/feat/date-validation
Some checks failed
Build and Publish Docker Image / Build and Publish Docker Image (amd64) (push) Has been cancelled
Build and Publish Docker Image / Build and Publish Docker Image (arm64) (push) Has been cancelled
2026-08-25 20:15:57 -04:00
limes
07d2809ae2 feat: account birthday validation 2026-08-26 02:03:49 +02:00
Jonathan Barrow
81cbacfec1 Merge pull request #351 from PretendoNetwork/feat-account-edit
Some checks failed
Build and Publish Docker Image / Build and Publish Docker Image (amd64) (push) Has been cancelled
Build and Publish Docker Image / Build and Publish Docker Image (arm64) (push) Has been cancelled
Feat: account edit grpc endpoint
2026-08-23 12:54:08 -04:00
limes
11f10aa25f lint: run linter 2026-08-23 18:49:24 +02:00
limes
45ac3b889c chore: update eslint rules 2026-08-23 18:49:16 +02:00
limes
cbf2fdf0f2 feat: simplify region update logic, per review
Some checks failed
Build and Publish Docker Image / Build and Publish Docker Image (amd64) (push) Has been cancelled
Build and Publish Docker Image / Build and Publish Docker Image (arm64) (push) Has been cancelled
2026-08-20 03:29:58 +02:00
limes
770c706c0f fix: update user data endpoint based on review 2026-08-19 23:07:04 +02:00
limes
d6791f1b35 feat: add account editing 2026-08-19 22:35:50 +02:00
limes
0c8f4a07b1 fix: pnid interface 2026-08-19 21:11:55 +02:00
Jonathan Barrow
8c802d7f6c Merge pull request #350 from PretendoNetwork/feat/longer-refresh-tokens
Some checks failed
Build and Publish Docker Image / Build and Publish Docker Image (amd64) (push) Has been cancelled
Build and Publish Docker Image / Build and Publish Docker Image (arm64) (push) Has been cancelled
Update refresh token expiry to 7 days
2026-08-19 14:30:14 -04:00
mrjvs
abbaeec0ac feat: update refresh token expiry to 7 days 2026-08-19 20:27:14 +02:00
mrjvs
2c6927ff46 Merge pull request #349 from PretendoNetwork/feat/email-db-call-fix
Some checks failed
Build and Publish Docker Image / Build and Publish Docker Image (amd64) (push) Has been cancelled
Build and Publish Docker Image / Build and Publish Docker Image (arm64) (push) Has been cancelled
fix: less db calls on email confirmation
2026-08-19 15:47:15 +02:00
mrjvs
104a99cfba fix: less db calls on email confirmation 2026-08-19 15:44:24 +02:00
mrjvs
edb4b02e9f Merge pull request #347 from suprstarrd/fix/remove-connection-route
Some checks failed
Build and Publish Docker Image / Build and Publish Docker Image (amd64) (push) Has been cancelled
Build and Publish Docker Image / Build and Publish Docker Image (arm64) (push) Has been cancelled
fix: remove legacy connections route
2026-08-06 14:33:41 +02:00
suprstarrd
3ed056c458 fix: remove unused dependency on joi
Signed-off-by: Sienna "suprstarrd" M. <business@suprstarrd.com>
2026-08-04 16:43:42 -04:00
suprstarrd
53489a009d fix: remove unused connection data variables
Signed-off-by: Sienna "suprstarrd" M. <business@suprstarrd.com>
2026-08-04 10:41:36 -04:00
suprstarrd
3b4b4dbb54 fix: remove legacy connections route
Signed-off-by: Sienna "suprstarrd" M. <business@suprstarrd.com>
2026-08-02 14:50:54 -04:00
Ash
fc1206184f Merge pull request #342 from PretendoNetwork/fix/rate-limits
Some checks failed
Build and Publish Docker Image / Build and Publish Docker Image (amd64) (push) Has been cancelled
Build and Publish Docker Image / Build and Publish Docker Image (arm64) (push) Has been cancelled
feat: Add rate limits to unauthenticated endpoints
2026-07-18 17:18:48 +10:00
Ash Logan
20788433b0 feat: ratelimit unauthenticated endpoints 2026-07-18 15:23:55 +10:00
Ash Logan
696e93af9e chore: rename ratelimit to deviceRatelimit 2026-07-18 14:55:55 +10:00
Jonathan Barrow
d32a8c0c4b Merge pull request #313 from PretendoNetwork/feat/grpc-tokens
Some checks are pending
Build and Publish Docker Image / Build and Publish Docker Image (amd64) (push) Waiting to run
Build and Publish Docker Image / Build and Publish Docker Image (arm64) (push) Waiting to run
Opaque tokens
2026-07-17 16:12:25 -04:00
Jonathan Barrow
4b23969848 feat: add token and pid indexes to token models
Some checks failed
Build and Publish Docker Image / Build and Publish Docker Image (amd64) (push) Has been cancelled
Build and Publish Docker Image / Build and Publish Docker Image (arm64) (push) Has been cancelled
2026-07-15 17:09:04 -04:00
Jonathan Barrow
46e7ea163a fix: make tokenType use the token type, not system type 2026-07-15 17:00:35 -04:00
Jonathan Barrow
6a02c328bc feat: delete tokens when password is successfully reset 2026-07-15 16:58:46 -04:00
Jonathan Barrow
f6735da36b chore: fix build errors after merge conflicts
this fixes all the build errors after 089a943 was merged. it also pins @bufbuild/protobuf to v2.2.2 which is what our gRPC library uses. current versions of @bufbuild/protobuf use newer TypeScript features that we arent setup to handle yet
2026-07-15 14:13:02 -04:00
Jonathan Barrow
efe35da6eb chore: only lint src folder 2026-07-15 11:53:45 -04:00
Jonathan Barrow
089a94332a Merge branch 'dev' into feat/grpc-tokens 2026-07-15 11:50:42 -04:00
Jonathan Barrow
9253b2f25a Merge pull request #337 from PretendoNetwork/fix/mac-ouis
Some checks failed
Build and Publish Docker Image / Build and Publish Docker Image (amd64) (push) Has been cancelled
Build and Publish Docker Image / Build and Publish Docker Image (arm64) (push) Has been cancelled
2026-05-22 19:31:48 -04:00
Jonathan Barrow
f24e22337c fix(nasc): use the official vendor OUI list
the old list was out dated and had duplicate OUIs, and the source is dead now
2026-05-17 15:06:33 -04:00
Jonathan Barrow
caff78db50 Merge pull request #336 from PretendoNetwork/chore/automatic-scrub-save
Some checks failed
Build and Publish Docker Image / Build and Publish Docker Image (amd64) (push) Has been cancelled
Build and Publish Docker Image / Build and Publish Docker Image (arm64) (push) Has been cancelled
Fix automatic PNID scrubbing
2026-05-12 11:56:55 -04:00
Jonathan Barrow
bd37a737e0 chore: add try-catch to checkMarkedDeletions loop 2026-05-12 11:46:35 -04:00
Jonathan Barrow
f1262bf64a fix: add automatic this.save() calls to pnid.scrub/markForDeletion 2026-05-12 11:44:14 -04:00
Jonathan Barrow
eef5b0b4af Merge pull request #335 from PretendoNetwork/fix/#332
Update "PNID deleted" email to mention the 7 day grace period
2026-05-12 11:41:25 -04:00
Jonathan Barrow
660f692379 Merge pull request #334 from PretendoNetwork/fix/#333
Some checks are pending
Build and Publish Docker Image / Build and Publish Docker Image (amd64) (push) Waiting to run
Build and Publish Docker Image / Build and Publish Docker Image (arm64) (push) Waiting to run
Throw `0114` for users under 13
2026-05-11 19:45:50 -04:00
Jonathan Barrow
d47f2faa58 chore: update capitalization in "PNID deleted" email
Some checks failed
Build and Publish Docker Image / Build and Publish Docker Image (amd64) (push) Has been cancelled
Build and Publish Docker Image / Build and Publish Docker Image (arm64) (push) Has been cancelled
2026-05-11 19:45:05 -04:00