Commit Graph

212 Commits

Author SHA1 Message Date
Artem30801
45b08f2e3f Fix of possible exceptions with signal disconnection 2020-01-17 19:55:59 +03:00
Artem30801
45652aa46b Config editor auto-resizing on start 2020-01-14 16:28:20 +03:00
Artem30801
f3385c9788 Merge branch 'qt-gui-update' of https://github.com/CopterExpress/clever-show into qt-gui-update 2020-01-14 15:28:30 +03:00
Artem30801
1754ac09a8 New copter table changes started 2020-01-14 15:26:58 +03:00
Arthur Golubtsov
dba274797d Server: Increase columns names 2020-01-13 18:57:49 +03:00
Artem30801
26467f1472 Fixed resizing of columns 2020-01-13 18:33:41 +03:00
Artem30801
d23c12e3fd Simplify init, better config window managing 2020-01-12 15:45:46 +03:00
Artem30801
277ed82a6d Added column reodering from rigt-click menu + order loading 2020-01-12 12:20:16 +03:00
artem30801
2173f4a134 WIP column reordering 2020-01-12 10:02:51 +03:00
Artem30801
5c0306f212 Improved qt server callbacks registartion 2020-01-07 17:30:44 +03:00
Artem30801
c03083e238 Added context menu with config dialog!
Tested and working for now
2020-01-07 17:30:02 +03:00
Artem30801
7e702482d6 Simplifyed validation loop usage + other improvemnts 2020-01-07 17:27:44 +03:00
Artem30801
b245bc2b0c Extracted validation loop 2020-01-06 23:18:01 +03:00
Artem30801
d51888205b Removed unnecessary functions 2020-01-06 17:25:41 +03:00
Artem30801
3798a5fddc Client with new config system 2020-01-05 17:58:04 +03:00
Artem30801
0f2574554d Slight improvemnts 2020-01-05 12:37:33 +03:00
Artem30801
98e4e0190c Merge fixes and improvements 2020-01-03 15:36:54 +03:00
Artem30801
a8c31a0258 Merge branch 'master' into qt-gui-update 2020-01-02 19:30:17 +03:00
Artem30801
0ed088a99d Improved notifier closing and error handling + fixes 2020-01-02 19:26:27 +03:00
Arthur Golubtsov
6158944602 Server: Add README 2019-12-31 12:55:49 +03:00
artem30801
75ce422cad Refactored visual land dialog (YAY!) + shortcuts + not closing every time (#62) 2019-12-31 11:56:53 +03:00
Arthur Golubtsov
4573e8ebc9 Server: Add length condition for viewing check errors 2019-12-31 10:39:30 +03:00
Arthur Golubtsov
dfbf466706 Server: Catch network exceptions 2019-12-31 10:39:30 +03:00
Artem30801
63f6bdbe52 Merge branch 'master' into qt-gui-update 2019-12-30 21:57:21 +03:00
Artem30801
8efc1029b6 Optimized imports and naming, started rework of config sending 2019-12-30 19:45:19 +03:00
Artem30801
6ffef1a0bf Optimized imports and naming, started rework of config sending 2019-12-30 19:43:13 +03:00
Artem30801
5ffa90a8ee Working headers context menu 2019-12-30 14:03:24 +03:00
Artem30801
17ea0eba18 WIP copter table context menus 2019-12-30 10:36:08 +03:00
Artem30801
9091d90554 Slight improvements 2019-12-30 10:35:48 +03:00
artem30801
2ebdb6f683 Reworked old filesending funcions 2019-12-29 21:04:39 +03:00
artem30801
239f32a616 Filesending debugging 2019-12-29 20:07:03 +03:00
artem30801
44bf471385 Fixes and improvents in server 2019-12-29 18:09:24 +03:00
artem30801
853cc0d3fa File sending fix (#61)
* Changed sending buffering

* Connected config to buffer size in clients

* Update data logging for file transmit

* Fix logging when receive data

Co-authored-by: Arthur Golubtsov <goldartt@gmail.com>
2019-12-26 18:23:10 +03:00
artem30801
01a2990e0a Removed timing lib import 2019-12-26 17:53:10 +03:00
artem30801
f1ea376a79 QT server refactor and improvements 2019-12-26 15:37:55 +03:00
artem30801
8b4bb7a064 Merged master+server improvements 2019-12-26 15:30:24 +03:00
Arthur Golubtsov
fd763feeed Server: Update GUI 2019-12-26 02:38:16 +03:00
Arthur Golubtsov
a85af14b3a Server: Update emergency dialog 2019-12-26 02:38:16 +03:00
Arthur Golubtsov
4da5a91e53 Server: change config order accordingly to the docs 2019-12-24 19:44:25 +03:00
Arthur Golubtsov
3b35ff8b66 Server: Write short check statuses directly 2019-12-17 11:39:37 +03:00
artem30801
ad0fc9e4bc Shift server to new ConfigManager 2019-12-07 22:39:29 +03:00
artem30801
bf185063dc Added automatic type conversions and stansalone dialog call
Fully working for now but needs testing
2019-12-07 22:36:24 +03:00
artem30801
ce36c6f1e3 Feature branch: IMPORTANT connection+telemetry+table fixes and improvements (#55)
* .client_connected > .new_client_connected

* Fixed 'confirmation_required' wrapper

* Logging impr

* Changed and optimized a lot checks behaviour

* Added indication of connected/disconnected copters

* update_data_signal changed signature

* Added client removing functionality

* Option for automatically remove disconnected copters from table

* Renaming copters from QT server table on the go + some improvements

* Server: Check if self.clients list is not empty when trying to pop element from it

* Probably fixes behaviour of non-immidiate data sending from server

* Added changing hostname of copter

* Updated config

* Preview of selfchecheck results on double click

* Delete doc_2019-10-16_17-57-17.bashrc

* Update table data models for selfcheck

* Server: modify set id request to message

* Update client_config default file

* Client: modify set new id function

* Client: add avahi-daemon to restart when restarting network

* Client: add new hostname to ssh motd message, do not change hostname if no network restart in config

* Client: add newline to motd message

* Optimized request behaviour

* Client: fix service file and restart order

* Client: Add SO_KEEPALIVE and TCP_NODELAY options to client socket

* Modify to last tests with ping

* Client: remove ping

* Client: select reboot option when change id and add execute command

* Server: Add SO_KEEPALIVE option to server socket

* Server: Change removing copter

* Request resending after disconnection

* Resending improval (for furthrer functionality & fixes

* Fix of client removing behaviour

* Debugging

* Revert dubug code; 'Remove' fix confirmed

* do not clear requests queue

* Update requirements.txt

* Added namespace class to fix resend

* Improvements and simplification of notifier + port to client

* Refactor of telemetry thread

* Simplify lambdas

* Compress hostname check to single regex

* Changes in telemetry

* Refactored formatting of telemetry in table. NOT DONE

* Fix

* Git checkout. REVERT later!

* Conection fix

* Compability fixes

* Update start position

* Fix for reconnection with notifier socket

* Added traceback for pyqt5

* Fixes in new telemetry display

* Added lock to Telemetry

* Fixes for table display

* Fix of doubling line of client in table

* Fix of mass-removing clients from table

* Fix for clinet double-connection+removal

* Fix lock in Telemetry

* Changed signature of response callbacks for better syntax & fixes (all tested)

* Revert "Git checkout. REVERT later!"

This reverts commit 6122352380.

* Server: fix formatters

* Client: Remove telemetry_loop, small refactor of Telemetry class

* Server: Add formatters

* Server: Very small refactor

* Server: Fix checks and formatters

* Client: Fix check_failsafe function, small code refactor

* Client: update default config file
2019-12-05 15:10:21 +03:00
artem30801
b62881c0df Create configspec_server.ini 2019-12-05 13:51:06 +03:00
artem30801
4899c2268f Removed unnecessary files 2019-12-05 13:50:25 +03:00
Artem30801
c365df69e8 WIP 5 (config broken) 2019-12-05 08:49:44 +03:00
Artem30801
a39970deca List options and many improvemnts 2019-12-04 00:10:28 +03:00
Artem30801
b73b65c09f gui+functionality update 2019-12-01 21:06:57 +03:00
Artem30801
a98d746389 Basic color indication 2019-12-01 19:40:10 +03:00
Artem30801
dc6765d8e8 Added import/export to new dict format 2019-12-01 18:37:52 +03:00