Commit Graph

83 Commits

Author SHA1 Message Date
Natsumi
fc4d94c279 Group instances 2023-06-03 07:25:07 +12:00
Teacup
7d6ca28f86 feat: Add /getall, logging to .NET, fix manager not getting traveling world (#554)
* fix: Fix world-db not getting current world properly when traveling

* fix: Stop redundant and exception-prone funcResult definition

* Fix: fetching current location

* refactor: Move constructing responseData to its own functions

* Fix: ignore own string requests

* feat: Add NLog dependency, and add some logging to .NET, mostly worlddb

* fix: I missed a semicolon

* refactor: Add more debug logging, change log format, archive less

* feat: Add /getall endpoint

---------

Co-authored-by: Natsumi <cmcooper123@hotmail.com>
2023-06-02 12:59:31 +12:00
Teacup
0101f3474f Add systems for local world persistence (#553)
* chore: Change vscode workspace settings to work with omnisharp

* refactor(.NET): Use connection string builder to init sqlite database

* docs(.NET): Add method documentation to most things that matter

* docs(.NET): Add more docs I forgot to commit apparently

* feat: Add PoC world database structure ^& http listener

* fix: Send a response if VRCX isn't initialized rather than hanging

* feat: Initialize world db schema on startup

* feat: Allow worlds to store data in db through logfile

* use existing current location for worldDB

* Add tooltips

* chore: Make it so vscode can format C# files without prettier

* refactor: Add sqlite-net to (eventually) replace sqlite impl

* refactor: Make use of sqlite-net for world database

* docs: Add todo for fixing some random exception

* refactor: Remove now-unused SQLiteWorld

* refactor: Fix DB init query and change table structure again

* refactor: Add WorldDataRequest, add attributes for camelcase json keys

* Support current user location from API in addition to gameLog

* Change current location check for worldDB

* feat: Take store requests in JSON, identify worlds by GUID on store.

* refactor: Remove unused worldId param from connection key generator

* docs: Add more documentation to the methods for the world database

* fix: Hey wait that's not a primary key

* feat: Add a 10MB data cap for worlds shared across all of their rows.

* fix: Don't calculate size of world date twice when inserting

* refactor: Discard the guid variable since we only check for validity

* docs: Add docs/comments for new data cap functionality

* feat: Implement /getbulk API endpoint

* fix: Correct WorldDB init query typo

* fix: Update data entries properly instead of using 'OR REPLACE'

* refactor: Move endpoint processing to separate methods

* refactor: Add another check for error 503, remove old code

* feat: Add debug capability to /vrcx/getbulk

* fix: Correct the usage of getUser in actuallyGetCurrentLocation

* feat: Add store errors, implement external reading, stop 404ing

* docs: Add docs for new world db funcs

* refactor: Change world db server listen port to 22500

* fix: Use getUser correctly, dumb dumb

* fix: This error set shouldn't be here

* feat: Future-proof api endpoints. Add /status endpoint

---------

Co-authored-by: Natsumi <cmcooper123@hotmail.com>
2023-06-01 10:34:50 +12:00
Teacup
24f1a57c5d Add applauncher settings, refactor some pug code (#544)
* fix(.NET): Stop CheckGameRunning from force checking processes

I'm not really sure what I was thinking when I did that the way I did; They are not supposed to force check if they're closed after the first time...That's what the monitor is for.

* feat(.NET): Add optional child process culling, clean up applauncher

Add an AppApi method to set applauncher settings Enabled/KillChildrenOnExit

Refactor repeated applauncher event code, move into methods

* refactor: Move the pug code for every tab into its own file

* refactor: Add PoC mixins to settings.pug ^& add comments for navigation

Some proof of concept replacements of the categories, switches and a radio group in the General settings seection.
Also added comments for each header-separated section for marginally better navigation of the file.

* refactor: Move the login page to its own file

* fix(.NET): Correct wrong variable being set in SetAppLauncherSettings

* fix(.NET): Remove redundant/exception causing process refresh in monitor

* refactor(.NET): Allow launcher to be disabled; Disabled by default.

* refactor: Change screenshot helper default to true

* feat: Expose new app launcher settings, add new settings category

Translation keys added/removed:
+ view.settings.advanced.advanced.app_launcher.header
+ view.settings.advanced.advanced.app_launcher.folder_tooltip
+ view.settings.advanced.advanced.app_launcher.enable
+ view.settings.advanced.advanced.app_launcher.auto_close
- view.settings.advanced.advanced.auto_launch
- view.settings.advanced.advanced.auto_launch_tooltip

* Add GPU Fix and Udon Exception Logging options, unload favorites tab when not in use

* Fix GPUFix typo

* Fix GPUFix typo 1

* Add logging for AVPro streams without usharp videoplayer

* Lint

---------

Co-authored-by: Natsumi <cmcooper123@hotmail.com>
2023-05-13 22:26:29 +12:00
Natsumi
ca8d6e4e5a Move savedCredentials to userId 2023-04-29 10:25:00 +12:00
Natsumi
18447710bb Fix in VR log check 2023-04-25 22:39:42 +12:00
Natsumi
4d97dcb798 small changes for resource loading logging 2023-03-25 03:58:14 +13:00
BoatFloater
3f0a479e1a Add GameLog entries for resource loading (#513)
* add log entries for resource loading

* add config for resource loading
2023-03-25 03:57:55 +13:00
Natsumi
11f1f8063e Relaunch on game crash, log udon exceptions 2023-03-23 02:30:06 +13:00
Teacup
0f3b8c732a feat: Add options to save the current world name/id to screenshot metadata/filenames 2023-02-11 18:30:53 -05:00
Natsumi
9ec7dbbe55 Debug logging, show/hide avatar 2022-12-15 23:57:29 +13:00
Natsumi
2fd992edf7 Debug logging message, custom script 2022-12-13 21:49:58 +13:00
Natsumi
c6a180fc7a Minimize to tray at startup 2022-10-08 02:22:53 +13:00
Natsumi
57d48c828c Small changes and fixes 2022-09-04 10:11:25 +12:00
Natsumi
4b6691cd5d Fix location destination 2022-08-14 20:18:40 +12:00
Natsumi
ca514ead77 Fixes 2022-08-10 18:23:50 +12:00
Natsumi
a4e8c8db58 Fixes 2022-08-04 17:02:17 +12:00
Natsumi
571a58351a Fix --no-vr, avatar DB warning, force silent installer 2022-07-30 23:39:56 +12:00
Natsumi
2128a6adfa isGameNoVR, remove steam login, remove copy instance, Fix PortalSpawn 2022-07-29 21:31:49 +12:00
Natsumi
36ff14b0e8 VRC quit fix 2022-06-13 02:28:41 +12:00
Natsumi
e68f570b86 Stop audio device change event from occurring when opening big menu 2022-06-13 02:28:38 +12:00
Natsumi
5c6d8799df Remove duplicate video errors 2022-06-13 02:28:35 +12:00
Natsumi
cc31ee38c3 Update copyright 2022-05-12 05:54:59 +12:00
Natsumi
01dca88f3f Event on audio device changed 2022-03-21 09:29:46 +13:00
Natsumi
ba9c7b8f87 Put photonId parsing back 2022-03-13 20:06:13 +13:00
Natsumi
40dfb248de Fixes and changes 2022-03-07 13:22:11 +13:00
Natsumi
b8203bf2d9 Bug fix 2022-02-06 08:57:13 +13:00
Natsumi
6ae97e9d37 Usharp Video Sync 2022-01-25 21:41:51 +13:00
Natsumi
11062e6ed4 Remove unused code 2022-01-05 02:06:11 +13:00
Natsumi
1d6384c47b IPC photon logging 2021-12-23 00:19:40 +13:00
Natsumi
42d2167f29 Typo 2021-12-16 08:29:27 +13:00
Natsumi
6c89077276 Parse UsharpVideo, fix OnPlayerJoined:Unnamed 2021-12-15 17:48:50 +13:00
Natsumi
056c1fbf12 Fix log parsing 2021-12-13 08:14:01 +13:00
Natsumi
50f2cb6c29 Format change 2021-12-13 08:13:49 +13:00
Natsumi
30dd37d95c Fix for empty OnPlayerLeft 2021-12-11 04:14:51 +13:00
Natsumi
5d0efe104b Photon logging join/leave 2021-12-11 01:21:55 +13:00
Natsumi
6d9400a64c Fix U+031F funnies 2021-12-10 02:03:37 +13:00
Natsumi
0ee166dbfd Bugs 2021-11-23 12:31:36 +13:00
Natsumi
73a23e2c38 Expand row on hover, recommended steam params, legend color override 2021-11-23 00:31:29 +13:00
Natsumi
3a102a2c2c Photon logging support 2021-11-20 23:53:37 +13:00
Natsumi
68b2ed6b17 Parse OnLeftRoom 2021-10-07 11:52:15 +13:00
Natsumi
a94af35348 gamelog parse api user requests 2021-10-03 18:23:35 +13:00
Natsumi
a19c90623f Another big one 2021-09-02 01:11:24 +12:00
Natsumi
2418d902cf Massive commit that will break everything! 2021-08-30 12:05:42 +12:00
Natsumi
b5619b700e Fix shader keyword limit message for Unity 2019 2021-08-22 07:14:30 +12:00
Natsumi
51528b1412 Fix portal spawn log parsing 2021-07-19 06:02:31 +12:00
Natsumi
f57837e8e6 Change log parsing back to how it used to be before DŽDŽDŽ 2021-06-24 07:30:07 +12:00
Natsumi
780a4a71dc Fix gamelog notification parsing but filter it out 2021-06-19 10:51:17 +12:00
Natsumi
11693db8b6 Typo 2021-05-10 07:28:47 +12:00
Natsumi
6e6018c7a3 Detect Avatar Pedestal Changes
Still not fixed VRChat pls fix
2021-05-08 00:21:55 +12:00