Commit Graph

419 Commits

Author SHA1 Message Date
TrainDoctor c1dd1c7296 White-space formatting is one of the most incomprehensible decisions... 2025-02-08 14:23:07 -08:00
xXJSONDeruloXx 310dd700ac fix: adtl remote binary error handling
(cherry picked from commit 860b1ac835)
2025-02-08 12:32:27 -08:00
dependabot[bot] ceb10fd7cf Bump jinja2 from 3.1.4 to 3.1.5 in /backend (#738)
Builder Win / Build PluginLoader for Win (push) Has been cancelled
Builder / Build PluginLoader (push) Has been cancelled
Push Updated Plugin Stub to Template / copy-stub (push) Has been cancelled
Lint / Run linters (push) Has been cancelled
Type Check / Run type checkers (push) Has been cancelled
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.4 to 3.1.5.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.4...3.1.5)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-02 12:12:43 -08:00
dependabot[bot] 76677fa877 Bump aiohttp from 3.10.10 to 3.10.11 in /backend (#728)
Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.10.10 to 3.10.11.
- [Release notes](https://github.com/aio-libs/aiohttp/releases)
- [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst)
- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.10.10...v3.10.11)

---
updated-dependencies:
- dependency-name: aiohttp
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-02 11:52:44 -08:00
Álvaro Cuesta f6144f9634 feat: sync with local plugin status in store (#733)
* 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.
2025-01-02 11:38:40 -08:00
Sims 83f2c94712 Fix id keyerror on plugin uninstall (#725)
Builder Win / Build PluginLoader for Win (push) Has been cancelled
Builder / Build PluginLoader (push) Has been cancelled
Push Updated Plugin Stub to Template / copy-stub (push) Has been cancelled
Lint / Run linters (push) Has been cancelled
Type Check / Run type checkers (push) Has been cancelled
* Fix id keyerror on plugin uninstall

* This is python

* too bad im changing it anyway

---------

Co-authored-by: AAGaming <aagaming@riseup.net>
2024-12-13 22:38:33 -05:00
Sims 86dea2d7c6 Update aiohttp (#716) 2024-10-13 13:34:38 -07:00
Party Wumpus 4c95484ccb move check for if plugin was installed to the start of the function (#715) 2024-10-13 12:22:02 -07:00
Mitja Skuver 8d2b252e6d Fixed plugin manual zip installation getting stuck indefinitely (#706) 2024-10-13 12:20:08 -07:00
Lukas Senionis 1ef3cb8307 fix(http_request): remove conflicting CORS headers (#708) 2024-10-04 13:15:58 -04:00
WerWolvTranslationBot 5bc4dc684d Translations update from Weblate (#707)
Builder Win / Build PluginLoader for Win (push) Has been cancelled
Builder / Build PluginLoader (push) Has been cancelled
Push Updated Plugin Stub to Template / copy-stub (push) Has been cancelled
Lint / Run linters (push) Has been cancelled
Type Check / Run type checkers (push) Has been cancelled
Co-authored-by: ayssia <nynaevealmearah@gmail.com>
2024-10-03 17:28:00 -04:00
WerWolvTranslationBot 24215c0732 Translations update from Weblate (#704)
Builder Win / Build PluginLoader for Win (push) Has been cancelled
Builder / Build PluginLoader (push) Has been cancelled
Push Updated Plugin Stub to Template / copy-stub (push) Has been cancelled
Lint / Run linters (push) Has been cancelled
Type Check / Run type checkers (push) Has been cancelled
* 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-14 23:01:47 -07:00
Sims e87ce625fb Test (#701)
Builder Win / Build PluginLoader for Win (push) Has been cancelled
Builder / Build PluginLoader (push) Has been cancelled
Push Updated Plugin Stub to Template / copy-stub (push) Has been cancelled
Lint / Run linters (push) Has been cancelled
Type Check / Run type checkers (push) Has been cancelled
2024-09-13 16:59:35 -07:00
AAGaming 508408ad5a use signals to shut down plugins instead of sending a socket message
should reduce or outright prevent shutdown stalls
2024-09-11 20:35:24 -04:00
Sims a6e4bcf052 Fix updater taking a long time (#696)
Replaces subprocess with asyncio.subprocess in some localplatformlinux functions and improves shutdown handling
Co-authored-by: AAGaming <aagaming@riseup.net>
2024-09-01 19:45:47 -04:00
AAGaming c1f7ca7f20 chore(backend): remove unused import in plugin.py 2024-09-01 14:18:33 -04:00
AAGaming 6ae6f5ee67 chore(backend): .warn -> .warning 2024-09-01 14:17:11 -04:00
Sims 016ed6e998 Fix shutdown timeouts (#695)
Co-authored-by: AAGaming <aagaming@riseup.net>
2024-09-01 14:15:49 -04:00
WerWolvTranslationBot 4842a599e0 Translated using Weblate (Russian) (#690)
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-28 10:25:51 +00:00
WerWolvTranslationBot 3656f541e6 Translations update from Weblate (#681)
* 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-12 15:04:45 -07:00
WerWolvTranslationBot f2b859b409 Translated using Weblate (Spanish) (#678)
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-10 07:37:27 +00:00
AAGaming 65b6883dcc handle crashloops and disable decky for the user 2024-08-07 16:14:18 -04:00
AAGaming 166c7ea8a7 Work around account switching failing to open the CEF debugger socket (#668)
* 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-06 20:25:39 -07:00
WerWolvTranslationBot ddc807340c Translated using Weblate (Japanese) (#669)
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-06 08:00:19 +00:00
AAGaming 131f0961ff Rewrite router/tabs/toaster hooks (#661) 2024-08-05 14:07:10 -04:00
Sims 75aa1e4851 Sims/pyinstaller misuse fix (#657)
* Fix misuse of pyinstaller

* Fix breaking change

* Fix pywright import errors
2024-08-05 00:00:49 +02:00
AAGaming dcfaf11696 don't try to update when running from source 2024-08-03 14:03:56 -04:00
Lukas Senionis 3e50ce65a7 fix: fetchNoCors and http_request data handling (#664) 2024-08-03 13:24:25 -04:00
WerWolvTranslationBot adf5a76392 Translations update from Weblate (#656)
* 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-08-01 07:28:38 +00:00
WerWolvTranslationBot dc9f89afad Translations update from Weblate (#655)
* 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-13 06:16:47 +02:00
WerWolvTranslationBot 88dfd476e5 Translations update from Weblate (#653)
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-08 18:20:08 -04:00
AAGaming 24e1a239cc sort translations 2024-07-08 18:05:41 -04:00
AAGaming 89c9751f04 try to resolve weblate conflicts 2024-07-08 17:58:41 -04:00
WerWolvTranslationBot bf22cdb491 Translations update from Weblate (#652)
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-08 17:56:54 -04:00
AAGaming 54b50fd25c add default values back 2024-07-08 17:50:00 -04:00
WerWolvTranslationBot 1bccfe22ef Translations update from Weblate (#645)
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-08 17:35:57 -04:00
AAGaming 68c6eedb81 fix(i18n): fix i18next-parser configuration
i can't wait to fix the weblate conflicts this one causes
2024-07-08 17:33:09 -04:00
AAGaming 7e0ec279e7 fix plugin backend reloading 2024-07-08 17:19:05 -04:00
AAGaming 837ae838d4 Merge branch 'sims/fix-backend-socket-concurrent-use' 2024-07-08 17:15:48 -04:00
dependabot[bot] 5646168959 Bump certifi from 2024.6.2 to 2024.7.4 in /backend (#651) 2024-07-08 20:57:43 +00:00
suchmememanyskill 7043256232 Add lock to internal socket fetch function 2024-07-07 20:33:45 +02:00
AAGaming c1f01dcb21 enable aiohttp signal handler 2024-07-04 01:41:12 -04:00
AAGaming a45df8566e fix plugin uninstalls 2024-07-04 01:27:13 -04:00
AAGaming f5eba51c52 set process/thread titles for decky and plugins
sadly requires the `setproctitle` pypi module because python doesn't have a builtin to do this :/
2024-07-03 20:43:08 -04:00
AAGaming 2c4edeb810 implement a shutdown routine instead of just waiting for all plugins to stop on their own 2024-07-03 20:08:30 -04:00
AAGaming 0c96738530 Add windows stub for restart_webhelper
manually merged
closes #632
2024-06-29 17:59:32 -04:00
K900 5697d98862 treewide: fix package structure
The static files need to be inside the module to be installed correctly
as part of the module.
2024-06-29 16:53:57 -04:00
K900 6cd4fb5553 backend: update all dependencies to latest 2024-06-29 16:53:57 -04:00
AAGaming d71fb7935b fix plugin uninstall dialog issues 2024-06-27 01:43:01 -04:00
AAGaming 107b9abb3e fix testing our own PRs 2024-06-27 00:37:35 -04:00