| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2023-09-25 | Verify Test: Use callStr on error | jwijenbergh | |
| 2023-09-25 | OAuth Token: Set previous refresh token if new refresh token is empty | jwijenbergh | |
| This is for 2.x servers that return an empty refresh token after refreshing | |||
| 2023-09-25 | Custom: Use the hostname for custom servers display name | jwijenbergh | |
| 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 | OAuth: Implement the Public() method for tokens | jwijenbergh | |
| 2023-09-25 | Refactor: Split internal server into multiple packages | jwijenbergh | |
| - Pass contexts - Have separate packages for e.g. custom, institute and secure - internet servers, profiles.... - Return types from the public ./types package with a Public() method | |||
| 2023-09-25 | HTTP: Pass context around and optionally trail path in url | jwijenbergh | |
| 2023-09-25 | OAuth: Pass a context around | jwijenbergh | |
| 2023-09-25 | Failover: Pass a context around | jwijenbergh | |
| 2023-09-25 | Format: Run gofumpt (Go) + black (py) | jwijenbergh | |
| 2023-09-25 | Discovery: Pass a context around | jwijenbergh | |
| 2023-09-25 | Fix connection monitoring on Windows | Simon Rozman | |
| Linux requires su for `ip4:icmp` pings. Windows does not support `udp4` pings. Signed-off-by: Simon Rozman <simon@rozman.si> | |||
| 2023-09-25 | FSM: Add more context to required transition error | jwijenbergh | |
| 2023-09-25 | Revert "FSM: Set handled to true for now" | jwijenbergh | |
| This reverts commit 2b1bb611b7c83d8e8e5eadfed7c717d16e61d81b. | |||
| 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 | Types: Split discovery into its own package | jwijenbergh | |
| 2023-09-25 | Server: Add a TODO note for custom server types | jwijenbergh | |
| 2023-09-25 | Util: Get rid of language matching | jwijenbergh | |
| 2023-09-25 | Institute Access: Add context to set errors | jwijenbergh | |
| 2023-09-25 | Server Base: Add functions for getting expiry times | jwijenbergh | |
| 2023-09-25 | FSM: Set handled to true for now | jwijenbergh | |
| 2023-09-25 | FSM: Add state name to transition error | jwijenbergh | |
| 2023-09-01 | Version: Update to 1.1.21.1.2 | jwijenbergh | |
| 2023-09-01 | Client + Server: Increase endpoint update frequency and update secure ↵ | jwijenbergh | |
| internet handling | |||
| 2023-08-29 | Version: Update to 1.1.11.1.1 | jwijenbergh | |
| 2023-08-29 | Server: Set OAuth endpoints on refresh | jwijenbergh | |
| This fixes OAuth endpoints after e.g. an update from 2.x to 3.x | |||
| 2023-04-18 | Version: Update to 1.1.01.1.0 | jwijenbergh | |
| 2023-04-18 | Client + Server: Set default secure internet location | jwijenbergh | |
| 2023-04-18 | OAuth Token: Set previous refresh token if new refresh token is empty | jwijenbergh | |
| This is for 2.x servers that return an empty refresh token after refreshing | |||
| 2023-04-18 | Verify Test: Use callStr on error | jwijenbergh | |
| 2023-04-18 | Server Custom: Fix invalid wrap erorr | jwijenbergh | |
| 2023-04-18 | Client + Server: Implement a token updater callback | jwijenbergh | |
| 2023-03-01 | Version: Update to 1.0.0 | jwijenbergh | |
| 2023-03-01 | Version: Downgrade to 0.99.0 | 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 | API + OAuth: Add some debug logging for tokens | jwijenbergh | |
| 2023-02-28 | Refactor: Remove error level | jwijenbergh | |
| Not useful enought just yet | |||
| 2023-02-28 | Config: Rename ConfigFormat to Format | jwijenbergh | |
| 2023-02-28 | Discovery: Update tests to use the right members | jwijenbergh | |
| 2023-02-28 | Config: Add a version field | jwijenbergh | |
| 2023-02-28 | Log: Use a global logger instance | jwijenbergh | |
| 2023-02-28 | Discovery: Cache within JSON as well | jwijenbergh | |
| 2023-02-27 | Discovery: Fix embedding preamble | jwijenbergh | |
| 2023-02-27 | Profile Test: format | jwijenbergh | |
| 2023-02-27 | Discovery: Conditionally embed latest discovery files for local cache | jwijenbergh | |
| Conditionally embedding based on https://github.com/golang/go/issues/44484#issuecomment-948137497 To use it, wget the discovery files into the internal/discovery folder (same JSON name) after verifying the signature. Then build with -tags=release | |||
| 2023-02-27 | OAuth: Use a sync.Once to only handle the request once | jwijenbergh | |
| This prevents someone from spamming the local redirect URI and sending additional outgoing token requests to the legitimate server | |||
| 2023-02-17 | HTTP: Fix test for joining path by removing trailing slash | jwijenbergh | |
| 2023-02-17 | HTTP: Only add trailing slash for ensuring valid URL | jwijenbergh | |
