Commit Graph

655 Commits

Author SHA1 Message Date
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
Some checks failed
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
Some checks failed
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
Some checks failed
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
Some checks failed
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
Some checks failed
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
Some checks are pending
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
Some checks are pending
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
Some checks failed
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
Jonathan Barrow
6087dc68ce
fix(nnas): correct error message for missing country header 2025-04-07 14:37:15 -04:00
William Oldham
89243ea686
Merge pull request #165 from PretendoNetwork/dev
Some checks failed
Build and Publish Docker Image / build-publish (push) Has been cancelled
Merge Dev to Master
2025-03-22 23:02:04 +00:00
Jonathan Barrow
9c92cfda3b
chore(nnas): remove outdated TODO in PNID middleware
Some checks failed
Build and Publish Docker Image / build-publish (push) Has been cancelled
2025-02-03 16:56:59 -05:00
Jonathan Barrow
37971c006d
refactor(nnas): check headers and device status in all possible endpoints
Some checks are pending
Build and Publish Docker Image / build-publish (push) Waiting to run
2025-02-03 13:22:30 -05:00
William Oldham
bc7defc80f
Merge pull request #152 from PretendoNetwork/token-fix
Some checks failed
Build and Publish Docker Image / build-publish (push) Has been cancelled
Fix for Invalid Service Token error - Refresh Token Duration same as Access Token
2025-02-02 10:26:43 +00:00
William Oldham
0578bfd501 chore: move back to number types for token, with const enum 2025-02-02 10:21:31 +00:00
William Oldham
bc406ec1b5
Merge pull request #99 from ItzSwirlz/dev
Some checks failed
Build and Publish Docker Image / build-publish (push) Has been cancelled
Implement email confirmation for parental controls (send_confirmation/pin/:email)
2025-02-01 20:10:24 +00:00
William Oldham
1197f713dc fix: ensure check returns
Some checks failed
Build and Publish Docker Image / build-publish (push) Has been cancelled
2025-02-01 20:00:49 +00:00
William Oldham
25c9b8b843
Merge pull request #155 from mrjvs/jvs-with-script
Some checks are pending
Build and Publish Docker Image / build-publish (push) Waiting to run
Account deletion/purging script
2025-02-01 19:55:08 +00:00
William Oldham
fdc122b486 chore: resolve review comments
Some checks are pending
Build and Publish Docker Image / build-publish (push) Waiting to run
2025-02-01 11:26:39 +00:00
William Oldham
8f2e6fc088 fix: use enum values for token property comparison
Some checks are pending
Build and Publish Docker Image / build-publish (push) Waiting to run
2025-01-31 23:33:37 +00:00
William Oldham
c7a230b860 style: add return type to fix eslint 2025-01-31 23:30:24 +00:00
William Oldham
577b5020b0 style: fix eslint issues in login 2025-01-31 23:05:45 +00:00
William Oldham
169e686944 feat: use "enum" for token system type 2025-01-31 23:05:11 +00:00
William Oldham
cad2d0e68e chore: use different oauth refresh expiry for NNAS and API 2025-01-31 23:05:11 +00:00
William Oldham
2a00924264 feat: use "enum" for token type 2025-01-31 23:05:11 +00:00
William Oldham
e3c78476ab style: fix linting issues 2025-01-31 23:05:11 +00:00
William Oldham
79bc90852b chore: don't use await when not needed 2025-01-31 23:05:11 +00:00