summaryrefslogtreecommitdiff
path: root/wrappers
AgeCommit message (Collapse)Author
2024-01-17Python Main: Remove \* in docstringjwijenbergh
Gave a SyntaxWarning using Python 3.12
2023-09-25Wrappers Python: Remove translations printjwijenbergh
2023-09-25Client + Exports + Python: Add a startup boolean to getconfigjwijenbergh
To be used for autoconnect on startup. If autoconnect on startup set to true This ignores any callbacks that require user input (profile, authorization & location callbacks)
2023-09-25Wrappers Python: Use class callback handlerjwijenbergh
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: Use a mutex for state transitionsjwijenbergh
2023-09-25Client + FSM: Check transitions and add SetStatejwijenbergh
Also make sure GotConfig can be used to go back to
2023-09-25Version: Update to 2.0.0jwijenbergh
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-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-25Wrappers Python: Update to newest API by implementing cookiesjwijenbergh
2023-09-25Format: Run gofumpt (Go) + black (py)jwijenbergh
2023-09-25Wrappers Python: Separate BoolError data type to get rid of decode_funcjwijenbergh
2023-09-25Wrappers Python: Delete version number requirementsjwijenbergh
Otherwise we have to constantly update this doc if we change it
2023-09-25Python Tests: Handle OAuth Started transitionjwijenbergh
2023-09-25Exports + Python: Compare booleans with != 0 instead of == 1jwijenbergh
Reported by: Simon Rozman <simon@rozman.si>
2023-09-25Exports + Python + Server: Remove ShouldRenewButtonjwijenbergh
This is replace with expiry times
2023-09-25Tests: Pass for V2 APIjwijenbergh
2023-09-25Wrappers Python: Document handler in registerjwijenbergh
2023-09-25Exports + Python: Use an enum for server typejwijenbergh
2023-09-25Wrappers Python: Implement V2 initial APIjwijenbergh
2023-09-01Version: Update to 1.1.21.1.2jwijenbergh
2023-09-01Setup.py: Fix building with pipjwijenbergh
2023-08-29Version: Update to 1.1.11.1.1jwijenbergh
2023-04-18Version: Update to 1.1.01.1.0jwijenbergh
2023-04-18Python Server: Make profiles optionaljwijenbergh
2023-04-18Client + Server: Implement a token updater callbackjwijenbergh
2023-03-07Python: Remove f-strings from setup.pyjwijenbergh
This is so that we can build on older python version for pip
2023-03-01Version: Update to 1.0.0jwijenbergh
2023-03-01Python Tests: Set version to 0.1.00.99.0jwijenbergh
2023-03-01Version: Downgrade to 0.99.0jwijenbergh
2023-03-01Format: Run black and gofumptjwijenbergh
2023-02-28Version: Prepare 1.0.0jwijenbergh
2023-02-28Refactor: Remove error leveljwijenbergh
Not useful enought just yet
2023-02-27Exports Disco + Python: Make sure we can always obtain the local cachejwijenbergh
2023-02-01Version: Bump to 0.3.0jwijenbergh
2023-01-13Client + Exports: Separate cleanup from disconnectjwijenbergh
2023-01-05Python: Re-implement example and move to a new directoryjwijenbergh
2023-01-02Python tests: Use let's connect to disable discovery and warn envjwijenbergh
2022-12-21Version: Bump to 0.2.0jwijenbergh
2022-12-21Client + Exports: Forward tokens for /disconnectjwijenbergh
2022-12-21Python: Fix duplicate importsjwijenbergh
2022-12-21Exports + OAuth + Server: Forward tokens to getting a configjwijenbergh
2022-12-21Failover: Initial implementationjwijenbergh
2022-11-23FSM: Check unhandled transitionsjwijenbergh
2022-11-22Python Discovery: Copy over the version before freeingjwijenbergh
2022-11-10Server: Clarify doc for url when secure internetjwijenbergh
2022-11-10Exports + Python: Return locations for a secure internet serverjwijenbergh