Commit Graph

23 Commits

Author SHA1 Message Date
Natsumi
7b63859de9 more cleanup 2023-06-07 01:03:33 +12:00
Natsumi
e1de8508c6 cleanup 2023-06-07 01:03:29 +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
Natsumi
2ec43e97c1 Groups sorting 2022-12-14 22:05:17 +13:00
Natsumi
bc88792000 Version file 1 2022-10-04 08:06:35 +13:00
Natsumi
9dcce5e707 Auto updater changes 2022-07-02 06:45:45 +12:00
Natsumi
cc31ee38c3 Update copyright 2022-05-12 05:54:59 +12:00
Natsumi
90a89d8a25 Remove world/avatar caching
https://www.youtube.com/watch?v=6kguaGI7aZg
2022-03-27 14:53:00 +13:00
Natsumi
23c12024f4 Lint 2022-03-13 20:36:57 +13:00
Natsumi
e1898e27b8 Disable cache deletion when file in use, cache avatars. 2021-08-10 17:03:42 +12:00
Natsumi
f953fadcb7 AssetBundleCacher Unity 2019.4.29f1 2021-08-05 00:54:37 +12:00
Natsumi
8ab59cde4c VRCX self updater 1 2021-08-03 23:51:24 +12:00
Natsumi
393335db59 Bug fixes 2021-07-31 19:22:01 +12:00
Natsumi
4937febe8e VRCX self updater 2021-07-28 23:11:29 +12:00
Natsumi
779d96d2a8 AssetBundleCacher 2018 to 2019 2021-07-20 05:27:20 +12:00
Natsumi
11376bbdf7 Try fix crash when canceling download 2021-05-29 21:11:06 +12:00
Natsumi
b7cb6439c2 Confirm button for cache deletion 2021-05-25 18:27:53 +12:00
Natsumi
b65131a207 AssetBundleCacher cleanup 2021-05-24 23:33:39 +12:00
Natsumi
17b8b1b29e Sweep VRChat cache function 1 2021-05-23 02:00:20 +12:00
Natsumi
188d4a4972 Sweep VRChat cache function 2021-05-23 01:41:59 +12:00
Natsumi
1809fbff0b AssetBundleCacher 2 2021-05-18 08:22:46 +12:00
Natsumi
8f503d582c AssetBundleCacher 1 2021-05-18 08:19:10 +12:00
Natsumi
9c70e1a498 AssetBundleCacher 2021-05-15 09:31:21 +12:00