summaryrefslogtreecommitdiff
path: root/exports
AgeCommit message (Collapse)Author
2022-09-16Discovery: Expose c typesjwijenbergh
2022-09-14Refactor: Return without jsonjwijenbergh
2022-09-12Types Error: Do not panic on JSON errorjwijenbergh
2022-09-07Refactor: Define FSM state constants inside the public packagejwijenbergh
2022-08-24State + Server + Exports: Implement removing a serverjwijenbergh
2022-08-23Formatting: Run golinesjwijenbergh
2022-08-22State + Exports: Make cleanup optional when entering disconnectjwijenbergh
2022-08-19State + FSM: Properly handle the disconnect flowjwijenbergh
- /disconnect is now called - A new state is added (DISCONNECTING) that waits for the disconnect to complete - A helper function is exposed (InFSMState) that can be used by clients to see in which state they are in
2022-08-19Exports: Ensure valid JSON when encountering a marshal errorjwijenbergh
2022-08-16Refactor: Use an interface for the data in the FSM callbackjwijenbergh
2022-08-15Refactor: Use constants for state callbacks instead of stringsjwijenbergh
2022-08-10State + Python: Implement renewing a sessionjwijenbergh
2022-07-22State + Exports: Implement should show renew button booleanjwijenbergh
2022-07-22State + FSM + Exports: Implement changing a secure internet locationjwijenbergh
2022-07-18All: Run Gofumpt formatterjwijenbergh
2022-07-15State + Python: Remove Set/Get Identifierjwijenbergh
Let clients serialize data to a file themselves
2022-07-15FSM + State + Python: Add a connecting state and improve back transitionsjwijenbergh
2022-07-12Python + Exports: Implement Go backjwijenbergh
2022-07-12Exports + Python: Fix config JSON parsingjwijenbergh
2022-07-11Types + Exports: Return JSON and use error leveljwijenbergh
2022-07-11Exports/State: Return error traceback instead of normal errorjwijenbergh
2022-07-08Python + Exports: Fix discovery function namesjwijenbergh
2022-07-07Secure Internet: Implement the Ask Location transition callbackjwijenbergh
2022-07-05Refactor: Handling of different servers and identifiersjwijenbergh
- Uses OrgID for Secure Internet and gets the data from discovery - Uses URL for Institute/Custom and gets the data from discovery - Implements SKIP WAYF as we now have the needed data - Implements an initial change location with a default location (NL right now)
2022-06-21Python/Exports: Separate events and use a map with the name for callbacksjwijenbergh
Also adds a helper to call Go functions with the proper encoding from Python :^)
2022-06-21FSM: Add the search server statejwijenbergh
2022-06-21State: Add functions for getting/setting a connection identifierjwijenbergh
e.g. the uuid of the connection in case of NetworkManager on Linux
2022-06-20Refactor: Errors to have one custom type that is to be wrappedjwijenbergh
- For this an `internal/types` package is created with a custom error type - This custom error type can give back the cause and traceback of an error
2022-05-13Python + Go: Run formatterjwijenbergh
2022-05-13Refactor: Adapt the API to the documentationjwijenbergh
2022-05-09FSM/State: Profile correctness and connect name changejwijenbergh
Also add a force tcp flag
2022-05-09State: Implement SetDisconnected/SetConnectedjwijenbergh
2022-04-29Secure Internet: Basic implementation and add support to cliJeroen Wijenbergh
2022-04-26State: Add a state map to exports instead of a global singletonjwijenbergh
2022-04-26OAuth: Add a Cancel methodjwijenbergh
2022-04-22Refactor: Restructure projectjwijenbergh
- Add an internal folder where all the internal code lives - Make a state.go and state_test.go for the public interface This gives a more clear separation between functions and modules. It also makes this a more typical Go project setup.
2022-04-22Servers: Add initial support for multiple using a mapjwijenbergh
2022-04-20Profiles: Return possible error message when setting IDjwijenbergh
2022-04-20Profiles: Implement SetProfileID instead of getting generic datajwijenbergh
2022-04-19Profiles: Implement basic functionality for sending a profile_idJeroen Wijenbergh
2022-04-05Add debug variable to save a live fsm graphjwijenbergh
2022-03-29State: Add a deregister method for cleanupjwijenbergh
2022-03-23Add wrapping functionality for getting a wireguard configjwijenbergh
2022-03-23Python: Implement state callbacks using decoratorsjwijenbergh
2022-03-22Save a local copy of the disco listjwijenbergh
2022-03-21Update python and add basic config supportJeroen Wijenbergh
2022-04-05Add callback state change and simplify wrappersjwijenbergh
The python wrapper contained lots of code that should not be exposed. The other wrappers I will update later
2022-04-05Refactor: Simplify errors for wrappingjwijenbergh
2022-04-05Begin exporting by wrapping state in a singletonJeroen Wijenbergh
2022-04-05Go: Properly expose getting server listjwijenbergh
Signed-off-by: jwijenbergh <jeroenwijenbergh@protonmail.com>