summaryrefslogtreecommitdiff
path: root/internal
AgeCommit message (Collapse)Author
2022-08-15Refactor: Use constants for state callbacks instead of stringsjwijenbergh
2022-08-10Server: Make the default time zero Unixjwijenbergh
2022-08-10State + Util: Create a valid URL by ensuring a scheme is presentjwijenbergh
2022-08-10Server: Always show renew button when session is expiredjwijenbergh
This is useful for servers which have a custom expiry < 30 minutes
2022-08-10State + Python: Implement renewing a sessionjwijenbergh
2022-08-09Formatting: Run gofumptjwijenbergh
2022-08-09Refactor: Cleanup time calculations and usagejwijenbergh
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-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-18Server: Remove useless sugar to clear out Secure Internet statejwijenbergh
2022-07-18Server: Add ServerType and Identifier to marshalled display JSONjwijenbergh
2022-07-18FSM: Add back state for OAuth Startedjwijenbergh
2022-07-18All: Run Gofumpt formatterjwijenbergh
2022-07-18FSM: Ensure that we always return valid JSONjwijenbergh
2022-07-18Server + State + Types: Return marshalled JSON for display informationjwijenbergh
2022-07-15Util: Create directory with 700 permissionsjwijenbergh
2022-07-15FSM + State + Python: Add a connecting state and improve back transitionsjwijenbergh
2022-07-12FSM: Fix Ask Profile transitionsjwijenbergh
2022-07-12State + Server: Ensure the current secure location is re-initializedjwijenbergh
2022-07-12FSM: Fix ask location transitionsjwijenbergh
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-11OAuth: Make OAuth cancel error less confusingjwijenbergh
2022-07-08Server: Remove unused error return value in ShouldRenewButtonjwijenbergh
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-07-05FSM: Set default mermaid graph generation scale to 4jwijenbergh
2022-06-21Server: Add the ability to get the saved serversjwijenbergh
2022-06-21FSM: Add the search server statejwijenbergh
2022-06-21Verify: Inline the public keysjwijenbergh
2022-06-21Verify: Remove unneeded code pathsjwijenbergh
- We should never panic now because there is no way to set an extra key for testing - This was not used anyways in the Go code, and we should never expose an insecure function to wrappers
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-06-17API: Parse expiryjwijenbergh
2022-05-15FSM: Return if no debug graph file could be createdjwijenbergh
2022-05-13Config: Store with 600 permissionsjwijenbergh
2022-05-13Python + Go: Run formatterjwijenbergh
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-06Well known: Add override for local server path using env varjwijenbergh
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