Commit graph

  • d11dc27f04 Begin notes on setting up using Docker SuperMarioDaBom 2023-07-17 00:04:39 -07:00
  • 93c0f5e7a2 So I don't accidentally push data generated by the server in Docker SuperMarioDaBom 2023-07-17 00:03:38 -07:00
  • 3844531191
    Add GetNEXData GRPC method Daniel López Guimaraes 2023-07-17 00:20:26 +01:00
  • 9ed605774a Update Dockerfile to properly reflect needs, remove unneeded files SuperMarioDaBom 2023-07-14 01:28:46 -07:00
  • 06c9cc9c01
    [NNID] - Update certificate middleware header checks. Closes #22 Jonathan Barrow 2023-07-13 14:52:41 -04:00
  • ee9c1f7821
    [API] - Fix invalid characters error when registering. Closes #41 Jonathan Barrow 2023-07-13 14:17:21 -04:00
  • 648e15c9e1
    [NNID] /v1/api/miis - Return duplicate results for duplicate inputs Jonathan Barrow 2023-07-13 14:00:16 -04:00
  • c704d9af55
    [NNID] /v1/api/miis - Filter invalid PIDs Jonathan Barrow 2023-07-13 13:25:16 -04:00
  • e42329cb73
    [NNID] /v1/api/miis - Send 404 when no valid PIDs are given Jonathan Barrow 2023-07-13 13:12:11 -04:00
  • f584a5b499
    Make user data update endpoint do something Jonathan Barrow 2023-07-12 18:17:15 -04:00
  • cf1f95cb33
    Password reset token is hex, not base64 Jonathan Barrow 2023-07-08 11:39:23 -04:00
  • f3040d69e8
    Update email error log Jonathan Barrow 2023-07-05 16:42:32 -04:00
  • 65beb3d78b
    Send email when PNID is deleted Jonathan Barrow 2023-07-05 16:38:59 -04:00
  • 664562f344
    Update Stripe checks in PNID scrub method Jonathan Barrow 2023-07-05 16:30:26 -04:00
  • 70a00bb139
    Removed useless unique fields on PNID model Jonathan Barrow 2023-06-15 14:55:13 -04:00
  • e408189f77
    Fixed NASC import name change Jonathan Barrow 2023-06-14 13:12:12 -04:00
  • ca20208041
    Fixed PNID scrubbing not saving default Mii data Jonathan Barrow 2023-06-14 13:02:42 -04:00
  • 976c1bf21f
    NNID service tokens now check client_id for generation Jonathan Barrow 2023-06-14 12:58:09 -04:00
  • 08e0d9c436
    Invalid password error is wrapped in errors tag Jonathan Barrow 2023-06-14 11:54:57 -04:00
  • cb89fb925b
    Removed is_emulator field from device document schema Jonathan Barrow 2023-06-13 23:21:01 -04:00
  • 4051a3107f
    Implemented https://account.nintendo.net/v1/api/admin/time Jonathan Barrow 2023-06-13 19:01:23 -04:00
  • dbaa154d47
    Added getNEXPassword gRPC method Jonathan Barrow 2023-06-13 18:41:35 -04:00
  • b69349f248
    v1/api/people/@me/deletion is POST not PUT Jonathan Barrow 2023-06-12 21:19:45 -04:00
  • 9c3a80be4a
    Added support for comma separated headers Jonathan Barrow 2023-06-11 21:07:39 -04:00
  • 26e87b133c
    Improved PID tracking Jonathan Barrow 2023-06-11 09:51:13 -04:00
  • b36c63a0b3
    Added better console tracking Jonathan Barrow 2023-06-11 07:46:27 -04:00
  • c1d39a4b13
    Token access level is now a signed int to allow negative numbers Jonathan Barrow 2023-06-10 20:08:31 -04:00
  • 15b6f1f4a3
    Renamed getPNIDByBearerAuth to getPNIDByTokenAuth (not all tokens are bearer) Jonathan Barrow 2023-05-31 21:31:48 -04:00
  • dee432b4a0
    Added gRPC service for the API (for future use) Jonathan Barrow 2023-05-31 21:29:41 -04:00
  • 9c16196435
    Fixed missing crc on website tokens Jonathan Barrow 2023-05-31 20:55:41 -04:00
  • 11984e12a4
    Added missing fields to API tokens Jonathan Barrow 2023-05-03 19:49:51 -04:00
  • 0db626a2b5
    Updated API token format Jonathan Barrow 2023-05-03 19:38:49 -04:00
  • 3c03ce8509
    fixed website grant type check Jonathan Barrow 2023-05-03 17:40:26 -04:00
  • 8b578c750a
    Removed password change from PNID.scrub and added 0112 error on deleted accounts Jonathan Barrow 2023-05-03 12:19:55 -04:00
  • 298bcf7b45
    updated migrations Jonathan Barrow 2023-05-02 22:01:39 -04:00
  • fc994bf84d
    Added migration to add missing server AES keys Jonathan Barrow 2023-05-02 15:28:43 -04:00
  • 82cba5dd06
    Added friend code migration Jonathan Barrow 2023-05-02 15:03:24 -04:00
  • 9f68827337
    Generate 3DS friend code when registering 3DS NEX account Jonathan Barrow 2023-05-02 14:37:11 -04:00
  • d269258b61
    Added token checksum to non-access/refresh tokens Jonathan Barrow 2023-05-01 15:02:04 -04:00
  • a4bc671957
    Added deleted field to gRPC getUserData method Jonathan Barrow 2023-04-29 17:58:20 -04:00
  • eeab60ae26
    Removed useless calls to response.status(200) (200 is default) Jonathan Barrow 2023-04-29 17:51:36 -04:00
  • 20ddbe7552
    Explicitly set each non-200 status on each response Jonathan Barrow 2023-04-29 17:50:56 -04:00
  • 43432902c4
    Replaced all instances of response.end with response.send Jonathan Barrow 2023-04-29 17:42:27 -04:00
  • 60b6392153
    Added return types to route handlers Jonathan Barrow 2023-04-29 17:40:54 -04:00
  • b9481892e0
    Removed unsafe .get() calls from Mongoose documents Jonathan Barrow 2023-04-29 15:39:20 -04:00
  • cc62c8dad3
    Removed unused PNIDgetServerMode method Jonathan Barrow 2023-04-29 15:30:12 -04:00
  • d821802088
    Add types to PNID.updateMii params Jonathan Barrow 2023-04-29 15:27:41 -04:00
  • 91e1537b10
    Call PNID.updateMii when scrubbing to generate default Mii images Jonathan Barrow 2023-04-29 15:25:18 -04:00
  • 65f057c47a
    Added deleted flag to PNIDs Jonathan Barrow 2023-04-29 14:52:18 -04:00
  • 8b7296543d
    Cancel Stripe subscription during PNID scrubbing Jonathan Barrow 2023-04-29 14:48:19 -04:00
  • 50089e0435
    Added PNID.scrub method to remove personal information Jonathan Barrow 2023-04-29 14:32:04 -04:00
  • 4f19993889
    Only use fcdcert as the source of truth for 3DS consoles Jonathan Barrow 2023-04-29 13:27:39 -04:00
  • adb44380c6
    Added server maintenance mode check Jonathan Barrow 2023-04-28 19:36:31 -04:00
  • c0e4395b80
    Removed useless await from getPNIDByBearerAuth Jonathan Barrow 2023-04-28 16:18:47 -04:00
  • d46a9413b4
    Changed decryptToken to always use the account server key Jonathan Barrow 2023-04-28 16:02:31 -04:00
  • 379d1895c2
    Added more logging when starting server Jonathan Barrow 2023-04-28 14:15:49 -04:00
  • 12ad6b39c6
    Made gRPC server port configurable Jonathan Barrow 2023-04-28 13:59:19 -04:00
  • 85d9c65989
    Added getUserData gRPC method Jonathan Barrow 2023-04-27 23:58:02 -04:00
  • 528882b9e8
    Fixed PNID Stripe connection type Jonathan Barrow 2023-04-27 23:41:26 -04:00
  • b67b266b8d
    Added missing Stripe connection on PNIDs Jonathan Barrow 2023-04-27 23:34:49 -04:00
  • 1e42569cbb
    Updated image-pixels type definition Jonathan Barrow 2023-04-27 16:08:31 -04:00
  • 6c6ff81db1
    Removed unused example.config.json Jonathan Barrow 2023-04-27 16:03:35 -04:00
  • c420997de0
    Updated example.env Jonathan Barrow 2023-04-27 16:03:15 -04:00
  • dc036cd662
    Added SETUP.md and updated README Jonathan Barrow 2023-04-27 16:01:58 -04:00
  • da73236e74
    Merge pull request #65 from PretendoNetwork/ts-migration Jonathan Barrow 2023-04-27 15:35:35 -04:00
  • d6d92ca27c
    Added types to modules without types Jonathan Barrow 2023-04-27 15:05:22 -04:00
  • 84c2086da2
    Updated build command Jonathan Barrow 2023-04-27 14:39:02 -04:00
  • 36bf30a64a
    Replace rm -rf with rimraf Jonathan Barrow 2023-04-27 14:38:28 -04:00
  • bbf6a9340a
    Fix linting issues Jonathan Barrow 2023-04-27 14:38:03 -04:00
  • 2de196a649
    Updated lint and build commands Jonathan Barrow 2023-04-27 14:35:27 -04:00
  • 7a45ad8642
    Update index.js Jvr2022 2023-04-09 08:32:35 +02:00
  • b2b64b83c3
    Update server.js Jvr2022 2023-04-09 08:25:21 +02:00
  • 3b094a4406
    Update create-test-user.js Jvr2022 2023-04-09 08:16:14 +02:00
  • 98adc1bcca
    Update example.config.json Jvr2022 2023-04-09 08:02:07 +02:00
  • cdfbd97cfd
    Update logger.js Jvr2022 2023-04-09 07:53:05 +02:00
  • 46ca92be4c
    Update package.json Jvr2022 2023-04-08 21:51:10 +02:00
  • 55ee3ce18b
    Changed token format to be much smaller (thanks 3DS) Jonathan Barrow 2023-04-01 11:15:59 -04:00
  • 2e0bb207a9
    Fixed bug where 0.0.0.0:0 NEX addresses were seen as invalid Jonathan Barrow 2023-03-31 16:15:36 -04:00
  • b8f1486fbf
    Fixed NASC errors not being sent correctly in middleware Jonathan Barrow 2023-03-31 12:11:36 -04:00
  • 2b53c5d5a0
    Fixed 3DS cert not being verified correctly Jonathan Barrow 2023-03-31 12:09:12 -04:00
  • 00b1aecd70
    Fixed token generation for production users Jonathan Barrow 2023-03-30 10:22:31 -04:00
  • 7734879130
    Fixed email secure boolean check/conversion Jonathan Barrow 2023-03-19 16:34:14 -04:00
  • 39ccd942cb
    Convert Maps to JSON objects on request body Jonathan Barrow 2023-03-19 16:21:30 -04:00
  • f977d77c5c
    Renamed user functions to PNID for clarity Jonathan Barrow 2023-03-19 13:46:29 -04:00
  • b89d3a15b0
    Renamed user variables to better match their types Jonathan Barrow 2023-03-19 13:42:08 -04:00
  • 741e82daaf
    Removed all .set calls from documents Jonathan Barrow 2023-03-19 13:36:01 -04:00
  • 5b00bae36f
    Removed .get calls on documents Jonathan Barrow 2023-03-19 13:27:28 -04:00
  • 821ad69b47
    Removed hard coded XML string responses Jonathan Barrow 2023-03-19 11:59:44 -04:00
  • a95d4e10a6
    Handle arrays and proper types on headers and query strings Jonathan Barrow 2023-03-19 11:52:43 -04:00
  • b28aababbe
    Made logger object as const Jonathan Barrow 2023-03-18 17:18:39 -04:00
  • a9de4d94dc
    Removed useless await in nasc middleware Jonathan Barrow 2023-03-18 17:07:46 -04:00
  • 5c7738d1d0
    Changed ACCESS_LEVEL to enum Jonathan Barrow 2023-03-18 17:04:32 -04:00
  • a2415faab8
    Removed unnecessary regex escapes Jonathan Barrow 2023-03-18 17:00:12 -04:00
  • b309eecff9
    Finish strict mode errors Jonathan Barrow 2023-03-18 16:58:20 -04:00
  • 0d3d6fcce7
    Stubbed missing types from 3rd party modules Jonathan Barrow 2023-03-18 10:12:37 -04:00
  • dd952954fd
    Enable strict mode in TS and fix most issues with it Jonathan Barrow 2023-03-17 17:39:46 -04:00
  • e508dd95d4
    Removed unneccesary casts Jonathan Barrow 2023-03-17 16:18:18 -04:00
  • 9f3d5c4a35
    Removed default exports in favor of named exports Jonathan Barrow 2023-03-17 16:16:10 -04:00
  • 15042f3ee5
    Removed RegExp from getUserByEmailAddress Jonathan Barrow 2023-03-17 15:02:20 -04:00
  • c7626de1f1
    Revert "revert me" Jonathan Barrow 2023-03-08 17:11:26 -05:00