Commit Graph

94 Commits

Author SHA1 Message Date
Natsumi
ee132179aa Fix uploading world images 2025-09-25 05:20:26 +12:00
Natsumi
3324d0d279 Upgrade to Vue3 and Element Plus (#1374)
* Update Vue devtools

* upgrade vue pinia element-plus vue-i18n, add vite

* fix: i18n

* global components

* change v-deep

* upgrade vue-lazyload

* data table

* update enlint and safe-dialog

* package.json and vite.config.js

* el-icon

* el-message

* vue 2 -> vue3 migration changes

* $pinia

* dialog

* el-popover slot

* lint

* chore

* slot

* scss

* remote state access

* misc

* jsconfig

* el-button size mini -> small

* :model-value

* ElMessageBox

* datatable

* remove v-lazyload

* template #dropdown

* mini -> small

* css

* byebye hideTooltips

* use sass-embedded

* Update SQLite, remove unneeded libraries

* Fix shift remove local avatar favorites

* Electron arm64

* arm64 support

* bye pug

* f-word vite hah

* misc

* remove safe dialog component

* Add self invite to launch dialog

* Fix errors

* Icons 1

* improve localfavorite loading performance

* improve favorites world item performance

* dialog visibility changes for Element Plus

* clear element plus error

* import performance

* revert App.vue hah

* hah

* Revert "Add self invite to launch dialog"

This reverts commit 4801cfad58.

* Toggle self invite/open in-game

* Self invite on launch dialog

* el-button icon

* el-icon

* fix user dialog tab switching logic

* fix PlayerList

* Formatting changes

* More icons

* Fix friend log table

* loading margin

* fix markdown

* fix world dialog tab switching issue

* Fixes and formatting

* fix: global i18n.t export

* fix favorites world tab not working

* Create instance, displayName

* Remove group members sort by userId

* Fix loading dialog tabs on swtich

* Star

* charts console.warn

* wip: fix charts

* wip: fix charts

* wip: charts composables

* fix favorite item tooltip warning

* Fixes and formatting

* Clean up image dialogs

* Remove unused method

* Fix platform/size border

* Fix platform/size border

* $vr

* fix friendExportDialogVisible binding

* ElMessageBox and Settings

* Login formatting

* Rename VR overlay query

* Fix image popover and userdialog badges

* Formatting

* Big buttons

* Fixes, update Cef

* Fix gameLog table nav buttons jumping around while using nav buttons

* Fix z-index

* vr overlay

* vite input add theme

* defineAsyncComponent

* ISO 639-1

* fix i18n

* clean t

* Formatting, fix calendar, rotate arrows

* Show user status when user is offline

* Fix VR overlay

* fix theme and clean up

* split InstanceActivity

* tweak

* Fix VR overlay formatting

* fix scss var

* AppDebug hahahaha

* Years

* remove reactive

* improve perf

* state hah…

* fix user rendering poblems when user object is not yet loaded

* improve perf

* Update avatar/world image uploader, licenses, remove previous images dialog (old images are now deleted)

* improve perf 1

* Suppress stray errors

* fix traveling location display issue

* Fix empty instance creator

* improve friend list refresh performance

* fix main charts

* fix chart

* Fix darkmode

* Fix avatar dialog tags

---------

Co-authored-by: pa <maplenagisa@gmail.com>
2025-09-12 10:45:24 +12:00
Natsumi
b3c58a8c08 Open instance in-game 2025-08-26 10:33:07 +12:00
Natsumi
ae30ad978b Autorun open single instance of app 2025-08-24 09:49:22 +12:00
Natsumi
8daa6c8663 Fix error reading metadata 2025-08-15 15:57:28 +12:00
Natsumi
8e19175b15 Fix writing VRCX metadata on Linux 2025-08-13 17:05:28 +12:00
Natsumi
d40d0af21f Delete screenshot metadata 2025-08-11 14:11:47 +12:00
Natsumi
42fadd7e65 Switch from sha256.txt to digest 2025-08-11 14:11:46 +12:00
Natsumi
bc39768ff6 Fix friends++, saving prints, deleted userdata 2025-08-05 12:55:49 +12:00
Teacup
4e64177722 feat: Rewrite png metadata handling, new VRC metadata (#1311)
* refactor: Move ScreenshotHelper png parsing to PNGHelper, simplify interface

* refactor: Fix references to screenshotmanager

* fix: Read resolution, not description

* refactor: Rewrite/move all png reading logic into new class

* refactor: Integrate new metadata helper functions

* refactor: Add docs, re-add legacy mods support, change error handling

There are no longer specific errors for each metadata type as it was
just super unnecessary; A verbose log including the exception/string is
now logged to file instead and a generic error is given in the UI.

* fix: Show old vrc beta format images

They were being treated as a non-image
2025-08-04 18:05:40 +12:00
Natsumi
3c21d88efa Remove wine support for Cef 2025-08-01 01:29:55 +12:00
rs189
a2dc6ba9a4 Linux: SteamVR overlay support (#1299)
* fix: open folder and select item on linux

* feat: linux wrist overlay

* feat: linux hmd overlay

* feat: replace unix sockets with shm on linux

* fix: reduce linux wrist overlay fps

* fix: hide electron offscreen windows

* fix: destroy electron offscreen windows when not in use

* fix: open folder and select item on linux

* feat: cpu, uptime and device monitoring on linux

* feat: native wayland gl context with x11 fallback on linux

* fix: use platform agnostic wording for common folders

* fix: crash dumps folder button on linux

* fix: enable missing VR notification options on linux

* fix: update cef, eslint config to include updated AppApiVr names

* merge: rebase linux VR changes to upstream

* Clean up

* Load custom file contents rather than path

Fixes loading custom file in debug mode

* fix: call SetVR on linux as well

* fix: AppApiVrElectron init, properly create and dispose of shm

* Handle avatar history error

* Lint

* Change overlay dispose logic

* macOS DOTNET_ROOT

* Remove moving dotnet bin

* Fix

* fix: init overlay on SteamVR restart

* Fix fetching empty instance, fix user dialog not fetching

* Trim direct access inputs

* Make icon higher res, because mac build would fail 😂

* macOS fixes

* will it build? that's the question

* fix: ensure offscreen windows are ready before vrinit

* will it build? that's the question

* will it build? that's the question

* meow

* one, more, time

* Fix crash and overlay ellipsis

* a

---------

Co-authored-by: Natsumi <cmcooper123@hotmail.com>
2025-07-19 12:07:43 +12:00
rs189
b6bc2cf202 Linux: fix open folder and select item (#1288)
* fix: open folder and select item on linux

* fix: crash dumps folder button on linux

* Rename AppData

---------

Co-authored-by: Natsumi <cmcooper123@hotmail.com>
2025-07-14 15:54:41 +12:00
pa
f4f78bb5ec 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>
2025-07-14 15:00:08 +12:00
Natsumi
97cc2dc81a Save instance emojis 2025-06-26 19:36:51 +12:00
Natsumi
c7fef6e00a Better handling of video errors 2025-06-25 15:01:08 +12:00
Natsumi
2612ea38f0 Fix notifications crashing and table buttons moving on hover 2025-06-21 14:06:59 +12:00
Natsumi
921070da71 Overlay notification opacity 2025-06-20 18:41:27 +12:00
Natsumi
834e5fc245 Handle parsing malformed user created VRC config.json files 2025-06-03 00:59:19 +10:00
Natsumi
9f45d535a0 RIP APNGs 2025-06-03 00:59:15 +10:00
Natsumi
78daeac736 Handle error parsing scuffed config.json 2025-05-27 02:02:55 +10:00
Natsumi
0b741a0305 Fix Linux OpenFolderAndSelectItem 1 2025-05-26 20:25:10 +10:00
Natsumi
83982ecde7 Fix Linux OpenFolderAndSelectItem 2025-05-26 19:16:14 +10:00
HelloHidnf
5812b37c17 Far less jank fix to previous pr (#1246)
* Check if Vrchat path is stale

* Check if Vrchat path is stale

* Fixed `Open Folder` opening file

* Fixed Open Folder opening file

* Fix `Open Folder` opening file
2025-05-26 18:52:10 +10:00
Natsumi
c9687bd493 Linux fixes 2025-05-26 05:21:00 +10:00
HelloHidnf
c6dc11d9d9 Check if Vrchat path is stale (#1240)
* Check if Vrchat path is stale

* Check if Vrchat path is stale
2025-05-24 03:44:51 +10:00
Anti-Apple4life
ad45c0cded Detect WiVRn when looking for if VR is running (#1212) 2025-04-18 16:04:15 +10:00
Natsumi
9ed93ad2eb Crop print border on upload 2025-03-17 03:38:52 +13:00
Natsumi
747a7ca683 Fix cookie bug 2025-03-03 17:03:04 +13:00
Natsumi
137608b705 Linux: Change how AppImage moving is handled, add support for vrcx:\\ 2025-02-28 11:31:33 +13:00
Natsumi
dd54bd3c05 Remove userdialog playtime & fix screenshot search worldName 2025-02-25 10:00:18 +13:00
Myrkur
107b62889d Fix DirectoryNotFoundException in ImageSaving.cs:CropAllPrints (#1135)
* Fix DirectoryNotFoundException in ImageSaving.cs:CropAllPrints

* Update Dotnet/AppApi/Common/ImageSaving.cs

Oh yeah this is iterating over all existing.

Co-authored-by: Lars Olzem <hackebein@gmail.com>

---------

Co-authored-by: Lars Olzem <hackebein@gmail.com>
2025-02-17 13:25:36 +13:00
Natsumi
60d8d7682f Fix print cropping and Linux custom photo path 2025-02-17 13:22:11 +13:00
Natsumi
0c213f915f Fix scaling when uploading images 2025-02-10 09:11:31 +13:00
Regalia
91bc4d076e feat: Port ImageSaving to ImageSharp to fix Linux image uploads (#1131) 2025-02-10 07:20:53 +13:00
Natsumi
b6c1702a27 Linux steam folder fallback 2025-02-10 07:17:34 +13:00
Natsumi
481e5439c3 Update copyright year 2025-01-31 16:38:25 +13:00
Natsumi
a7c400f9b7 Handle missing CurrentCulture 2025-01-31 16:38:07 +13:00
Natsumi
6b2d402b8b Misc fixes 2025-01-30 18:03:50 +13:00
Natsumi
e27e86373c Fix custom VRC cache path 2025-01-26 07:50:39 +13:00
Natsumi
5214522789 Path.Join() 2025-01-26 06:11:35 +13:00
Natsumi
555d4adf60 Misc fixes 2025-01-20 21:58:56 +13:00
Natsumi
37a9688b81 Fix loading custom.css from custom path 2025-01-19 00:31:05 +13:00
Donad_VR
dfd695618c Update Folders.cs (#1081)
Fix resolution of SteamLibrary path in libraryfolders.vdf
2025-01-14 04:23:47 +13:00
Natsumi
885ead4edf Fixes, sort group instances 2025-01-14 01:19:12 +13:00
Regalia
7475ed7e32 fix: Bad path combining causing custom resources not to load (#1077)
Co-authored-by: Nekromateion <43814053+Nekromateion@users.noreply.github.com>
2025-01-14 00:59:43 +13:00
luna
b21a7698e1 use libraryfolders.vdf to resolve vrchat steam path on linux (#1076)
* use libraryfolders.vdf to resolve vrchat steam path

* fix electron screenshot combining paths incorrectly
2025-01-14 00:59:33 +13:00
Natsumi
938fff63d0 Electron support for Linux (#1074)
* init

* SQLite changes

* Move html folder, edit build scripts

* AppApi interface

* Build flags

* AppApi inheritance

* Finishing touches

* Merge upstream changes

* Test CI

* Fix class inits

* Rename AppApi

* Merge upstream changes

* Fix SQLiteLegacy on Linux, Add Linux interop, build tools

* Linux specific localisation strings

* Make it run

* Bring back most of Linux functionality

* Clean up

* Fix TTS voices

* Fix UI var

* Changes

* Electron minimise to tray

* Remove separate toggle for WlxOverlay

* Fixes

* Touchups

* Move csproj

* Window zoom, Desktop Notifications, VR check on Linux

* Fix desktop notifications, VR check spam

* Fix building on Linux

* Clean up

* Fix WebApi headers

* Rewrite VRCX updater

* Clean up

* Linux updater

* Add Linux to build action

* init

* SQLite changes

* Move html folder, edit build scripts

* AppApi interface

* Build flags

* AppApi inheritance

* Finishing touches

* Merge upstream changes

* Test CI

* Fix class inits

* Rename AppApi

* Merge upstream changes

* Fix SQLiteLegacy on Linux, Add Linux interop, build tools

* Linux specific localisation strings

* Make it run

* Bring back most of Linux functionality

* Clean up

* Fix TTS voices

* Changes

* Electron minimise to tray

* Remove separate toggle for WlxOverlay

* Fixes

* Touchups

* Move csproj

* Window zoom, Desktop Notifications, VR check on Linux

* Fix desktop notifications, VR check spam

* Fix building on Linux

* Clean up

* Fix WebApi headers

* Rewrite VRCX updater

* Clean up

* Linux updater

* Add Linux to build action

* Test updater

* Rebase and handle merge conflicts

* Fix Linux updater

* Fix Linux app restart

* Fix friend order

* Handle AppImageInstaller, show an install message on Linux

* Updates to the AppImage installer

* Fix Linux updater, fix set version, check for .NET, copy wine prefix

* Handle random errors

* Rotate tall prints

* try fix Linux restart bug

* Final

---------

Co-authored-by: rs189 <35667100+rs189@users.noreply.github.com>
2025-01-11 13:09:44 +13:00
Natsumi
60f59b9baa Small fixes 2025-01-09 13:31:33 +13:00
Nekromateion
35621f27d2 Add queue for print downloads and automatic cropping for saved prints (#1068)
* Add queue for print downloads

To prevent issues with rate limits in instances with a lot of prints switch downloading prints to use a queue.

* Auto cropping for instance print saving

Add option to automatically crop prints saved using the "Save Instance Prints" feature and a popup to apply crop to all previously saved prints while preserving metadata.

---------

Co-authored-by: Natsumi <11171153+Natsumi-sama@users.noreply.github.com>
2025-01-09 12:47:02 +13:00