summaryrefslogtreecommitdiff
path: root/state.go
AgeCommit message (Collapse)Author
2022-08-15Refactor: Use constants for state callbacks instead of stringsjwijenbergh
2022-08-10State + Util: Create a valid URL by ensuring a scheme is presentjwijenbergh
2022-08-10State + Python: Implement renewing a sessionjwijenbergh
2022-08-09Formatting: Run gofumptjwijenbergh
2022-07-22State + Exports: Implement should show renew button booleanjwijenbergh
2022-07-22State + FSM + Exports: Implement changing a secure internet locationjwijenbergh
2022-07-20Refactor: Do not log in internal packagesjwijenbergh
The reason behind this is that we then do not have to pass a lot to each function. Logging inside internal packages is less useful as we want to let them return errors and only log in the 'public' facing API or let the client decide
2022-07-19State: Allow setting a profile regardless of the FSM statejwijenbergh
2022-07-19Server: Give JSON for the configured servers used in the main screenjwijenbergh
2022-07-19Server: Split CustomServer and split types into multiple filesjwijenbergh
2022-07-18State: Save the state after retrieving a successful connect configjwijenbergh
2022-07-18All: Run Gofumpt formatterjwijenbergh
2022-07-18Server + State + Types: Return marshalled JSON for display informationjwijenbergh
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-12State + Server: Ensure the current secure location is re-initializedjwijenbergh
2022-07-12State + FSM: Implement a loading server statejwijenbergh
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.