Commit Graph

60 Commits

Author SHA1 Message Date
Samuel Elliott
533af4aeba
Disable client hints for web services 2022-08-16 18:17:23 +01:00
Samuel Elliott
0697504379
Remove spaces 2022-08-13 01:27:13 +01:00
Samuel Elliott
4c5203e50e
Add friend code lookup and friend requests to the Electron app 2022-08-13 00:21:03 +01:00
Samuel Elliott
4ec0693ff0
Don't limit attempts to login when adding a new account 2022-07-27 16:28:09 +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
163023501d
Remove spaces 2022-07-27 14:47:36 +01:00
Samuel Elliott
85a9193328
Update coral
https://github.com/samuelthomas2774/nxapi/issues/14
2022-07-27 14:16:43 +01:00
Samuel Elliott
fe725f931a
Format response data in error messages 2022-07-23 18:07:25 +01:00
Samuel Elliott
dddb15aceb
Use package.json exports field 2022-07-23 17:42:41 +01:00
Samuel Elliott
0e630201c3
Rollup code splitting 2022-07-02 19:57:52 +01:00
Samuel Elliott
21f5f095a0
Add helper function for setting user agent 2022-07-01 21:22:40 +01:00
Samuel Elliott
62604f3c2a
Add Discord presence/friend notification options to app context menus 2022-07-01 14:00:45 +01:00
Samuel Elliott
8d38b94dcd
Fix segfault when running app bundle 2022-06-30 18:36:00 +01:00
Samuel Elliott
82e9b82e23
Add menu/tray icon 2022-06-30 16:22:02 +01:00
Samuel Elliott
bb606cfa7b
Handle errors loading data in the main window 2022-06-30 15:57:12 +01:00
Samuel Elliott
e5c54613d0
Handle errors starting/updating presence monitors 2022-06-29 09:31:31 +01:00
Samuel Elliott
b185b59d91
Handle errors from the Nintendo Account authorisation page 2022-06-28 20:25:54 +01:00
Samuel Elliott
a6a69b1799
Rename most instances of znc to coral 2022-06-28 19:22:01 +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
d09b8c2cb7 Fix staying open in background and URL handling on Windows 2022-06-19 20:16:47 +01:00
Samuel Elliott
1fc6cce5a6
Add support for all Discord presence options for the app 2022-06-18 12:46:03 +01:00
Samuel Elliott
7e5988685d
Prevent multiple instances and don't quit when all windows are closed 2022-06-18 12:20:42 +01:00
Samuel Elliott
d54ba360cf
Add Nintendo eShop link to friend modal 2022-06-16 16:26:15 +01:00
Samuel Elliott
3d8612b7b9
Add guided Discord setup 2022-06-16 16:21:01 +01:00
Samuel Elliott
961f5cc150
Don't wait for monitors to start when starting the app 2022-06-16 12:57:16 +01:00
Samuel Elliott
0195f65d63
Fix light macOS buttons 2022-06-16 12:55:10 +01:00
Samuel Elliott
abb440343a
Add x-appcolorscheme header for web service requests 2022-06-12 22:08:14 +01:00
Samuel Elliott
aa08c81a2a
Don't show macOS themed buttons as pressed when the cursor isn't over them 2022-06-12 16:58:13 +01:00
Samuel Elliott
b3c9fd8d8b
Add a warning about third-party API usage when adding a Nintendo Switch Online app account 2022-06-12 16:27:40 +01:00
Samuel Elliott
ca35545f98
Add functions to use a specific Discord user in the app 2022-06-12 15:19:12 +01:00
Samuel Elliott
241ce19ec8
Native-like macOS buttons and Windows appearance 2022-06-12 15:15:35 +01:00
Samuel Elliott
49ee4f87b5
Windows and save presence URLs 2022-06-09 17:14:56 +01:00
Samuel Elliott
c6a91b74dc
Electron app 2022-06-09 01:27:30 +01:00
Samuel Elliott
065e9f6175
Electron app 2022-06-09 01:21:39 +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
18761bbb31
Update dependencies 2022-05-29 19:16:54 +01:00
Samuel Elliott
5328ada1e7
Show share menu for web services 2022-05-29 18:02:07 +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
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
59adbe7b83
Build Electron app 2022-05-12 20:57:35 +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
a9aca8829f
Fix reconnecting to Discord and add an option to stay connected to Discord 2022-04-30 13:32:39 +01:00