Commit Graph

198 Commits

Author SHA1 Message Date
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
Artem30801
018567be35 Minimal working version of config editor 2019-12-01 17:07:03 +03:00
Artem30801
11cb93b24f Updated config gui 2019-12-01 17:06:01 +03:00
artem30801
5b2614d832 wip4 2019-11-29 23:26:47 +03:00
Artem30801
fe69c99fb5 WIP 3 2019-11-28 08:45:33 +03:00
Artem30801
3dc665bd00 WIP 2019-11-25 23:19:07 +03:00
artem30801
f58f097321 WIP 2019-11-22 16:39:18 +03:00
artem30801
10e38b9251 Added window icon 2019-11-21 21:54:39 +03:00
Arthur Golubtsov
143574dc69 Server: Add send_any_command and send_any_file functions 2019-11-14 10:09:38 +03:00
Arthur Golubtsov
43952097f1 Server: Fix send_any_command menu name 2019-11-14 10:09:38 +03:00
Arthur Golubtsov
9bbea27c7a Server: Add send_fcu_parameters request 2019-11-13 11:49:41 +03:00
Arthur Golubtsov
77721ee7d1 Server: Add Send FCU parametes item to menu 2019-11-13 11:49:41 +03:00
Arthur Golubtsov
9f9e78d528 Server: Fix checking start position 2019-11-13 08:30:40 +03:00
Arthur Golubtsov
348f81b217 Server: Add repait chrony function 2019-11-12 11:56:09 +03:00
Arthur Golubtsov
68dbf57a79 Server: Write server logs to server_logs folder with unique filenames 2019-11-09 23:58:39 +03:00