summaryrefslogtreecommitdiff
path: root/client
AgeCommit message (Collapse)Author
2023-09-25Refactor: Move client implementation to one filejwijenbergh
Much easier to oversee and it forces me to keep the client type as small as possible. This also uses the cookie for cancellation We also no longer require tokens inside arguments. We will later implement them with callbacks
2023-09-25Client: Improve Let's Connect! not supported errorsjwijenbergh
2023-09-25Client: failover cancel error should be lowercasejwijenbergh
2023-09-25Client: Remove OpenVPN check for failover and check if in progressjwijenbergh
2023-09-25Exports + Client: Refactor registering a clientjwijenbergh
- Make sure the global exports state is only set on successful creating - Only call discovery when adding a server to ensure we get the most up to date args. Creating a client should have no network calls. Fixes #12 - Split creating a client in New and Register in the GO api
2023-09-25Exports + Client Register: Make sure to only update state if no errjwijenbergh
2023-09-25Exports + Python + Server: Remove ShouldRenewButtonjwijenbergh
This is replace with expiry times
2023-09-25Tests: Pass for V2 APIjwijenbergh
2023-09-25Client: Check if the base time is zero when getting expiry timesjwijenbergh
2023-09-25Client: Remove servers argument to transitionjwijenbergh
2023-09-25Types: Split server into subpackagejwijenbergh
2023-09-25Types: Split discovery into its own packagejwijenbergh
2023-09-25Format: Run gofumptjwijenbergh
2023-09-25Types: Split protocol into its ownjwijenbergh
2023-09-25Client Server: Convert from external to internal types and vice versajwijenbergh
Also use wait groups for waiting for transitions
2023-09-25Client FSM: Remove states that are client specific/not in the libjwijenbergh
2023-09-25Client: Add functions to convert to public typesjwijenbergh
2023-09-01Client + Server: Increase endpoint update frequency and update secure ↵jwijenbergh
internet handling
2023-04-18Client + Server: Set default secure internet locationjwijenbergh
2023-04-18Client Server: Forward token update after ensuring loginjwijenbergh
2023-04-18Client: Fix ask profile linter errorjwijenbergh
2023-04-18Client Server: Log current secure internet server for configjwijenbergh
2023-04-18Client Server: Go back on setting custom server errorjwijenbergh
2023-04-18Client + Server: Implement a token updater callbackjwijenbergh
2023-03-01Client: Allow max version to be 20 charactersjwijenbergh
Bit long maybe but we shouldn't limit it too much
2023-03-01Client: Make user agent equal to client ID namesjwijenbergh
See https://git.sr.ht/~fkooman/vpn-user-portal/tree/v3/item/src/OAuth/VpnClientDb.php
2023-03-01Client Server: Give a more general error in case location failsjwijenbergh
2023-03-01Client Test: Pass versionjwijenbergh
2023-03-01Format: Run black and gofumptjwijenbergh
2023-03-01Client + Exports + HTTP: Set a user-agent using the client's versionjwijenbergh
2023-02-28Log: Use a global logger instancejwijenbergh
2023-02-27Client FSM: Remove already connected logjwijenbergh
Useless spam in the log file
2023-02-27Client Server: Go back on failure to add secure internetjwijenbergh
2023-02-16Format: Run gofumptjwijenbergh
2023-02-16HTTP: Incorporate util ensure valid url with clean pathjwijenbergh
2023-01-31Server: Add script-security 0 to the OpenVPN configjwijenbergh
This prevents scripts from being executed by default. Clients can override this by either using the OpenVPN --script-security flag or add a script-security setting themselves.
2023-01-31Client: Check if client ID is validjwijenbergh
2023-01-31Client Test: Fix construct URL argumentsjwijenbergh
2023-01-13Client + Exports: Separate cleanup from disconnectjwijenbergh
2023-01-12Failover: Return early by waiting for a single pongjwijenbergh
2023-01-10Client + Discovery: Implement further organizations expiryjwijenbergh
2023-01-05Client Test: Fix prefer TCP suffix tests for arbitrary FQDNsjwijenbergh
2023-01-05Client Test: Fix config printjwijenbergh
2023-01-05Logger: Do not interpret error string as format specifier argumentjwijenbergh
2023-01-03Format: Run gofumptjwijenbergh
2023-01-03Discovery: Remove server type from getting by country codejwijenbergh
It's always secure internet, no need to pass it as an argument
2022-12-21Failover: Pass logger and add debug statementsjwijenbergh
2022-12-21Client + Exports: Forward tokens for /disconnectjwijenbergh
2022-12-21Linting: Fix config arguments and results + commentsjwijenbergh
2022-12-21Exports + OAuth + Server: Forward tokens to getting a configjwijenbergh