summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-26Docs: Add more info about debugging (logging and FSM)jwijenbergh
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-25FSM: Log state transitionsJeroen Wijenbergh
2022-04-25Fix: Logging set level and fileJeroen 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-25FSM: Add the ability to run callbacks in a goroutineJeroen Wijenbergh
2022-04-25CI: Provide SAN in selfsigned certificateJeroen Wijenbergh
Otherwise Go fails with `failed obtaining HTTP resource https://eduvpnserver/.well-known/vpn-user-portal with error Get "https://eduvpnserver/.well-known/vpn-user-portal": x509: certificate relies on legacy Common Name field, use SANs instead`
2022-04-25Fix: CI selfsigned pathJeroen Wijenbergh
2022-04-25Docs: Update with more sectionsJeroen Wijenbergh
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-25TypoJeroen Wijenbergh
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-22CLI: Tidy dependenciesjwijenbergh
2022-04-22API: Only retry authenticated on a 401jwijenbergh
2022-04-22Servers: Add initial support for multiple using a mapjwijenbergh
2022-04-22CLI: Deregister to save configurationjwijenbergh
2022-04-22API: Add /disconnectjwijenbergh
2022-04-22FSM: Make data for transitions optionaljwijenbergh
2022-04-21Python: Remove obsolete FIXMEsjwijenbergh
2022-04-21Discovery: Rollback preventions and hourly updates for serversjwijenbergh
2022-04-20State: Check if we are Deregistered before initializing FSMjwijenbergh
2022-04-20State: Always allow Deregisterjwijenbergh
2022-04-20Server Test: Add back invalid token testsjwijenbergh
2022-04-20Refactor: Eliminate most uses of pointers in structsjwijenbergh
2022-04-20Python: Do not automatically deregisterjwijenbergh
2022-04-20FSM: Check if the FSM is defined for transitions and state checksjwijenbergh
2022-04-20Profiles: Return possible error message when setting IDjwijenbergh
2022-04-20Profiles: Implement SetProfileID instead of getting generic datajwijenbergh
2022-04-20FSM: More states and fix graph orderjwijenbergh
2022-04-20HTTP: Explicitly close request to eliminate EOF errorsjwijenbergh
2022-04-19Profiles: Implement basic functionality for sending a profile_idJeroen Wijenbergh
2022-04-19Server relogin: Add extra check for OAuth.Token == nilJeroen Wijenbergh
2022-04-19Config: Only write on deregisterJeroen Wijenbergh
2022-04-19OAuth improvements: Also ensure tokens based on config stateJeroen Wijenbergh
2022-04-18Docs: Fix 404 stylingJeroen Wijenbergh
2022-04-18Docs: Move to mdbookJeroen Wijenbergh
2022-04-14FSM graph generation: Add generation using mermaid as defaultjwijenbergh
Dot from graphviz kept re-ordering (e.g. flipping edges) which is annoying when showing the graph live
2022-04-14FSM Transitions: Add descriptionsjwijenbergh
2022-04-14Simplify FSM by removing hierarchyjwijenbergh
2022-04-11Python: Only deregister when lib is alivejwijenbergh
2022-04-07FSM: Different color for non-activated current states and a legendjwijenbergh
2022-04-05OAuth Expired Test: Ensure we have a fresh statejwijenbergh
2022-04-05OAuth: Comment failing test for nowjwijenbergh
We need to uncomment this again when we find a proper fix. The problem is that our FSM only allows OAuth changes when we're not authenticated. When we're already authenticated and we want to completely re-do the oauth process, this is not possible. While we could go back to the not authenticated phase, this means that we're also leaving the connected phase. Decouple authentication and connection?
2022-04-05Python: Update state callbacks to be in line with FSMjwijenbergh
2022-04-05Return http code error if status code is not 2xxjwijenbergh