summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-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-05Return http code error if status code is not 2xxjwijenbergh
2022-04-05Correct tests for fsmjwijenbergh
2022-04-05Remove duplicate graph writing codejwijenbergh
2022-04-05Add debug variable to save a live fsm graphjwijenbergh
2022-03-31Initial approach to creating a fsm with states and substatesjwijenbergh
2022-03-29State: Add a deregister method for cleanupjwijenbergh
2022-03-29Logging: Add more logging statementsjwijenbergh
2022-03-29Debugging: Implement a basic level-based file loggerjwijenbergh
2022-03-29Tests: Change OAuth expiry tests by using a custom expiry timejwijenbergh
2022-03-28OAuth: Token refresh changes and testsJeroen Wijenbergh
2022-03-25Return error on run commandjwijenbergh
2022-03-25Add server oauth parameter test casesjwijenbergh
2022-03-25Login to oauth with selenium and testjwijenbergh
2022-03-25Run callback in a goroutine for oauth initializedjwijenbergh
2022-03-23Remove debug statementjwijenbergh
2022-03-23Run gofumptjwijenbergh
2022-03-23Add getting profiles and add openvpn config supportjwijenbergh
2022-03-23Return headers in HTTP for wireguard expiryjwijenbergh
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-09-20Wireguard: Add basic supportJeroen Wijenbergh
2022-04-05OAuth: Make sure the tokens are not expiredJeroen Wijenbergh
2022-04-05Refactor: Structures changed and added Token refresh functionjwijenbergh
2022-04-05Move HTTP GET/POST methods to its own filejwijenbergh
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-05OAuth: Begin implementation without OAuth2 libJeroen Wijenbergh
- We want to use as little dependencies as possible. While the OAuth2 library is helpful, it is not needed.
2022-04-05Begin exporting by wrapping state in a singletonJeroen Wijenbergh
2022-04-05Refactor: Simplify API by using a state as contextJeroen Wijenbergh
2022-04-05Add a file for the vpn APIJeroen Wijenbergh
2022-04-05Format: Run gofmtJeroen Wijenbergh
Signed-off-by: Jeroen Wijenbergh <jeroenwijenbergh@protonmail.com>
2022-04-05OAuth: Add initial draftJeroen Wijenbergh
Signed-off-by: Jeroen Wijenbergh <jeroenwijenbergh@protonmail.com>
2022-04-05Go: Properly expose getting server listjwijenbergh
Signed-off-by: jwijenbergh <jeroenwijenbergh@protonmail.com>
2022-04-05Abstract error handling in python codejwijenbergh
Signed-off-by: jwijenbergh <jeroenwijenbergh@protonmail.com>
2022-04-05Expose list retrieval by returning a JSON stringjwijenbergh
Signed-off-by: jwijenbergh <jeroenwijenbergh@protonmail.com>
2022-04-05Abstract error types and remove JSON parsingjwijenbergh
For now JSON parsing does not make a lot of sense. This is better off handled by the clients for now. Signed-off-by: jwijenbergh <jeroenwijenbergh@protonmail.com>
2022-04-05Begin exposing functions using a mapjwijenbergh
Signed-off-by: jwijenbergh <jeroenwijenbergh@protonmail.com>
2022-04-05Add signature verification to list retrievaljwijenbergh
- Move test data to src - Verify signatures by calling the Verify method - Add a customizable parameter to force prehashed signatures Signed-off-by: jwijenbergh <jeroenwijenbergh@protonmail.com>
2022-04-05Go: Begin working on abstracting server/organization listjwijenbergh
Signed-off-by: jwijenbergh <jeroenwijenbergh@protonmail.com>