summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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??
2022-11-02Workflows Test: Update from v2 to v3jwijenbergh
2022-11-02CI: Update Go container to 1.19jwijenbergh
2022-11-01Python: Fix type annotation for Disco Organizationjwijenbergh
2022-10-31Python: Add py.typed for Mypyjwijenbergh
2022-10-26Autoflake: Remove unused importsjwijenbergh
2022-10-26Client + Exports + Python: Add a function for getting the current serverjwijenbergh
2022-10-25Client + FSM: Remove background argument from transitionjwijenbergh
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-25Verify Test: Fix ugly race condition found with Go's -race flagjwijenbergh
2022-10-24README: Fix doc linkjwijenbergh
2022-10-24CLI: Fix incorrect Client IDjwijenbergh
2022-10-24Log: Rename log file to go.logjwijenbergh
2022-10-24Log: Use a multiwriter and make output neaterjwijenbergh
2022-10-24Client + Server + Exports: Implement optional WireGuard supportjwijenbergh
2022-10-24Actions + Docs: Use Sphinx docs for Pythonjwijenbergh
2022-10-21Python: Sphinx doc filesjwijenbergh
2022-10-21Python: Add more meta private tagsjwijenbergh
2022-10-21Python: Fix meta docstring formatjwijenbergh
2022-10-19OAuth + Server: Fix ISS for secure internetjwijenbergh
The wrong base url was used. Use the one from the home server NOT the current location
2022-10-19Refactor: Make errors use the parent's error leveljwijenbergh
- 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-19Discovery + Server: Remove unused 'Raw' stringsjwijenbergh