Commit Graph

64 Commits

Author SHA1 Message Date
Samuel Elliott
0e33825d27
Fix API proxy announcements 2022-10-31 17:22:05 +00:00
Samuel Elliott
2776c936a1
Add Retry-After header for temporary errors 2022-10-30 17:47:10 +00:00
Samuel Elliott
516349e5df
Move HTTP server functions to a separate class 2022-10-30 17:44:01 +00:00
Samuel Elliott
9cb4ced59f
HTTP servers 2022-10-30 03:56:01 +00:00
Samuel Elliott
c913540ab4
Fix Salmon Run stage images when using a presence URL 2022-10-28 01:57:45 +01:00
Samuel Elliott
85d93c681e
Coral/SplatNet 3 presence proxy server 2022-09-25 19:51:05 +01:00
Samuel Elliott
4e6a29f74f
Use detailed presence information from SplatNet 3 2022-09-21 15:47:42 +01:00
Samuel Elliott
4cdc2adc30
Fix importing node-notifier 2022-09-19 19:13:23 +01:00
Samuel Elliott
c9c91a874d
Fix web service ID type in token request, handle errors requesting a new token 2022-09-10 16:58:02 +01:00
Samuel Elliott
1aa4aad85a
SplatNet 3 authentication 2022-09-08 19:44:15 +01:00
Samuel Elliott
5b93c63c23
Use coral result object directly 2022-09-07 17:33:40 +01:00
Samuel Elliott
4b5edd73df
Add a command to show the user's active event 2022-09-07 16:29:36 +01:00
Samuel Elliott
8afcd80f5a
Add preferences window 2022-09-07 15:54:38 +01:00
Samuel Elliott
65d1069edf
Only request data necessary to appear as if opening Nintendo's app 2022-08-16 17:00:59 +01:00
Samuel Elliott
f24dc2c63c
Remove unidentified-script user agent when running the API proxy server 2022-08-13 00:40:24 +01:00
Samuel Elliott
e9218b9004
Add friend code URL to API proxy 2022-07-28 14:04:29 +01:00
Samuel Elliott
0cc39aad13
Add friend code lookup to API proxy 2022-07-28 13:57:39 +01:00
Samuel Elliott
e12bb364a7
Prevent attempting to authenticate more than four times per hour
This only affects scripts - running this nxapi command in a terminal and the Electron app will ignore this limit.

https://github.com/samuelthomas2774/nxapi/issues/9
2022-07-27 15:48:19 +01:00
Samuel Elliott
b6074ebed0
Add commands for friend requests/friend codes 2022-07-27 14:40:09 +01:00
Samuel Elliott
dddb15aceb
Use package.json exports field 2022-07-23 17:42:41 +01:00
Samuel Elliott
21f5f095a0
Add helper function for setting user agent 2022-07-01 21:22:40 +01:00
Samuel Elliott
a6a69b1799
Rename most instances of znc to coral 2022-06-28 19:22:01 +01:00
Samuel Elliott
a2f3abaebd
Remove unpacked dependencies from app 2022-06-28 15:47:41 +01:00
Samuel Elliott
9f63fc8359
Handle simultaneous znc proxy requests properly 2022-05-30 13:16:06 +01:00
Samuel Elliott
b8f9c2c110
Automatically renew token when znc responds with a token expired error 2022-05-30 12:32:38 +01:00
Samuel Elliott
18761bbb31
Update dependencies 2022-05-29 19:16:54 +01:00
Samuel Elliott
967a063220
Move utility functions
This avoids importing most dependencies when not used.
2022-05-21 23:52:36 +01:00
Samuel Elliott
5f6004bd57
Move authentication functions
app no longer imports from cli
2022-05-21 23:47:41 +01:00
Samuel Elliott
4bc27e3ca9
Add an option to use a specific Discord client 2022-05-14 21:27:00 +01:00
Samuel Elliott
b531fcced4
Move monitoring classes, use nxapi debug namespace for non-app/cli modules 2022-05-14 19:06:43 +01:00
Samuel Elliott
a2f3d7d2e2
Allow selecting multiple users for friend notifications 2022-05-12 21:32:00 +01:00
Samuel Elliott
3e1ba3a863
Fix Electron app bundle 2022-05-09 21:48:29 +01:00
Samuel Elliott
784e882dd4
Move getToken/getMoonToken and add cli-table types 2022-05-09 21:28:31 +01:00
Samuel Elliott
ebf7f2a6f1
Add an option to set the play time text format 2022-05-01 23:14:14 +01:00
Samuel Elliott
c3d138a93a
Support user and friend URLs for --presence-url in nxapi util discord-activity 2022-05-01 23:03:34 +01:00
Samuel Elliott
dd35b84afa
Support user and friend URLs for --presence-url 2022-04-30 13:33:41 +01:00
Samuel Elliott
a9aca8829f
Fix reconnecting to Discord and add an option to stay connected to Discord 2022-04-30 13:32:39 +01:00
Samuel Elliott
03aab05619
Fix reloading NookLink and handle errors updating presence in the app 2022-04-30 11:33:30 +01:00
Samuel Elliott
81cec767df
Export NookLink client, remove duplicate ErrorResponse class 2022-04-26 16:50:19 +01:00
Samuel Elliott
9d05161bf3
Fix sharing a friend's presence on Discord 2022-04-26 13:59:54 +01:00
Samuel Elliott
8f5965913d
Add a command to test getting Discord activity from Nintendo Switch presence 2022-04-22 20:00:06 +01:00
Samuel Elliott
0b567e3d3f
Fix user icon in Discord when using --friend-nsaid and show current revision in Discord 2022-04-22 19:37:17 +01:00
Samuel Elliott
f294daa5bc
Fix getting current user presence with API proxy 2022-04-21 18:05:24 +01:00
Samuel Elliott
d07dcabe6f
Show demo title names as large image text and show the user's Nintendo Switch icon if sharing friend code 2022-04-21 17:58:16 +01:00
Samuel Elliott
f807719f3a
Add Discord Rich Presence and user/friend presence notifications to the Electron app 2022-04-17 22:29:14 +01:00
Samuel Elliott
e999ca85d8
Handle errors opening web services and check NSO membership 2022-04-17 21:53:02 +01:00
Samuel Elliott
53a15bbb99
Use /v3/Account/GetToken to renew the app token 2022-04-08 22:13:43 +01:00
Samuel Elliott
77a32e1b5e
Add an option to show event data 2022-04-08 19:57:45 +01:00
Samuel Elliott
a53eccd91e
Update znc types, add other endpoints and use /v3/Account/GetToken to renew the app token 2022-04-06 23:17:54 +01:00
Samuel Elliott
8bd6f306f8
Don't update web services and events with friends list 2022-04-06 22:48:35 +01:00