Commit Graph

58 Commits

Author SHA1 Message Date
TrainDoctor
16a6e9b6a9 Give SettingsManager a default directory 2022-08-31 12:20:31 -07:00
Philipp Richter
6f84cf94b5 Fix LimitOverrunError when a lot of data is passed to the backend (fixes #158) (#161)
* Fix LimitOverrunError when a lot of data is passed to the backend

* Raise socket's buffer limit to something more sensible
2022-08-31 10:46:40 -07:00
TrainDoctor
7c06db5ece Moved traceback to higher log level for cleaner logs 2022-08-29 15:18:18 -07:00
TrainDoctor
aeb2decfc1 Fix plugin uninstalling 2022-08-29 14:41:10 -07:00
botato
b7d7ca04e1 Refractor plugin backend (#111)
* refractor uninstall plugin backend

* refractor plugin installation method

* Change formatting in browser.py

* Manually format main.py

* Manually format utilities.py

* remove inconsistency

* remove unnecessary linebreaks

* lol what

* last minute pythoning

* Fix async missing

* lint

* more refractor

* await forgotten

* fix: menu not disappearing after first click

* lint

* bug: fix double click on uninstall

* depricate request installs

* basic patch notes viewer, lazy-load settings and store, build frontend as esmodule, add lazy-loaded react-markdown, backend changes to accomodate ESModule frontend

* refractor uninstall plugin backend

* Change formatting in browser.py

* Manually format main.py

* Manually format utilities.py

* remove unnecessary linebreaks

* lol what

* last minute pythoning

* Fix async missing

* rebase onto main

* fix error, fix React crash if patch notes are opened before remote version info is loaded

Co-authored-by: TrainDoctor <traindoctor@protonmail.com>
Co-authored-by: AAGaming <aa@mail.catvibers.me>
2022-08-26 21:01:23 -07:00
AAGaming
d4d1c2bbab basic patch notes viewer, lazy-load settings and store, build frontend as esmodule, add lazy-loaded react-markdown, backend changes to accomodate ESModule frontend 2022-08-26 01:18:28 -04:00
TrainDoctor
effc4ab0f5 Hide branch select until it's working 2022-08-24 21:18:38 -07:00
AAGaming
79db0c779d Settings API for loader, preview branch select 2022-08-24 23:51:20 -04:00
Chris Simons
b9a87cd785 set gid along with uid (#152) 2022-08-24 17:22:07 -07:00
AAGaming
8b3f569a09 Add plugin updater, notification badge, fixes 2022-08-21 16:41:25 -04:00
Sefa Eyeoglu
43dee863cd Add CEF Remote Debugging toggle (#129)
* feat: add CEF Remote Debugging toggle

* feat: disable remote debugger on startup

* refactor: stop debugger instead of disable

* feat: add option to allow remote debugging by default

Co-authored-by: TrainDoctor <traindoctor@protonmail.com>
2022-08-18 14:50:59 -07:00
TrainDoctor
59038f65ac Fix log spam from injection related errors 2022-08-17 12:57:58 -07:00
AAGaming
c9430f5be4 less stupid method 2022-08-14 13:17:39 -04:00
AAGaming
a4e2237fc0 fix loader not re-injecting on restart 2022-08-14 12:51:07 -04:00
AAGaming
30a538e85e FINALLY fix the multiple injections bug 2022-08-13 23:58:57 -04:00
AAGaming
84a19203c5 fix injecting twice 2022-08-13 11:57:52 -04:00
TrainDoctor
b68eaca55d Updater should now find all version tags 2022-08-11 20:12:17 -07:00
AAGaming
67426af3ef Add api for showing toast notifications 2022-08-09 21:52:03 -04:00
Sefa Eyeoglu
0dbdb4a143 fix: don't pass unzip job to event loop (#136)
For some reason this broke installation of plugins when another specific
plugin was present (vibrantDeck)
2022-08-09 12:06:33 -07:00
TrainDoctor
c9e9c45b37 Standardize logging in browser.py 2022-08-08 13:06:04 -07:00
TrainDoctor
6bc8a4fb1d Add missing import 2022-08-08 12:38:35 -07:00
Derek J. Clark
20094c5f75 Use Environment Variables (#123)
Uses environment variables instead of hard coding the "deck" user/group.
This adds support for systems other than the steam deck that are using the DeckUI.

* Use Environment Variables

* Use method to get USER from a systemd root process

* Fix imports. Add get_user and get_user_group methods in helpers.py. Removed duplicated code

* Add separate setters/getters for user vars. Ensure sleep prevents race condition of user setter in while loop
2022-08-08 11:32:14 -07:00
AAGaming
f21d34506d Implement CSRF protection 2022-08-05 21:16:29 -04:00
AAGaming
ab6ec98160 API for patching existing routes, lower power use 2022-08-02 18:54:55 -04:00
AAGaming
afb2c7c0ed Better install process UX, fix reinstalling 2022-07-25 17:13:50 -04:00
AAGaming
c9bf8d357e use fstring 2022-07-21 22:03:11 -04:00
AAGaming
09eee761a5 change log to debug 2022-07-21 22:02:47 -04:00
AAGaming
20f43b2fd4 fix plugin uninstalling 2022-07-21 22:02:13 -04:00
AAGaming
f015e00561 more updater fixes 2022-07-15 12:57:51 -04:00
AAGaming
e07827cdb5 catch rm errors 2022-07-15 12:36:16 -04:00
AAGaming
103d43e7c9 fix updater 2022-07-15 12:31:30 -04:00
AAGaming
23b7df0ce2 wait 30s before first update check 2022-07-15 12:25:27 -04:00
AAGaming
f2fbd399fe allow users to manually check for updates 2022-07-15 12:16:57 -04:00
AAGaming
162d1b561b fix lockup in _open_socket_if_not_exists, probably fix ci prereleases 2022-07-15 10:34:47 -04:00
AAGaming
8c8cf180fa Updater for decky-loader (#117)
* Add an updater in settings for decky-loader

* add chmod

* remove junk comments
2022-07-14 22:51:55 -04:00
AAGaming
05d11cfff0 fix get_tabs oopsie 2022-07-13 23:24:29 -04:00
botato
76424174ed Use call instead of Popen (#113) 2022-07-11 08:56:36 +02:00
WerWolv
baa02c129f Fixed plugin installation ssl verification issue (#101)
* Added cert location debugging

* Install certifi

* Try adding manual cacert in install request

* Properly use ssl

* More efficiently load ssl certificate
2022-07-03 08:29:46 +02:00
TrainDoctor
1e6b3edbf2 Merge remote-tracking branch 'origin/main' 2022-07-02 23:14:51 -07:00
botato
085aacea06 Use deckyState in uninstall menu (fixes #98) (#100) 2022-07-02 22:14:43 -04:00
TrainDoctor
675e667a9e Catch uninstall plugin 2022-07-02 17:09:21 -07:00
TrainDoctor
58b2c4208d Remove bugged rename invocation 2022-07-02 16:37:23 -07:00
TrainDoctor
683c51ceac Properly await uninstall 2022-07-02 15:59:15 -07:00
botato
4daf028e7a Uninstall functionality (#97)
* feat: POC uninstallation feature

* Fixes, placeholder

* bugfix: wrong function call

* add oncancel and change function called

* clean up plugin uninstall code

* bugfix, uninstall in store

* Limit scope of feature branch

* feat: PluginLoader.unloadPlugin

* problematic logs
2022-07-01 16:43:17 -07:00
AAGaming
d72f364a8d backwards-compatible plugin store, legacy plugin library 2022-06-30 16:04:29 -04:00
TrainDoctor
518b01f571 Installing from plugin store now works as intended 2022-06-29 11:46:06 -07:00
AAGaming
3f2a2bbc04 fix installing plugins 2022-06-29 12:25:50 -04:00
AAGaming
9619c52720 add settings page with install from URL option 2022-06-22 23:22:27 -04:00
Jonas Dellinger
a95bf94d87 fix(loader): multiprocessing.set_start_method once, queue for plugin import 2022-06-13 10:57:16 +02:00
Jonas Dellinger
12f4c7faff fix(loader): eplixcitly set process start method and import fsevents on mac 2022-06-13 10:34:46 +02:00