summaryrefslogtreecommitdiff
path: root/client/client_test.go
AgeCommit message (Collapse)Author
2024-05-24API + Client: Fix linting errorsjwijenbergh
2023-12-08OAuth: Remove ISS checkjwijenbergh
Too many issues with upstream servers. Needs disco v3 changes
2023-03-01Client Test: Pass versionjwijenbergh
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-05Client Test: Fix prefer TCP suffix tests for arbitrary FQDNsjwijenbergh
2023-01-05Client Test: Fix config printjwijenbergh
2023-01-03Format: Run gofumptjwijenbergh
2022-12-21Linting: Fix config arguments and results + commentsjwijenbergh
2022-12-12simplify error handlingAleksandar Pesic
fixes #6 Signed-off-by: Aleksandar Pesic <peske.nis@gmail.com>
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-25Client Test: Do not clash oauth name with packagejwijenbergh
2022-11-24Style: Use stylecheck and fix errorsjwijenbergh
2022-11-23FSM: Check unhandled transitionsjwijenbergh
2022-10-19Client Test: Fix selenium python script pathjwijenbergh
2022-10-18Client: Move to its own packagejwijenbergh