summaryrefslogtreecommitdiff
path: root/exports/exports.go
AgeCommit message (Collapse)Author
2023-09-25Exports + Client: Refactor registering a clientjwijenbergh
- Make sure the global exports state is only set on successful creating - Only call discovery when adding a server to ensure we get the most up to date args. Creating a client should have no network calls. Fixes #12 - Split creating a client in New and Register in the GO api
2023-09-25Exports + Client Register: Make sure to only update state if no errjwijenbergh
2023-09-25Exports: Return nil on nil errorjwijenbergh
Co-authored-by: rozmansi <simon@rozman.si>
2023-09-25Exports + Python: Compare booleans with != 0 instead of == 1jwijenbergh
Reported by: Simon Rozman <simon@rozman.si>
2023-09-25Exports + Python + Server: Remove ShouldRenewButtonjwijenbergh
This is replace with expiry times
2023-09-25Tests: Pass for V2 APIjwijenbergh
2023-09-25Exports + Python: Use an enum for server typejwijenbergh
2023-09-25Types: Split server into subpackagejwijenbergh
2023-09-25Exports: Implement initial V2 APIjwijenbergh
The main change is that we now use JSON from types listed at the `types` package
2023-04-18Exports: Do not crash on invalid wrapped errorsjwijenbergh
2023-04-18Client + Server: Implement a token updater callbackjwijenbergh
2023-03-01Client + Exports + HTTP: Set a user-agent using the client's versionjwijenbergh
2023-02-28Refactor: Remove error leveljwijenbergh
Not useful enought just yet
2023-01-13Client + Exports: Separate cleanup from disconnectjwijenbergh
2023-01-03Format: Run gofumptjwijenbergh
2022-12-21Client + Exports: Forward tokens for /disconnectjwijenbergh
2022-12-21Exports + OAuth + Server: Forward tokens to getting a configjwijenbergh
2022-12-21Failover: Initial implementationjwijenbergh
2022-12-12Format: Run gofumptjwijenbergh
2022-12-12simplify error handlingAleksandar Pesic
fixes #6 Signed-off-by: Aleksandar Pesic <peske.nis@gmail.com>
2022-11-28Formatting: Run golinesjwijenbergh
2022-11-28Refactor: Remove most get prefixes for receiver functionsjwijenbergh
2022-11-24Style: Use stylecheck and fix errorsjwijenbergh
2022-11-23FSM: Check unhandled transitionsjwijenbergh
2022-10-24Client + Server + Exports: Implement optional WireGuard supportjwijenbergh
2022-10-18Client: Move to its own packagejwijenbergh
2022-10-13Format: Run gofumptjwijenbergh
2022-10-11Client: Refactor out adding a Server from getting a configjwijenbergh
2022-10-06Client + Python: Pass language to Registerjwijenbergh
2022-10-04State: Rename to client to avoid confusion with the FSMjwijenbergh
2022-10-04Refactor: Renmae force TCP to prefer TCPjwijenbergh
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-19Exports: Simplify buildingjwijenbergh
- Remove subdir c - Do not compile c code as a separate shared library - Move all definitions/declarations into the preamble as they shouldn't be shared anyways. So no headers are needed - Define the callback as static, needed so we don't get a duplicate declaration
2022-09-16Discovery: Expose c typesjwijenbergh
2022-09-14Refactor: Return without jsonjwijenbergh
2022-09-12Types Error: Do not panic on JSON errorjwijenbergh
2022-09-07Refactor: Define FSM state constants inside the public packagejwijenbergh
2022-08-24State + Server + Exports: Implement removing a serverjwijenbergh
2022-08-23Formatting: Run golinesjwijenbergh
2022-08-22State + Exports: Make cleanup optional when entering disconnectjwijenbergh
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-19Exports: Ensure valid JSON when encountering a marshal errorjwijenbergh
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-10State + Python: Implement renewing a sessionjwijenbergh
2022-07-22State + Exports: Implement should show renew button booleanjwijenbergh
2022-07-22State + FSM + Exports: Implement changing a secure internet locationjwijenbergh
2022-07-18All: Run Gofumpt formatterjwijenbergh