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
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