| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2023-09-25 | Client: Relax state requirements for No Server on add | jwijenbergh | |
| 2023-09-25 | Client: Fix institute servers map typo | jwijenbergh | |
| 2023-09-25 | Client: Return on refresh endpoints context error | jwijenbergh | |
| 2023-09-25 | Client: Re-create failover object on new call | jwijenbergh | |
| This additional bookkeeping is not needed now because we have contexts | |||
| 2023-09-25 | All: Implement a token handler | jwijenbergh | |
| This implements a token handler for OAuth tokens. Clients can use the SetTokenHandler function in exports to set a token handler. It needs two arguments, a getter and a setter. The getter is a callback with three arguments: - The server to get the tokens for, in types.server.current as JSON - The output buffer - The output buffer maximum length The tokens should be written to the output buffer with maximum length. The type should be types.server.Tokens and be marshalled as JSON. If no tokens are available, leave the output buffer intact The token setter is a callback with two arguments: - The server for which to set the tokens for, in types.server.Current as JSON - The tokens, defined in types.server.Tokens as JSON Breaking changes: - No more tokens as arguments, was already deprecated in previous commits - Tokens are no longer returned in types.server.Configuration | |||
| 2023-09-25 | Refactor: Move client implementation to one file | jwijenbergh | |
| Much easier to oversee and it forces me to keep the client type as small as possible. This also uses the cookie for cancellation We also no longer require tokens inside arguments. We will later implement them with callbacks | |||
| 2023-09-25 | Client: Improve Let's Connect! not supported errors | jwijenbergh | |
| 2023-09-25 | Client: failover cancel error should be lowercase | jwijenbergh | |
| 2023-09-25 | Client: Remove OpenVPN check for failover and check if in progress | jwijenbergh | |
| 2023-09-25 | Exports + Client: Refactor registering a client | jwijenbergh | |
| - Make sure the global exports state is only set on successful creating - Only call discovery when adding a server to ensure we get the most up to date args. Creating a client should have no network calls. Fixes #12 - Split creating a client in New and Register in the GO api | |||
| 2023-09-25 | Exports + Client Register: Make sure to only update state if no err | jwijenbergh | |
| 2023-09-25 | Exports + Python + Server: Remove ShouldRenewButton | jwijenbergh | |
| This is replace with expiry times | |||
| 2023-09-25 | Tests: Pass for V2 API | jwijenbergh | |
| 2023-09-25 | Client: Check if the base time is zero when getting expiry times | jwijenbergh | |
| 2023-09-25 | Client: Remove servers argument to transition | jwijenbergh | |
| 2023-09-25 | Types: Split server into subpackage | jwijenbergh | |
| 2023-09-25 | Types: Split discovery into its own package | jwijenbergh | |
| 2023-09-25 | Format: Run gofumpt | jwijenbergh | |
| 2023-09-25 | Types: Split protocol into its own | jwijenbergh | |
| 2023-09-25 | Client Server: Convert from external to internal types and vice versa | jwijenbergh | |
| Also use wait groups for waiting for transitions | |||
| 2023-09-25 | Client FSM: Remove states that are client specific/not in the lib | jwijenbergh | |
| 2023-09-25 | Client: Add functions to convert to public types | jwijenbergh | |
| 2023-09-01 | Client + Server: Increase endpoint update frequency and update secure ↵ | jwijenbergh | |
| internet handling | |||
| 2023-04-18 | Client + Server: Set default secure internet location | jwijenbergh | |
| 2023-04-18 | Client Server: Forward token update after ensuring login | jwijenbergh | |
| 2023-04-18 | Client: Fix ask profile linter error | jwijenbergh | |
| 2023-04-18 | Client Server: Log current secure internet server for config | jwijenbergh | |
| 2023-04-18 | Client Server: Go back on setting custom server error | jwijenbergh | |
| 2023-04-18 | Client + Server: Implement a token updater callback | jwijenbergh | |
| 2023-03-01 | Client: Allow max version to be 20 characters | jwijenbergh | |
| Bit long maybe but we shouldn't limit it too much | |||
| 2023-03-01 | Client: Make user agent equal to client ID names | jwijenbergh | |
| See https://git.sr.ht/~fkooman/vpn-user-portal/tree/v3/item/src/OAuth/VpnClientDb.php | |||
| 2023-03-01 | Client Server: Give a more general error in case location fails | jwijenbergh | |
| 2023-03-01 | Client Test: Pass version | jwijenbergh | |
| 2023-03-01 | Format: Run black and gofumpt | jwijenbergh | |
| 2023-03-01 | Client + Exports + HTTP: Set a user-agent using the client's version | jwijenbergh | |
| 2023-02-28 | Log: Use a global logger instance | jwijenbergh | |
| 2023-02-27 | Client FSM: Remove already connected log | jwijenbergh | |
| Useless spam in the log file | |||
| 2023-02-27 | Client Server: Go back on failure to add secure internet | jwijenbergh | |
| 2023-02-16 | Format: Run gofumpt | jwijenbergh | |
| 2023-02-16 | HTTP: Incorporate util ensure valid url with clean path | jwijenbergh | |
| 2023-01-31 | Server: Add script-security 0 to the OpenVPN config | jwijenbergh | |
| This prevents scripts from being executed by default. Clients can override this by either using the OpenVPN --script-security flag or add a script-security setting themselves. | |||
| 2023-01-31 | Client: Check if client ID is valid | jwijenbergh | |
| 2023-01-31 | Client Test: Fix construct URL arguments | jwijenbergh | |
| 2023-01-13 | Client + Exports: Separate cleanup from disconnect | jwijenbergh | |
| 2023-01-12 | Failover: Return early by waiting for a single pong | jwijenbergh | |
| 2023-01-10 | Client + Discovery: Implement further organizations expiry | jwijenbergh | |
| 2023-01-05 | Client Test: Fix prefer TCP suffix tests for arbitrary FQDNs | jwijenbergh | |
| 2023-01-05 | Client Test: Fix config print | jwijenbergh | |
| 2023-01-05 | Logger: Do not interpret error string as format specifier argument | jwijenbergh | |
| 2023-01-03 | Format: Run gofumpt | jwijenbergh | |
