refactor: app.js (#1291)

* refactor: frontend

* Fix avatar gallery sort

* Update .NET dependencies

* Update npm dependencies

electron v37.1.0

* bulkRefreshFriends

* fix dark theme

* Remove crowdin

* Fix config.json dialog not updating

* VRCX log file fixes & add Cef log

* Remove SharedVariable, fix startup

* Revert init theme change

* Logging date not working? Fix WinformThemer designer error

* Add Cef request hander, no more escaping main page

* clean

* fix

* fix

* clean

* uh

* Apply thememode at startup, fixes random user colours

* Split database into files

* Instance info remove empty lines

* Open external VRC links with VRCX

* Electron fixes

* fix userdialog style

* ohhhh

* fix store

* fix store

* fix: load all group members after kicking a user

* fix: world dialog favorite button style

* fix: Clear VRCX Cache Timer input value

* clean

* Fix VR overlay

* Fix VR overlay 2

* Fix Discord discord rich presence for RPC worlds

* Clean up age verified user tags

* Fix playerList being occupied after program reload

* no `this`

* Fix login stuck loading

* writable: false

* Hide dialogs on logout

* add flush sync option

* rm LOGIN event

* rm LOGOUT event

* remove duplicate event listeners

* remove duplicate event listeners

* clean

* remove duplicate event listeners

* clean

* fix theme style

* fix t

* clearable

* clean

* fix ipcEvent

* Small changes

* Popcorn Palace support

* Remove checkActiveFriends

* Clean up

* Fix dragEnterCef

* Block API requests when not logged in

* Clear state on login & logout

* Fix worldDialog instances not updating

* use <script setup>

* Fix avatar change event, CheckGameRunning at startup

* Fix image dragging

* fix

* Remove PWI

* fix updateLoop

* add webpack-dev-server to dev environment

* rm unnecessary chunks

* use <script setup>

* webpack-dev-server changes

* use <script setup>

* use <script setup>

* Fix UGC text size

* Split login event

* t

* use <script setup>

* fix

* Update .gitignore and enable checkJs in jsconfig

* fix i18n t

* use <script setup>

* use <script setup>

* clean

* global types

* fix

* use checkJs for debugging

* Add watchState for login watchers

* fix .vue template

* type fixes

* rm Vue.filter

* Cef v138.0.170, VC++ 2022

* Settings fixes

* Remove 'USER:CURRENT'

* clean up 2FA callbacks

* remove userApply

* rm i18n import

* notification handling to use notification store methods

* refactor favorite handling to use favorite store methods and clean up event emissions

* refactor moderation handling to use dedicated functions for player moderation events

* refactor friend handling to use dedicated functions for friend events

* Fix program startup, move lang init

* Fix friend state

* Fix status change error

* Fix user notes diff

* fix

* rm group event

* rm auth event

* rm avatar event

* clean

* clean

* getUser

* getFriends

* getFavoriteWorlds, getFavoriteAvatars

* AvatarGalleryUpload btn style & package.json update

* Fix friend requests

* Apply user

* Apply world

* Fix note diff

* Fix VR overlay

* Fixes

* Update build scripts

* Apply avatar

* Apply instance

* Apply group

* update hidden VRC+ badge

* Fix sameInstance "private"

* fix 502/504 API errors

* fix 502/504 API errors

* clean

* Fix friend in same instance on orange showing twice in friends list

* Add back in broken friend state repair methods

* add types

---------

Co-authored-by: Natsumi <cmcooper123@hotmail.com>
This commit is contained in:
pa
2025-07-14 12:00:08 +09:00
committed by GitHub
parent 952fd77ed5
commit f4f78bb5ec
323 changed files with 47745 additions and 43326 deletions

View File

@@ -434,10 +434,6 @@
"header": "Automatically Manage Cache When Closing VRChat",
"description": "Auto delete old versions from cache"
},
"local_world_persistence": {
"header": "Local World Persistence",
"description": "Localhost webserver (requires restart)"
},
"save_instance_prints_to_file": {
"header": "Save Instance Prints To File",
"header_tooltip": "Requires \"--enable-sdk-log-levels\" VRC launch option",

View File

@@ -551,10 +551,6 @@
"header": "Automatically Manage Cache When Closing VRChat",
"description": "Auto delete old versions from cache"
},
"local_world_persistence": {
"header": "Local World Persistence",
"description": "Localhost webserver (requires restart)"
},
"save_instance_prints_to_file": {
"header": "Save Instance Prints To File",
"header_tooltip": "Requires \"--enable-sdk-log-levels\" VRC launch option",
@@ -711,7 +707,9 @@
"pronouns": "Pronouns",
"tags": {
"friend_no": "Friend {number}",
"vrchat_team": "VRChat Team"
"vrchat_team": "VRChat Team",
"18_plus_verified": "18+ Verified",
"age_verified": "Age Verified"
},
"badges": {
"assigned": "Assigned",

View File

@@ -535,10 +535,6 @@
"header": "Gestionar Caché Automáticamente al Cerrar VRChat",
"description": "Eliminar automáticamente las versiones antiguas de la caché"
},
"local_world_persistence": {
"header": "Persistencia de Mundo Local",
"description": "Servidor web local (requiere reinicio)"
},
"save_instance_prints_to_file": {
"header": "Guardar Impresiones de Instancia en Archivo",
"header_tooltip": "Requiere la opción de lanzamiento de VRC \"--enable-sdk-log-levels\"",
@@ -2058,4 +2054,4 @@
}
}
}
}
}

View File

@@ -502,10 +502,6 @@
"header": "Gérer automatiquement le cache lors de la fermeture de VRChat",
"description": "Suppression automatique des anciennes versions du cache"
},
"local_world_persistence": {
"header": "Local World Persistence",
"description": "Localhost webserver (requires restart)"
},
"remote_database": {
"header": "Base de données d'avatars",
"enable": "Activé",
@@ -2004,4 +2000,4 @@
}
}
}
}
}

View File

@@ -428,10 +428,6 @@
"header": "Automatically Manage Cache When Closing VRChat",
"description": "Auto delete old versions from cache"
},
"local_world_persistence": {
"header": "Local World Persistence",
"description": "Localhost webserver (requires restart)"
},
"remote_database": {
"header": "Remote Avatar Database",
"enable": "Enable",

View File

@@ -538,10 +538,6 @@
"header": "VRChat終了時にキャッシュを自動で管理する",
"description": "旧バージョンのキャッシュを自動削除"
},
"local_world_persistence": {
"header": "ローカルでのワールド永続化",
"description": "Webサーバーをローカルでホストする (再起動が必要です)"
},
"save_instance_prints_to_file": {
"header": "インスタンス内にあるプリントを、ローカルファイルに保存",
"header_tooltip": "「--enable-sdk-log-levels」オプションをつけて、VRChatを起動する必要があります。",

View File

@@ -428,10 +428,6 @@
"header": "VRChat을 종료할 때 캐시 관리",
"description": "오래된 버전 캐시 삭제하기"
},
"local_world_persistence": {
"header": "Local World Persistence",
"description": "Localhost webserver (requires restart)"
},
"remote_database": {
"header": "원격 아바타 데이터베이스",
"enable": "사용",

View File

@@ -428,10 +428,6 @@
"header": "Automatycznie zarządzaj pamięcią podręczną podczas zamykania VRChat",
"description": "Automatyczne usuwaj stare wersje z pamięci podręcznej"
},
"local_world_persistence": {
"header": "Local World Persistence",
"description": "Serwer localhost (wymaga restartu)"
},
"remote_database": {
"header": "Zewnętrzna baza danych awatarów",
"enable": "Włącz",

View File

@@ -428,10 +428,6 @@
"header": "Gerenciar automaticamente o cache ao fechar o VRChat",
"description": "Excluir automaticamente versões antigas do cache"
},
"local_world_persistence": {
"header": "Persistência de Mundos Locais",
"description": "Servidor web localhost (requere reinicialização)"
},
"remote_database": {
"header": "Banco de Dados de Avatares Remotos",
"enable": "Ativado",

View File

@@ -58,7 +58,7 @@
"External": "Внешние",
"StringLoad": "Строка загружена",
"ImageLoad": "Изо загружено"
}
}
},
"player_list": {
"photon": {
@@ -134,7 +134,7 @@
"import": "Импорт",
"move_tooltip": "Переместить",
"copy_tooltip": "Копировать",
"self_invite_tooltip": "Пригласить себя",
"self_invite_tooltip": "Пригласить себя",
"unfavorite_tooltip": "Удалить из избранного",
"visibility_tooltip": "Изменить видимость",
"rename_tooltip": "Переименовать",
@@ -221,31 +221,31 @@
"filter_placeholder": "Фильтр",
"refresh_tooltip": "Обновить",
"clear_tooltip": "Очистить результаты",
"cancel_tooltip": "Отмена"
},
"charts": {
"header": "Диаграммы",
"instance_activity": {
"header": "Активность инстанса",
"online_time": "Время онлайн",
"previous_day": "Предыдущий день",
"next_day": "Следующий день",
"refresh": "Обновить",
"tips": {
"header": "Советы",
"online_time": "Онлайн-время - это время игры, записанное VRCX на текущий день.",
"click_Y_axis": "Нажмите на метку оси Y, чтобы перейти к деталям экземпляра или открыть диалог пользователя.",
"click_instance_name": "Щелкните имя инстанса, чтобы открыть диалоговое окно «Информация о предыдущем инстансе».",
"accuracy_notice": "Информация из локальной базы данных может быть неточной"
},
"settings": {
"header": "Настройки",
"bar_width": "Ширина полосы",
"show_solo_instance": "Показать Одиночный Инстанс",
"show_no_friend_instance": "Показать Инстанс «Без друзей»",
"show_detail": "Показать Детали"
}
"cancel_tooltip": "Отмена"
},
"charts": {
"header": "Диаграммы",
"instance_activity": {
"header": "Активность инстанса",
"online_time": "Время онлайн",
"previous_day": "Предыдущий день",
"next_day": "Следующий день",
"refresh": "Обновить",
"tips": {
"header": "Советы",
"online_time": "Онлайн-время - это время игры, записанное VRCX на текущий день.",
"click_Y_axis": "Нажмите на метку оси Y, чтобы перейти к деталям экземпляра или открыть диалог пользователя.",
"click_instance_name": "Щелкните имя инстанса, чтобы открыть диалоговое окно «Информация о предыдущем инстансе».",
"accuracy_notice": "Информация из локальной базы данных может быть неточной"
},
"settings": {
"header": "Настройки",
"bar_width": "Ширина полосы",
"show_solo_instance": "Показать Одиночный Инстанс",
"show_no_friend_instance": "Показать Инстанс «Без друзей»",
"show_detail": "Показать Детали"
}
}
},
"profile": {
"profile": {
@@ -538,10 +538,6 @@
"header": "Автоматически управлять кэшем при закрытии VRChat",
"description": "Автоматически удалять старые версии из кэша"
},
"local_world_persistence": {
"header": "Локальное сохранение мира",
"description": "Локальный веб-сервер (требуется перезапуск)"
},
"save_instance_prints_to_file": {
"header": "Сохранить снимки инстанса в файл",
"header_tooltip": "Требуется \"--enable-sdk-log-levels\" опция запуска VRC.",
@@ -629,13 +625,13 @@
"video_play": "Проигрывание видео:",
"event": "События:"
},
"user_generated_content": {
"header": "Пользовательский контент",
"folder": "Открыть папку",
"description": "Откройте или укажите папку, где хранится контент, такой как 'Принты' и 'Стикеры'.",
"set_folder": "Указать папку",
"reset_override": "Сбросить"
}
"user_generated_content": {
"header": "Пользовательский контент",
"folder": "Открыть папку",
"description": "Откройте или укажите папку, где хранится контент, такой как 'Принты' и 'Стикеры'.",
"set_folder": "Указать папку",
"reset_override": "Сбросить"
}
},
"photon": {
"header": "Журнал Photon оверлея",
@@ -1574,7 +1570,7 @@
"allowed_video_player_domains": {
"header": "Разрешенные домены видеоплеера",
"add_domain": "Добавить домен",
"save": "Сохранить"
"save": "Сохранить"
}
},
"confirm": {

View File

@@ -428,10 +428,6 @@
"header": "Tự động quản lý cache khi đóng VRChat",
"description": "Tự động xóa phiên bản cũ trong cache"
},
"local_world_persistence": {
"header": "Local World Persistence",
"description": "Localhost webserver (requires restart)"
},
"remote_database": {
"header": "Dữa liệu avatar từ xa",
"enable": "Bật",

View File

@@ -539,10 +539,6 @@
"header": "缓存自动清理",
"description": "退出游戏时自动从缓存中删除过期数据"
},
"local_world_persistence": {
"header": "世界数据持久化",
"description": "启用世界数据持久化存储功能(需要重启)"
},
"save_instance_prints_to_file": {
"header": "“拍立得”照片保存选项",
"header_tooltip": "需要使用 \"--enable-sdk-log-levels\" 启动选项启动VRChat",

View File

@@ -539,10 +539,6 @@
"header": "關閉 VRChat 時自動管理快取",
"description": "自動從快取中刪除舊版本"
},
"local_world_persistence": {
"header": "本地世界狀態",
"description": "本地主機 Web 伺服器 (需要重新啟動)"
},
"save_instance_prints_to_file": {
"header": "將房間拍立得保存到檔案",
"header_tooltip": "需要 \"--enable-sdk-log-levels\" VRC 啟動選項",