Commit Graph

76 Commits

Author SHA1 Message Date
Samuel Elliott
39ffa02e58
Remote configuration 2022-07-23 19:57: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
1ddbe10f25
Add a command and functions to get SplatNet 2 X Rank seasons 2022-06-26 18:00:47 +01:00
Samuel Elliott
ed91f2d085
Add a command to get a NookLink user token 2022-06-26 17:55:56 +01:00
Samuel Elliott
39bfc8ab39
Add a command to get a SplatNet 2 iksm_session cookie 2022-06-26 16:14:02 +01:00
Samuel Elliott
60c0e592db
Electron app 2022-06-05 15:04:36 +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
1573accd73
Generate scripts for znca API server 2022-05-29 20:18:49 +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
992f8900f2
Merge remote-tracking branch 'github/main' 2022-05-08 00:51:10 +01:00
Samuel Elliott
e46e1e46fb
Always get package root directory from src/util.ts 2022-05-07 23:18:23 +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
eac5aec23c
Export Discord title configuration 2022-04-30 13:23:50 +01:00
Samuel Elliott
018c92cc62
Remove web service data when removing user data 2022-04-30 11:45:22 +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
5559f8df33
Add a command to validate Discord title configuration 2022-04-21 18:49:24 +01:00
Samuel Elliott
508c8dfa3f
Add command to encrypt/decrypt capture IDs 2022-04-21 18:22:05 +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
b508fcc072
Add command to encrypt/decrypt capture IDs 2022-04-21 16:54:15 +01:00
Samuel Elliott
b74994327c
Add NookLink commands 2022-04-18 14:45:24 +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
68246fbb6b
Implement APIs for web services (required for NookLink) 2022-04-17 00:56:08 +01:00
Samuel Elliott
53a15bbb99
Use /v3/Account/GetToken to renew the app token 2022-04-08 22:13:43 +01:00
Samuel Elliott
e138f67969
Add update check 2022-04-08 20:35:57 +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
Samuel Elliott
ac921e3f16
Add a command to show/update presence permissions and simplify notify/presence updates 2022-04-06 22:41:17 +01:00
Samuel Elliott
b677b22809
Add a command to start the Electron app 2022-04-05 20:48:26 +01:00
Samuel Elliott
32cf761bf2
Fix pctl auth 2022-03-26 22:13:20 +00:00