Quentin McGaw
3ff3816d77
fix(pia): restrict custom port choice
2022-06-09 16:36:59 +00:00
Quentin McGaw
c0bdae8baf
fix(protonvpn): restrict custom port choice
2022-06-09 16:36:17 +00:00
Quentin McGaw
46e6bd16c9
fix(pia): remove duplicate log of pf data expiration
2022-06-09 16:34:28 +00:00
Quentin McGaw
5359257c65
hotfix(pia): port forwarding to use server name
2022-06-06 18:09:21 +00:00
Quentin McGaw
5e659dc5b3
feat(storage): add keep field for servers
2022-06-06 03:04:58 +00:00
Quentin McGaw
85e9d7d522
docs(maintenance): update document
2022-06-06 02:58:58 +00:00
Quentin McGaw
b71c8e58f4
fix(vpn): do not close wait error channel on consumer side
2022-06-06 02:56:40 +00:00
Quentin McGaw
e998372ce2
feat(ipvanish): update servers data and remove duplicates
2022-06-06 02:24:58 +00:00
Quentin McGaw
1216326867
chore(storage): common sorting for all servers
2022-06-06 02:24:54 +00:00
Quentin McGaw
f53f0cfffd
feat(surfshark): update servers data
2022-06-06 01:41:00 +00:00
Quentin McGaw
f5f65d534a
fix(ci): publish job trigger fixed
2022-06-05 16:01:40 +00:00
Quentin McGaw
684cef6eab
hotfix(openvpn): openvpn udp specific lines added
2022-06-05 15:48:14 +00:00
Quentin McGaw
b4f6ae030d
hotfix(purevpn): add missing key-direction 1
2022-06-05 15:44:33 +00:00
Quentin McGaw
e95c94294f
feat(pia): update servers data
2022-06-05 15:20:03 +00:00
Quentin McGaw
36b504609b
chore(all): memory and thread safe storage
...
- settings: get filter choices from storage for settings validation
- updater: update servers to the storage
- storage: minimal deep copying and data duplication
- storage: add merged servers mutex for thread safety
- connection: filter servers in storage
- formatter: format servers to Markdown in storage
- PIA: get server by name from storage directly
- Updater: get servers count from storage directly
- Updater: equality check done in storage, fix #882
2022-06-05 15:19:16 +00:00
Quentin McGaw
1e6b4ed5eb
chore(provider): rename test functions to Test_Provider_GetConnection
2022-06-05 14:59:47 +00:00
Quentin McGaw
0549326dfb
chore(updater): tiny code changes
...
- Remove unneeded ctx error check in cyberghost updating code
- Move global scope caser to function local scope
- Return error if updating a single provider in `UpdateServers`
- Add comments on different error paths in `UpdateServers`
2022-06-04 13:50:29 +00:00
Quentin McGaw
87c6ebe1c5
feat(purevpn): update servers data
2022-05-31 14:17:33 +00:00
Quentin McGaw
f0afac243b
feat(privatevpn): update servers data
2022-05-31 14:16:41 +00:00
dependabot[bot]
53472077f4
Chore(deps): Bump docker/setup-buildx-action from 1 to 2 ( #977 )
2022-05-29 11:31:09 -07:00
dependabot[bot]
55afdf33e1
Chore(deps): Bump docker/setup-qemu-action from 1 to 2 ( #978 )
2022-05-29 11:28:05 -07:00
dependabot[bot]
d3c1f9263c
Chore(deps): Bump docker/build-push-action from 2.10.0 to 3.0.0 ( #979 )
2022-05-29 11:27:55 -07:00
dependabot[bot]
6341d1dda6
Chore(deps): Bump docker/metadata-action from 3 to 4 ( #980 )
2022-05-29 11:27:44 -07:00
dependabot[bot]
e62e1883c2
Chore(deps): Bump docker/login-action from 1 to 2 ( #981 )
2022-05-29 11:27:33 -07:00
Quentin McGaw
501b98dbd3
chore(ci): skip workflow for required verify job
2022-05-29 17:33:35 +00:00
Derzsi Dániel
029fd1da1f
feat(docker): upgrade Alpine from 3.15 to 3.16 ( #1005 )
2022-05-29 10:30:10 -07:00
Quentin McGaw
fd0267efef
chore(ci): merge codeql job in CI workflow
2022-05-29 17:23:55 +00:00
Quentin McGaw
4414366370
chore(ci): restrict permissions to read actions+contents
2022-05-29 17:23:55 +00:00
Quentin McGaw
08553bc90b
chore(ci): only publish image for qdm12/gluetun
2022-05-29 17:23:54 +00:00
Quentin McGaw
6f850c4ad4
chore(ci): merge dependabot and fork workflows in ci workflow
2022-05-29 17:23:48 +00:00
Quentin McGaw
8e1316bd8a
chore(storage): minor refactoring
...
- Unexport `SyncServers`
- Re-generate mock file
- Remove single use function
2022-05-28 22:51:19 +00:00
Quentin McGaw
b345368257
hotfix(storage): JSON provider versioning safety
2022-05-28 22:44:14 +00:00
Quentin McGaw
90dd3b1b5c
chore(storage): only pass hardcoded versions to read file
2022-05-28 22:36:16 +00:00
Quentin McGaw
22455ac76f
chore(updater): shared not enough servers error
2022-05-28 22:02:18 +00:00
Quentin McGaw
eb18eaf0a9
fix(wireguard): continue on ipv6 route add permission denial
2022-05-28 21:06:21 +00:00
Quentin McGaw
90c6c8485b
chore(updater): common GetServers signature
...
- Log warnings when running outside of CLI mode
- Remove updater CLI bool setting
- Warnings are logged in updating functions
2022-05-28 20:58:50 +00:00
Quentin McGaw
381089ebdf
chore(storage): rename InfoErrorer to Infoer (bad name)
2022-05-28 16:05:19 +00:00
Quentin McGaw
292813831d
chore(updater): internal/updater/loop subpackage
...
- Do not export updater interface
- Export updater struct
- Define local interfaces where needed
- More restrictive updater loop interface in http control server
- Inject `Updater` into updater loop as an interface
2022-05-28 16:03:59 +00:00
Quentin McGaw
991d75a1d0
chore(provider): rename all BuildConf to OpenVPNConfig
2022-05-27 22:04:14 +00:00
Quentin McGaw
d9dfb81cb4
feat(perfect privacy): update servers data
2022-05-27 21:56:52 +00:00
Quentin McGaw
67a9cacb61
hotfix(custom): allow empty servers data
2022-05-27 21:47:41 +00:00
Quentin McGaw
a91eb95456
chore(internal/provider): rename all structs to Provider
2022-05-27 18:05:04 +00:00
Quentin McGaw
a295269518
hotfix(formatter): cyberghost not forced as format
2022-05-27 17:50:14 +00:00
Quentin McGaw
42904b6749
chore(all): move sub-packages to internal/provider
2022-05-27 17:48:51 +00:00
Quentin McGaw
364f9de756
feat(env): clean env variable values
...
- Remove surrounding spaces
- Remove suffix new line characters
2022-05-27 17:27:54 +00:00
Quentin McGaw
7fd45cf17f
feat(wireguard): add debug logs for IPv6 detection
...
- To debug issue #998
- Enable with `LOG_LEVEL=debug`
2022-05-27 17:27:53 +00:00
Quentin McGaw
eb71cfb144
chore(deps): upgrade gopkg.in/yaml.v3 to v3.0.1
...
- fix 'vulnerability' alert on github
- no impact really since it's just used in unit tests
- checked with `go mod why gopkg.in/yaml.v3`
2022-05-27 17:27:53 +00:00
Quentin McGaw
48e469917e
chore(ci): remove tidy check
...
- Not really needed with newer `go install`
- Conflicts with Go 1.17 go.mod format
- Conflicts with manual indirect dependency upgrade
2022-05-27 17:27:53 +00:00
Quentin McGaw
4bcd8ee9f5
chore(constants): add internal/constants/openvpn package
2022-05-27 16:29:49 +00:00
Quentin McGaw
1b2bcf901a
chore(surfshark): add package internal/provider/surshark/server
...
- Merge `internal/models/location.go` and `internal/constants/surfshark.go` into `internal/provider/surfshark/servers/locationdata.go`
2022-05-27 16:29:48 +00:00