Commit Graph

301 Commits

Author SHA1 Message Date
TrainDoctor
39f6a7688d Converted install script to pnpm 2022-06-20 20:24:44 -07:00
TrainDoctor
47ca3ece4a Added python depdency install, fixed use-case phrasing 2022-06-20 18:56:22 -07:00
Jonas Dellinger
3e250dd180 Fix importPlugin queue 2022-06-20 15:54:31 +02:00
Jonas Dellinger
711af3bca3 Fix onDismount 2022-06-20 15:34:08 +02:00
Jonas Dellinger
9a6930571c Fix onDismount 2022-06-20 15:29:40 +02:00
Jonas Dellinger
d9dd09c69b Revert "fix onDismount"
This reverts commit daca482ed8.
2022-06-20 15:28:30 +02:00
AAGaming
daca482ed8 fix onDismount 2022-06-19 18:56:02 -04:00
AAGaming
99b4b939bd Implement React-based plugin store (#81)
Co-authored-by: TrainDoctor <11465594+TrainDoctor@users.noreply.github.com>
Co-authored-by: WerWolv <werwolv98@gmail.com>
2022-06-17 18:43:53 -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
TrainDoctor
bbf49470fc Update nodeck.sh 2022-06-06 13:58:02 -07:00
TrainDoctor
a1a4d5902b Update deck.sh 2022-06-06 13:57:52 -07:00
TrainDoctor
90a65dbace Removed a line that would exclude passwords with non-alnum characters. 2022-06-06 13:34:58 -07:00
TrainDoctor
f828480715 Clarified password is for deck user 2022-06-06 13:16:44 -07:00
TrainDoctor
ed1a9222b4 Rename pc.sh to nodeck.sh to represent intent 2022-06-06 13:03:39 -07:00
TrainDoctor
73b36b776a Actually preserve enviorment variables properly 2022-06-06 12:58:37 -07:00
TrainDoctor
4a2299f3ff Update README.md 2022-06-06 12:54:59 -07:00
TrainDoctor
6128cbec6b Typo... 2022-06-06 12:44:54 -07:00
TrainDoctor
c93af19ffa Typo... 2022-06-06 12:37:59 -07:00
TrainDoctor
cadb687cd7 Add contributor install script (#69)
* Add contributor install script

* Switched to non-tmp directory

* Fixed potential issue with passwords being not being parsed properly

* Replace up hardcoded ports and silence npm

* Removed legacy support version, changed to https git clones

* Add non-deck compatible version of script

* Switch to arguments parsed while running script for contrib pc

* Now compatible with curl install from terminal, but it's a bit fragile

* Incorrect install directory for plugintemplate

* Functionalized a ton of stuff

* Changed in anticipation of merge to react-frontend-plugins branch

* Added guide to enable Steam Deck UI and clarification about Windows

* Moved contribution scripts to contrib and provided "how to run"

* Reordered README for clarity and better placement for contribution sect.

* Looks better

* Removed un-needed file-transfers and added better checks and run info

* Improved how to run given at end of script.

* Improved warning, improved ssh invocation globally and how-to-use/run

* Link to new plugin template and added link to the wiki in readme

* testing for remote invocation

* Fixed bug with invocation via curl

* Just in case...
2022-06-02 18:24:24 -04:00
Jonas Dellinger
1114d55931 Bump components library 2022-06-02 17:59:18 +02:00
AAGaming
0f20fe691f fix oops 2022-06-01 17:55:49 -04:00
AAGaming
86e23686aa React Plugin install dialog (closes #75) 2022-06-01 17:50:10 -04:00
Jonas Dellinger
bd1b2e82fd Move store opening to frontend only 2022-05-31 18:05:26 +02:00
Jonas Dellinger
660e34664e Explicit import type 2022-05-30 20:57:22 +02:00
Jonas Dellinger
8fcaadd8f3 All props of route, expose routerHook 2022-05-30 20:55:51 +02:00
AAGaming
007860f8f7 react: Add Router hook & fix typescript issues (#68)
* add rollup watch command, add pnpm lockfile

* wait for react

* add WIP patcher, window hook, and webpack

* fix typescript, fix React, lint, add pnpm to gitignore

* actually fix react

* show frontend JS errors in console

* cleanup

* Add Router hook

* Remove console.log

* Expose routerHook in createPluginAPI

Co-authored-by: Jonas Dellinger <jonas@dellinger.dev>
2022-05-30 20:26:54 +02:00
marios
44776b393e added open store button 2022-05-26 21:14:32 +03:00
Jonas Dellinger
ad1f57795e Fix LegacyPlugin 2022-05-26 13:31:18 +02:00
Jonas Dellinger
71dd0ea449 Cleanup after merge 2022-05-26 13:30:14 +02:00
Jonas Dellinger
a06efc08bc Run build on all branches 2022-05-26 09:33:55 +02:00
Jonas Dellinger
39e56fed3d Switch to inotify, RegexMatchingEventHandler and use set for reloading plugins 2022-05-26 09:29:49 +02:00
marios
4b923c1dc7 display overhaul, compatibility with legacy plugins, fixes 2022-05-26 04:00:18 +03:00
Jonas Dellinger
d23f1ac56c Added support for static assets, remove frontend_bundle field 2022-05-25 21:35:03 +02:00
Jonas Dellinger
74438a3145 Work on react frontend loader 2022-05-13 19:14:47 +02:00
Patrick Kubiak
945db5de47 Use unique ids in call_server_method (#55) 2022-05-10 17:13:53 +03:00
marios
28746e3962 Update README.md 2022-05-04 11:43:28 +03:00
Gabriel Jones
279b1e8c40 Uninstall script addition (#48)
* Create uninstall.sh

* Update uninstall.sh

First pass for a version that looks similar to the install scripts

* Update readme with uninstall info

Add uninstall script info to readme

* Update dist/uninstall.sh

Only remove services for now

Co-authored-by: TrainDoctor <11465594+TrainDoctor@users.noreply.github.com>

* Adjust echo to accurately reflect script actions

No longer deletes installed plugins, adjusted echo to match actions.

Co-authored-by: TrainDoctor <11465594+TrainDoctor@users.noreply.github.com>
2022-05-04 11:42:03 +03:00
marios
89ecca7c30 Fixed callsign debug bug, Fixed process spawn and termination bug v1.2.2 2022-04-29 21:51:01 +03:00
marios
7d74e98f4f Bug fixes
- Fixed KeyError in execute_in_tab
- Changed the plugin process dispatch method, this *should* fix that annoying server hang issue.
2022-04-29 12:52:24 +03:00
marios
fe1f6473e9 method call listener retry bug fix, method call response serializaiton failure fix,
- Added retry logic to the QuickAccess tab fetching in the method call listener.
- Added exception handling, in case a plugin method returns something that can't be serialized as JSON.
- Changed a few log calls from info to debug to prevent spam
- Added a filter for asyncio base_event log records, since they get spamy and don't provide any useful info most of the time. This can be turned off with the LOG_BASE_EVENTS envar.
2022-04-26 23:37:01 +03:00
WerWolv
73559ae8c7 Make sure install scripts don't create folders as root v1.2.1 2022-04-22 21:48:36 +02:00
WerWolv
340ea91d1c Fixed calling backend functions after restarting steam 2022-04-22 18:43:52 +02:00
WerWolv
3f3f6bd475 Allow inject_css_into_tab to create more than just a single css rule 2022-04-22 14:30:58 +02:00
WerWolv
4b2f8cd8f5 Make sure old user plugin loader is being removed 2022-04-21 18:03:05 +02:00
WerWolv
604006a7cb Fixed root check 2022-04-21 17:46:53 +02:00
WerWolv
7aa4e9106a Make release script actually work again 2022-04-21 17:44:12 +02:00
marios
fa776f0d0b Callsigns (#37)
* Plugin callsigns, filechangehandler thread bug fix, plugin file perms

- Plugins are now assigned a callsign (a random string), which they use for all internal identification, like resource fetching and method calls. This is to ensure that plugins only access their own resources and methods.
- Made FileChangeHandler send off events to a queue, that is then consumed by the Loader, instead of calling import_plugin on its own, since that caused weird issues with the event loop and the thread watchdog is using.
- Plugins are now owned by root and have read-only permissions. This is handled automatically.

* Improved general look and feel of plugin tab

* Make all plugin entries have the same padding between them

* Make "No plugins installed" text look the same as "No new notifications"

Co-authored-by: WerWolv <werwolv98@gmail.com>
v1.2.0
2022-04-18 15:57:51 +03:00
WerWolv
4576fed01b Properly delete old user plugin loader service on install 2022-04-13 23:18:58 +02:00
tza
de435e22fb added default value to injector tab run_async 2022-04-14 00:01:35 +03:00