Commit Graph

2185 Commits

Author SHA1 Message Date
Alfredo Monclus
7ea3122908 feat(ks_actions): ability to show specific panels or custom menus defined in runtime (#1418) 2024-10-18 11:33:29 -03:00
Alfredo Monclus
56089e68d0 fix(camera): log other levels fixes indentation 2024-10-18 11:31:45 -03:00
Alfredo Monclus
d4035e9495 refactor(camera): filters and logging 2024-10-18 11:28:45 -03:00
Vasily Khoruzhick
c670a2bdc8 fix(camera): don't use scale filter if angle is zero (#1485)
scale filter seems to be expensive even with angle=0. On my CB1 having
vf=rotate:0.0 in mpv arguments results in KlipperScreen using 100% of a
single core vs 30% when it's omitted.
2024-10-18 11:03:27 -03:00
Andrii
25a3f8293e Ukrainian localisation (#1483)
Ukrainian localisation update
2024-10-18 11:02:17 -03:00
Weblate (bot)
7ae6ce067d Translated using Weblate (Hungarian) (#1486)
Currently translated at 100.0% (322 of 322 strings)


Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/hu/
Translation: KlipperScreen/KlipperScreen

Co-authored-by: Zs.Antal <antonio092130@icloud.com>
2024-10-18 11:01:59 -03:00
Alfredo Monclus
a7b8c4cfeb chore(deps): update pygobject and pycairo dependencies 2024-10-13 13:57:13 -03:00
Alfredo Monclus
87e18ed6d4 refactor(camera): logging 2024-10-13 13:53:29 -03:00
Alfredo Monclus
9fb17ee17f fix(camera): do not log ffmpeg app field decode errors, close #1480 2024-10-13 13:41:48 -03:00
Alfredo Monclus
bdfdac9fb6 fix(shutdown): simple accept not working after 21a269edd2 2024-10-13 13:41:48 -03:00
Thijs Triemstra
18b502c2a8 doc: fix sponsor img links (#1478) 2024-10-13 13:41:24 -03:00
Weblate (bot)
704fbf42da chore(locales): Translations update from Hosted Weblate (#1476)
* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Czech)

Currently translated at 100.0% (322 of 322 strings)

Co-authored-by: Miloslav Kos <kos.m@post.cz>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/cs/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Spanish)

Currently translated at 100.0% (322 of 322 strings)

Co-authored-by: Alfredo Monclus <alfredomonclus@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/es/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Spanish)

Currently translated at 100.0% (322 of 322 strings)

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/es/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Dutch)

Currently translated at 93.1% (300 of 322 strings)

Co-authored-by: Thijs Triemstra <info@collab.nl>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/nl/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Turkish)

Currently translated at 100.0% (322 of 322 strings)

Co-authored-by: Selim <technical50@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/tr/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Polish)

Currently translated at 100.0% (322 of 322 strings)

Co-authored-by: Daviteusz <daviteusz0@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/pl/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: Miloslav Kos <kos.m@post.cz>
Co-authored-by: Alfredo Monclus <alfredomonclus@gmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: Thijs Triemstra <info@collab.nl>
Co-authored-by: Selim <technical50@users.noreply.hosted.weblate.org>
Co-authored-by: Daviteusz <daviteusz0@gmail.com>
2024-10-13 13:40:55 -03:00
Alfredo Monclus
e145933782 chore(locales): update base 2024-10-09 18:12:41 -03:00
Alfredo Monclus
b3b097fbe3 fix(job_status): restart sometimes not responding 2024-10-09 17:45:28 -03:00
Alfredo Monclus
ab308e23f7 feat(bed_mesh): do z_tilt or quad_level if not done before 2024-10-09 17:45:28 -03:00
Alfredo Monclus
1872b40d9f fix(base_panel): remove printer name from printer_select and fix initial not connected error 2024-10-09 17:45:28 -03:00
Alfredo Monclus
0c9884bc85 fix: misplaced logging error in 71eef9e 2024-10-09 17:45:28 -03:00
Alfredo Monclus
5ae4e475b6 feat: battery status (#1457)
* Initial commit, added psutil for getting tablet/laptop battery percentage, initial code for getting the values and displaying the icon

* add battery svgs for light theme

* added light styled battery svgs for dark themes

* update icon based on battery percentage and if device is charging

* indentation fix, and forgot to add battery plugged checks for 33% and 66% battery levels

* move battery polling to its own timer now that i understand how to add an additional timer, checks every 30 seconds. check for if show battery is on or off

* add toggle to config for settings

* show battery callback as screen.restart_ks instead of just reloading panels

* move self.battery_percentage() to end of reload_icons this ensures that when a theme is changed the icon is updated instead of waiting for the timeout to update the icon again

* remove left over commented out code

* only call self.battery_percentage when config is true

* adjust tooltip message

* split creatation of elements from updating elements

* change print to logging.debug, handle rouding for percentage in the f-string

* remove code that was moved to `attery_init()`, only destroy icon element when updating icons/percentage text, remove redundant calls to `.pack_start` (just call it once after setting the icon).

* only create battery_update timer if config setting is true

* new material icons remove old icons

* `self.battery_init() in `__init__` def

* fix: lint

* refactors

* style: update icons to follow themes

* refactor: remove config, make the show/hide automatic

* style: bigger battery icons for z-bolt and colorized

---------

Co-authored-by: MrTylerjet <MrTylerjet@gmail.com>
2024-10-09 17:34:33 -03:00
Weblate (bot)
7b7b7c54e1 chore(locales): Translations update from Hosted Weblate (#1471)
* Translated using Weblate (Chinese (Simplified Han script))

Currently translated at 100.0% (318 of 318 strings)

Co-authored-by: Will Zhai <willzhai55@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/zh_Hans/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Chinese (Simplified Han script))

Currently translated at 100.0% (318 of 318 strings)

Co-authored-by: Neko.vecter <Vecterfang@icloud.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/zh_Hans/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (Portuguese)

Currently translated at 91.5% (291 of 318 strings)

Co-authored-by: Paulo Henrique <pauloh.programador@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/pt/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: Will Zhai <willzhai55@gmail.com>
Co-authored-by: Neko.vecter <Vecterfang@icloud.com>
Co-authored-by: Paulo Henrique <pauloh.programador@gmail.com>
2024-10-09 16:41:02 -03:00
Alfredo Monclus
71eef9ee1f fix(base_panel): handle pixbuf is None, this would happen if the theme was incomplete and didn't load 2024-10-01 19:55:06 -03:00
Alfredo Monclus
40b5fbf2cf fix(job_status): animation timeout 2024-09-28 13:20:46 -03:00
Alfredo Monclus
ac5e7ae065 refactor(job_status): initialize vars separately 2024-09-28 01:41:09 -03:00
Alfredo Monclus
4596c48297 docs: add how to do multi instances on the same host 2024-09-26 20:07:43 -03:00
Alfredo Monclus
66e8a09a66 fix: wait for moonraker if present, this will aid those slow system to not fail the connection on startup and having to retry 2024-09-24 16:52:21 -03:00
Alfredo Monclus
832a86ed6e fix: shutdown not working when not connected 2024-09-23 21:12:25 -03:00
Alfredo Monclus
8cda8b62a6 chore: update changelog 2024-09-21 06:40:57 -03:00
Alfredo Monclus
c20d0a2f84 fix: keyboard getting doubled if switching entry via the input switch icon
got mistakenly removed in previous commit 585f477e51
2024-09-21 05:28:21 -03:00
Alfredo Monclus
585f477e51 fix: keyboard not switching entry 2024-09-20 19:16:21 -03:00
Alfredo Monclus
a262247a2a feat: make the osk keypad smaller while landscape 2024-09-20 19:16:21 -03:00
Alfredo Monclus
274fc2b263 feat: add float option to the keypad 2024-09-20 19:16:21 -03:00
Alfredo Monclus
7b857ff991 fix: autoscroll now works if the entry is at the very bottom of the scroll
the delay is needed because the osk will change the scrolledwindow adjustment, and it's only possible to scroll down more after the keyboard has been shown
2024-09-20 19:16:21 -03:00
Alfredo Monclus
5d806a82da feat: add auto alpha to keypad switching if hinted the type in the params 2024-09-20 19:16:21 -03:00
Alfredo Monclus
550d955adc refactor: rename digital to digits 2024-09-20 19:16:21 -03:00
Alfredo Monclus
822f5400cf feat: add keyboard to keypad switchs to macro panel 2024-09-20 19:16:21 -03:00
Bobby Graese
f045393dc3 feat: Add InputPupose DIGITS support to keyboard (#1463)
Adds support for InputPurpose.DIGITS to the on-screen keyboard.  This
can be used in places where a number-only input is appropriate, but
there may not be a desire to use the large keypad widgets.
2024-09-20 19:14:04 -03:00
Alfredo Monclus
d8479220f3 fix(network): detection of some security types 2024-09-20 16:32:16 -03:00
Alfredo Monclus
688ada6c4e fix: use environment display on xset
fixes #1467
2024-09-20 11:45:38 -03:00
Alfredo Monclus
768bbcd285 fix(job_status): close fullscren dialog automatically on state changes
fixes #1455
2024-09-20 11:01:51 -03:00
Alfredo Monclus
9854cc99cc fix(job_status): format of object height on metadata updates
fixes #1458
2024-09-20 11:01:47 -03:00
Alfredo Monclus
bdf03e8d6f chore: update changelog 0.4.4 2024-09-16 19:09:34 -03:00
alfrix
765ef1b3f6 style: change the treeview back to a check
it takes less space and the previous implementation looks bad on some systems where the sizes are not respected
2024-09-15 15:08:28 -03:00
alfrix
3a3287145e fix: spoolman date parsing 2024-09-15 09:55:08 -03:00
Weblate (bot)
24d7851091 chore(locales): Translations update from Hosted Weblate (#1466)
* Translated using Weblate (German (de_FORMAL))

Currently translated at 86.4% (275 of 318 strings)

Translated using Weblate (German)

Currently translated at 100.0% (318 of 318 strings)

Co-authored-by: Leart Dukaj <premtimdukaj@hotmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/de/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/de_FORMAL/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (German (de_FORMAL))

Currently translated at 100.0% (318 of 318 strings)

Translated using Weblate (German (de_FORMAL))

Currently translated at 95.2% (303 of 318 strings)

Translated using Weblate (German (de_FORMAL))

Currently translated at 86.4% (275 of 318 strings)

Co-authored-by: Flo082002 <flos6323@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/de_FORMAL/
Translation: KlipperScreen/KlipperScreen

* Translated using Weblate (German (de_FORMAL))

Currently translated at 100.0% (318 of 318 strings)

Translated using Weblate (German)

Currently translated at 100.0% (318 of 318 strings)

Translated using Weblate (German (de_FORMAL))

Currently translated at 95.2% (303 of 318 strings)

Co-authored-by: Leart Dukaj <premtimdukaj@hotmail.com>
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/de/
Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/de_FORMAL/
Translation: KlipperScreen/KlipperScreen

---------

Co-authored-by: Leart Dukaj <premtimdukaj@hotmail.com>
Co-authored-by: Flo082002 <flos6323@gmail.com>
2024-09-13 18:03:45 -03:00
andrewmv
21a269edd2 feat: Moonraker route prefix support (#1464)
* Added config directives to specify moonraker route prefix, and
explicitly specify SSL

* Added newly-implemented options to documentation

* Fixed boolean handling

* Cleanup

* Fixed trailing whitespace

* refactor: simplifications and lint fixes

---------

Co-authored-by: Alfredo Monclus <alfredomonclus@gmail.com>
2024-09-13 18:02:12 -03:00
Alfredo Monclus
7fd759d5fc feat: show the cursor toggle and allow switching on the fly 2024-09-04 12:52:46 -03:00
Scott Mikutsky
d99048d29f Only calls BED_MESH_CLEAR if bed_mesh enabled (#1460) 2024-09-04 12:45:39 -03:00
Weblate (bot)
844eaba1ee Translated using Weblate (French) (#1459)
Currently translated at 100.0% (318 of 318 strings)


Translate-URL: https://hosted.weblate.org/projects/klipperscreen/klipperscreen/fr/
Translation: KlipperScreen/KlipperScreen

Co-authored-by: Nackophilz <zrv4flra@anonaddy.me>
2024-09-04 12:45:18 -03:00
Alfredo Monclus
7d75d39c0e chore: update changelog 2024-08-25 01:41:22 -03:00
Alfredo Monclus
d53f03dce4 fix: move z speed config
fixes #1450
2024-08-25 01:27:31 -03:00
Alfredo Monclus
c6fca4f0f9 fix: pid_calibrate error for heater_generic
fixes #1452
2024-08-25 01:27:23 -03:00