summaryrefslogtreecommitdiff
path: root/client
AgeCommit message (Collapse)Author
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
2022-12-21Failover: Initial implementationjwijenbergh
2022-12-15Client Server: Use double pointer to check errors Asjwijenbergh
2022-12-14Client: If debug, log with stacktracejwijenbergh
2022-12-14Client Server: Fix not going to authorized statejwijenbergh
2022-12-12Format: Run gofumptjwijenbergh
2022-12-12Client Server: Minor style changes and resolve TODOjwijenbergh
2022-12-12Client FSM: Fix fsm typojwijenbergh
2022-12-12simplify error handlingAleksandar Pesic
fixes #6 Signed-off-by: Aleksandar Pesic <peske.nis@gmail.com>
2022-11-28Log: Define f prefix for log functions to indicate printf likejwijenbergh
2022-11-28Formatting: Run golinesjwijenbergh
2022-11-28Formatting: Run gofumpt -wjwijenbergh
2022-11-28Refactor: Fix revive linter errors by deleting redundant prefixesjwijenbergh
2022-11-28OAuth: Refactor Token getting and do not save them in the configjwijenbergh
This commit refactors getting the tokens into receiver methods. This means that functions do not have to call the cryptic "EnsureTokens" method. The receiver getter then already verifier whether or not the tokens could be obtained (and refreshes too). The downside is that some things are now private, so testing for invalid tokens needs to be done somewhere else. This needs another patch such that clients can save the tokens themselves using a keyring.
2022-11-28Lint: Run godot fixjwijenbergh
Full command: golangci-lint run --disable-all -E godot --fix
2022-11-28Refactor: Remove most get prefixes for receiver functionsjwijenbergh
2022-11-28Document: Add comments for most functions and packagesjwijenbergh
Errors and test files still need to be done. Also some getters are changed by removing the 'get' prefix
2022-11-25Client Test: Do not clash oauth name with packagejwijenbergh
2022-11-24Style: Use stylecheck and fix errorsjwijenbergh