33 Commits

Author SHA1 Message Date
alfrix
1305b40c41 refactors and cleanup 2022-10-14 13:27:01 -03:00
alfrix
de7b57f6b7 files: change reset to reinitialize 2022-09-02 19:58:35 -03:00
alfrix
200dca9dd3 dump more info during exceptions 2022-08-10 10:49:23 -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
21633b9302 files: fix local thumbnails 2022-05-31 11:14:42 -03:00
alfrix
a0a222c386 print: use the smaller thumb for the list if available 2022-05-31 11:14:42 -03:00
alfrix
8accce00a9 job_status: fix thumbnail issue #608 2022-05-04 09:56:24 -03:00
Alfredo Monclus
31546f0020
Improve Job status (#592)
Adds heater_generic and/or temp_sensors besides extruder/bed (because of the limited space maybe only 1)
Temps are now buttons and act as a shortcut to the temp panel
Adds fan_generic to the fan label and it's now a shortcut to the fan panel
The colors and size of the progress circle were changed to be more subtle.
Margins between items were augmented, because they are buttons now
Adds 3 information pages: move, extrusion and time:

    move can be opened with speed or z buttons
    time with elapsed/remaining buttons
    extrusion with the extrude_factor / flowrate button
2022-05-01 12:22:58 -03:00
alfrix
c33659c6f7 gtk: cleanup andoptimize image handling, incomplete themes should now work 2022-04-02 09:59:12 -03:00
alfrix
48b2ef513f Fix files and printer memory leaks fixes #479 2022-03-20 12:11:41 -03:00
alfrix
5899c8feab Optimize imports 2022-03-15 12:41:21 -03:00
Alfredo Monclus
e1e3437d62
Relax timers for CPU efficiency (#439) 2022-01-13 11:05:34 -05:00
Jordan
31606ddc38 Update metadata on file change. Fixes #227 2021-09-12 15:21:32 -04:00
Jordan
70d8315539 Update code style 2021-09-11 17:25:38 -04:00
Jordan
afbf96e30e files: Update metadata for file that was overwritten 2021-08-03 23:21:21 -04:00
Jordan
000f30327b files: Handle case for create_dir notifications 2021-06-12 15:26:01 -04:00
Jordan
5333218ec5 files: Compatability for key change from filename to path 2021-05-09 14:22:35 -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
96d252ba3c files: Convert away from thread
Convert files so it is not a thread, as it will become un-necessary with 
inotify from moonraker
2021-05-08 21:40:16 -04:00
Jordan Ruthe
7b6efa0521 logs: hide certain logging statements 2021-05-02 17:46:51 -04:00
jordanruthe
5e31e3cfa6
Multiple printers (#85)
* screen/printer_select/splash_screen: Updates to allow changing between moonraker instances

* Updates to multiple printers

* settings: Display printer endpoints

* Update macros to be on a per-printer basis

* files: Changes to clear out file cache on printer switch

* job_status: Redo page for action bar

* splash_screen: Change icon

* websocket: Actually close the websocket

* printer: Fix error case

* splash_screen: show buttons update

* readme update
2021-03-05 18:30:59 -05:00
Jordan Ruthe
cd8929bcb0 files: remove needless logging statements 2021-02-22 10:36:26 -05:00
Jordan Ruthe
c0b4b464bd Changes to logging implementation 2021-02-21 12:19:30 -05:00
Jordan Ruthe
a332556a51 files: Update logging and reduce metadata retrive time 2021-02-15 15:21:32 -05:00
Jordan Ruthe
9f2a328b62 files: put files in it's own thread 2021-02-15 14:22:28 -05:00
Jordan Ruthe
c08a293f83 job_status: fix problem with directories in the filename 2020-12-29 10:35:23 -05:00
Jordan Ruthe
51da7cecc8 job_status: change how metadata update is handled 2020-12-10 17:01:51 -05:00
Jordan Ruthe
f343f03b96 job_status: Refactored layout in panel 2020-12-08 23:32:27 -05:00
Jordan Ruthe
1c384144c4 files: load metadata faster than 6 seconds after start 2020-12-06 15:30:55 -05:00
Jordan Ruthe
d61db5fb17 files: Changes to metadata request to fix getting stuck in a loop 2020-12-05 13:50:15 -05:00
Jordan Ruthe
67e04248c3 files: Fix error with metadata being perpetually requested 2020-12-02 14:35:48 -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