1078 Commits

Author SHA1 Message Date
alfrix
c4c7e50314 printer: create get_probe to support other probe types 2022-11-20 11:07:24 -03:00
alfrix
e29b41e5c3 rewrite send_request 2022-11-20 09:04:51 -03:00
alfrix
fc0f153023 reorder imports 2022-11-20 07:28:05 -03:00
alfrix
cebd371734 websocket: fix for when websockets-client doesnt pass the class object #796 2022-11-20 00:23:19 -03:00
alfrix
86ee1eb19f menu: the system panel should not be accesible during printing (at least not without disabling all the buttons) 2022-11-19 12:31:13 -03:00
alfrix
c3c28175ca use https with port 7130 and mention the behaviour in the docs 2022-11-18 13:54:16 -03:00
Thomas Malkewitz
5d12addbba
Xserver-XSDL cmd args to stop screen blanking (#794)
Added documentation to stop Xserver-XSDL from enabling its 5 minute default screen saver and blanking the screen.  In this scenario even after enabling the 'stay away' option in the debugging or developer options of the android device, the screen will still go black, but leave the back light on.  To stop this this, you must disable the Xserver screen saver option in the start up arguments of the server app itself.  I spend more than a few hours looking for and figuring this out, when this little bit of info would have saved me a lot of time.

Not sure if where I placed it is the best place in the doc, but the info is sound.  I am using my android over USB, FYI.
2022-11-18 13:38:55 -03:00
alfrix
92e899cf56 scripts: update naming and remove unused 2022-11-18 13:38:20 -03:00
mattlalumiere
6cb18816e2
Fixed Xclient scripts and added some examples (#717) 2022-11-18 13:31:41 -03:00
alfrix
6ca35ffab0 log: reduce max log size 2022-11-18 13:29:12 -03:00
alfrix
7ca37c56b6 websocket: refactor how the connection is handled 2022-11-18 12:56:05 -03:00
alfrix
675f28b318 Use GLib.idle_add instead of Gdk.threads_add_idle 2022-11-18 02:51:41 -03:00
alfrix
cfa35ba8e4 screen: init_printer change how the timeout functions 2022-11-18 01:46:15 -03:00
alfrix
380df961e5 cleanup dead code 2022-11-18 01:17:57 -03:00
alfrix
8dc12bea2c screen: import traceback 2022-11-18 01:17:57 -03:00
alfrix
5215c8f985 menu: less logging 2022-11-18 01:17:57 -03:00
alfrix
45b172f85c files: reset 2022-11-18 01:17:57 -03:00
alfrix
2c30bdeddf printer: cleanup 2022-11-18 01:17:57 -03:00
alfrix
09f992d3b5 screen: cleanup unused vars 2022-11-18 01:17:57 -03:00
alfrix
128fee5e96 screen: cleanup panel subscriptions 2022-11-18 01:17:57 -03:00
alfrix
529b111fce screen: call close_screensaver on remove_all_panels 2022-11-18 00:53:53 -03:00
alfrix
d55bc160ac docs: update config location 2022-11-18 00:53:53 -03:00
alfrix
7a71fa75f7 input_shaper: refactor process_update 2022-11-18 00:53:53 -03:00
alfrix
1db6388798 menu: use None 2022-11-18 00:53:53 -03:00
alfrix
bdafb31522 menu: simplify enable 2022-11-18 00:53:53 -03:00
alfrix
bd82d211f5 screen: raise more specific errors if panels cannot load 2022-11-18 00:53:53 -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
972a09df41 config: fix None appearing in config if the file doesn't exist close #777 2022-11-18 00:53:53 -03:00
alfrix
9b1b9593e8 ws: add 7130 as default for wss close #786 2022-11-18 00:53:53 -03:00
alfrix
dd33ee04bb docs: android: show script directly with example close #791 2022-11-18 00:53:53 -03:00
alfrix
04f3c5b7a5 settings: cleanup printer list 2022-11-18 00:53:53 -03:00
alfrix
18d8f835a9 always reinit printer on state changes 2022-11-18 00:53:53 -03:00
alfrix
b68cfa40fd refactor ws reconnect/retry 2022-11-18 00:53:53 -03:00
alfrix
86c52dece8 move connect_printer_widget to printer_select 2022-11-18 00:53:53 -03:00
alfrix
4272109a27 use screen printer_initializing method instead of direct calls 2022-11-18 00:53:53 -03:00
alfrix
c5fe8b02a4 exclude: fix list width if no polygons are provided 2022-11-18 00:53:53 -03:00
alfrix
fdf13102fe screen: remove shutdown variable and change on_close to disconnect 2022-11-18 00:53:53 -03:00
alfrix
e1ea41f147 screen: refactor panel removal 2022-11-18 00:53:53 -03:00
alfrix
6b1fd23e35 screen: reduce the complexity of the status changes close #792 2022-11-18 00:53:53 -03:00
alfrix
9020d0b0ea screen: set_cursor new_for_display 2022-11-18 00:53:53 -03:00
alfrix
022954918c create ks_printer_cfg 2022-11-18 00:53:53 -03:00
alfrix
e4ff009ef6 main_menu: init left_panel 2022-11-18 00:53:53 -03:00
alfrix
f7cbff3ed8 heater_graph: better max value selection 2022-11-18 00:53:53 -03:00
alfrix
f80c2687c5 screen: simplify panel subscription add-remove 2022-11-18 00:53:53 -03:00
alfrix
0bfbe90dcd screen: show_panel no need to differentiate if there are kwargs 2022-11-18 00:53:53 -03:00
alfrix
04e060c43c screen_panel: cleanup menu_item_clicked 2022-11-18 00:53:53 -03:00
alfrix
6083248dfa menu: simplify back and prevent a situation with no panels 2022-11-18 00:53:53 -03:00
alfrix
df401d4924 main_menu: remove unused argument 2022-11-18 00:53:53 -03:00
alfrix
731a78b2f2 ws_cb: first check if there are panels 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