| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2023-09-25 | Wrappers Python: Add back event handler | jwijenbergh | |
| Now all the states are back in V2 again, we should have the event handler back as well | |||
| 2023-09-25 | Initial i18n implementation | jwijenbergh | |
| 2023-09-25 | Client: Call Deregistered transition on Deregister() | jwijenbergh | |
| 2023-09-25 | FSM: Allow to always go back to the initial state | jwijenbergh | |
| 2023-09-25 | Client FSM: Allow client to ask location in NoServer | jwijenbergh | |
| 2023-09-25 | Client: Use a mutex for state transitions | jwijenbergh | |
| 2023-09-25 | Client FSM: Add extra optional states about VPN connectivity | jwijenbergh | |
| 2023-09-25 | Client + FSM: Check transitions and add SetState | jwijenbergh | |
| Also make sure GotConfig can be used to go back to | |||
| 2023-09-25 | Client: Disable identifier conversion for secure internet | jwijenbergh | |
| 2023-09-25 | Discovery: Ignore embeded discovery files | Simon Rozman | |
| They are not part of the Git repository and are downloaded in the build process. Signed-off-by: Simon Rozman <simon@rozman.si> | |||
| 2023-09-25 | Client + OAuth + Server: Initialize the OAuth clientID on add | jwijenbergh | |
| 2023-09-25 | Client + Types: Expose support contact | jwijenbergh | |
| 2023-09-25 | Client: Remove Got Config state check for current server | jwijenbergh | |
| 2023-09-25 | Types Discovery: Omitempty for some types that are not always there | jwijenbergh | |
| This makes sure that instead of "authentication_url_template": "" we get not even an "authentication_url_template" key This matches the upstream discovery format more 1:1 | |||
| 2023-09-25 | Exports: Document that CookieReply can be done in the background | jwijenbergh | |
| 2023-09-25 | OAuth: Always set the scheme to HTTPS for the authorization URL | jwijenbergh | |
| Useful if the cache is busted | |||
| 2023-09-25 | CLI: Open the browser again with pkg/browser | jwijenbergh | |
| 2023-09-25 | API Test: Add test for invalid authorization endpoint scheme | jwijenbergh | |
| 2023-09-25 | Endpoints: Double check HTTPS scheme | jwijenbergh | |
| Now the note in the CLI is really not needed, but maybe wise to keep it there? | |||
| 2023-09-25 | Docs: Small typos | jwijenbergh | |
| 2023-09-25 | Docs: API fix link and spelling in adding a server | jwijenbergh | |
| 2023-09-25 | Docs: Set mermaid theme to neutral | jwijenbergh | |
| Much better for dark theme too | |||
| 2023-09-25 | Docs: Only increase the width for the state machine | jwijenbergh | |
| 2023-09-25 | Docs: Move state machine to API | jwijenbergh | |
| 2023-09-25 | Docs: Increase the content width | jwijenbergh | |
| 2023-09-25 | Docs: Update API section for V2 | jwijenbergh | |
| 2023-09-25 | Workflows: Add mermaid support for mdbook | jwijenbergh | |
| 2023-09-25 | Client: Do not defer NoServer transition when noninteractive | jwijenbergh | |
| 2023-09-25 | Exports: Document AddServer ni flag | jwijenbergh | |
| 2023-09-25 | Exports: Fix function name for DiscoOrganizations in comments | jwijenbergh | |
| 2023-09-25 | Exports: Small fixes in cookie comments | jwijenbergh | |
| 2023-09-25 | Exports: Document getconfig prefer TCP and return type | jwijenbergh | |
| 2023-09-25 | Exports: Initial comments documenting the API | jwijenbergh | |
| 2023-09-25 | Exports: Lowercase statecallback | jwijenbergh | |
| 2023-09-25 | Exports: Remove unused error.h | jwijenbergh | |
| 2023-09-25 | Version: Update to 2.0.0 | jwijenbergh | |
| 2023-09-25 | Secure: Do not set current location as it is already done | jwijenbergh | |
| 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 | 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 | Server: Support unmarshalling server as a string | jwijenbergh | |
| This is for V1 configs | |||
| 2023-09-25 | Wrappers Python: Get rid of optional as return | jwijenbergh | |
| If an error is non-nil, the data is guaranteed to contain a value For discovery we do not explicitly forward errors (TODO, log in the wrapper?). However, when building in release mode, we have embedded disco so even if we get an error we should have guaranteed that it contains a value | |||
| 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 | Exports: Fix void signature for TokenGetter | 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 | Python: Get rid of token callback | jwijenbergh | |
| 2023-09-25 | Exports: Remove token updater | jwijenbergh | |
