Commit Graph

1588 Commits

Author SHA1 Message Date
Natsumi
47ddea756f Change VRCX default settings 2023-06-01 10:37:34 +12:00
Natsumi
44d63c2f32 Add TC and SC fonts 2023-06-01 10:37:22 +12:00
Natsumi
9501a18972 Remove API key 2023-06-01 10:37:19 +12:00
Natsumi
5995a3f86a search by worldId/InstanceId in feed and gameLog 2023-06-01 10:37:14 +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
flower_elf
b06cba0669 Update localization (#552)
* Update localization

* Update zh_CN.json

* Update zh_CN.json
2023-06-01 10:34:43 +12:00
Natsumi
a27a767563 Support current user location from API in addition to gameLog 2023-05-28 11:01:48 +12:00
Natsumi
fcfa1d06f1 Add tooltips 2023-05-28 11:01:29 +12:00
Natsumi
1f4e8a4148 Update installer, now supports silent fresh install and automatically kills VRCX 2023-05-28 11:01:22 +12:00
Natsumi
7d7a71b74e GroupAccessType 2023-05-23 19:56:04 +12:00
Natsumi
b78dfb863c Small fixes 2023-05-23 19:56:00 +12:00
Natsumi
a2777e6190 chore(.NET): update to Cef 113 2023-05-23 19:55:56 +12:00
Natsumi
33a19efe33 Lint 2023-05-18 10:59:58 +12:00
Natsumi
1a2aacbba2 Fix auto updater toggle, load friendsList tab much faster 2023-05-18 10:59:55 +12:00
Natsumi
ac3276a5b0 chore(npm): update deps 2023-05-18 10:59:52 +12:00
Teacup
0a9f8f0a34 chore(.NET): Remove unused System.Management reference 2023-05-18 10:59:50 +12:00
Teacup
355bb40f27 feat: AppLauncher will now auto kill child processes of started apps 2023-05-18 10:59:47 +12:00
Kamiya
b4f9210077 Update zh_TW.json (#546) 2023-05-18 10:57:45 +12:00
Hactazia
d0030d8b31 Adding French language (#547) 2023-05-18 10:57:38 +12:00
あさると
19b03454fa update jp translation (#549) 2023-05-18 10:57:30 +12:00
Natsumi
38be266b9e Fix login page 2023-05-14 01:37:18 +12:00
Natsumi
5ef68eb2be Lint 2023-05-13 22:28:53 +12:00
あさると
9e141d8a4d update translation PR 536 (#539) 2023-05-13 22:28:11 +12:00
XoFKon
42b9c51801 Update zh_TW.json (#543) 2023-05-13 22:28:06 +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
b538d614e3 Linter bracket spacing 1 2023-05-10 17:11:14 +12:00
Natsumi
debaba13b0 Linter bracket spacing 2023-05-10 17:10:46 +12:00
Teacup
0ab84f1714 chore: Add code folding regions to app.js for better organization
I thought it would be nice for app.js to roleplay as an organized code file. So I made a regex to prepend all existing manually commented code areas such as "App: FriendLog" with #region so that VSCode can fold them.

There were a couple uncommented regions that are now commented with summaries I can only describe as 'I tried'
2023-05-10 17:10:22 +12:00
Natsumi
b63cbe64e6 Don't relaunch game in VR mode after crashing 2023-05-10 17:05:50 +12:00
Natsumi
f69faa7ffe Load GPUFix and LaunchDebug from config (#542)
* Load GPUFix and LaunchDebug from config

* Fix GPUFix and LaunchDebug being set to false if not in config

---------

Co-authored-by: Nekromateion <43814053+Nekromateion@users.noreply.github.com>
2023-05-10 17:00:01 +12:00
Natsumi
bb31ce5736 feat: Add an automatic app launcher (#541)
* refactor: Change OpenImageFolder to use a winapi call

It will open the given file in any existing explorer instances instead of opening a new shell every time, handle longer paths, and work with third-party filesystem viewers with winapi hooks(well, this one).

* feat: Add an automatic app launcher

The launcer will automatically launch apps in the 'startup' folder under the VRCX appdata folder when VRChat has started, and close them when VRChat dies(or is closed).

* refactor: Add new class for monitoring VRC processes

This replaces the old AppApi functionality that would poll all processes twice to grab the status of both VRChat and vrserver.exe every... *checks app.js* 500ms.

It also raises events for when a monitored process is started/closed, mainly for the new AppLauncher feature, which is now using this class instead of monitoring vrchat itself.

* refactor: Add tooltip for launch folder button

* docs: Add some notes on potential issues with Process.HasExited

* Change CheckGameRunning from polling to events

---------

Co-authored-by: Teacup <git@teadev.xyz>
2023-05-10 16:57:25 +12:00
Natsumi
4387719907 feat: Copy/open image, open last image 2023-05-08 14:53:47 +12:00
あさると
2a23e97cb6 fix translation & add japanese link (readme.md) (#534)
* add jp link and linted

* some fix

* fix 2

* fix mis-translation

* fix 2

* fix 3

* fix 4

* update translation
2023-05-08 14:51:25 +12:00
Teacup
f184dc8475 feat: Add drag/drop functionality to the screenshot viewer (#536)
* feat: Add drag/drop functionality to the screenshot viewer

* feat: Add arrow key controls for screenshot carousel
2023-05-08 14:50:52 +12:00
Tsuyopon
627e4c89f5 fix repository url (#533) 2023-05-08 14:50:44 +12:00
Natsumi
3f2ad3ff62 Group member sorting and filtering 2023-05-05 21:06:31 +12:00
Natsumi
d637e341ce Update issue templates 2023-05-01 14:15:56 +12:00
Natsumi
d7f4cb3885 v2023.05.01 2023-05-01 06:50:41 +12:00
Natsumi
26cb9ed980 Fix saved account deletion 2023-05-01 06:35:59 +12:00
Natsumi
ca8d6e4e5a Move savedCredentials to userId 2023-04-29 10:25:00 +12:00
Natsumi
ea6f8695b5 chore(.NET): update Cef 112.3 2023-04-29 10:23:15 +12:00
Natsumi
f9bfeb67e4 Linter 2023-04-27 13:53:19 +12:00
Natsumi
dbd8c4c7c6 Group dialog updates 2023-04-27 13:23:21 +12:00
あさると
1bc28e2443 Add japanese localization (#522)
* 1

* update ja.json

* translate to side_panel

* translate to notifications

* translate to Discord RPC

* translate to sqlite_table_size

* update when_to_play

* translate to user

* translate to world actions

* translate to world info

* translate to avatar actions

* translate to group tags

* translate to world_import and several changes

* clear, 削除→消去

* 書き出す→エクスポート

* translate to friend_import

* finally

* add readme.jp

* translate to screenshots

* translate to launch parameter

* translate to repair db

* fix

* translate to how to build

* fix

* fix translation

* change screenshots (en to ja

* some fix

* update translation

* update translation
2023-04-27 13:23:10 +12:00
Natsumi
edcbf69369 Fix quit fix and crash relaunch 2023-04-25 22:39:45 +12:00
Natsumi
18447710bb Fix in VR log check 2023-04-25 22:39:42 +12:00
Natsumi
47e1047220 Fix random memos being nuked when opening user dialog 2023-04-22 06:56:30 +12:00
Natsumi
e1d3a1d412 Instance full indicator 2023-04-22 01:06:54 +12:00
Natsumi
2be1a75fcb Small fixes 2023-04-22 01:06:51 +12:00
Natsumi
5fc38f4e65 Fix null notifications 2023-04-12 08:48:12 +12:00