summaryrefslogtreecommitdiff
path: root/state.go
AgeCommit message (Collapse)Author
2022-07-12State + FSM: Add an easy way to go back to the previous 'Main' statejwijenbergh
The 'Main' state here is a main UI menu, e.g. the intial state, the server search page, the configuring server page or the connected/has config page
2022-07-11Types + Exports: Return JSON and use error leveljwijenbergh
2022-07-11Exports/State: Return error traceback instead of normal errorjwijenbergh
2022-07-07Secure Internet: Implement the Ask Location transition callbackjwijenbergh
2022-07-07Format: Run gofumptjwijenbergh
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-21Server: Add the ability to get the saved serversjwijenbergh
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-09-20Server: Implement function for checking renewal button visibilityjwijenbergh
2022-05-13Refactor: Adapt the API to the documentationjwijenbergh
2022-05-10API/Server: Correctly handle multiple protocol preferencejwijenbergh
2022-05-09FSM/State: Profile correctness and connect name changejwijenbergh
Also add a force tcp flag
2022-05-09State: Implement SetDisconnected/SetConnectedjwijenbergh
2022-05-03Refactor: Secure internet into a different type but with interfacejwijenbergh
2022-05-02Refactor: Wrap most errors in a custom typejwijenbergh
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-26Refactor: Authenticated -> Authorizedjwijenbergh
2022-04-26OAuth: Add a Cancel methodjwijenbergh
2022-04-26FSM: Do graph generation in directory with mermaid-clijwijenbergh
2022-04-25Fix: Empty out the state by changing the value to which it points toJeroen Wijenbergh
2022-04-25Deregister: Completely empty out the stateJeroen Wijenbergh
This is so that the only settings that are saved are in the config
2022-04-25Tests: Ability to add a custom server and share certificateJeroen Wijenbergh
We also now do not have to skip verification in the test files
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.