85 Commits

Author SHA1 Message Date
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
alfrix
38ceea5204 gtk: improve wrapping of labels 2022-09-02 19:58:35 -03:00
alfrix
58bddd58a8 system: remove unneeded extra blank line 2022-08-06 14:46:18 -03:00
alfrix
6094d4b6c0 system: add autoscroll and improve how the list of changes look 2022-08-06 12:56:57 -03:00
alfrix
7ba83227bd system: autoclose popup 2022-08-01 12:59:52 -03:00
alfrix
af1ae9a0ec system: Add check for updates close #681 2022-08-01 12:23:40 -03:00
alfrix
eb17bb58ad screen_panel: remove unused parameters 2022-08-01 12:23:40 -03:00
alfrix
422f5619be system: add webcamd to allowed services to restart 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
alfrix
68d4f9c534 keyboard: fix for long vertical screens 2022-08-01 12:23:40 -03:00
alfrix
5ad82a64d4 Translations: install _() 2022-07-03 12:03:50 -03:00
alfrix
b611491997 Optimize imports 2022-07-03 12:03:50 -03:00
alfrix
431eb0058c system: remove unused function 2022-07-03 12:03:50 -03:00
alfrix
33195f203f Simplify code 2022-05-31 11:14:42 -03:00
alfrix
5a36729b76 PEP8, typos and warnings fixes 2022-05-31 11:14:42 -03:00
alfrix
ff087e7a6f system: feature: add Full Update 2022-03-25 09:49:10 -03:00
alfrix
ee0cc9ca10 Remove unused variables 2022-03-15 12:41:21 -03:00
alfrix
5899c8feab Optimize imports 2022-03-15 12:41:21 -03:00
alfrix
244f964126 system and menu: fix not loading when no printer is online but moonraker is connected 2022-03-01 09:12:13 -03:00
alfrix
c77bdfe617 Translations: Fix plurals 2022-02-26 16:03:08 -03:00
alfrix
1753105265 sytem: fix updater when moonraker doesn't return configured_type 2022-02-13 17:28:15 -03:00
alfrix
4e594c258f System: Fix long translations breaking the ui at low resolution 2022-01-24 07:17:35 -03:00