summaryrefslogtreecommitdiff
path: root/internal
AgeCommit message (Collapse)Author
2022-09-06State + FSM + Python: Rename the HAS_CONFIG state to DISCONNECTEDjwijenbergh
2022-09-06State + Discovery: Save the discovery data in the config JSONjwijenbergh
2022-09-06Server Common: ShouldRenewButton should expire *on* the expiry timejwijenbergh
2022-09-06FSM: Set back state for loading serverjwijenbergh
2022-08-24State + Server + Exports: Implement removing a serverjwijenbergh
2022-08-23Formatting: Run golinesjwijenbergh
2022-08-19Server: API disconnect should not retry authorizedjwijenbergh
2022-08-19State + FSM: Properly handle the disconnect flowjwijenbergh
- /disconnect is now called - A new state is added (DISCONNECTING) that waits for the disconnect to complete - A helper function is exposed (InFSMState) that can be used by clients to see in which state they are in
2022-08-19HTTP: Set a default timeout of 5 secondsjwijenbergh
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-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