Commit Graph

66 Commits

Author SHA1 Message Date
Artem30801
bb7eef994e Prevent sending private section via drag-n-drop 2020-03-24 18:02:16 +03:00
Artem30801
978c71d3c0 Fix #71's fix 2020-02-25 16:41:19 +03:00
Artem30801
2bb87bbc77 Merge branch 'qt-gui-update' of https://github.com/CopterExpress/clever-show into qt-gui-update 2020-02-25 16:32:47 +03:00
Artem30801
e5c60637fa Fixed git version check on server #71 2020-02-25 16:31:40 +03:00
Arthur Golubtsov
e208b7959f Server: Fix renaming 2020-02-21 13:48:03 +03:00
Arthur Golubtsov
07456bd414 Server: Add check_git_version parameter 2020-02-17 17:52:52 +03:00
Arthur Golubtsov
d87ea4c389 Server: Add check_current_position parameter to config 2020-02-17 17:40:30 +03:00
Artem30801
fe38e82573 Added ability to save and load widths of columns to config 2020-02-15 00:41:43 +03:00
Artem30801
b80a9681db Merge branch 'qt-gui-update' of https://github.com/CopterExpress/clever-show into qt-gui-update 2020-02-13 18:04:13 +03:00
Artem30801
22f77a62a4 Fix naming 2020-02-13 18:03:57 +03:00
Arthur Golubtsov
addcdbb78b Server: Disable start position check if start_pos_delta_max is 0 2020-02-12 20:43:51 +03:00
Artem30801
1e2aa311ec FIx pos (x3) 2020-02-10 17:33:59 +03:00
Arthur Golubtsov
42b6eb7c8e Server: Fix getting server git version 2020-02-10 17:07:14 +03:00
Artem30801
acd5945e95 Fix telem (2) 2020-02-10 17:03:52 +03:00
Artem30801
0fcdc1efba Telem fix 2020-02-10 16:13:22 +03:00
Artem30801
ec419849e8 Fix telemetry and improts 2020-02-10 15:50:20 +03:00
Artem30801
7fa3a692a1 Added drop support for config cells 2020-02-04 20:47:46 +03:00
Artem30801
3724f21af3 Fix and formatter improvements 2020-01-31 22:57:31 +03:00
Artem30801
cfcbfbe9a3 Added CheckStates to table model
To hold both bool representation and different colors
2020-01-30 19:27:34 +03:00
Artem30801
28a3586a82 Refactor of table columns handling: checks and formatters 2020-01-29 23:09:22 +03:00
Artem30801
d3c06ea2b7 CopterData and table update 2020-01-28 19:05:16 +03:00
Artem30801
ac1702c648 Added new config column + drag support 2020-01-23 23:14:37 +03:00
Artem30801
dc178c5ceb Working column editors 2020-01-22 16:21:02 +03:00
Artem30801
7294089bbc WIP1 column state saving 2020-01-22 11:12:13 +03:00
Arthur Golubtsov
d08bbc3b72 Server: Fix start position delta detection 2020-01-21 06:18:40 +03:00
Arthur Golubtsov
2f3e2bb987 Server: Change columns sizes 2020-01-20 22:26:55 +03:00
Arthur Golubtsov
eba6412d44 Server: Add ability to view task information in table 2020-01-20 21:20:05 +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
c03083e238 Added context menu with config dialog!
Tested and working for now
2020-01-07 17:30:02 +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
4573e8ebc9 Server: Add length condition for viewing check errors 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
9091d90554 Slight improvements 2019-12-30 10:35:48 +03:00
artem30801
f1ea376a79 QT server refactor and improvements 2019-12-26 15:37:55 +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
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
f58f097321 WIP 2019-11-22 16:39:18 +03:00
Arthur Golubtsov
9f9e78d528 Server: Fix checking start position 2019-11-13 08:30:40 +03:00
Arthur Golubtsov
65c371bb02 Server: Add checks parameters to server_config.ini 2019-11-09 23:34:42 +03:00
Arthur Golubtsov
f7b5c7f3ba Server: Add start position delta check 2019-11-09 22:54:13 +03:00
Arthur Golubtsov
f7f227caac Server: Increase minimum battery percentage to start copters 2019-11-09 22:10:27 +03:00
Arthur Golubtsov
d491a45468 Server: Update table headers 2019-11-05 21:14:17 +03:00
Arthur Golubtsov
e26f7a861a copter_table_models: Update position column check 2019-11-01 19:12:14 +03:00
Arthur Golubtsov
0b23fd6e53 Server: Modify updating table data 2019-11-01 18:53:24 +03:00
Arthur Golubtsov
87a45ad157 copter_table_models: Add three new rows with git version, mode and start x y z 2019-11-01 17:16:25 +03:00