65 Commits

Author SHA1 Message Date
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
alfrix
0592840ded Change scrolling behaviour in a few more places 2022-01-22 21:08:41 -03:00
Jordan
4b0b937c41 Change scrolling behavior to enable touch scroll. Fix #466 2022-01-22 15:30:02 -05:00
Alfredo Monclus
ec4213b971
System: fix updater dialog (#462) 2022-01-21 16:22:01 -03:00
Devil-of-Chaos
f796a72057
Add Ability to Use Custom Service (#418)
* Custom Servive

* Custom Service

* Update system.py

* Update Configuration.md
2022-01-13 11:17:45 -05:00
Alfredo Monclus
eca3385ffe
Add the full message of the commits in the updater (#343) 2021-12-04 12:29:17 -05:00
Elektrickser
b52085746f
More German Translations (#318)
* Add German Language

Translate the texts to german.

* Update system.py

change grid, to see all buttons on screen

* Revert "Add German Language"

This reverts commit 698225883947d4237559009d82f9f34885fb0a42.

* Add German Language

add German translated files.

* fixed german translation

fixed "Laden"

* fixed german translation

add more translations

* Update system.py
2021-11-16 21:03:46 -05:00
Alfredo Monclus
5f5e6336c0
Update Translations (#284)
* Update Translations

* Various fixes to not break the UI

* Add updater translations

* Fix pycodestyle

* Fix updater translations

* Fix pycodestyle

* Fix restart translation

* Fix \n in label

* Update French
Thank you Bahoue

* Separate "default"

Co-authored-by: jordanruthe <31575189+jordanruthe@users.noreply.github.com>
2021-10-04 20:18:27 -04:00
Alfredo Monclus
5e3e8be005
Styling updates (#279)
* Dialog buttons colors

* Zcalibrate add colors for buttons

* Fix move panel misalignment and add color to home button

* z-bolt switch styling

* Splash screen homogeneous buttons

* remove switch slider border

* Remove max chars from filename (ellipsizes anyway)

* Fix colorized buttons moving when pressed

* Updater more row spacing

* Colorized button press
2021-09-22 23:14:21 -04:00
Alfredo Monclus
155ac2ab6f
System: Updater improvements (#260)
* System: improve updater

* Styling updates

* dialog buttons pressed

* Update styling

* styling

* implement repo recovery

* check if dirty

* Fix scrollbars and logic

* Fix codestyling
2021-09-21 18:23:56 -04:00
Jordan
54c47554d2 Change how panel subscriptions work 2021-09-16 21:54:51 -04:00
Jordan
70d8315539 Update code style 2021-09-11 17:25:38 -04:00
Alfredo Monclus
517a6afab8
Dialogs updates (#252)
* Fix cursor on dialogs and make them fullscreen

* Fix date alignment varying with text length
2021-09-07 21:30:21 -04:00
Alfredo Monclus
8bfaf69109
Updater UI cleanup (#230) 2021-08-19 21:00:07 -04:00
Alfredo Monclus
50b309a213
UI Fix for Other Languages (#228)
* Update translation files

* Fixup UI in other languages
2021-08-17 07:20:26 -04:00
Jordan
d3ae02e8d8 system: Add restart option to services that moonraker supports 2021-06-12 06:30:00 -04:00
Jordan
dfe9883923 system: Change information icon 2021-06-12 06:30:00 -04:00
Jordan
867ded34d9 Add update manager capability and revamp system panel to show all moonraker update clients 2021-06-12 06:30:00 -04:00
Alfredo Monclus
e75a10a888
New Style - Solarized (#144)
* New Style solarized
2021-05-10 20:55:15 -04:00
Jordan Ruthe
55193e227f system: Add KlipperScreen restart button 2021-03-12 11:47:39 -05:00
Jordan Ruthe
aed61f4aba system: Fix buttons being off screen 2021-02-22 10:35:41 -05:00