Jonathan Barrow
983ee92c9e
feat: up refresh tokens to be valid for 12 hours
2025-06-21 17:39:59 -04:00
Jonathan Barrow
6450f3256e
chore: update Token/TokenOptions types to use SystemType and TokenType
2025-06-21 17:29:47 -04:00
Jonathan Barrow
2e5e692cef
fix: update remaining magic numbers for system/token types
2025-06-21 17:27:49 -04:00
Jonathan Barrow
fb616c471c
chore: remove magic numbers for system types
2025-06-21 17:23:17 -04:00
Jonathan Barrow
9d02fce19d
chore: remove magic numbers for token types
2025-06-21 17:15:52 -04:00
Ash Logan
91dace2e96
Merge remote-tracking branch 'origin/dev' into work/add-account-devices
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
2025-06-20 23:05:55 +10:00
Jonathan Barrow
d95018d3d2
Merge pull request #185 from PretendoNetwork/grpc/upgrade-v2
2025-06-18 19:06:05 -04:00
Jonathan Barrow
bb7a1397a6
fix: handle null token generation in grpc
2025-06-18 18:55:13 -04:00
Jonathan Barrow
fecb062fc1
fix: update imports for eslint
2025-06-18 18:14:39 -04:00
Jonathan Barrow
209f95f20e
fix: update Node types
2025-06-18 18:13:51 -04:00
Jonathan Barrow
e01bd005a8
chore: update grpc package version to 2.2.1
2025-06-18 18:13:27 -04:00
Jonathan Barrow
3b202021f8
Merge pull request #181 from PretendoNetwork/chore/3ds-pnid-link
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
2025-06-18 17:38:12 -04:00
Jonathan Barrow
eac5ec9742
feat: implement v2 grpc servers
...
adds support for the new v2 gRPC servers while maintaining the old ones for legacy clients
2025-06-17 16:55:38 -04:00
Ash Logan
84922a5c51
feat(account): Add device linking data to GetUserData(pid)
...
This API will be useful for Juxt and other services that want to use device linking for moderation purposes. The data is pretty minimalist to start with to limit exposure.
Requires https://github.com/PretendoNetwork/grpc/pull/3
2025-06-15 00:50:26 +10:00
Jonathan Barrow
204b3aecba
Merge pull request #182 from DaniElectra/token-scope-fix
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
2025-06-08 19:00:08 -04:00
Daniel López Guimaraes
0209d8bb88
fix: Reapply restriction for NNAS only allowing console tokens
2025-06-08 23:51:07 +01:00
Jonathan Barrow
3f6cdb96c9
fix: remove WUP check when adding PNID to device in oauth
2025-05-31 16:26:43 -04:00
William Oldham
d54ee06de1
fix: pin mii-js at working version
2025-05-20 23:40:09 +01:00
William Oldham
462afd7c04
chore: update docker workflow to be default branch aware
2025-05-20 22:58:17 +01:00
William Oldham
cad56cd5b8
chore: split amd64 and arm64 Docker builds for speed
2025-05-20 22:49:56 +01:00
William Oldham
4f0e51a717
style: ignore mii-js
2025-05-20 22:46:11 +01:00
William Oldham
be69b87e8c
Merge branch 'master' into dev
Build and Publish Docker Image / build-publish (push) Has been cancelled
2025-05-19 23:58:11 +01:00
William Oldham
20125c88aa
Merge pull request #151 from PretendoNetwork/eslint
...
chore: upgrade eslint and use common package
2025-05-19 23:56:18 +01:00
William Oldham
d607e1992d
Merge pull request #175 from PretendoNetwork/dependabot/npm_and_yarn/multi-b4d14387f7
...
Build and Publish Docker Image / build-publish (push) Has been cancelled
chore(deps): bump body-parser and express
2025-05-19 23:54:43 +01:00
William Oldham
6c04fbd68c
style: do eslint format
2025-05-19 23:44:21 +01:00
William Oldham
82b3a44645
chore: upgrade to 0.0.8 of eslint-config
2025-05-19 23:44:13 +01:00
dependabot[bot]
b099208453
chore(deps): bump body-parser and express
...
Bumps [body-parser](https://github.com/expressjs/body-parser ) to 1.20.3 and updates ancestor dependency [express](https://github.com/expressjs/express ). These dependencies need to be updated together.
Updates `body-parser` from 1.20.1 to 1.20.3
- [Release notes](https://github.com/expressjs/body-parser/releases )
- [Changelog](https://github.com/expressjs/body-parser/blob/master/HISTORY.md )
- [Commits](https://github.com/expressjs/body-parser/compare/1.20.1...1.20.3 )
Updates `express` from 4.18.2 to 4.21.2
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/4.21.2/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.18.2...4.21.2 )
---
updated-dependencies:
- dependency-name: body-parser
dependency-version: 1.20.3
dependency-type: indirect
- dependency-name: express
dependency-version: 4.21.2
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-05-19 22:37:39 +00:00
William Oldham
7ca76be4e0
chore: run npm audit fix
2025-05-19 23:36:28 +01:00
William Oldham
78924d8baa
chore: upgrade eslint and use common package
2025-05-19 23:34:54 +01:00
William Oldham
48aa60bfec
Merge pull request #173 from PretendoNetwork/dependabot/npm_and_yarn/braces-3.0.3
...
chore(deps): bump braces from 3.0.2 to 3.0.3
2025-05-19 23:29:51 +01:00
William Oldham
c38baedbf3
Merge pull request #174 from PretendoNetwork/dependabot/npm_and_yarn/multi-8a59521ea1
...
chore(deps): bump ip and socks
2025-05-19 23:29:24 +01:00
William Oldham
4c32e5babe
Merge pull request #172 from PretendoNetwork/dependabot/npm_and_yarn/protobufjs-7.5.2
...
chore(deps): bump protobufjs from 7.2.4 to 7.5.2
2025-05-19 23:28:30 +01:00
dependabot[bot]
781aa2a159
chore(deps): bump ip and socks
...
Removes [ip](https://github.com/indutny/node-ip ). It's no longer used after updating ancestor dependency [socks](https://github.com/JoshGlazebrook/socks ). These dependencies need to be updated together.
Removes `ip`
Updates `socks` from 2.7.1 to 2.8.4
- [Release notes](https://github.com/JoshGlazebrook/socks/releases )
- [Commits](https://github.com/JoshGlazebrook/socks/compare/2.7.1...2.8.4 )
---
updated-dependencies:
- dependency-name: ip
dependency-version:
dependency-type: indirect
- dependency-name: socks
dependency-version: 2.8.4
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-05-19 22:21:34 +00:00
dependabot[bot]
cecc960e3e
chore(deps): bump braces from 3.0.2 to 3.0.3
...
Bumps [braces](https://github.com/micromatch/braces ) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3 )
---
updated-dependencies:
- dependency-name: braces
dependency-version: 3.0.3
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-05-19 22:21:05 +00:00
dependabot[bot]
b9771217b5
chore(deps): bump protobufjs from 7.2.4 to 7.5.2
...
Bumps [protobufjs](https://github.com/protobufjs/protobuf.js ) from 7.2.4 to 7.5.2.
- [Release notes](https://github.com/protobufjs/protobuf.js/releases )
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/protobufjs/protobuf.js/compare/protobufjs-v7.2.4...protobufjs-v7.5.2 )
---
updated-dependencies:
- dependency-name: protobufjs
dependency-version: 7.5.2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-05-19 22:20:35 +00:00
William Oldham
9ad36992d0
Merge pull request #171 from PretendoNetwork/remove-auth-updates
...
Build and Publish Docker Image / build-publish (push) Has been cancelled
Revert auth-update changes and hotpatches related
2025-05-10 00:09:12 +01:00
Jonathan Barrow
a1b5cea250
chore: revert support revert
Build and Publish Docker Image / build-publish (push) Has been cancelled
2025-05-09 18:44:03 -04:00
Jonathan Barrow
6434e7ce13
chore: revert pnid middleware token type check revert
2025-05-09 18:43:41 -04:00
Jonathan Barrow
959af6997d
chore: revert certificate revert
2025-05-09 18:25:57 -04:00
William Oldham
1a3445db5b
chore: revert auth-update changes and hotpatches related
...
Commits:
- f349b9de42
- b9966807c3
- 0bc3af0507
- 008a517947
2025-05-09 18:08:47 +01:00
William Oldham
056e773fe8
style: unused variable in logger
Build and Publish Docker Image / build-publish (push) Has been cancelled
2025-04-08 22:58:32 +01:00
William Oldham
f349b9de42
fix: don't use the in operator for checking in an array
2025-04-08 22:56:32 +01:00
William Oldham
0a234156c0
chore: add error logging to api middleware
2025-04-08 22:49:58 +01:00
William Oldham
8d647ef2d1
chore: pad numbers in logger
2025-04-08 22:49:47 +01:00
William Oldham
b9966807c3
chore: tidy up unneeded null handling for token generation
2025-04-08 22:18:44 +01:00
William Oldham
0bc3af0507
fix: handle title_id nullability
Build and Publish Docker Image / build-publish (push) Waiting to run
2025-04-08 22:09:21 +01:00
William Oldham
dc5b885e0f
chore: add better logging to login and register routes
Build and Publish Docker Image / build-publish (push) Waiting to run
2025-04-08 00:28:56 +01:00
William Oldham
008a517947
Merge pull request #111 from PretendoNetwork/auth-updates
...
Update some authentication related checks
2025-04-07 23:50:14 +01:00
Jonathan Barrow
d59c6ef226
Merge branch 'dev' into auth-updates
Build and Publish Docker Image / build-publish (push) Has been cancelled
2025-04-07 15:36:11 -04:00
Jonathan Barrow
97d5d88008
fix(grpc): add explicit token type check for refresh tokens
2025-04-07 14:39:51 -04:00