summaryrefslogtreecommitdiff
path: root/backend
AgeCommit message (Collapse)Author
2024-04-22Translations update from Weblate (#587)WerWolvTranslationBot
* Added translation using Weblate (Japanese) * Update translation files Updated by "Remove blank strings" hook in Weblate. Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/ * Update translation files Updated by "Remove blank strings" hook in Weblate. Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/ * Update translation files Updated by "Remove blank strings" hook in Weblate. Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/ * Update translation files Updated by "Remove blank strings" hook in Weblate. Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/ * Update translation files Updated by "Remove blank strings" hook in Weblate. Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/ * Update translation files Updated by "Remove blank strings" hook in Weblate. Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/ * Update translation files Updated by "Remove blank strings" hook in Weblate. Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/ * Update translation files Updated by "Remove blank strings" hook in Weblate. Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/ * Translated using Weblate (Japanese) Currently translated at 82.7% (115 of 139 strings) Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/ja/ * Translated using Weblate (Japanese) Currently translated at 89.2% (124 of 139 strings) Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/ja/ * Translated using Weblate (Japanese) Currently translated at 100.0% (139 of 139 strings) Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/ja/ * Translated using Weblate (Portuguese (Portugal)) Currently translated at 100.0% (139 of 139 strings) Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/pt_PT/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 100.0% (139 of 139 strings) Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/pt_BR/ * Translated using Weblate (French) Currently translated at 91.3% (127 of 139 strings) Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/fr/ * Translated using Weblate (Dutch) Currently translated at 100.0% (139 of 139 strings) Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/nl/ * Translated using Weblate (English) Currently translated at 100.0% (147 of 147 strings) Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/en/ * Translated using Weblate (Italian) Currently translated at 100.0% (147 of 147 strings) Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/it/ --------- Co-authored-by: Tak-attack <tak.bts@gmail.com> Co-authored-by: Weblate <noreply@weblate.org> Co-authored-by: Fábio Oliveira <fabio.an.oliveira@gmail.com> Co-authored-by: Andrew Moore <andrewm.finewolf@gmail.com> Co-authored-by: Danae Dekker <genecyll@gmail.com> Co-authored-by: Marco Rodolfi <marco.rodolfi@tuta.io>
2024-04-09attempt to add plugin events to the plugin frontend api.Party Wumpus
unable to test right now though
2024-03-01name RouteNotFoundErrorParty Wumpus
2024-03-01Add loading bar to testing page and make downloading more robustParty Wumpus
2024-02-22make frontend -> backend errors actually workParty Wumpus
2024-02-21fix unused importsAAGaming
2024-02-21more major websocket progressAAGaming
2024-02-20[Feature] Freeze updates for devs (#582)Andrew Moore
2024-02-20Get plugin name for development ZIP during installation (#578)eXhumer
* fix: get plugin name for dev builds from ZIP (SteamDeckHomebrew/decky-loader#527) Signed-off-by: eXhumer <exhumer1@protonmail.com>
2024-02-20Testing PRs from within decky (#496)Party Wumpus
* 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-15Add event handlerParty Wumpus
2024-02-14restart ui by killing webhelperAAGaming
this cleanly reloads the ui, prevents memory leaks, and won't break the toasts
2024-02-14small loader refactoringAAGaming
2024-02-14fix some broken typesAAGaming
2024-02-14fix(filepicker_ls): use case insensitive matching for file exts (#585)Jozen Blue Martinez
2024-02-14Revert "Call plugin unload function after stopping event loop (#539)" (#584)Party Wumpus
This reverts commit 39f4f2870b4c0924421130a3f532c07320938e97 , because functions (seemingly) don't run after the event loop closes, so the unload function is never actually run.
2024-02-14Refactor plugin store and add sorting by downloads and release date (#547)Party Wumpus
* untested first commit * fix types & names * comment out built in sorting for now * rerun search when sort changes * fix ts complaints * use prettier * stop switch-case fall through * move spinner * use locale instead of hardcoded string * fix typo * add sorting by downloads & try using the data field in the dropdown for data * fix typing error * fix asc/desc in dropdown * fix asc/desc again. asc = smaller one go first aaaaa * I don't think i know what ascending means maybe * use props instead of children, like a normal component
2024-02-14fix vscode import memesAAGaming
2024-01-21fix: Fix on Chromium 109 beta (#576)Beebles
* 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>
2023-12-31finalize api for plugin events in backendAAGaming
just need frontend impl now
2023-12-31-post -> -devAAGaming
2023-12-30port updater to ws, also small refactoringAAGaming
2023-12-30Implement legacy & modern plugin method calls over WSAAGaming
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-29Translations update from Weblate (#553)WerWolvTranslationBot
* Added translation using Weblate (Japanese) * Update translation files Updated by "Remove blank strings" hook in Weblate. Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/ * Update translation files Updated by "Remove blank strings" hook in Weblate. Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/ * Update translation files Updated by "Remove blank strings" hook in Weblate. Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/ * Update translation files Updated by "Remove blank strings" hook in Weblate. Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/ * Update translation files Updated by "Remove blank strings" hook in Weblate. Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/ * Update translation files Updated by "Remove blank strings" hook in Weblate. Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/ * Update translation files Updated by "Remove blank strings" hook in Weblate. Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/ * Update translation files Updated by "Remove blank strings" hook in Weblate. Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/ * Translated using Weblate (Japanese) Currently translated at 82.7% (115 of 139 strings) Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/ja/ * Translated using Weblate (Japanese) Currently translated at 89.2% (124 of 139 strings) Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/ja/ * Translated using Weblate (Japanese) Currently translated at 100.0% (139 of 139 strings) Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/ja/ * Translated using Weblate (Portuguese (Portugal)) Currently translated at 100.0% (139 of 139 strings) Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/pt_PT/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 100.0% (139 of 139 strings) Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/pt_BR/ --------- Co-authored-by: Tak-attack <tak.bts@gmail.com> Co-authored-by: Weblate <noreply@weblate.org> Co-authored-by: Fábio Oliveira <fabio.an.oliveira@gmail.com>
2023-12-29Call plugin unload function after stopping event loop (#539)Jan
This can prevent race conditions where unload is clearing data but main is still working with it
2023-12-29replace chmod implementation with os.chmod (#541)Jan
2023-12-29Check if Linux service is running before trying to start or stop it (#540)Jan
this prevents needless prompts opening up
2023-12-29refactor(backend): get version from package metadataK900
2023-12-29feat(backend): log our version on startupK900
2023-12-29feat(backend): enable poetry-dynamic-versioningK900
2023-11-14fix a couple typesmarios8543
2023-11-14change default event DataTypeAAGaming
2023-11-14more progress on websocketsAAGaming
2023-11-14Migrate most of frontend callServerMethod usage over to websocketAAGaming
2023-11-14remove test methodAAGaming
2023-11-14JS -> Python WS now functionalAAGaming
2023-11-14more progress on WS routerAAGaming
2023-11-14more work on websocketsAAGaming
2023-11-14initial WSRouter implementationAAGaming
2023-11-14initAAGaming
2023-11-13Packaging rework (#531)marios8543/async-plugin-method-requestsK900
* 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-10-31fix sys.modules importmarios8543
2023-10-31fix emit_message mechanismmarios8543
2023-10-31run method calls asynchronouslymarios8543
2023-10-31fix static/lang file fetch and method callmarios8543
2023-10-31fix start/stop methodsmarios8543
2023-10-31fix customtypes importmarios8543
2023-10-31Add message emit mechanismmarios8543
2023-10-31Run response_listener taskmarios8543
2023-10-31Experimental support for async method callsmarios8543