| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2023-02-28 | API + OAuth: Add some debug logging for tokens | jwijenbergh | |
| 2023-02-16 | Server: Validate endpoints | jwijenbergh | |
| This commit validates the server endpoints by checking the Host and scheme of each URL to check if they match eachother. This is to prevent further mixup attacks | |||
| 2023-01-13 | Server API: Set a lower timeout for disconnect | jwijenbergh | |
| 2023-01-06 | Refactor: Re-use a HTTP client | jwijenbergh | |
| 2022-12-21 | Client + Exports: Forward tokens for /disconnect | jwijenbergh | |
| 2022-12-12 | Server: Minor style changes | jwijenbergh | |
| 2022-12-12 | simplify error handling | Aleksandar Pesic | |
| fixes #6 Signed-off-by: Aleksandar Pesic <peske.nis@gmail.com> | |||
| 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-24 | Style: Use stylecheck and fix errors | jwijenbergh | |
| 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-13 | Server API: Use default timeout for /disconnect | jwijenbergh | |
| 2022-10-04 | Server: Implement `prefer_tcp` according to spec | jwijenbergh | |
| 2022-09-26 | Refactor: Errors into custom export types and expose types | jwijenbergh | |
| 2022-09-20 | API: Append paths using path's Join method | jwijenbergh | |
| 2022-09-20 | Module: Move to eduvpn/eduvpn-common | jwijenbergh | |
| 2022-09-20 | Golang-ci-lint: Fixes | jwijenbergh | |
| 2022-09-19 | API + HTTP: Set the /disconnect timeout to 1 second | jwijenbergh | |
| 2022-09-07 | Refactor: Remove the usage of the FSM in other internal packages | jwijenbergh | |
| This removes the FSM from being imported and thus used in other internal packages such as `oauth` or `server`. The benefit is that it becomes much easier now to reason about the FSM as it's only used in the public package. Additionally, we do not have to re-initialize the server and the oauth structure with the FSM pointer. | |||
| 2022-08-23 | Formatting: Run golines | jwijenbergh | |
| 2022-08-19 | Server: API disconnect should not retry authorized | jwijenbergh | |
| 2022-08-09 | Refactor: Cleanup time calculations and usage | jwijenbergh | |
| 2022-07-20 | Refactor: Do not log in internal packages | jwijenbergh | |
| The reason behind this is that we then do not have to pass a lot to each function. Logging inside internal packages is less useful as we want to let them return errors and only log in the 'public' facing API or let the client decide | |||
| 2022-06-20 | Refactor: Errors to have one custom type that is to be wrapped | jwijenbergh | |
| - For this an `internal/types` package is created with a custom error type - This custom error type can give back the cause and traceback of an error | |||
| 2022-09-20 | Server: Implement function for checking renewal button visibility | jwijenbergh | |
