braginini
fa9007bc04
Fix tests
2022-12-27 11:57:50 +01:00
braginini
fbd03e8ec2
Fix test methods calls
2022-12-27 11:52:15 +01:00
braginini
4f9e047e7e
Fix codacy and lint issues
2022-12-22 12:24:02 +01:00
braginini
4105a1a24b
Make test compile
2022-12-22 12:06:15 +01:00
braginini
bfe84fd6e8
Add group events
2022-12-22 12:06:15 +01:00
braginini
91b61efe60
Add setup key events
2022-12-22 12:06:15 +01:00
braginini
747192c9f8
Add more events
2022-12-22 12:06:15 +01:00
braginini
dbda9087f5
Remove duplicate UserJoined events from the response
2022-12-22 12:06:15 +01:00
braginini
599c823750
Add user invite event
2022-12-22 12:06:15 +01:00
braginini
5cb2dc676b
Finalize events API
2022-12-22 12:06:15 +01:00
braginini
cc12aff3a4
Fetch Activity events
2022-12-22 12:06:15 +01:00
braginini
647f726737
Add Events HTTP API
2022-12-22 12:06:15 +01:00
braginini
1174141abc
Add join user operation
2022-12-22 12:06:15 +01:00
braginini
26f721179b
Add peer operation
2022-12-22 12:06:15 +01:00
braginini
a74b4c4b42
Test event ordering in SQLite storage
2022-12-22 12:06:15 +01:00
braginini
6733e9d51e
Remove unused event store methods
2022-12-22 12:06:15 +01:00
braginini
1cf041fe07
Remove unused event store methods
2022-12-22 12:06:15 +01:00
braginini
94d5d499ac
Fetch events with offset limit
2022-12-22 12:06:15 +01:00
braginini
1a7f441652
Fetch events with offset limit
2022-12-22 12:06:15 +01:00
braginini
908eb4d051
Fix SQLiteStore test
2022-12-22 12:06:15 +01:00
braginini
e12b74760c
Fix lint issue
2022-12-22 12:06:15 +01:00
braginini
31fda2b062
Add basic Save and Get operations to the event store
2022-12-22 12:06:15 +01:00
braginini
7a3c6b576c
Add basic Save and Get operations to the event store
2022-12-22 12:06:15 +01:00
braginini
b7f4a6f098
Rename audit to event
2022-12-22 12:06:15 +01:00
braginini
cafd10b3a3
Initial event store draft
2022-12-22 12:06:15 +01:00
Maycon Santos
6b32e2dc07
Validate single account domain input ( #624 )
2022-12-13 13:43:29 +01:00
Maycon Santos
6f610dca89
Filter routes to sync from same HA group ( #618 )
...
An additional check and filter for routes that are part
of the same HA group where the peer is a routing peer
2022-12-08 15:15:50 +01:00
Maycon Santos
0be46c083d
Generate validation certificate from mandatory JWK fields ( #614 )
...
When there is no X5c we will use N and E fields of
a JWK to generate the public RSA and a Pem certificate
2022-12-07 22:06:43 +01:00
Maycon Santos
a387e3cfc2
Add network routes distribution groups ( #606 )
...
Updated tests, API, and account manager methods
Sync routes to peers in the distribution groups
Added store upgrade by adding the All group to routes that don't have them
2022-12-06 10:11:57 +01:00
Misha Bragin
d1b7c23b19
Add SetupKey usage limit ( #605 )
...
Add a usage_limit parameter to the API.
This limits the number of times a setup key
can be used.
usage_limit == 0 indicates the the usage is inlimited.
2022-12-05 13:09:59 +01:00
Maycon Santos
20a73e3e14
Sync peers FQDN ( #584 )
...
Use stdout and stderr log path only if on Linux and attempt to create the path
Update status system with FQDN fields and
status command to display the domain names of remote and local peers
Set some DNS logs to tracing
update readme file
2022-11-26 13:29:50 +01:00
Misha Bragin
fcf7786a85
Disable route when removing peer ( #582 )
2022-11-25 18:11:07 +01:00
Misha Bragin
53c532bbb4
Fix interactive SSO login when creating account from a device ( #575 )
2022-11-22 12:37:36 +01:00
Misha Bragin
8b0a1bbae0
Display peers of a user that it has access to ( #571 )
...
If a user has a non-admin role, display all peers
that user's peers have access to when calling
/peers endpoint of the HTTP API.
2022-11-21 17:45:14 +01:00
Maycon Santos
d63a9ce4a7
Return peer's FQDN via API ( #567 )
...
Added a temp method to retrieve the dns domain
2022-11-21 11:14:42 +01:00
Maycon Santos
9cb66bdb5d
Update last run time and active count ( #568 )
...
* Update last run time and active count
We will collect the active peer min and max versions
* Get UI client usage
2022-11-18 16:35:13 +01:00
Misha Bragin
509d23c7cf
Replace gRPC errors in business logic with internal ones ( #558 )
2022-11-11 20:36:45 +01:00
Misha Bragin
e19d5dca7f
Refactor AddPeer to ensure consistency ( #557 )
2022-11-08 16:14:36 +01:00
Maycon Santos
157137e4ad
Use a single way to generate network map ( #550 )
2022-11-08 11:38:40 +01:00
Misha Bragin
f37b43a542
Save Peer Status separately in the FileStore ( #554 )
...
Due to peer reconnects when restarting the Management service,
there are lots of SaveStore operations to update peer status.
Store.SavePeerStatus stores peer status separately and the
FileStore implementation stores it in memory.
2022-11-08 10:46:12 +01:00
Maycon Santos
7e262572a4
Move dns label generation to store ( #552 )
2022-11-08 10:31:34 +01:00
Misha Bragin
a768a0aa8a
Always lock the store when getting an account ( #551 )
2022-11-07 19:09:22 +01:00
Misha Bragin
ed7ac81027
Introduce locking on the account level ( #548 )
2022-11-07 17:52:23 +01:00
Maycon Santos
1f845f466c
Add account copy test ( #549 )
2022-11-07 17:37:28 +01:00
Maycon Santos
270f0e4ce8
Feature/dns protocol ( #543 )
...
Added DNS update protocol message
Added sync to clients
Update nameserver API with new fields
Added default NS groups
Added new dns-name flag for the management service append to peer DNS label
2022-11-07 15:38:21 +01:00
Misha Bragin
d0c6d88971
Simplified Store Interface ( #545 )
...
This PR simplifies Store and FileStore
by keeping just the Get and Save account methods.
The AccountManager operates mostly around
a single account, so it makes sense to fetch
the whole account object from the store.
2022-11-07 12:10:56 +01:00
Misha Bragin
4321b71984
Hide content based on user role ( #541 )
2022-11-05 10:24:50 +01:00
Maycon Santos
e8d82c1bd3
Feature/dns-server ( #537 )
...
Adding DNS server for client
Updated the API with new fields
Added custom zone object for peer's DNS resolution
2022-11-03 18:39:37 +01:00
Misha Bragin
6aa7a2c5e1
Hide setup key from non-admin users ( #539 )
2022-11-03 17:02:31 +01:00
Maycon Santos
9a4c9aa286
Add active peers count per OS ( #526 )
...
* Add active peers count per OS
* increase iface tests timeout
2022-10-26 14:48:40 +02:00