summaryrefslogtreecommitdiff
path: root/state_test.go
AgeCommit message (Collapse)Author
2022-10-04State: Rename to client to avoid confusion with the FSMjwijenbergh
2022-10-04Tests: Remove local well known workaroundjwijenbergh
See: https://github.com/eduvpn/vpn-user-portal/pull/204 as an alternative
2022-10-04Util Test: Remove function signature commentjwijenbergh
2022-10-04Server: Implement `prefer_tcp` according to specjwijenbergh
2022-09-26Refactor: Errors into custom export types and expose typesjwijenbergh
2022-09-20Module: Move to eduvpn/eduvpn-commonjwijenbergh
2022-09-20Golang-ci-lint: Fixesjwijenbergh
2022-09-07Refactor: Define FSM state constants inside the public packagejwijenbergh
2022-09-07Refactor: Remove the usage of the FSM in other internal packagesjwijenbergh
This removes the FSM from being imported and thus used in other internal packages such as `oauth` or `server`. The benefit is that it becomes much easier now to reason about the FSM as it's only used in the public package. Additionally, we do not have to re-initialize the server and the oauth structure with the FSM pointer.
2022-08-23Formatting: Run golinesjwijenbergh
2022-08-19CLI + State Test: Rename VPNStateID to StateIDjwijenbergh
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-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-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-09FSM/State: Profile correctness and connect name changejwijenbergh
Also add a force tcp flag
2022-05-06Tests: Correct OAuth expired env varjwijenbergh
2022-05-06Well known: Add override for local server path using env varjwijenbergh
2022-05-06State tests: Ensure most errors are fataljwijenbergh
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-26Refactor: Authenticated -> Authorizedjwijenbergh
2022-04-26OAuth: Add a Cancel methodjwijenbergh
2022-04-25Tests: Skip server tests if no SERVER_URI is passedJeroen Wijenbergh
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.