summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-09-25Wrappers Python: Add back event handlerjwijenbergh
Now all the states are back in V2 again, we should have the event handler back as well
2023-09-25Initial i18n implementationjwijenbergh
2023-09-25Client: Call Deregistered transition on Deregister()jwijenbergh
2023-09-25FSM: Allow to always go back to the initial statejwijenbergh
2023-09-25Client FSM: Allow client to ask location in NoServerjwijenbergh
2023-09-25Client: Use a mutex for state transitionsjwijenbergh
2023-09-25Client FSM: Add extra optional states about VPN connectivityjwijenbergh
2023-09-25Client + FSM: Check transitions and add SetStatejwijenbergh
Also make sure GotConfig can be used to go back to
2023-09-25Client: Disable identifier conversion for secure internetjwijenbergh
2023-09-25Discovery: Ignore embeded discovery filesSimon 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-25Client + OAuth + Server: Initialize the OAuth clientID on addjwijenbergh
2023-09-25Client + Types: Expose support contactjwijenbergh
2023-09-25Client: Remove Got Config state check for current serverjwijenbergh
2023-09-25Types Discovery: Omitempty for some types that are not always therejwijenbergh
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-25Exports: Document that CookieReply can be done in the backgroundjwijenbergh
2023-09-25OAuth: Always set the scheme to HTTPS for the authorization URLjwijenbergh
Useful if the cache is busted
2023-09-25CLI: Open the browser again with pkg/browserjwijenbergh
2023-09-25API Test: Add test for invalid authorization endpoint schemejwijenbergh
2023-09-25Endpoints: Double check HTTPS schemejwijenbergh
Now the note in the CLI is really not needed, but maybe wise to keep it there?
2023-09-25Docs: Small typosjwijenbergh
2023-09-25Docs: API fix link and spelling in adding a serverjwijenbergh
2023-09-25Docs: Set mermaid theme to neutraljwijenbergh
Much better for dark theme too
2023-09-25Docs: Only increase the width for the state machinejwijenbergh
2023-09-25Docs: Move state machine to APIjwijenbergh
2023-09-25Docs: Increase the content widthjwijenbergh
2023-09-25Docs: Update API section for V2jwijenbergh
2023-09-25Workflows: Add mermaid support for mdbookjwijenbergh
2023-09-25Client: Do not defer NoServer transition when noninteractivejwijenbergh
2023-09-25Exports: Document AddServer ni flagjwijenbergh
2023-09-25Exports: Fix function name for DiscoOrganizations in commentsjwijenbergh
2023-09-25Exports: Small fixes in cookie commentsjwijenbergh
2023-09-25Exports: Document getconfig prefer TCP and return typejwijenbergh
2023-09-25Exports: Initial comments documenting the APIjwijenbergh
2023-09-25Exports: Lowercase statecallbackjwijenbergh
2023-09-25Exports: Remove unused error.hjwijenbergh
2023-09-25Version: Update to 2.0.0jwijenbergh
2023-09-25Secure: Do not set current location as it is already donejwijenbergh
2023-09-25Verify Test: Use callStr on errorjwijenbergh
2023-09-25OAuth Token: Set previous refresh token if new refresh token is emptyjwijenbergh
This is for 2.x servers that return an empty refresh token after refreshing
2023-09-25Custom: Use the hostname for custom servers display namejwijenbergh
2023-09-25Client: Relax state requirements for No Server on addjwijenbergh
2023-09-25Client: Fix institute servers map typojwijenbergh
2023-09-25Client: Return on refresh endpoints context errorjwijenbergh
2023-09-25Server: Support unmarshalling server as a stringjwijenbergh
This is for V1 configs
2023-09-25Wrappers Python: Get rid of optional as returnjwijenbergh
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-25Client: Re-create failover object on new calljwijenbergh
This additional bookkeeping is not needed now because we have contexts
2023-09-25Exports: Fix void signature for TokenGetterjwijenbergh
2023-09-25All: Implement a token handlerjwijenbergh
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-25Python: Get rid of token callbackjwijenbergh
2023-09-25Exports: Remove token updaterjwijenbergh