Commit Graph
13 Commits
Author SHA1 Message Date
1a8c03bef0 feature: Support live peer list update (#51)
* created InitializePeer and ClosePeerConnection functions

* feature: simplify peer stopping

* chore: remove unused code

* feature: basic management service implementation (#44)

* feat: basic management service implementation [FAILING TESTS]

* test: fix healthcheck test

* test: #39 add peer registration endpoint test

* feat: #39 add setup key handling

* feat: #39 add peer management store persistence

* refactor: extract config read/write to the utility package

* refactor: move file contents copy to the utility package

* refactor: use Accounts instead of Users in the Store

* feature: add management server Docker file

* refactor: introduce datadir instead of config

* chore: use filepath.Join to concat filepaths instead of string concat

* refactor: move stop channel to the root

* refactor: move stop channel to the root

* review: fix PR review notes

Co-authored-by: braginini <hello@wiretrustee.com>

* Handle read config file errors

* feature: add letsencrypt support to the management service

* fix: lint warnings

* chore: change default datadir

* refactor: set default flags in code not Dockerfile

* chore: remove unused code

* Added RemovePeer and centralized configureDevice code

* remove peer from the wg interface when closing proxy

* remove config file

* add iface tests

* fix tests, validate if file exists before removing it

* removed unused functions UpdateListenPort and ConfigureWithKeyGen

* Ensure we don't wait for timeout when closing

* Rename ClosePeerConnection to RemovePeerConnection

* Avoid returning on uapi Accept failures

* Added engine tests

* Remove extra add address code

* Adding iface.Close

* Ensure Close the interface and disable parallel test execution

* check err var when listing interfaces

* chore: add synchronisation to peer management

* chore: add connection status to track peer connection

* refactor: remove unused code

Co-authored-by: braginini <hello@wiretrustee.com>
Co-authored-by: Mikhail Bragin <bangvalo@gmail.com>
2021-07-19 15:02:11 +02:00
mlsmaycon cffb08ad23 Use go bin 2021-06-25 11:23:13 +02:00
mlsmaycon 8d05789749 preserve env GOROOT 2021-06-25 11:18:34 +02:00
mlsmaycon ac628b6efa use sudo for testing service installation 2021-06-25 11:01:21 +02:00
mlsmaycon 714c4c3c44 use darwin 2021-06-15 00:13:52 +02:00
mlsmaycon d5c4f6cb40 fix matrix var to use os 2021-06-15 00:08:54 +02:00
mlsmaycon 744984861b Add build to the test 2021-06-15 00:00:55 +02:00
braginini 74061597a3 fix: test workflow trigger 2021-06-03 12:35:31 +02:00
braginini 9b327ea6ba test: add signal encryption test 2021-06-03 11:39:19 +02:00
mlsmaycon 84c6eb5e16 Add golangci-lint workflow 2021-05-15 15:44:35 +05:00
mlsmaycon 33e9ecfcb9 using docker hub 2021-05-15 11:58:31 +05:00
mlsmaycon bbf57b064c Building docker images for signal service 2021-05-11 12:38:41 +05:00
braginini 2b77da4e12 project init 2021-05-01 12:45:37 +02:00