Commit Graph

623 Commits

Author SHA1 Message Date
limes
2e400a5715 fix(mailer): isolate toText and toHTML, minor changes
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
2025-11-15 00:45:18 +01:00
limes
53862037ce fix(mailer): <b> and <strong> on icloud web and thunderbird
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
2025-11-13 02:41:14 +01:00
limes
169dbdf729 feat(mailer): replace notice in footer to only refer to forum
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
2025-11-12 08:34:30 +01:00
limes
17b294e20f feat(mailer): improve layout on gmail mobile 2025-11-12 05:18:59 +01:00
limes
a0bde9538a feat(mailer): improve support for gmail on mobile, minor fixes
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
2025-11-11 01:32:07 +01:00
limes
11bc868da3 feat(mailer): fix theme on gmail
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
2025-11-10 21:38:16 +01:00
limes
e848cc5f35 feat: improve compatibility with iCloud web and legacy clients 2025-11-10 17:49:52 +01:00
limes
660adbd4bf feat(mailer): add padding before all headers
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
2025-11-10 15:22:49 +01:00
limes
3c6393de1e feat(mailer): add required asset for light theme email 2025-11-10 14:19:41 +01:00
limes
bb37ea5411
docs(mailer): fix error in comments, minor changes 2025-11-10 13:55:12 +01:00
limes
bfbebed3c8 style(mailer): fix wrong font-size on buttons 2025-11-10 04:34:58 +01:00
limes
ec7e80f38d fix(mailer): wrong asset url 2025-11-10 04:29:53 +01:00
limes
2e9ac5c49c feat: clean up email generation 2025-11-10 02:14:13 +01:00
William Oldham
e3fcd8f47f chore: use master branch for all references
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
2025-10-05 20:28:34 +01:00
William Oldham
544383fe3d chore: use the master branch, not the default branch 2025-10-05 20:24:53 +01:00
William Oldham
c479c29b05 Only do ip2location for main brain build 2025-10-05 20:20:55 +01:00
William Oldham
5697a9e73f chore: add ip2location token for both platforms 2025-10-05 19:50:12 +01:00
William Oldham
ab80f48dde chore: add logging to ip2location and add token to build scripts 2025-10-05 19:48:02 +01:00
William Oldham
73d6a74a35
Merge pull request #191 from PretendoNetwork/dependabot/npm_and_yarn/multi-1083d179d6
chore(deps): bump on-headers and morgan
2025-10-05 19:26:56 +01:00
William Oldham
f2545984a4
Merge pull request #196 from PretendoNetwork/feat/grpc-deletions
Update PNID scrubbing functionality and add account deletion gRPC endpoints
2025-10-04 18:12:50 +01:00
Jonathan Barrow
6e99715f85
fix: add try-catch to Discourse data scrubbing 2025-10-03 16:22:17 -04:00
Jonathan Barrow
d699a5efdb
fix: Discourse and Miiverse gRPC settings had optional status swapped 2025-10-03 16:21:55 -04:00
Jonathan Barrow
cda6f85399
feat: add automatic Miiverse data removal on PNID scrub 2025-10-03 13:58:23 -04:00
Jonathan Barrow
f5faf8aac7
feat: add DeleteAccount gRPC methods 2025-10-03 13:46:41 -04:00
Jonathan Barrow
8f1cd2c2d6
feat: automatically anonymize Discourse users on PNID scrub 2025-10-03 13:41:07 -04:00
Jonathan Barrow
195f9541f1
feat: automatically delete Stripe user, not just sub, on PNID scrub 2025-10-03 13:40:48 -04:00
Jonathan Barrow
093f6bd2dc
chore: update @pretendonetwork/grpc 2025-10-03 12:55:49 -04:00
William Oldham
dc93a750a0
Merge pull request #194 from PretendoNetwork/feat/mississippi
Mississippi
2025-10-01 22:08:32 +01:00
Jonathan Barrow
56a7d4a870
chore: add prefix to ip2l download errors 2025-10-01 10:54:20 -04:00
Jonathan Barrow
1e864b7aa0
fix: replace zip.close() with console.error(error)
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
2025-09-07 17:22:24 -04:00
Jonathan Barrow
1c5a291cb0
chore: remove leftover debug log 2025-09-07 17:21:34 -04:00
Jonathan Barrow
13fd7a76a4
chore: enable proxy trusting
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
2025-09-02 19:10:44 -04:00
Jonathan Barrow
794eac6f56
feat: add getAgeFromDate util function 2025-09-02 19:09:31 -04:00
Jonathan Barrow
fe75d36945
fix: add some more input validation to /v1/register 2025-09-02 18:38:48 -04:00
Jonathan Barrow
9d18028432
feat: make mississippi checker optional 2025-09-02 18:28:08 -04:00
Jonathan Barrow
1ef20edd72
chore: switch from unzipper to yauzl-promise 2025-09-02 18:04:07 -04:00
Jonathan Barrow
a088c29822
feat(nnas/api): add Mississippi check at registration 2025-08-27 15:50:59 -04:00
Daniel López Guimaraes
1a3011e9b4
Merge pull request #192 from DaniElectra/custom-patch
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
2025-08-18 22:54:05 +01:00
Daniel López Guimaraes
98b76f0e8f
chore(nasc): Add TODO for supporting locating servers by game server ID 2025-08-09 19:55:46 +01:00
Daniel López Guimaraes
915b7b62b2
feat(nasc): Add enforcement of custom patches to required titles
If the supplied game server ID doesn't match the one present on the
server database, then assume the title requires patches on the user's
end. Give this behavior a custom error code 002-0152 to facilitate
support to unaware users.

Also drop the legacy fallback of the friends server to the test
environment, since the server should be available to anyone anyway, and
we already have the production config for it.

Alongside that, update the maintenance error code to use the proper
002-0101 as expected.
2025-07-30 17:11:00 +01:00
dependabot[bot]
477a0dd2b1
chore(deps): bump on-headers and morgan
Bumps [on-headers](https://github.com/jshttp/on-headers) to 1.1.0 and updates ancestor dependency [morgan](https://github.com/expressjs/morgan). These dependencies need to be updated together.


Updates `on-headers` from 1.0.2 to 1.1.0
- [Release notes](https://github.com/jshttp/on-headers/releases)
- [Changelog](https://github.com/jshttp/on-headers/blob/master/HISTORY.md)
- [Commits](https://github.com/jshttp/on-headers/compare/v1.0.2...v1.1.0)

Updates `morgan` from 1.10.0 to 1.10.1
- [Release notes](https://github.com/expressjs/morgan/releases)
- [Changelog](https://github.com/expressjs/morgan/blob/master/HISTORY.md)
- [Commits](https://github.com/expressjs/morgan/compare/1.10.0...1.10.1)

---
updated-dependencies:
- dependency-name: on-headers
  dependency-version: 1.1.0
  dependency-type: indirect
- dependency-name: morgan
  dependency-version: 1.10.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-17 21:28:21 +00:00
Jonathan Barrow
d267d8da0f
Merge pull request #189 from PretendoNetwork/chore/token-update
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
2025-06-25 17:55:40 -04:00
Ash Logan
1de03590ee fix: Don't need SystemType.CTR 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
2025-06-25 14:05:20 +10:00
William Oldham
20d70ced42
Merge pull request #190 from PretendoNetwork/fix/unique-email-code
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
Remove unique constraint from 6 digit email code
2025-06-23 20:08:27 +01:00
Jonathan Barrow
8fa0ee16ae
fix: remove unique constraint from 6 digit email code 2025-06-23 14:42:30 -04:00
Ash Logan
b9cf3194fc fix: Seperate token checks by type
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
Give each expected token type a seperate function and un-export the "generic" one.

This required deciding what the "expected" token type is for all endpoints. Possibly contraversial choices are:

- API tokens only on the HTTP API (no service tokens)
- API tokens only on the gRPC APIs
- API tokens only on ExchangeTokenForUserData (I could only find 1 user of this API - BOSS - and they use API tokens here)

Notably, there is now no way to get the account server to validate a service token - services must decrypt them locally. We should probably add an API for this for the benefit of third parties.
2025-06-22 19:54:27 +10:00
Ash Logan
fc1963363a feat: up refresh tokens on v2 grpc api to 12 hour expiry
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
2025-06-22 12:46:01 +10:00
Ash Logan
545ef69727 Merge branch 'dev' into chore/token-update 2025-06-22 12:37:01 +10:00
Ash
2717e01feb
Merge pull request #188 from PretendoNetwork/work/add-account-devices
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(grpc): Add device linking data to account GetUserData(pid)
2025-06-22 12:33:21 +10:00
Jonathan Barrow
18940dd681
feat: allow independent services to expire their own tokens 2025-06-21 17:49:50 -04:00