106 Commits
Author SHA1 Message Date
Thijs Triemstra 5a9d3cf39c fix :label formatting for IP address (#1636) 2026-01-05 16:29:12 -03:00
Ruslan Sayfutdinov 87f70fa96b feat: Add current date and time to system panel (#1584) 2025-06-15 22:12:20 -06:00
Alfredo Monclus a92be75c48 refactor: optimize imports 2024-11-26 11:57:43 -03:00
Alfredo Monclus 2d6c3d7d8b fix(system): re-request if no info is available, show message if fails 2024-06-27 15:04:56 -03:00
Alfredo Monclus 2d2e80c3fd panels: allow to call them without name 2024-06-04 11:16:50 -03:00
alfrix 796e4f3dee system: add labels dict 2024-05-12 15:56:17 -03:00
alfrix 312f56a6a0 system: add cpu and memory usage tracking 2024-05-09 11:33:02 -03:00
alfrix ef184ceed3 add system info panel 2024-05-09 11:33:02 -03:00
alfrix ac6acd1ccf menu: rename system to update
system will be a different panel
2024-05-09 11:33:02 -03:00
alfrix ad2df873d3 refactor printer initialization and connection handling
removes the lag while trying to connect
cleaner code, seems faster
2024-04-30 14:27:14 -03:00
alfrix 4dd489575e remove unused imports 2024-04-26 20:34:43 -03:00
alfrix 68c4025902 create the shutdown panel, add it to the action bar, remove items from system panel
shutdown maintain estop during printing
add option to shudown both host and printer close #1207
simplify host and printer dialog if ks is local, do both
2024-03-09 12:19:01 -03:00
alfrix 2956658104 change lists to tuples 2024-01-15 14:44:50 -03:00
alfrix 0aaf9d8808 system: create clear scroll 2024-01-11 22:44:19 -03:00
alfrix d92ebac8e9 system: minor fixes, center system updates call activate 2024-01-03 20:11:22 -03:00
alfrix af3b7273bf system: change error message 2024-01-03 17:12:38 -03:00
alfrix 6d0ce76b02 system: remove unnecessary f-string interpolation 2024-01-03 11:29:12 -03:00
alfrix 726231d4c7 system: refactor
checking for updates:
doesn't lock the interface, it happens in the background
status and moonraker errors are reported in the scrolled window
refresh and restart buttons use the busy spinner
confirmation when restarting a service during print
change the refresh icon to a different one from the restart icons
2024-01-02 15:28:46 -03:00
alfrix 6cf639c083 refactor widget creation
improves performance and makes the code cleaner

* add parameters instead of calling methods afterwards
* remove a a lot of size requests
* remove parameters that are being set to the default value
* simplify dialogs containers
2024-01-02 08:14:51 -03:00
Alfredo Monclus 1794d8aa24 feat: macro prompts close #1216 (#1219)
* feat: macro prompts close #1216

now the user can have confirmation on macros using this feature close #835

* prompt: remove separator and remove the header and close button if windowed

* prompt: wakeup screen

* prompt: slightly larger close icon
2024-01-02 08:04:02 -03:00
Thijs Triemstra 25ab9c962d update ALLOWED_SERVICES (#1222) 2024-01-02 08:03:24 -03:00
alfrix 6f32cdacbe layout: fix issues 2023-10-13 23:24:03 -03:00
alfrix 001c1cb009 rest: add timeout parameter for system update refresh 2023-09-03 22:39:29 -03:00
alfrix e2068cf2c9 dialogs: remove steppers since they cause issues 2023-09-03 22:39:29 -03:00
alfrix e80ef7eff5 dialogs: simplify dialog calls, fix layout issue 2023-08-30 01:21:17 -03:00
alfrix 35007af482 system and splash: add ignore inhibitors to reboot and shutdown 2023-08-18 11:48:37 -03:00
alfrix 8d9236a2df screen: simplify panel loading
this removes create_panel function from panels and mandates a class name Panel

remove panel_type param and only use a panel_name that is it's filename

remove load_panel dict

always reinit panel, (simpler and safer but slower)
2023-07-30 12:22:58 -03:00
alfrix 3c69bcb4c4 add parameter to labels to silence IDE warnings 2023-07-30 12:22:58 -03:00
alfrix c714553da1 system: log if the repo is invalid 2022-12-03 20:43:25 -03:00
alfrix 629451051d fix update dialog sometimes not appearing fixes #831 2022-12-03 20:32:14 -03:00
alfrix 9de058b0d7 dialogs: set title 2022-11-30 11:51:24 -03:00
alfrix 1df2d0e8f0 fix full update not opening 2022-11-27 19:38:03 -03:00
alfrix cdb40e8ce1 Show the update dialog as modal 2022-11-26 15:57:50 -03:00
alfrix 9ec4ed204e rework update_queue fixes an issue that caused to not initialize after updates 2022-11-23 01:11:59 -03:00
alfrix 593d8c678b gtk: merge buttonimage and button 2022-11-22 14:55:42 -03:00
alfrix 0b1b2f0e19 dialog removal refactor 2022-11-22 14:55:42 -03:00
alfrix 880f7628e4 fix f-strings with no placeholders 2022-11-22 14:55:42 -03:00
alfrix d0d79a64df base_panel: simplify action bar buttons enable-disable 2022-11-21 09:20:05 -03:00
alfrix fc0f153023 reorder imports 2022-11-20 07:28:05 -03:00
alfrix 380df961e5 cleanup dead code 2022-11-18 01:17:57 -03:00
alfrix 45ab86204b panels: remove initialize from the panels that do not have a menu 2022-11-18 00:53:53 -03:00
alfrix 1e6a9ec8ae log: cleanup logs for files, system and bed_mesh
functions: log if DPMS fails to load
screen: log send_action
2022-11-18 00:52:55 -03:00
alfrix 2121d4a6aa system: updater: hide the end button until the update completes
it's already not sensitive but that is not intuitive sometimes
2022-10-26 22:36:52 -03:00
alfrix 2f427f7b82 lint fixes and minor refactorings 2022-09-21 11:54:49 -03:00
alfrix b2d7dda30f system: update services allowed to restart 2022-09-16 09:51:59 -03:00
alfrix 2939bbe543 system: fix an issue with the updater dialog getting off screen 2022-09-02 21:19:17 -03:00
alfrix 70e3091127 system: use separators 2022-09-02 19:58:35 -03:00
alfrix c604c25d71 system: simplify restart labels 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 c1f17b154c system: add shutdown and restart host 2022-09-02 19:58:35 -03:00