summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
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-25Discovery + Exports: Rename variable to not clash with server pkgjwijenbergh
2022-11-25Client Test: Do not clash oauth name with packagejwijenbergh
2022-11-24Workflows: Bump go version and use latest linterjwijenbergh
2022-11-24Workflows: change @v2 to @v3jwijenbergh
2022-11-24Style: Use stylecheck and fix errorsjwijenbergh
2022-11-24Discovery + Server: Get rid of unused importsjwijenbergh
2022-11-24Util: Get rid of current time helperjwijenbergh
Fixes #5
2022-11-24FSM: Rename OAuth Started back transition to No Serverjwijenbergh
2022-11-23FSM: Check unhandled transitionsjwijenbergh
2022-11-22Python Discovery: Copy over the version before freeingjwijenbergh
2022-11-17Log: Rename log file to logjwijenbergh
2022-11-17Log: Add additional params to get rid of Sprintf callsjwijenbergh
2022-11-14Client + Server: Refresh the endpoints before checking for a valid profilejwijenbergh
2022-11-10HTTP: Fix typo in status errorjwijenbergh
2022-11-10Logging: Add a Debug leveljwijenbergh
This makes the levels more logical
2022-11-10Server: Clarify doc for url when secure internetjwijenbergh
2022-11-10Server: Re-initialize endpoints when getting a configjwijenbergh
2022-11-10Exports + Python: Return locations for a secure internet serverjwijenbergh
2022-11-08Server: Implement manually renewingjwijenbergh
2022-11-04Python Docs: Create a getting started pagejwijenbergh
2022-11-03Docker: Use debianjwijenbergh
For some reason GitHub was failing on the golang image but not locally??