| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 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 | 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-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-14 | Client + Server: Refresh the endpoints before checking for a valid profile | jwijenbergh | |
| 2022-11-10 | Server: Re-initialize endpoints when getting a config | 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-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: Implement Authorization Server Issuer Identification (ISS) | jwijenbergh | |
| - This patch implements ISS checking according to RFC 9207 https://datatracker.ietf.org/doc/html/rfc9207 - This tries to prevent so called "mix-up" attacks where the client is fooled into authorizing with an honest AS through a malicious entity | |||
| 2022-10-11 | Client + Server: Set the current institute / custom server on adding | jwijenbergh | |
| 2022-10-04 | Server: Implement `prefer_tcp` according to spec | jwijenbergh | |
| 2022-10-04 | Refactor: Renmae force TCP to prefer TCP | 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-16 | Discovery: Expose c types | jwijenbergh | |
| 2022-09-08 | OAuth: Separate login functions to get rid of callback | 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-09-06 | State + FSM + Python: Rename the HAS_CONFIG state to DISCONNECTED | jwijenbergh | |
| 2022-09-06 | Server Common: ShouldRenewButton should expire *on* the expiry time | jwijenbergh | |
| 2022-08-23 | Formatting: Run golines | jwijenbergh | |
| 2022-08-19 | State + FSM: Properly handle the disconnect flow | jwijenbergh | |
| - /disconnect is now called - A new state is added (DISCONNECTING) that waits for the disconnect to complete - A helper function is exposed (InFSMState) that can be used by clients to see in which state they are in | |||
| 2022-08-16 | Refactor: Use an interface for the data in the FSM callback | jwijenbergh | |
| 2022-08-10 | Server: Make the default time zero Unix | jwijenbergh | |
| 2022-08-10 | Server: Always show renew button when session is expired | jwijenbergh | |
| This is useful for servers which have a custom expiry < 30 minutes | |||
| 2022-08-09 | Formatting: Run gofumpt | 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-07-19 | Server: Give JSON for the configured servers used in the main screen | jwijenbergh | |
| 2022-07-19 | Server: Split CustomServer and split types into multiple files | jwijenbergh | |
