Mustafa Arici
|
4cb50d916b
chore: update dependencies
|
7 vuotta sitten |
Mustafa Arici
|
cf1e09661d
chore: remove debug line
|
7 vuotta sitten |
Mustafa Arici
|
5c4e124460
doc(cmd/ovpm): fix log stmt
|
7 vuotta sitten |
Mustafa Arici
|
1c6c9e0b63
chore: remove debug line
|
7 vuotta sitten |
Mustafa Arici
|
762e9c867a
refactor(vpn): make parseStatusLog a mockable func
|
7 vuotta sitten |
Mustafa Arici
|
6df5a43d91
test(vpn): add tests for GetConnectedUsers
|
7 vuotta sitten |
Mustafa Arici
|
9ce7db14b1
refactor(vpn): move all funcs under Server struct
|
7 vuotta sitten |
Mustafa Arici
|
876ce4fa2d
refactor(vpn): issue warning when user reported online by OpenVPN is not found in dbWe were giving errors when the CN reported by the OpenVPN mismatcheswith the records in the db.Now we are logging WARNING messages instead of errors when this happens.
|
7 vuotta sitten |
Mustafa Arici
|
5a547099f7
test(parselog): add test for parseStatusLog
|
7 vuotta sitten |
Mustafa Arici
|
85478d5e5a
refactor(parselog): accept io.Reader instead of path
|
7 vuotta sitten |
Mustafa Arici
|
72bb6adc49
test(net): improve test coverage
|
7 vuotta sitten |
Mustafa Arici
|
90a67f2e88
doc(net): add doc comments to uncommented functions
|
7 vuotta sitten |
Mustafa Arici
|
9e1f03e051
chore(Dockerfile): drop MAINTAINER keyword
|
7 vuotta sitten |
Mustafa Arici
|
d00d60e8fe
Merge branch 'master' of github.com:cad/ovpm into dev
|
7 vuotta sitten |
Mustafa Arici
|
8e3f01dc7d
feat: connected users
|
7 vuotta sitten |
Mustafa Arıcı
|
8306087568
refactor: remove unused stubs
|
7 vuotta sitten |
Mustafa Arıcı
|
3ae849d6e7
doc(readme): improve the wording of quickstart instructions
|
7 vuotta sitten |
Mustafa Arici
|
62eefe4baf
Merge branch 'dev'
|
7 vuotta sitten |
Mustafa Arici
|
7dd404a0e5
chore: go generate
|
7 vuotta sitten |
Mustafa Arici
|
29fe7fcd76
chore(build): ensure nogroup does exist on the target
|
7 vuotta sitten |
Mustafa Arici
|
fc6ff58592
refactor(cmd/ovpm): refactor ovpm commands
|
7 vuotta sitten |
Mustafa Arici
|
bb453408b2
refactor(cmd/ovpm/user): improve create user command structure and commentation
|
8 vuotta sitten |
Mustafa Arici
|
52134fee93
test(cli/ovpm): add user tests
|
8 vuotta sitten |
Mustafa Arici
|
998bdac106
refactor(cli): put a return if the execution will be stopped
|
8 vuotta sitten |
Mustafa Arici
|
2a0f0f542e
Merge branch 'feat/38-cli-tests' into dev
|
8 vuotta sitten |
Mustafa Arici
|
380b6c98de
test(cli): add initial cli tests
|
8 vuotta sitten |
Mustafa Arici
|
792577e4f8
doc(api): use Debugf when formatting log msg
|
8 vuotta sitten |
Mustafa Arici
|
40c87cee68
refactor(api): require auth check on VPNService/Restart endpoint
|
8 vuotta sitten |
Mustafa Arici
|
d5763d7be5
refactor(cmd/ovpm): add structure && impr. testablity
|
8 vuotta sitten |
Mustafa Arici
|
0ec54061e3
doc(perms): improve docstrings
|
8 vuotta sitten |