summaryrefslogtreecommitdiff
path: root/backend/decky_loader
AgeCommit message (Collapse)Author
2025-01-02feat: sync with local plugin status in store (#733)v3.1.0-pre1Álvaro Cuesta
* fix: useDeckyState proper type and safety * refactor: plugin list Avoids unneeded re-renders. See https://react.dev/learn/you-might-not-need-an-effect#caching-expensive-calculations * feat: sync with local plugin status in store Adds some QoL changes to the plugin store browser: - Add ✓ icon to currently installed plugin version in version selector - Change install button label depending on the install type that the button would trigger - Adds icon to install button for clarity The goal is to make it clear to the user what the current state of the installed plugin is, and what would be the impact of installing the selected version. Resolves #360 * lint: prettier * fix: add missing translations * refactor: safer translation strings on install Prefer using `t(...)` instead of `TranslationHelper` since it ensures that the translation keys are not missing in the locale files when running the `extractext` task. By adding comments with `t(...)` calls, `i18next-parser` will generate the strings as if they were present as literals in the code (see https://github.com/i18next/i18next-parser#caveats). This does _not_ suppress the warnings (since `i18next-parser` does not have access to TS types, so it cannot infer template literals) but it at least makes it less likely that a translation will be missed by mistake, have typos, etc.
2024-12-13Fix id keyerror on plugin uninstall (#725)v3.0.5-pre1v3.0.5Sims
* Fix id keyerror on plugin uninstall * This is python * too bad im changing it anyway --------- Co-authored-by: AAGaming <aagaming@riseup.net>
2024-10-13move check for if plugin was installed to the start of the function (#715)v3.0.3-pre1Party Wumpus
2024-10-13Fixed plugin manual zip installation getting stuck indefinitely (#706)Mitja Skuver
2024-10-04fix(http_request): remove conflicting CORS headers (#708)Lukas Senionis
2024-10-03Translations update from Weblate (#707)WerWolvTranslationBot
Co-authored-by: ayssia <nynaevealmearah@gmail.com>
2024-09-14Translations update from Weblate (#704)WerWolvTranslationBot
* Translated using Weblate (German) Currently translated at 100.0% (158 of 158 strings) Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/de/ * Translated using Weblate (Dutch) Currently translated at 100.0% (158 of 158 strings) Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/nl/ * Translated using Weblate (Bulgarian) Currently translated at 100.0% (158 of 158 strings) Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/bg/ --------- Co-authored-by: SecularSteve <fairfull.playing@gmail.com>
2024-09-13Test (#701)v3.0.1-pre1Sims
2024-09-11use signals to shut down plugins instead of sending a socket messagev3.0.0-pre13AAGaming
should reduce or outright prevent shutdown stalls
2024-09-01Fix updater taking a long time (#696)v3.0.0-pre12Sims
Replaces subprocess with asyncio.subprocess in some localplatformlinux functions and improves shutdown handling Co-authored-by: AAGaming <aagaming@riseup.net>
2024-09-01chore(backend): remove unused import in plugin.pyv3.0.0-pre11AAGaming
2024-09-01chore(backend): .warn -> .warningAAGaming
2024-09-01Fix shutdown timeouts (#695)Sims
Co-authored-by: AAGaming <aagaming@riseup.net>
2024-08-28Translated using Weblate (Russian) (#690)WerWolvTranslationBot
Currently translated at 100.0% (158 of 158 strings) Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/ru/ Co-authored-by: Andrew <www.andru90@gmail.com>
2024-08-12Translations update from Weblate (#681)WerWolvTranslationBot
* Translated using Weblate (Spanish) Currently translated at 100.0% (158 of 158 strings) Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/es/ * Translated using Weblate (Czech) Currently translated at 100.0% (158 of 158 strings) Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/cs/ --------- Co-authored-by: Matsu <luciariasanchez323@gmail.com> Co-authored-by: Meiton <michal.salati@gmail.com>
2024-08-10Translated using Weblate (Spanish) (#678)WerWolvTranslationBot
Currently translated at 93.0% (147 of 158 strings) Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/es/ Co-authored-by: Matsu <luciariasanchez323@gmail.com>
2024-08-07handle crashloops and disable decky for the userAAGaming
2024-08-06Work around account switching failing to open the CEF debugger socket (#668)v3.0.0-pre6AAGaming
* Work around account switching failing to open the CEF debugger socket this automates lsof and gdb to force close the socket before steam finishes shutting down (from RegisterForShutdownStart) * lint * fix LD_LIBRARY_PATH for gdb
2024-08-06Translated using Weblate (Japanese) (#669)WerWolvTranslationBot
Currently translated at 100.0% (158 of 158 strings) Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/ja/ Co-authored-by: Tak-attack <tak.bts@gmail.com>
2024-08-05Rewrite router/tabs/toaster hooks (#661)AAGaming
2024-08-05Sims/pyinstaller misuse fix (#657)Sims
* Fix misuse of pyinstaller * Fix breaking change * Fix pywright import errors
2024-08-03don't try to update when running from sourceAAGaming
2024-08-03fix: fetchNoCors and http_request data handling (#664)Lukas Senionis
2024-08-01Translations update from Weblate (#656)WerWolvTranslationBot
* Translated using Weblate (Korean) Currently translated at 100.0% (158 of 158 strings) Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/ko/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 100.0% (158 of 158 strings) Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/pt_BR/ * Translated using Weblate (Turkish) Currently translated at 76.5% (121 of 158 strings) Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/tr/ --------- Co-authored-by: Sungjoon Moon <sumoon@seoulsaram.org> Co-authored-by: Akinaton Osti <akinaton.osti@gmail.com> Co-authored-by: Bahasnyldz <bahasnyldz@gmail.com>
2024-07-13Translations update from Weblate (#655)WerWolvTranslationBot
* Translated using Weblate (Italian) Currently translated at 93.0% (147 of 158 strings) Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/it/ * Translated using Weblate (French) Currently translated at 93.0% (147 of 158 strings) Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/fr/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 93.0% (147 of 158 strings) Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/zh_Hans/ * Translated using Weblate (Chinese (Traditional)) Currently translated at 93.0% (147 of 158 strings) Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/zh_Hant/ * Translated using Weblate (Albanian) Currently translated at 29.7% (47 of 158 strings) Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/sq/ * Translated using Weblate (Spanish) Currently translated at 69.6% (110 of 158 strings) Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/es/ * Translated using Weblate (Greek) Currently translated at 87.9% (139 of 158 strings) Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/el/ * Translated using Weblate (German) Currently translated at 93.0% (147 of 158 strings) Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/de/ * Translated using Weblate (Czech) Currently translated at 93.0% (147 of 158 strings) Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/cs/ * Translated using Weblate (Korean) Currently translated at 93.0% (147 of 158 strings) Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/ko/ * Translated using Weblate (Portuguese (Portugal)) Currently translated at 87.9% (139 of 158 strings) Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/pt_PT/ * Translated using Weblate (Portuguese (Brazil)) Currently translated at 88.6% (140 of 158 strings) Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/pt_BR/ * Translated using Weblate (Russian) Currently translated at 93.0% (147 of 158 strings) Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/ru/ * Translated using Weblate (Ukrainian) Currently translated at 72.1% (114 of 158 strings) Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/uk/ * Translated using Weblate (Dutch) Currently translated at 93.0% (147 of 158 strings) Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/nl/ * Translated using Weblate (Bulgarian) Currently translated at 85.4% (135 of 158 strings) Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/bg/ * Translated using Weblate (Polish) Currently translated at 93.0% (147 of 158 strings) Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/pl/ * Translated using Weblate (Finnish) Currently translated at 87.9% (139 of 158 strings) Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/fi/ * Translated using Weblate (Japanese) Currently translated at 87.9% (139 of 158 strings) Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/ja/ * Translated using Weblate (Arabic) Currently translated at 36.7% (58 of 158 strings) Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/ar/ * Translated using Weblate (Turkish) Currently translated at 72.1% (114 of 158 strings) Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/tr/ * Translated using Weblate (Swedish) Currently translated at 20.8% (33 of 158 strings) Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/sv/ * 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 (Italian) Currently translated at 100.0% (158 of 158 strings) Translation: Decky/Decky Translate-URL: https://weblate.werwolv.net/projects/decky/decky/it/ --------- Co-authored-by: Anonymous <noreply@weblate.org> Co-authored-by: Marco Rodolfi <marco.rodolfi@tuta.io>
2024-07-08Translations update from Weblate (#653)v3.0.0-pre4WerWolvTranslationBot
Co-authored-by: elliotfontaine <elliot.fontaine@gmail.com> Co-authored-by: Meiton <michal.salati@gmail.com> Co-authored-by: Andrew <www.andru90@gmail.com> Co-authored-by: Denys Dovhan <denysdovhan@gmail.com> Co-authored-by: Eryk Pawlikowski <eryk5188@gmail.com> Co-authored-by: Weblate <noreply@weblate.org>
2024-07-08sort translationsAAGaming
2024-07-08try to resolve weblate conflictsAAGaming
2024-07-08Translations update from Weblate (#652)WerWolvTranslationBot
Co-authored-by: Anonymous <noreply@weblate.org> Co-authored-by: elliotfontaine <elliot.fontaine@gmail.com> Co-authored-by: Meiton <michal.salati@gmail.com> Co-authored-by: Andrew <www.andru90@gmail.com> Co-authored-by: Denys Dovhan <denysdovhan@gmail.com> Co-authored-by: Eryk Pawlikowski <eryk5188@gmail.com>
2024-07-08add default values backAAGaming
2024-07-08Translations update from Weblate (#645)WerWolvTranslationBot
Co-authored-by: Anonymous <noreply@weblate.org> Co-authored-by: elliotfontaine <elliot.fontaine@gmail.com> Co-authored-by: Meiton <michal.salati@gmail.com> Co-authored-by: Andrew <www.andru90@gmail.com> Co-authored-by: Eryk Pawlikowski <eryk5188@gmail.com>
2024-07-08fix(i18n): fix i18next-parser configurationAAGaming
i can't wait to fix the weblate conflicts this one causes
2024-07-08fix plugin backend reloadingAAGaming
2024-07-07Add lock to internal socket fetch functionsims/fix-backend-socket-concurrent-usesuchmememanyskill
2024-07-04enable aiohttp signal handlerv3.0.0-pre3AAGaming
2024-07-04fix plugin uninstallsAAGaming
2024-07-03set process/thread titles for decky and pluginsAAGaming
sadly requires the `setproctitle` pypi module because python doesn't have a builtin to do this :/
2024-07-03implement a shutdown routine instead of just waiting for all plugins to stop ↵AAGaming
on their own
2024-06-29Add windows stub for restart_webhelperAAGaming
manually merged closes #632
2024-06-29treewide: fix package structureK900
The static files need to be inside the module to be installed correctly as part of the module.
2024-06-29backend: update all dependencies to latestK900
2024-06-27fix plugin uninstall dialog issuesv3.0.0-pre1aa/websocketsAAGaming
2024-06-27fix testing our own PRsAAGaming
2024-06-27move webpack check into indexAAGaming
2024-06-27accidental lack of indent?AAGaming
2024-06-27clean up legacy utilities for securityAAGaming
2024-06-14add docstring for emitParty Wumpus
2024-06-13hook up plugin events properlyAAGaming
2024-06-13update dependenciesAAGaming
2024-06-13the rest of f11e34a (from 3a83fa8)AAGaming