24 Commits

Author SHA1 Message Date
alfrix
ee501f2594 rest: cleanup requests
increase timeout to slightly larger than a multiple of 3, which is the default TCP packet retransmission window.
2024-03-09 09:09:41 -03:00
alfrix
7cd6107998 KlippyRest/Websocket simplify methods into comprehensions 2024-03-09 08:24:03 -03:00
alfrix
001c1cb009 rest: add timeout parameter for system update refresh 2023-09-03 22:39:29 -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
alfrix
9ba8d04861 printer: save and use available commands 2023-08-18 11:48:37 -03:00
alfrix
b353f8526e timeout requests to prevent locking 2023-03-09 07:32:46 -06:00
alfrix
3047fde812 cleanup quotes in connection status messages 2022-11-30 11:00:10 -03:00
alfrix
6ae6937c49 format the connection error 2022-11-26 15:57:50 -03:00
alfrix
818f1ab465 splash_screen: show detailed error when moonraker connection fails 2022-11-21 07:15:02 -03:00
alfrix
bdd3e0ba1b Cleanups 2022-11-20 22:41:22 -03:00
alfrix
e29b41e5c3 rewrite send_request 2022-11-20 09:04:51 -03:00
alfrix
fc0f153023 reorder imports 2022-11-20 07:28:05 -03:00
alfrix
c3c28175ca use https with port 7130 and mention the behaviour in the docs 2022-11-18 13:54:16 -03:00
alfrix
8b55d2f2b1 splash_screen: limit reconnections, clear log, add reconnect button 2022-11-11 10:25:55 -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
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
alfrix
5a36729b76 PEP8, typos and warnings fixes 2022-05-31 11:14:42 -03:00
alfrix
562e49b8d2 logging: exceptions can log more info 2022-05-31 11:14:42 -03:00
Jordan
70d8315539 Update code style 2021-09-11 17:25:38 -04:00
Jordan
bd1650fd18 files: Updates to not cache thumbnails locally. Also get notified by inotify 2021-05-09 13:57:18 -04:00
Jordan Ruthe
c0b4b464bd Changes to logging implementation 2021-02-21 12:19:30 -05:00
Jordan Ruthe
faabceeafd KlippyRest: catch connection errors 2021-01-29 22:30:55 -05:00
Jordan
37c043b3f9 KlippyWebsocket: changes to allow for moonraker api key 2020-12-20 15:43:42 -05:00
Jordan Ruthe
c2be717fa9 Move support files to ks_includes folder.
Fix job_status panel submenu
2020-11-17 00:03:02 -05:00