Commit Graph

450 Commits

Author SHA1 Message Date
Party Wumpus
313f6db5fa Update and rename pull_request.md to pull_request_template.md 2023-05-18 18:43:59 +01:00
Party Wumpus
3b58001abe github pull requests don't do yml :( 2023-05-18 18:36:33 +01:00
Party Wumpus
bf99bce579 Create new_feature.yml 2023-05-18 18:29:52 +01:00
Party Wumpus
9c02ccc537 Fix formatting of translation badge 2023-05-18 11:23:47 +01:00
AAGaming
fedbfcb041 add Weblate badge
yeah the formatting is different I'll fix it later because GitHub mobile doesn't let me
2023-05-18 06:18:06 -04:00
Marco Rodolfi
3c52b33e18 [Hotfix] Windows lang fix (#457)
* Hotfix for i18n where the detector was overriding localStorage

* Please, pnpm, cooperate

* Small fix regarding the backend getting hammered when switching to not supported languages plus a small english typo

* Typo on translation variable

* Hotfix: Fix for missing locale data on windows
2023-05-18 03:03:19 -07:00
AAGaming
d99f332523 Initial implementation of global DFL instance (#451) v2.9.0-pre1 2023-05-11 22:02:04 -04:00
Party Wumpus
0c83c9a2b5 Bump DFL to 3.20.7 (#449) v2.8.2-pre1 v2.8.2 2023-05-10 22:12:27 +01:00
Marco Rodolfi
6b14f08d59 Hotfix: wrong variable name for English translation (#444) v2.8.1-pre1 2023-05-09 15:40:57 -07:00
Marco Rodolfi
089e6b086c Small fix: handle missing localization in backend plus a small typo in the english language (#443)
* Hotfix for i18n where the detector was overriding localStorage

* Please, pnpm, cooperate

* Small fix regarding the backend getting hammered when switching to not supported languages plus a small english typo
v2.8.0-pre3
2023-05-04 16:46:00 +01:00
Marco Rodolfi
08d5c942a4 Hotfix for i18n where the detector was overriding localStorage (#439)
* Hotfix for i18n where the detector was overriding localStorage

* Please, pnpm, cooperate
v2.8.0-pre2
2023-05-03 21:51:18 +01:00
Marco Rodolfi
35e7c80835 [Feature] Implement internazionalization for Decky Loader (#361)
* First iteration for internationalization of the loader

* First iteration for internationalization of the loader

* Cleanup node mess

* Cleanup node mess pt2

* Additional touches

* Latest decky changed merged into i18n and updated translation.

* Styling fixes

* Initial backend hosting implementation

* Added correct url path of the loopback server.

* Added correct url path of the loopback server.

* Some better namespaced text.

* Added whitelist for locales path.

* Refactor languages and fix hooks logic bugs.

* Small typo in language translation structure.

* Working backend, automatically swtich languages with steam and language fixes.

* Fix to languages

* Key fixes

* Additional language fixes.

* Additional json changes

* Final text revision and added a vscode tasks to automatically extract text from code.

* Typo in the middleware

* Remove unused imports

* Cleanup whitespaces.

* Import changes

* Revert "Import changes"

This reverts commit 8e8231950f.

* Update index.d.ts

* Clean up unused imports

* Delete pnpm-lock.yaml

* Update rollup.config.js

* Update PluginInstallModal.tsx

* Update index.tsx

* Update plugin-loader.tsx

* Update plugin-loader.tsx

* Revert "Delete pnpm-lock.yaml"

This reverts commit 3a39f36f21.

* Additional strings reworks.

* Fixes for issues coming from github merge.

* Fixes for master

* Styling fixes

* Styling pt2

* Missed a few strings in master,

* Styling fixes

* Additional master merge fixes.

* Final cleanup and adaptation to master.

* Final empty language cleanup and few string added

* Small changes to italian translation

* Disabled translation on a few components inside plugin-loader for missing react hooks.

* Fixed passing tag to translation.

* Disable debug output for reducing console spam.

* Return correct content type

* Small italian language change

* Added support for country code

* Fixed missing translation for uninstall popup.

* Fix class name shenanigans for  toast notification

* Update dependencies

* Fixed github workflow to include the new locales folder

* Update dependencies to latest version (unless it's React) and fixed the new small errors that cropped up

* Missed a file name change

* Updated dev dependencies to latest version

* Missed a few dev dependencies

* Revert "Update dependencies to latest version (unless it's React) and fixed the new small errors that cropped up"

Messed up merge with a different main branch

* Messed up deletion of rollup config.

* Fix broken pnpm lock file

* Missed a localized string during the merge

* Fixed a parameter mistake in the uninstall text parameter

* Fix pnpm random issues

* Small italian language tweaks

* Fix wrong parameter passed to the uninstall function call

* Another fix on a wrong function parameter

* Additional translation text on the store and branch selection channels

* Changed the default type passed to map to being able to index the two arrays.

* Reverted and reworked the last changes

* Distinguish events in UI for installing vs reinstalling plugins

* Additional fixes for reinstall prompt

* Revert the use of intevalPlural since the parser doesn't seem to support that.

* Missed a routing path in the backend

* Small bugfixes

* Small fixes

* Correctly adding the parameter to the request headers.

* Refactoring of the UI popup modal

* Fix pnpm shenanigans

* Final fixes for the install UI localization

* Clean up unnedeed backend code

* Small rework on text selection.

* Cleaned up parser configuration

* Removed extracttext dependency to pnpmsetup

* Merged translation and cleaned up parser

* Fixed JSON structure after manual merge.

* Added translation to the file picker

* Revert changes to PluginInstallModal

* Reworked the text modal for the final time

* Missed the proper linted text

* Missed the backend change

* Final branch cleanup

* Fixed small translation bleeding

Caused from the manual merge of _old.json files.

* fix extra space in browser.py

* fix extra newline in plugin-loader.tsx

* Cleanup i18next-parser.config.mjs

* Update plugin-loader.tsx

* Cleanup language files

* Better labeling of text

* Fixed language typos in BranchSelect

* Fixed language typos in StoreSelect

* Cleanup plugin-loader.tsx from unused imports

* Removed the path bypass since I'm using authentication from the frontend.

* Reimplemented this component as a functional component.

* Updated dependencies and lockfile

* Removed static route from main.py

Already handled in loader.py

* Small italian coherency fixes

* Fix small typography fixes on plugin name uninstall

* Fixed italian typo on removal popup

* Reenabled manual escaping value in i18next

* Set to fallback to the default language if the string in the JSON file is empty.

* Fixed pnpm wankery

* Added a missed italian text translation string

---------

Co-authored-by: AAGaming <aa@mail.catvibers.me>
v2.8.0-pre1
2023-05-02 16:42:39 +01:00
AAGaming
caf37d681f Fix tab jank on latest steam beta v2.7.4 v2.7.3-pre2 2023-04-28 22:29:46 -04:00
EMERALD
93151e4e5e Add file picker plugin install, plugin installs to developer page (#405) v2.7.3-pre1 2023-04-25 19:20:39 -07:00
suchmememanyskill
d6f336d84b Feat/configurable paths (#404) v2.7.2-pre2 2023-04-24 20:12:42 -07:00
Beebles
4777963b65 Make patch notes modal only show current branch (#429) v2.7.2-pre1 2023-04-23 17:18:54 -07:00
Party Wumpus
fc193f98db Fix browser.py (#431) v2.7.1-pre1 2023-04-21 20:14:34 -07:00
Travis Lane
a07e4d6fe6 fix: version is no longer missing from plugin list (#417) v2.7.0 v2.7.0-pre1 2023-04-10 16:47:59 -07:00
Party Wumpus
4ab7d97ab2 Various readme changes (#422)
* various installation clarifications

* Update README.md

* Update README.md

* Update README.md

* rip crankshaft, hope you come back one day

* Update README.md

* oops i linked to PartyWumpus/decky-loader by accident

i fix
2023-04-07 11:04:08 -07:00
AAGaming
15a6f7fdb8 fix UI reloading on latest beta to prevent freeze when updating Decky 2023-04-06 13:00:54 -04:00
AAGaming
7d2cff8745 fix two missing arguments, fixing reordering of newly installed plugins (#412) v2.6.5-pre2 2023-04-04 14:52:32 -04:00
Party Wumpus
ee5ed3faf0 Make readme's download button into an svg (#413) 2023-04-04 12:36:30 -04:00
Travis Lane
0f36e87cce Add plugin reordering (#378)
* feat: started work on saving plugin order

* feat: implemented local ReorderableList

* feat: reoder complete except for usage of DFL

* switched to using dfl reorderableList

* fix: added missing file and removed frag

* updated to newest dfl

* Update defsettings.json

* fix: plugin order was missing on init

* fix: now await pluginOrder

* fix: moved the plugin-order load to plugin-loader

* chore: v6 and dfl bump
2023-04-03 14:21:31 -07:00
suchmememanyskill
fd325ef1cc Add cross-platform support to decky (#387)
* Import generic watchdog observer over platform specific import

* Use os.path rather than genericpath

* Split off socket management in plugin.py

* Don't specify multiprocessing start type

Default on linux is already fork

* Move all platform-specific functions to seperate files

TODO: make plugin.py platform agnostic

* fix import

* add backwards compat to helpers.py

* add backwards compatibility to helpers.py harder

* Testing autobuild for win

* Testing autobuild for win, try 2

* Testing autobuild for win, try 3

* Testing autobuild for win, try 4

* Create the plugins folder before attempting to use it

* Implement win get_username()

* Create win install script

* Fix branch guess from version

* Create .loader.version in install script

* Add .cmd shim to facilitate auto-restarts

* Properly fix branch guess from version

* Fix updater on windows

* Try 2 of fixing updates for windows

* Test

* pain

* Update install script

* Powershell doesn't believe in utf8

* Powershell good

* add ON_LINUX variable to localplatform

* Fix more merge issues

* test

* Move custom imports to main.py

* Move custom imports to after __main__ check 

Due to windows' default behaviour being spawn, it will spawn a new process and thus import into sys.path multiple times

* Log errors in get_system_pythonpaths() and get_loader_version() + 

split get_system_pythonpaths() on newline

* Remove whitespace in result of get_system_pythonpaths()

* use python3 on linux and python on windows in get_system_pythonpaths()

* Remove fork-specific urls

* Fix MIME types not working on Windows
2023-03-21 17:37:23 -07:00
TrainDoctor
faf46ba533 Update edit-check.yml v2.6.5-pre1 2023-03-09 16:32:54 -08:00
TrainDoctor
94ec434eae Update edit-check.yml 2023-03-09 16:31:43 -08:00
TrainDoctor
a223efd6f5 Update edit-check.yml 2023-03-09 10:24:01 -08:00
suchmememanyskill
395e45167d Shared Ctx tab rename to SharedJSContext (#395) v2.6.4 2023-03-09 18:58:19 +01:00
TrainDoctor
0dd0d9f4bd Add CI to automatically update plugin stub in template v2.6.3 v2.6.3-pre4 2023-03-05 16:23:17 -08:00
geeksville
3e5404abdd fix #390 the plugin_directory argument to import_plugin was incorrect (#391) v2.6.3-pre2 2023-03-05 14:30:26 -08:00
Beebles
46abc5a266 Fix QAM And Toaster Injection for Mar 02 Beta (#388) v2.6.3-pre1 v2.6.2 2023-03-01 20:20:31 -08:00
TrainDoctor
88e1e9b869 Update README.md v2.6.1 2023-02-25 10:30:20 -08:00
TrainDoctor
fc0089f7a5 Update bug_report.yml 2023-02-25 07:26:58 -08:00
AAGaming
d335562328 update NavigateToExternalWeb in Markdown to use Navigation v2.6.1-pre2 2023-02-22 22:17:28 -05:00
AAGaming
f9624a0859 how did this ever happen v2.6.1-pre1 2023-02-22 22:03:19 -05:00
AAGaming
97bb3fa4c8 Fix loader on feb 22 2023 beta 2023-02-22 22:00:30 -05:00
TrainDoctor
611245aec9 Update bug_report.yml 2023-02-22 17:38:46 -08:00
suchmememanyskill
e1807e8c75 General Backend Fixes (#373)
* General Backend Fixes

* Ajust helpers.get_loader_version() to never throw an exception
v2.6.0-pre1
2023-02-19 16:37:26 -08:00
TrainDoctor
b94cfe32d9 Update README.md 2023-02-19 16:22:26 -08:00
Philipp Richter
f1e679c3fb Expose a 'decky_plugin' module to decky plugins (#353)
* Expose a 'decky_plugin' module to decky plugins

* expose decky user home path
* support 'py_modules' python modules in plugins
* allow for a '_migration' method in plugins to have an explicit file
  moving step

* Expose the plugin python module as .pyi stub interface

* Expose system and user python paths to plugins
2023-02-19 14:42:55 -08:00
Beebles
e1b138bcbd Fix fullscreen route inject issues caused by Feb. 17th beta. (#372)
* remove gamepad ui

* Refactor
v2.5.4 v2.5.4-pre1
2023-02-17 17:27:20 -08:00
Kevin Hester
c6be8f6c14 Minor README fix for build instructions. (#370) 2023-02-17 14:10:03 -08:00
TrainDoctor
ac086cf59e Update README.md 2023-02-08 18:43:33 -08:00
Marco Rodolfi
3e120ea312 Fix class name shenanigans for toast notification (#366)
* Fix class name shenanigans for  toast notification

* Corrected number of iterations
v2.5.3-pre3
2023-02-06 17:30:44 -08:00
Sky Leite
0b718daa47 Add lint job to build workflow (#363)
* Add lint job to build workflow

* Add prettier-plugin-import-sort

* Install prettier plugins before linting

* Use lint script from package.json

* Move linters to separate workflow

* Remove Python and Shell linters

* Remove popd

* Test that prettier properly fails the lint job
2023-02-03 19:40:29 -08:00
EMERALD
0929b9c5cb Specify linux/amd64 Docker architecture (#356) v2.5.3-pre2 2023-02-01 17:17:24 -08:00
EMERALD
43b2269ea7 Fix UI inconsistencies, various improvements (#357)
* Make version gray in plugin list

* Settings/store icons together & plugin list fix

* Navigation name/icon improvements

* Decky settings overhaul and other fixes

- Revert the tab icon to a plug
- Rename DeckyFlat function to DeckyIcon
- Add DialogBody to settings pages to improve scrolling
- Add remote debugging settings to the developer settings
- Fix React devtools interactions to work more easily
- Add spacing to React devtools description
- Specify Decky vs. plugin store
- Compact version information by update button
- Add current version to bottom of settings
- Remove unnecessary settings icons
- Change CEF debugger icon to Chrome (bug icon too generic, is Chromium)
- Make buttons/dropdowns in settings have fixed width
- Make download icon act/appear similar to Valve's for Deck

* Final UI adjustments

* Switch plugin settings icon to plug
2023-02-01 17:16:42 -08:00
Party Wumpus
0c4e27cd34 [readme] add installer issue to common issues (#359) 2023-02-01 12:31:44 -08:00
TrainDoctor
36cf85b08a Comment out un-needed pprint usage v2.5.3-pre1 2023-01-29 15:27:52 -08:00
TrainDoctor
994da868af Add python logging to browser and plugin 2023-01-29 15:16:16 -08:00