Commit Graph

31 Commits

Author SHA1 Message Date
Andrew Moore
c2ebc78836 [Feature] Freeze updates for devs (#582) 2024-02-20 21:39:43 +00:00
eXhumer
dc1697d049 Get plugin name for development ZIP during installation (#578)
* fix: get plugin name for dev builds from ZIP (SteamDeckHomebrew/decky-loader#527)

Signed-off-by: eXhumer <exhumer1@protonmail.com>
2024-02-20 21:34:16 +00:00
Party Wumpus
35f6f041c1 Testing PRs from within decky (#496)
* git no work so manually uploading files :(

* argh i wish git was working

* ok next time i'll make git work

* Update updater.py

* git please work next time this took ages without you

* fix me locales

* Update updater.py

* Update en-US.json

* Update updater.py

* Update updater.py

* i wish my python LSP stuff was working

* fix it

* Update updater.py

* Update updater.py

* Only show testing branch as an option if it is already selected

* Initial implementation for fetching the open PRs. Still need testing and a token to complete this.

* Wrong filter capitalization

* Fix a couple of typos in the python backend updater.

* Fix typos pt 3

* This should be the last one

* Prepend the PR version number with PR- to make it clearer that's the PR number.

* Update prettier to the latest version otherwise it will never be happy with the formatting.

* fix merge mistake

* fix pyright errors & type hint most new code

* fix strict pyright errors...

* not sure why my local linter didn't catch this

* Reimplement the logic between PR and artifact build to limit API calls

* Fix pyright errors

* use nightly.link for downloads

* remove accidental dollar sign

* fix various logical errors. the code actually works now.

* set branch to testing when user downloads a testing version

---------

Co-authored-by: Marco Rodolfi <marco.rodolfi@tuta.io>
2024-02-20 21:33:41 +00:00
Party Wumpus
867ce63f7b Add event handler 2024-02-15 22:28:36 +00:00
AAGaming
ee6122b97d restart ui by killing webhelper
this cleanly reloads the ui, prevents memory leaks, and won't break the toasts
2024-02-14 17:49:52 -05:00
AAGaming
091428f683 small loader refactoring 2024-02-14 17:49:27 -05:00
AAGaming
ee1627a3a1 fix some broken types 2024-02-14 17:06:41 -05:00
Jozen Blue Martinez
ecd8ef5998 fix(filepicker_ls): use case insensitive matching for file exts (#585) 2024-02-14 16:44:49 -05:00
Party Wumpus
8987076c5f Revert "Call plugin unload function after stopping event loop (#539)" (#584)
This reverts commit 39f4f2870b , because functions (seemingly) don't run after the event loop closes, so the unload function is never actually run.
2024-02-14 16:43:34 -05:00
AAGaming
f5e902f741 fix vscode import memes 2024-02-14 16:40:48 -05:00
Beebles
063961d36a fix: Fix on Chromium 109 beta (#576)
* Add new user agent to do not close tabs list

* fix: bump DFL to fix chromium 109 beta

---------

Co-authored-by: Sims <38142618+suchmememanyskill@users.noreply.github.com>
2024-01-21 16:49:52 -05:00
AAGaming
c5ea95a787 finalize api for plugin events in backend
just need frontend impl now
2023-12-31 20:29:19 -05:00
AAGaming
db96121304 -post -> -dev 2023-12-31 19:13:19 -05:00
AAGaming
40c7c1b515 port updater to ws, also small refactoring 2023-12-30 21:32:23 -05:00
AAGaming
6522ebf0ca Implement legacy & modern plugin method calls over WS
This version builds fine and runs all of the 14 plugins I have installed perfectly, so we're really close to having this done.
2023-12-30 00:46:59 -05:00
Jan
5190765ce1 Call plugin unload function after stopping event loop (#539)
This can prevent race conditions where unload is clearing data but main is still working with it
2023-12-29 18:40:53 -05:00
Jan
98e2d1232c replace chmod implementation with os.chmod (#541) 2023-12-29 18:40:52 -05:00
Jan
6cb545c78d Check if Linux service is running before trying to start or stop it (#540)
this prevents needless prompts opening up
2023-12-29 18:40:52 -05:00
K900
41c62c3a34 refactor(backend): get version from package metadata 2023-12-29 18:34:19 -05:00
K900
3565c3c9b4 feat(backend): log our version on startup 2023-12-29 18:34:19 -05:00
marios8543
8b0d1753ef fix a couple types 2023-11-14 00:34:48 +02:00
AAGaming
70532c8d0b change default event DataType 2023-11-14 00:04:56 +02:00
AAGaming
5e1e035bc2 more progress on websockets 2023-11-14 00:04:56 +02:00
AAGaming
34d1a34b10 Migrate most of frontend callServerMethod usage over to websocket 2023-11-14 00:04:56 +02:00
AAGaming
cfb6fe69e3 remove test method 2023-11-14 00:04:56 +02:00
AAGaming
1921e7ec56 JS -> Python WS now functional 2023-11-14 00:04:56 +02:00
AAGaming
05b41b3410 more progress on WS router 2023-11-14 00:03:47 +02:00
AAGaming
18d89e76fd more work on websockets 2023-11-14 00:03:47 +02:00
AAGaming
4a9b45b98e initial WSRouter implementation 2023-11-14 00:03:47 +02:00
AAGaming
8f299a90dc init 2023-11-14 00:02:14 +02:00
K900
5a633fdd82 Packaging rework (#531)
* fix: get rid of title view jank on latest beta

* Count the number of installs for each plugin (#557)

* Bump aiohttp from 3.8.4 to 3.8.5 in /backend (#558)

* fix: include Decky version in request for index.js

This avoids the If-Modified-Since logic in aiohttp and ensures Steam doesn't cache old JS,
even if the timestamps are normalized.

* fix: clean up shellcheck warnings in act runner script

* fix: gitignore settings/

* fix: ensure state directories exist when running without the installer

* feat: determine root directory correctly when running from in-tree

* fix: fix typo in CI script

* refactor: build a proper Python package with poetry

* refactor: move decky_plugin under the poetry structure

There's no need to special case it anymore, just treat it like any other Python module.

* sandboxed_plugin: better fix, attempt 2

---------

Co-authored-by: AAGaming <aagaming@riseup.net>
Co-authored-by: Party Wumpus <48649272+PartyWumpus@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-13 23:40:37 +02:00