| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2022-12-14 | Verify: Use 'os' for reading a file instead of 'ioutil' | jwijenbergh | |
| 2022-12-14 | Server: Fix revive lint error | jwijenbergh | |
| ``` 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-12 | FSM: Remove HasTransition function | jwijenbergh | |
| 2022-12-12 | Format: Run gofumpt | jwijenbergh | |
| 2022-12-12 | FSM: Include state name in error message | jwijenbergh | |
| 2022-12-12 | Server + Exports: Rename and simplify GetCurrentProfileIndex | jwijenbergh | |
| 2022-12-12 | Util: Minor style changes | jwijenbergh | |
| 2022-12-12 | Server: Minor style changes | jwijenbergh | |
| 2022-12-12 | OAuth: Minor style changes | jwijenbergh | |
| 2022-12-12 | Log: Simplify GetErrorLevel | jwijenbergh | |
| 2022-12-12 | Discovery: Minor style changes with variable names | jwijenbergh | |
| 2022-12-12 | simplify error handling | Aleksandar Pesic | |
| fixes #6 Signed-off-by: Aleksandar Pesic <peske.nis@gmail.com> | |||
| 2022-12-08 | OAuth: Comment fixes | jwijenbergh | |
| Minor changes from PR #9 Co-authored-by: fkooman <fkooman@tuxed.net> | |||
| 2022-11-28 | Server: Split more into multiple implementation files | jwijenbergh | |
| 2022-11-28 | Lint: Use gocritic linter and fix errors returned by it | jwijenbergh | |
| 2022-11-28 | Linter: Fix dupword errors | jwijenbergh | |
| 2022-11-28 | Log: Fix copy&paste function comments | jwijenbergh | |
| 2022-11-28 | Log: Define f prefix for log functions to indicate printf like | jwijenbergh | |
| 2022-11-28 | OAuth: Define ReadHeaderTimeout | jwijenbergh | |
| 2022-11-28 | OAuth Listener: Explicitly specify localhost | jwijenbergh | |
| 2022-11-28 | Formatting: Run golines | jwijenbergh | |
| 2022-11-28 | Formatting: Run gofumpt -w | jwijenbergh | |
| 2022-11-28 | Refactor: Fix revive linter errors by deleting redundant prefixes | jwijenbergh | |
| 2022-11-28 | OAuth: Refactor Token getting and do not save them in the config | jwijenbergh | |
| 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-28 | Lint: Run godot fix | jwijenbergh | |
| Full command: golangci-lint run --disable-all -E godot --fix | |||
| 2022-11-28 | Refactor: Remove most get prefixes for receiver functions | jwijenbergh | |
| 2022-11-28 | Document: Add comments for most functions and packages | jwijenbergh | |
| Errors and test files still need to be done. Also some getters are changed by removing the 'get' prefix | |||
| 2022-11-25 | Discovery + Exports: Rename variable to not clash with server pkg | jwijenbergh | |
| 2022-11-24 | Style: Use stylecheck and fix errors | jwijenbergh | |
| 2022-11-24 | Discovery + Server: Get rid of unused imports | jwijenbergh | |
| 2022-11-24 | Util: Get rid of current time helper | jwijenbergh | |
| Fixes #5 | |||
| 2022-11-23 | FSM: Check unhandled transitions | jwijenbergh | |
| 2022-11-17 | Log: Rename log file to log | jwijenbergh | |
| 2022-11-17 | Log: Add additional params to get rid of Sprintf calls | jwijenbergh | |
| 2022-11-14 | Client + Server: Refresh the endpoints before checking for a valid profile | jwijenbergh | |
| 2022-11-10 | HTTP: Fix typo in status error | jwijenbergh | |
| 2022-11-10 | Logging: Add a Debug level | jwijenbergh | |
| This makes the levels more logical | |||
| 2022-11-10 | Server: Re-initialize endpoints when getting a config | jwijenbergh | |
| 2022-10-25 | Client + FSM: Remove background argument from transition | jwijenbergh | |
| This fixes a race condition reported by Go's -race flag In the future we should use waitgroups to ensure the OAuth local listener is started before we sent the URL | |||
| 2022-10-25 | Verify Test: Fix ugly race condition found with Go's -race flag | jwijenbergh | |
| 2022-10-24 | Log: Rename log file to go.log | jwijenbergh | |
| 2022-10-24 | Log: Use a multiwriter and make output neater | jwijenbergh | |
| 2022-10-24 | Client + Server + Exports: Implement optional WireGuard support | jwijenbergh | |
| 2022-10-19 | OAuth + Server: Fix ISS for secure internet | jwijenbergh | |
| The wrong base url was used. Use the one from the home server NOT the current location | |||
| 2022-10-19 | Refactor: Make errors use the parent's error level | jwijenbergh | |
| - All wrapped errors have to be created with types.NewWrappedError to inherit the error level from the parent - Or types.NewWrappedErrorLevel can be used which means a custom error level is given. For example this is done with cancelling OAuth - Client public errors are forwarded with handleError that also logs it with the error's level | |||
| 2022-10-19 | Discovery + Server: Remove unused 'Raw' strings | jwijenbergh | |
| 2022-10-18 | OAuth: Do not use url.Values Has(), only use Get() | jwijenbergh | |
| Has() was only added in Go 1.17 | |||
| 2022-10-17 | Client + Server: Delete tokens before attempting a login for renew | jwijenbergh | |
| 2022-10-17 | Server + Util: Ensure the base URL already ends with a / | jwijenbergh | |
| 2022-10-17 | OAuth: Use values Has and Get functions and check state after ISS | jwijenbergh | |
