summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-12-21Spec: Indicate prerelease 0.10.2.0jwijenbergh
2022-12-21Version: Bump to 0.2.0jwijenbergh
2022-12-21Go.sum: Run go mod tidyjwijenbergh
2022-12-21Go.mod: Bump to 1.18jwijenbergh
Fedora 36 has 1.18, which is our minimum target now
2022-12-21Failover: Pass logger and add debug statementsjwijenbergh
2022-12-21Client + Exports: Forward tokens for /disconnectjwijenbergh
2022-12-21Python: Fix duplicate importsjwijenbergh
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-21Server: Implement forcing WireGuard selection through envjwijenbergh
2022-12-21FSM: Do not exec mmdc for mermaidjwijenbergh
2022-12-21OAuth: Do not export ExchangeSessionjwijenbergh
2022-12-21OAuth: Use a mutex to protect the token structurejwijenbergh
2022-12-15OAuth: Ignore liniting error when closing serverjwijenbergh
2022-12-15OAuth: Use a channel to communicate handler errorsjwijenbergh
2022-12-15Client Server: Use double pointer to check errors Asjwijenbergh
2022-12-14Client: If debug, log with stacktracejwijenbergh
2022-12-14Log: Change Inherit to take format argumentsjwijenbergh
2022-12-14Client Server: Fix not going to authorized statejwijenbergh
2022-12-14Verify: Use 'os' for reading a file instead of 'ioutil'jwijenbergh
2022-12-14Docker: Get Go version from go.devjwijenbergh
2022-12-14go.mod: Bump Go version to 1.16jwijenbergh
Fedora 35 is at 1.16 which is the lowest version we will support.
2022-12-14Server: Fix revive lint errorjwijenbergh
``` internal/server/servers.go:51:9: indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive) } else { return srv, nil } ```
2022-12-12FSM: Remove HasTransition functionjwijenbergh
2022-12-12Format: Run gofumptjwijenbergh
2022-12-12FSM: Include state name in error messagejwijenbergh
2022-12-12Server + Exports: Rename and simplify GetCurrentProfileIndexjwijenbergh
2022-12-12Util: Minor style changesjwijenbergh
2022-12-12Server: Minor style changesjwijenbergh
2022-12-12OAuth: Minor style changesjwijenbergh
2022-12-12Log: Simplify GetErrorLeveljwijenbergh
2022-12-12Discovery: Minor style changes with variable namesjwijenbergh
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-12-08OAuth: Comment fixesjwijenbergh
Minor changes from PR #9 Co-authored-by: fkooman <fkooman@tuxed.net>
2022-11-28Server: Split more into multiple implementation filesjwijenbergh
2022-11-28Lint: Use gocritic linter and fix errors returned by itjwijenbergh
2022-11-28Linter: Fix dupword errorsjwijenbergh
2022-11-28Log: Fix copy&paste function commentsjwijenbergh
2022-11-28Log: Define f prefix for log functions to indicate printf likejwijenbergh
2022-11-28OAuth: Define ReadHeaderTimeoutjwijenbergh
2022-11-28OAuth Listener: Explicitly specify localhostjwijenbergh
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