Commit Graph

  • 652daec509 Change: OPENVPN_CLIENTKEY -> OPENVPN_KEY - No breaking change since this was undocumented Quentin McGaw 2022-08-13 18:56:37 +00:00
  • f94d4b761a Change: OPENVPN_CLIENTCRT -> OPENVPN_CERT - No breaking change since this was undocumented Quentin McGaw 2022-08-13 18:55:29 +00:00
  • 1ab74e6bb3 chore: OpenVPN user and password as nullable - Username and password can be the empty string for custom provider Quentin McGaw 2022-08-13 16:44:38 +00:00
  • 8e101d49a1 Chore(deps): Bump github.com/breml/rootcerts from 0.2.4 to 0.2.6 (#1058) dependabot[bot] 2022-08-12 17:01:45 -07:00
  • 7c08e8f607 chore(lint): add asasalint and usestdlibvars Quentin McGaw 2022-08-12 23:54:20 +00:00
  • a4caa61c47 chore(lint): add nosnakecase linter Quentin McGaw 2022-08-12 23:53:18 +00:00
  • ebae167815 chore(lint): golangci-lint v1.47.2 -> v1.48.0 - Remove deprecated ifshort linter - Fix bad //nolint:gomnd comment Quentin McGaw 2022-08-12 22:07:12 +00:00
  • a6f00f2fb2 chore(lint): upgrade golangci-lint to v1.47.2 - Fix Slowloris attacks on HTTP servers - Force set default of 5 minutes for pprof read timeout - Change ShutdownTimeout to time.Duration since it cannot be set to 0 Quentin McGaw 2022-07-28 21:55:10 +00:00
  • 877617cc53 Chore(deps): Bump docker/build-push-action from 3.0.0 to 3.1.0 (#1073) dependabot[bot] 2022-07-23 20:08:34 -07:00
  • 2800588ef7 feat(expressvpn): update servers data Quentin McGaw 2022-07-18 18:01:08 +00:00
  • f5efa42aaf chore(lint): remove some linters - remove duplicate predeclared - remove commented varnamelen and wrapcheck Quentin McGaw 2022-07-17 23:11:35 +00:00
  • 10bd0e1505 fix(readme): typo sercice to service (#1067) Hey 2022-07-16 01:52:04 +02:00
  • a4c80b3045 chore(ci): add mocks check - Check for missing //go:generate comments - Check for outdated mocks Quentin McGaw 2022-07-04 00:39:01 +00:00
  • dbb71bd695 chore(mocks): use common mocks for ivpn and ipvanish Quentin McGaw 2022-07-04 00:34:48 +00:00
  • a544f6e604 Chore(deps): Bump github.com/breml/rootcerts from 0.2.3 to 0.2.4 (#1033) dependabot[bot] 2022-07-03 16:50:38 -07:00
  • a18e026b70 Chore(deps): Bump github.com/stretchr/testify from 1.7.2 to 1.7.5 (#1042) dependabot[bot] 2022-07-03 16:50:27 -07:00
  • 0413a0a1ab chore(ci): rework docker hub description workflow - Run only on base repository - Rename job from dockerHubDescription to docker-hub-description - Limit permissions of job to read only - Remove unneeded names for steps v3.30.0 Quentin McGaw 2022-07-03 14:31:49 +00:00
  • cb6e9cb761 docs(readme): add links to add a provider Quentin McGaw 2022-07-03 13:39:47 +00:00
  • 420ae40901 feat(dev): Add provider example package Quentin McGaw 2022-07-02 20:58:04 +00:00
  • 34e67f9f99 chore(markdown): alphabetically sorted headers Quentin McGaw 2022-07-02 17:43:08 +00:00
  • 18c53aa597 docs(readme): simplify heading description Quentin McGaw 2022-07-02 00:12:44 +00:00
  • 6d2f9b9508 chore(updater): check servers have minimal information Quentin McGaw 2022-07-02 00:12:01 +00:00
  • 6826b05d58 chore(all): remove all package comments Quentin McGaw 2022-07-01 17:09:27 +00:00
  • 9f959dbc6a fix(expressvpn): OpenVPN fragment option and add ciphers (#1047) barino28 2022-06-29 07:23:16 -05:00
  • 87dbae5745 hotfix(fastestvpn): re-fix Openvpn configuration - add auth sha256 option - remove remote-cert-tls server option Quentin McGaw 2022-06-26 21:29:05 +00:00
  • 037f19e852 hotfix(publicip): revert back JSON to public_ip Quentin McGaw 2022-06-25 15:52:00 +00:00
  • 62ad8bcd8f fix(pia): set port forward file owned with PUID and PGID Quentin McGaw 2022-06-25 15:44:29 +00:00
  • 2805c3388a hotfix(fastestvpn): add remote-cert-tls server Quentin McGaw 2022-06-25 15:16:38 +00:00
  • 535297dcf5 chore: extract.PEM replaces PEM parse functions Quentin McGaw 2022-06-24 23:10:00 +00:00
  • b3b6933ef4 chore(lint): review exclude rules Quentin McGaw 2022-06-11 02:41:16 +00:00
  • edbbcc041a fix(protonvpn): set free field for free servers Quentin McGaw 2022-06-18 18:30:27 +00:00
  • d430ebc34f feat(protonvpn): update servers data Quentin McGaw 2022-06-18 18:30:05 +00:00
  • 0e9abc6e1d chore(tests): modify JSON tests to not need all providers listed Quentin McGaw 2022-06-18 14:21:48 +00:00
  • 0c0dd10766 chore(dev): add VSCode launch.json - Credits to @Rohaq Quentin McGaw 2022-06-18 00:17:09 +00:00
  • 75454be6b6 fix(pprof): override operation in global settings Quentin McGaw 2022-06-18 00:16:14 +00:00
  • 4952e3b74e docs(bug): fix render of logs to be plain text Quentin McGaw 2022-06-18 00:15:29 +00:00
  • 04b34a266c chore(deps): update go4.org/unsafe/assume-no-moving-gc - Allow development on Go 1.18 without ASSUME_NO_MOVING_GC_UNSAFE_RISK_IT_WITH=go1.18 Quentin McGaw 2022-06-17 23:59:39 +00:00
  • 89b6a031b0 chore(vpn): add check for empty public key for Wireguard Quentin McGaw 2022-06-12 15:41:02 +00:00
  • d4c6a9bdb5 feat(storage): log time difference as a friendly duration Quentin McGaw 2022-06-12 15:35:04 +00:00
  • cdc29d48b7 chore(ci): build PR images as pr-N (#1026) Quentin McGaw 2022-06-12 11:33:16 -04:00
  • f4b464a7cf Chore(deps): Bump github.com/stretchr/testify from 1.7.1 to 1.7.2 (#1016) dependabot[bot] 2022-06-12 08:31:53 -07:00
  • 76690d3add Chore(deps): Bump crazy-max/ghaction-github-labeler from 3 to 4 (#1007) dependabot[bot] 2022-06-12 07:07:25 -07:00
  • 9898387579 feat(updater): Configurable min ratio - UPDATER_MIN_RATIO variable - -minratio flag for CLI operation Quentin McGaw 2022-06-12 14:03:00 +00:00
  • 1ea15a1a13 chore(protonvpn): document to remove SERVER_NAMES Quentin McGaw 2022-06-12 01:58:46 +00:00
  • bda6707685 chore(all): remove unexported interfaces Quentin McGaw 2022-06-12 00:57:37 +00:00
  • 89277828ac chore(publicip): internal/publicip/ipinfo package Quentin McGaw 2022-06-12 00:53:39 +00:00
  • 83b4a3fe55 chore(publicip): refactoring - Exported Fetcher interface - Inject Fetcher to publicip loop and updaters - Get public IP and information at the same time - Only query ipinfo.io - Make MultiInfo part of the Fetch object Quentin McGaw 2022-06-12 00:09:01 +00:00
  • 45c9e780c0 chore(updater): rename presolver to parallelResolver Quentin McGaw 2022-06-11 20:12:35 +00:00
  • 33b8f5f596 chore(settings): updater DNS address as string Quentin McGaw 2022-06-11 20:11:20 +00:00
  • 447a7c9891 updater: refactoring and set DNS server correctly - Fix CLI operation not setting DNS server - Fix periodic operation not setting DNS server - Set DNS address for resolution once at start for both CLI and periodic operation - Inject resolver to each provider instead of creating it within - Use resolver settings on every call to .Resolve method, instead of passing it to constructor - Move out minServers check from resolver Quentin McGaw 2022-06-11 17:41:57 +00:00
  • 1bd355ab96 chore(lint): add ireturn linter Quentin McGaw 2022-06-11 01:34:45 +00:00
  • 578ef768ab chore(all): return concrete types, accept interfaces - Remove exported interfaces unused locally - Define interfaces to accept arguments - Return concrete types, not interfaces Quentin McGaw 2022-06-11 01:34:30 +00:00
  • 0378fe4a7b chore(all): Providers containing all provider objects - Share the same providers for updater and vpn - Initialise all providers at start - Get from Providers instead of constructing on every run Quentin McGaw 2022-06-10 00:47:56 +00:00
  • ebd94723c1 chore(updater): incorporate FetchServers method in Provider interface - Each provider interface can now fetch updated servers data - Rename each provider updater subpackage name to updater - Updater constructor does not take a settings struct - Updater update method takes in a slice of provider strings Quentin McGaw 2022-06-09 23:47:12 +00:00
  • 11b55abff3 fix(protonvpn): remove duplicate entry IPs Quentin McGaw 2022-06-09 22:11:40 +00:00
  • 7f32b43895 fix(pia): load custom PIA certificate for API Quentin McGaw 2022-06-09 17:11:08 +00:00
  • 899f10c35e chore(resolver): export structs instead of interfaces Quentin McGaw 2022-06-09 03:10:56 +00:00
  • 415cb7a945 chore(updater): create resolver in provider updater - Pass min servers to resolve call - Set settings when constructing resolver - Construct resolver in each provider updater - No more common resolver for all providers Quentin McGaw 2022-06-09 02:54:39 +00:00
  • e37f557cd5 chore(provider): add Name() method per provider Quentin McGaw 2022-06-07 16:58:08 +00:00
  • 79f213d97a chore(updater): rename GetServers to FetchServers Quentin McGaw 2022-06-07 16:47:35 +00:00
  • 11e1c9f9bb feat(protonvpn): update hardcoded servers data Quentin McGaw 2022-06-09 16:41:04 +00:00
  • 3ff3816d77 fix(pia): restrict custom port choice Quentin McGaw 2022-06-09 16:36:59 +00:00
  • c0bdae8baf fix(protonvpn): restrict custom port choice Quentin McGaw 2022-06-09 16:36:17 +00:00
  • 46e6bd16c9 fix(pia): remove duplicate log of pf data expiration Quentin McGaw 2022-06-09 16:34:28 +00:00
  • 5359257c65 hotfix(pia): port forwarding to use server name Quentin McGaw 2022-06-06 18:09:21 +00:00
  • 5e659dc5b3 feat(storage): add keep field for servers Quentin McGaw 2022-06-06 03:04:58 +00:00
  • 85e9d7d522 docs(maintenance): update document Quentin McGaw 2022-06-06 02:58:58 +00:00
  • b71c8e58f4 fix(vpn): do not close wait error channel on consumer side Quentin McGaw 2022-06-06 02:56:40 +00:00
  • e998372ce2 feat(ipvanish): update servers data and remove duplicates Quentin McGaw 2022-06-06 02:11:09 +00:00
  • 1216326867 chore(storage): common sorting for all servers Quentin McGaw 2022-06-06 01:57:44 +00:00
  • f53f0cfffd feat(surfshark): update servers data Quentin McGaw 2022-06-06 01:41:00 +00:00
  • f5f65d534a fix(ci): publish job trigger fixed Quentin McGaw 2022-06-05 16:01:40 +00:00
  • 684cef6eab hotfix(openvpn): openvpn udp specific lines added Quentin McGaw 2022-06-05 15:48:14 +00:00
  • b4f6ae030d hotfix(purevpn): add missing key-direction 1 Quentin McGaw 2022-06-05 15:44:33 +00:00
  • e95c94294f feat(pia): update servers data Quentin McGaw 2022-06-05 15:20:03 +00:00
  • 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 Quentin McGaw 2022-06-05 14:58:46 +00:00
  • 1e6b4ed5eb chore(provider): rename test functions to Test_Provider_GetConnection Quentin McGaw 2022-06-05 02:34:10 +00:00
  • 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 Quentin McGaw 2022-06-03 13:01:29 +00:00
  • 87c6ebe1c5 feat(purevpn): update servers data Quentin McGaw 2022-05-31 14:17:33 +00:00
  • f0afac243b feat(privatevpn): update servers data Quentin McGaw 2022-05-31 14:16:41 +00:00
  • 53472077f4 Chore(deps): Bump docker/setup-buildx-action from 1 to 2 (#977) dependabot[bot] 2022-05-29 11:31:09 -07:00
  • 55afdf33e1 Chore(deps): Bump docker/setup-qemu-action from 1 to 2 (#978) dependabot[bot] 2022-05-29 11:28:05 -07:00
  • d3c1f9263c Chore(deps): Bump docker/build-push-action from 2.10.0 to 3.0.0 (#979) dependabot[bot] 2022-05-29 11:27:55 -07:00
  • 6341d1dda6 Chore(deps): Bump docker/metadata-action from 3 to 4 (#980) dependabot[bot] 2022-05-29 11:27:44 -07:00
  • e62e1883c2 Chore(deps): Bump docker/login-action from 1 to 2 (#981) dependabot[bot] 2022-05-29 11:27:33 -07:00
  • 501b98dbd3 chore(ci): skip workflow for required verify job Quentin McGaw 2022-05-29 17:33:35 +00:00
  • 029fd1da1f feat(docker): upgrade Alpine from 3.15 to 3.16 (#1005) Derzsi Dániel 2022-05-29 20:30:10 +03:00
  • fd0267efef chore(ci): merge codeql job in CI workflow Quentin McGaw 2022-05-29 17:14:42 +00:00
  • 4414366370 chore(ci): restrict permissions to read actions+contents Quentin McGaw 2022-05-29 17:11:26 +00:00
  • 08553bc90b chore(ci): only publish image for qdm12/gluetun Quentin McGaw 2022-05-29 17:11:05 +00:00
  • 6f850c4ad4 chore(ci): merge dependabot and fork workflows in ci workflow Quentin McGaw 2022-05-29 17:00:15 +00:00
  • 8e1316bd8a chore(storage): minor refactoring - Unexport SyncServers - Re-generate mock file - Remove single use function Quentin McGaw 2022-05-28 22:51:19 +00:00
  • b345368257 hotfix(storage): JSON provider versioning safety Quentin McGaw 2022-05-28 22:43:54 +00:00
  • 90dd3b1b5c chore(storage): only pass hardcoded versions to read file Quentin McGaw 2022-05-28 22:36:16 +00:00
  • 22455ac76f chore(updater): shared not enough servers error Quentin McGaw 2022-05-28 22:02:18 +00:00
  • eb18eaf0a9 fix(wireguard): continue on ipv6 route add permission denial Quentin McGaw 2022-05-28 21:06:21 +00:00
  • 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 Quentin McGaw 2022-05-28 20:58:50 +00:00
  • 381089ebdf chore(storage): rename InfoErrorer to Infoer (bad name) Quentin McGaw 2022-05-28 16:05:19 +00:00
  • 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 Quentin McGaw 2022-05-28 16:03:59 +00:00
  • 991d75a1d0 chore(provider): rename all BuildConf to OpenVPNConfig Quentin McGaw 2022-05-27 22:04:14 +00:00