summaryrefslogtreecommitdiff
path: root/wrappers/python/eduvpn_common/loader.py
AgeCommit message (Collapse)Author
2024-03-22Python: Format and fix linting errorsjwijenbergh
2024-03-22All: Refactor makefile & buildingjwijenbergh
2024-03-14All: Make WireGuard support mandatoryjwijenbergh
2024-03-06Client + Exports + Wrappers: Add peer IPs argument to fd callbackjwijenbergh
And rename the callback to be closer to what it does
2024-02-23Wrappers Python: Add necessary callbacks for proxyguardjwijenbergh
2024-02-19Proxyguard: Support a FD callbackjwijenbergh
useful for the android app
2024-02-19WireGuard: TCP support using proxyguardjwijenbergh
2024-02-19Exports + Python: Delete cookie but add orgid in set_secure_locationjwijenbergh
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-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-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-25Wrappers Python: Update to newest API by implementing cookiesjwijenbergh
2023-09-25Wrappers Python: Separate BoolError data type to get rid of decode_funcjwijenbergh
2023-09-25Exports + Python + Server: Remove ShouldRenewButtonjwijenbergh
This is replace with expiry times
2023-09-25Exports + Python: Use an enum for server typejwijenbergh
2023-09-25Wrappers Python: Implement V2 initial APIjwijenbergh
2023-04-18Client + Server: Implement a token updater callbackjwijenbergh
2023-03-01Format: Run black and gofumptjwijenbergh
2023-01-13Client + Exports: Separate cleanup from disconnectjwijenbergh
2022-12-21Client + Exports: Forward tokens for /disconnectjwijenbergh
2022-12-21Exports + OAuth + Server: Forward tokens to getting a configjwijenbergh
2022-12-21Failover: Initial implementationjwijenbergh
2022-10-26Autoflake: Remove unused importsjwijenbergh
2022-10-26Client + Exports + Python: Add a function for getting the current serverjwijenbergh
2022-10-24Client + Server + Exports: Implement optional WireGuard supportjwijenbergh
2022-10-21Python: Add more meta private tagsjwijenbergh
2022-10-18Python: Add docstringsjwijenbergh
2022-10-14Python: Run blackjwijenbergh
2022-10-14Python: Run isortjwijenbergh
2022-10-14Python: Proper type annotationsjwijenbergh
2022-10-11Client: Refactor out adding a Server from getting a configjwijenbergh
2022-10-06Client + Python: Pass language to Registerjwijenbergh
2022-09-27Version: Ensure that we load a specific onejwijenbergh
2022-09-27Python: Reformat and move most loading out of __init__jwijenbergh