388 Commits

Author SHA1 Message Date
alfrix
28fe1bf6d8 Update Locales: Thanks Tal Rahav for the Hebrew translation 2022-10-14 10:19:44 -03:00
alfrix
978bb72e20 Fix: Printer not connecting if [pause_resume] is missing
fix #752
2022-10-14 10:19:44 -03:00
Alfredo Monclus
a83bbed85a
exclude: graph (#743)
Also support name wrapping and remove the object from the list if it was excluded (easier to see)
2022-10-04 10:52:44 -03:00
Selim
35571fce8a
Turkish language Update (#734) 2022-09-22 09:50:40 -03:00
Andriy
1f3fe23716
Correction of the Ukrainian localization (#730) 2022-09-21 11:34:53 -03:00
AntoszHUN
ebaecedf0d
Update KlipperScreen.po (#728) 2022-09-13 00:01:22 -03:00
alfrix
4656be8c16 graph: limit the graph to 0-999
It's not over 9000.
2022-09-12 23:32:41 -03:00
Laurenz
2cce477e5b
Add current heater power % to job status (#708)
* Add current heater power % to job status

* Add show_heater_power config option and move update_temp()s to ScreenPanel

* Add the option to the UI config instead of the docs

* Prefer extra items on job_status over the power

There is not a lot of space, it's a trade off, and people will likely prefer extra_items

* Remove the comma, none of the other buttons have it

* job_status: inherit the parent config

* screen: create reload_panels to avoid some service restarts

* extrude: fix power breaking multi-extruder setups

* main and temp: remove degrees char from the table

* main and temp: revert removal of the header

Co-authored-by: alfrix <alfredomonclus@gmail.com>
2022-09-09 11:34:50 -03:00
alfrix
069097d2e0 config:fix 2022-09-09 11:32:44 -03:00
alfrix
1d40b9cf7f config: fix babystepping not being recognized
this is a temporary fix, the list items need to be validated individually
2022-09-06 13:13:44 -03:00
Andriy
81573fbd39
Ukrainian update (#719) 2022-09-05 21:27:28 -03:00
whi-tw
5d428e4999
Ignore include sections when validating the config (#720)
* Don't validate `include` sections.

We need a `continue` here because `include` sections are not 'standard',
and don't have any keys to validate.

`include` sections are tangentially validated later via
`_include_config()`.

* Move checks for non-validated sections to start

Rather than looping through the whole if..elif.. block, fail fast if
we're not actually going to validate the section.
2022-09-05 21:27:09 -03:00
alfrix
abe12cca30 printer: fix issue that could cause the panels to not show up on startup if moonraker is not connected 2022-09-05 21:02:04 -03:00
alfrix
856e204750 config: fix validator not recognizing calibrate positions 2022-09-04 11:37:50 -03:00
alfrix
2d7486974c config: validator fix floats 2022-09-03 18:25:57 -03:00
alfrix
fd7ff6b0cd Update Spanish 2022-09-02 21:21:48 -03:00
alfrix
07b134f1a0 Update translation files 2022-09-02 21:03:19 -03:00
Nick Douma
89e89ae1b2 Change URL protocol to HTTPS and WSS when connecting to port 443 2022-09-02 19:58:53 -03:00
alfrix
1704276c2d config: silently remove quotes from the api_key
This fixes a user error where it copies the quotes too
2022-09-02 19:58:35 -03:00
alfrix
553423e3d8 klippygtk: fix cases where wrap and ellipsize was not applied 2022-09-02 19:58:35 -03:00
alfrix
de7b57f6b7 files: change reset to reinitialize 2022-09-02 19:58:35 -03:00
alfrix
0d2c1b013b graph: fix error on touch 2022-09-02 19:58:35 -03:00
alfrix
e986e3cd8e fix PEP8 E303 and make the code check more strict 2022-09-02 19:58:35 -03:00
alfrix
4f959696bd gtk: remove newlines to properly wrap lines if needed
this fixes the issue caused by labels with a newlines detected as 1 line even if it has more than one
2022-09-02 19:58:35 -03:00
alfrix
b1237ea75e config: add fallback values to booleans 2022-09-02 19:58:35 -03:00
alfrix
ea5c5afa5e gtk: do not try to ellipsize if the label is None 2022-09-02 19:58:35 -03:00
alfrix
f60a878e7b main and temp: save visibility of items 2022-09-02 19:58:35 -03:00
alfrix
38ceea5204 gtk: improve wrapping of labels 2022-09-02 19:58:35 -03:00
alfrix
4124a67450 gtk: fix scrolling stuck on some cases 2022-09-02 19:58:35 -03:00
alfrix
3e5855d207 config: add validator 2022-09-02 19:58:35 -03:00
AntoszHUN
5366df6e2c
Hungarian Language Update (#703)
The Hungarian language package has been updated.

    I updated the words that were included earlier.
    I translated the words that were included earlier.
    I translated the most recently added words.
    Fixed other translation errors.

Signed-off-by: AntoszHUN zsikaiantal@gmail.com
2022-08-18 23:45:00 -03:00
Selim
036ba207ee
Turkish Language Update (#696) 2022-08-11 14:57:45 -03:00
alfrix
3847fea315 Update translation files 2022-08-10 12:02:07 -03:00
alfrix
200dca9dd3 dump more info during exceptions 2022-08-10 10:49:23 -03:00
Selim
6863d1c32e
Turkish Update 8 (#694) 2022-08-10 10:48:59 -03:00
alfrix
e332ccc22a pins: assign initial value if configured fix #689 2022-08-01 21:27:19 -03:00
alfrix
16871f967e Add bed-mesh icon 2022-08-01 13:59:09 -03:00
alfrix
6fee87fb18 Update translations 2022-08-01 12:34:11 -03:00
alfrix
d5bc271788 close dialogs on klippy restart 2022-08-01 12:23:40 -03:00
alfrix
e8e4555d46 temperature: Support specific preheat items close #428 2022-08-01 12:23:40 -03:00
alfrix
eb17bb58ad screen_panel: remove unused parameters 2022-08-01 12:23:40 -03:00
alfrix
9c2b52009a built-in keyboard 2022-08-01 12:23:40 -03:00
alfrix
a0cff7ec56 simplify name spliting 2022-08-01 12:23:40 -03:00
alfrix
88ca902a4b popups: wrap long messages, increase margins, touch anywhere to close 2022-08-01 12:23:40 -03:00
alfrix
c047bed518 bed_level: hide the panel if bed_screws or screws_tilt_calculate are not defined
there are printers with fixed beds that don't need this panel
2022-08-01 12:23:40 -03:00
alfrix
752e53ff56 screen: popups can be configured to not close #456 2022-08-01 12:23:40 -03:00
alfrix
3bae1a4da8 menu: show temp if there are only extruders, heater_pin in klipper is mandatory for extruders 2022-08-01 12:23:40 -03:00
alfrix
25e6110dab output_pin panel close #546 2022-08-01 12:23:40 -03:00
alfrix
aa5f91a548 Wait more time to initialize 2022-08-01 12:23:40 -03:00
alfrix
6510b2ec6b Refactor
Use f-strings
Avoid unnecessary casts to str()bool()int()
Ensure file closure
Merge nested ifs
Simplify for-assigns-appends with comprehensions and internal functions
Avoid shadowing internal function names
Initialize variables
Return value directly instead of assign then return
Make some methods static
2022-08-01 12:23:40 -03:00