114 Commits

Author SHA1 Message Date
alfrix
0287e68afb config: reorganization 2024-05-09 11:33:02 -03:00
alfrix
750a7ee0b5 allow 2 different screen timeouts, one while printing the other if not
closes #311
2024-04-27 15:23:57 -03:00
alfrix
0f0d35af57 settings: Add tooltips 2024-04-26 20:34:43 -03:00
alfrix
3cce75c039 config: add a help message for people that confuse Klipper with KlipperScreen 2024-04-09 13:08:58 -03:00
Alfredo Monclus
ce884154d6
print panel refactor and new features (#1270)
Adds a grid/thumbnail mode (switchable to the list mode)
last mode used is saved
faster load and less memory usage
add sort by size
2024-02-29 15:07:50 -03:00
alfrix
051a53ec22 changes: add commit of config changes 2024-01-26 21:31:08 -03:00
alfrix
9d0e4b841f config: allow xdg .config folder fully deprecate old klipper_config and home folder config
config order of preference

1. printer_data/config
2. xdg .config/KlipperScreen
3. klipperscreen repo directory
2024-01-26 13:59:16 -03:00
Alfredo Monclus
af8bd7050d
config: refactor install language, fix issues with getlocale on mac (#1250) 2024-01-25 22:47:08 -03:00
Thijs Triemstra
727a6657ee
add move_distances config option (#1211)
* add move_distances option

* address review comments

* adjust check

* comment out example

* doc update

* address review comments
2023-12-23 11:30:48 -03:00
alfrix
1f43391b2c printer_select: do not sort, this allows the users to sort how they want by defining them in the config in the order they want 2023-12-17 10:24:26 -03:00
alfrix
49e6dfd884 config: fix screw_rotation not in validator fixes #1148 2023-10-20 00:05:22 -03:00
alfrix
b6199a4f24 config: deprecate old configs 2023-10-08 11:51:48 -03:00
alfrix
2a842839ea make extrude panel on pause optional
close #1113
2023-09-04 22:06:14 -03:00
Blonďák
af1de12f28
Spoolman support close #1060
Refactor post_requrest
Switching to TreeView
More spool info
redesign toggle buttons
Allow spoolman while printing
Styling checkbox as switch
render Toggle switch-like
Fixed wrong timezones
Filtering spools
Removed translations of Spoolman
Spool image can be overided in theme
Added switch-on/off symbols to toggle
rename iter to i to avoid shadowing built-in function
remove redundant parenthesis
convert spoolcompare to static
merge check and treeview shared props
reduce spacing of buttons very useful for vertical/portrait
fix issue with remainings
add spoolman shortcut to extrude
Using backports.zoneinfo for python < 3.9
use decorators for properties
extract format_date function
change top row
last used sort
rebase on upstream
Fix for never used spools


Co-authored-by: alfrix <alfredomonclus@gmail.com>
2023-08-19 18:43:45 -03:00
Vasilyev81
65c4b172e8 Add butttons for vertical scrollbars fixes
Co-authored-by: alfrix <alfredomonclus@gmail.com>
2023-08-18 11:57:07 -03:00
alfrix
bd98e758ec base_panel improvements
* generalize macro shortcut to allow changing it in the future
* action_bar functionality is now handled in one place for better maintainability
2023-08-18 11:48:37 -03:00
alfrix
8053e97d10 camera: add support for moonraker cameras, deprecates camera_url
this also adds support for flipping and rotation (configured in moonraker)
close #976
2023-08-18 11:48:37 -03:00
alfrix
d0ab325744 config: changes in how the config is validated
now it validates in steps
1 defaults
2 user settings
3 user includes
4 auto-generated section

unknown keys will be removed from the auto-generated section if no other errors are found
detect and warn about missing newlines in headers
2023-07-30 12:22:58 -03:00
alfrix
88afa50ea3 change getdefaultlocale to getlocale since it's getting deprecated in python 3.13 2023-06-06 05:34:35 -03:00
alfrix
7a0848fa9f deprecate user slicer compensation, in hindsight this is something that the ui shouldn't do 2023-06-04 11:00:47 -03:00
alfrix
be13c1086e make the language list a menu instead of a dropdown fixes #915 2023-05-20 05:00:45 -06:00
alfrix
abacff9bd5 translate minute (singular) in the blanking list 2023-05-07 06:58:45 -06:00
Thijs Triemstra
d21a9616e7
add 1 and 2 minute screen blanking options (#958)
for battery-powered devices
2023-05-07 06:56:13 -06:00
Geoffrey Young
3d7e92f507
add ability to style and template menu buttons (#866)
* add ability to select button style for menu items

* allow for jinja template rendering for (nearly) all menu options
this shuffles params json checks to display time instead of config time
2023-02-13 21:06:33 -06:00
alfrix
d2d2c82041 feat: camera support, using mpv as backend
it should be able to play any video or stream that mpv itself can handle

close #67 close #129
2022-12-11 09:20:06 -03:00
alfrix
06bf269862 feat: turn on_off power devices with the screensaver close #518 2022-12-05 12:31:44 -03:00
alfrix
741d9b654d restart ks on error, do not warn on ks restart when changing options
i don't see it necessary ks can be restarted while printing it will generate a bit of load but shouldn't be a problem, i've done it too many times at this point
2022-11-27 14:30:28 -03:00
alfrix
4f5e025de1 fix not starting due to missing translation fixes #815 2022-11-26 15:57:50 -03:00
alfrix
1806973ba1 fix issue with auto language detection 2022-11-23 23:01:20 -03:00
alfrix
717575256c update translations remove some unnecesary strings use 2 letter designation unless needed 2022-11-22 14:55:42 -03:00
alfrix
e90dac950c config: make klipper_config a secondary location for new configs fixes #800 2022-11-22 00:55:37 -03:00
alfrix
054523d937 settings: add extra large font close #798 2022-11-20 20:58:06 -03:00
alfrix
380df961e5 cleanup dead code 2022-11-18 01:17:57 -03:00
alfrix
1db6388798 menu: use None 2022-11-18 00:53:53 -03:00
alfrix
bdafb31522 menu: simplify enable 2022-11-18 00:53:53 -03:00
alfrix
972a09df41 config: fix None appearing in config if the file doesn't exist close #777 2022-11-18 00:53:53 -03:00
alfrix
300eed4d29 translations: update 2022-11-12 11:23:01 -03:00
alfrix
6e4d0ff962 config: add lang list to init, reduce logging 2022-11-04 18:12:39 -03:00
alfrix
9c4f4c5fe7 config: try to save in printer_data first 2022-11-04 10:30:14 -03:00
alfrix
f749969c07 config: fix default en if system lang not found 2022-10-28 06:25:20 -03:00
alfrix
d3d7104ec4 languages: refactor
- No full restart requirement just reload
- Fix some systems not loading the language
- Fix RTL not applied if the lang was not set by the system
2022-10-26 22:36:52 -03:00
alfrix
8cc86dfd7c config: add width and height for development purposes
Do not use this when KS is meant to be fullscreen, this should be used for window size on a desktop
2022-10-26 22:36:52 -03:00
alfrix
c5413e51c9 config: add printer_data to default config search locations
close #759
2022-10-26 22:36:52 -03:00
alfrix
1305b40c41 refactors and cleanup 2022-10-14 13:27:01 -03:00
alfrix
2e026aef56 extrude: make the speed and distance configurable close #673 2022-10-14 10:19:44 -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
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
856e204750 config: fix validator not recognizing calibrate positions 2022-09-04 11:37:50 -03:00