summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
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