Commit graph

373 commits

Author SHA1 Message Date
Jonathan Barrow
005e0c1e94 API auth middleware 2022-07-10 13:19:59 -04:00
Jonathan Barrow
d18ac8fd18 NASC SVCLOC stub 2022-06-08 17:29:29 -04:00
Jonathan Barrow
2a14ff688c prettyfy api response 2022-06-08 16:19:44 -04:00
Jonathan Barrow
89029e61db
Merge pull request #36 from PretendoNetwork/docker
updated dockerfile
2022-05-09 07:57:10 -04:00
mrjvs
e5de5d4a70 update entrypoint with proper file checking 2022-05-09 13:08:18 +02:00
mrjvs
81dbe2af1e check for correct files in docker entrypoint + elaboration 2022-05-08 15:18:23 +02:00
mrjvs
c9f3ea13e1 add node_modules to dockerignore 2022-05-08 15:18:01 +02:00
mrjvs
8a8efb44f9 update dockerfile to nodejs 18 2022-05-08 15:17:52 +02:00
Jonathan Barrow
cb64ff1706
Merge pull request #35 from PretendoNetwork/docker
Docker
2022-05-07 19:57:15 -04:00
mrjvs
fdde32e70a modify code to support docker 2022-05-07 22:43:24 +02:00
mrjvs
d03122a4a6 add docker file 2022-05-07 22:43:12 +02:00
Jonathan Barrow
402f6e3e2e Fixed password reset not working 2022-02-17 16:41:23 -05:00
Jonathan Barrow
5498b38907 we need util to work 2022-02-17 15:24:39 -05:00
Jonathan Barrow
b8b19dc047 Body's are maps not objects 2022-02-17 15:17:46 -05:00
Jonathan Barrow
9fd1660c00 implement password resent (fixes #24) 2022-02-17 14:54:30 -05:00
Jonathan Barrow
85f6c45938 Changed to Mongoose .save from .update 2022-02-17 14:46:02 -05:00
Jonathan Barrow
3285fafc95 Implemented email change endpoints (fixes #23) 2022-02-17 14:18:05 -05:00
Jonathan Barrow
398aef5156 Implemented /v1/api/people/@me (#25 and #26) 2022-02-17 11:00:51 -05:00
Jonathan Barrow
ed394c3613 Fix mii image api URLs 2022-02-15 15:54:40 -05:00
Jonathan Barrow
b75f63f846 moved client header check middleware to main NNID router 2022-02-14 08:09:53 -05:00
Jonathan Barrow
4399b225de updated endpoint comments 2022-02-14 07:48:37 -05:00
Jonathan Barrow
022629bcef mapped_ids API now behaves properly (fixes #31) 2022-02-13 18:21:16 -05:00
Jonathan Barrow
d92d4f3e89 renamed "account" service to "nnid" 2022-02-06 18:01:18 -05:00
Jonathan Barrow
3bc805a6bf NASC should check NEX access level not device 2022-01-29 16:37:32 -05:00
Jonathan Barrow
a1831ec4af wrong server name attribute 2022-01-28 21:19:29 -05:00
Jonathan Barrow
ea2f6b2596 only check if PID linked if PID is sent 2022-01-28 21:15:54 -05:00
Jonathan Barrow
0f5a0f1a42 more server checks in NASC 2022-01-28 20:01:39 -05:00
Jonathan Barrow
9e3a48e87e util doesnt import util 2022-01-28 09:07:27 -05:00
Jonathan Barrow
6421593505 Improved NASC (3DS) support 2022-01-28 08:55:53 -05:00
Jonathan Barrow
be1d2688b3 removed unused imports from cemu middlware 2022-01-10 10:21:26 -05:00
Jonathan Barrow
d04ff4b249 Added conntest endpoint 2022-01-10 08:19:45 -05:00
Jonathan Barrow
a2e4b15830 aded hcaptcha to register endpoint 2021-12-19 19:18:40 -05:00
Jonathan Barrow
b0154992c2 Updated register data checks 2021-12-19 00:07:21 -05:00
Jonathan Barrow
9b1b56f2f6 fixed token access level bug 2021-12-19 00:06:26 -05:00
Jonathan Barrow
a40960c43d provide Mii data 2021-12-13 08:12:25 -05:00
Jonathan Barrow
53f00312f4 added register endpoints for user api 2021-12-12 09:24:37 -05:00
Jonathan Barrow
2f69cfc5ac Added (temporary) Cemu-specific handling 2021-12-11 07:51:58 -05:00
Jonathan Barrow
8e816ff44d temp privacy policy update 2021-11-29 06:37:32 -05:00
Jonathan Barrow
896d5f0e85 Changed api access token generation 2021-11-28 09:51:00 -05:00
Jonathan Barrow
0a7f64fea5 user not found api error 2021-11-25 13:53:44 -05:00
Jonathan Barrow
cf44ee7888 Added account ban check 2021-11-25 13:53:21 -05:00
Jonathan Barrow
ff68648f5a Started adding a user API 2021-11-20 17:40:15 -05:00
Jonathan Barrow
7435efd9f9 Changed token time meaning 2021-11-15 09:23:44 -05:00
Jonathan Barrow
7f8e1d394c npm audit 2021-11-14 14:45:55 -05:00
Jonathan Barrow
049af9803b filter mapped_ids 2021-11-14 14:45:50 -05:00
Jonathan Barrow
05ce273004 servers now stored in the database 2021-10-07 21:35:26 -04:00
Jonathan Barrow
fb7e0b1614 spelling error 2021-10-06 16:16:50 -04:00
Jonathan Barrow
4889478c92 hot fix removing NNIDs 2021-10-03 02:59:08 -04:00
Jonathan Barrow
5b4dee6d35 hot fix missing NEX account 2021-10-03 00:00:33 -04:00
Jonathan Barrow
9e8a39967f Quick PNID fixes for new NEX account backend 2021-09-13 22:15:54 -04:00