alfrix
ac1c97a2fa
pins: fixup #1242
2024-01-16 15:33:50 -03:00
alfrix
685adea6e9
logging rollover improvements
2023-11-11 14:02:47 -03:00
alfrix
1f5bfb371f
Revert "screen: detect Desktop environment"
...
This reverts commit d5ec79e2efebf50b7e7e71e7656cde33ca8019be.
2023-11-01 16:45:29 -03:00
alfrix
d5ec79e2ef
screen: detect Desktop environment
2023-10-20 00:06:34 -03:00
alfrix
8297f72ff4
functions: print a nicer traceback
2022-11-25 15:50:33 -03:00
alfrix
6ca35ffab0
log: reduce max log size
2022-11-18 13:29:12 -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
11dd95b939
functions: do not rotate logs at startup, it's useful to see old logs when users attach them
2022-11-03 23:44:17 -03:00
alfrix
79c858ded6
functions: logging: use printer_data
2022-11-01 21:22:07 -03:00
alfrix
03e4681aa6
functions: logging changes, rotate based on filesize and on startup, print a warning in if log is not created
2022-11-01 15:36:52 -03:00
alfrix
e986e3cd8e
fix PEP8 E303 and make the code check more strict
2022-09-02 19:58:35 -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
562e49b8d2
logging: exceptions can log more info
2022-05-31 11:14:42 -03:00
Jordan
70d8315539
Update code style
2021-09-11 17:25:38 -04:00
jordanruthe
7e3b919c62
Wifi manager ( #148 )
...
Updates to include ability to change wifi networks.
2021-05-13 20:53:58 -04:00
Jordan Ruthe
c2c4e9c42e
function: Add except hook for threads
...
This will log exceptions on different threads
2021-05-02 17:48:04 -04:00
Jordan Ruthe
e1f45b3c1a
screen: Enable DPMS so screens can power down.
2021-02-22 19:46:41 -05:00
Jordan Ruthe
81477f4b0a
functions: Fix log issue
2021-02-22 19:43:11 -05:00
Jordan Ruthe
cdfd25357f
functions: Fix forgotten import
2021-02-22 15:33:13 -05:00
Jordan Ruthe
c0b4b464bd
Changes to logging implementation
2021-02-21 12:19:30 -05:00