summaryrefslogtreecommitdiff
path: root/internal
AgeCommit message (Collapse)Author
2024-07-17Discovery: Implement conditional requestsjwijenbergh
From docs.eduvpn.org (https://docs.eduvpn.org/server/v3/server-discovery.html): When fetching the new JSON files, the client SHOULD use conditional requests, so the file is only fetched in case there were changes. This, in order to reduce the amount of traffic required by VPN clients, especially relevant for metered, or slow connections. The If-Modified-Since request header SHOULD be used for this. If the response code is 304, the file hasn’t changed since. The value to use for the If-Modified-Since request header is the exact value of the Last-Modified response header for the last successful download, i.e. 200 response. You SHOULD store the value of Last-Modified and use it as-is for the If-Modified-Since header.
2024-07-17Client: Fetch disco fresh after startup calling GetConfigjwijenbergh
2024-06-27Discovery: Unmarshal to a new structure to fix #55jwijenbergh
2024-06-27Discovery: Test for #55jwijenbergh
2024-06-25Version: Update to 2.0.22.0.2jwijenbergh
2024-06-25Atomicfile: Mention formatting changejwijenbergh
2024-06-25Format: Run Gofumptjwijenbergh
2024-06-25Config: Atomic file writes using tailscale packagejwijenbergh
2024-06-25Discovery: Return a fresh booleanjwijenbergh
2024-06-06Version: Update to 2.0.12.0.1jwijenbergh
2024-06-06Discovery: Organization list cache updatesjwijenbergh
2024-06-04Version: Update to 2.0.02.0.0jwijenbergh
2024-06-04Server: Fix comment regarding profilesjwijenbergh
2024-06-04Format: Run Gofumptjwijenbergh
2024-05-30FSM: Remove Mermaid graph generationjwijenbergh
Too complicated to be in the core codebase and I only sometimes need it to view the updated figure. Create a CLI tool some time later
2024-05-29levenshtein: Add some commentsjwijenbergh
2024-05-29Levenshtein: Do search for every display and keyword separatelyjwijenbergh
2024-05-29Format: Run gofumptJeroen Wijenbergh
2024-05-29Levenshtein: Add initial testsJeroen Wijenbergh
2024-05-29levenshtein: lint fixesjwijenbergh
2024-05-29Discovery: Improve search using levenshtein distance and sortingjwijenbergh
2024-05-29Discovery: return country_code to the clientjwijenbergh
2024-05-29Discovery: Convert the search query to lowerjwijenbergh
2024-05-29Discovery: Fix testjwijenbergh
2024-05-29Discovery: Implement search and do not return keywordsjwijenbergh
This patch implements search by adding a second argument to DiscoOrganizations and DiscoServers. A search string of = "" returns everything. This also makes the subset that is returned to the client even fewer, no keywords.
2024-05-29Discovery: Return a subset to the clientJeroen Wijenbergh
2024-05-24API Test: Mock Transport by passing it aroundjwijenbergh
2024-05-24Fix various liniting errorsJeroen Wijenbergh
2024-05-24API: Add initial testsJeroen Wijenbergh
2024-05-24API Connect: Move errors.New to varsJeroen Wijenbergh
2024-05-24API auth: Return if err is not invalid tokensJeroen Wijenbergh
E.g. if refreshing fails here with a 500 or something else
2024-05-24Test Server: Add helpers for response handlersJeroen Wijenbergh
2024-05-24API: Remove unused field SetAuthorizeTimeJeroen Wijenbergh
2024-05-08Format: Run Ruff & isortJeroen Wijenbergh
2024-05-08Server: Add a way to pass OAuth start timeJeroen Wijenbergh
2024-04-26Version: Update to 1.99.21.99.2Jeroen Wijenbergh
2024-04-26Format: Run RuffJeroen Wijenbergh
2024-03-22Format: Run gofumptjwijenbergh
2024-03-14Client + Server: Cache secure internet profile choice per locationjwijenbergh
2024-03-14All: Make WireGuard support mandatoryjwijenbergh
2024-03-13Server: Log on remove after failed authorization errorjwijenbergh
2024-03-13Client + Server: Refactor adding a server by first adding then authjwijenbergh
Otherwise we go to the main state after auth is done and the server is not yet added
2024-03-12Profiles + Server: Also expose default gateway settings in profilejwijenbergh
2024-03-11Version: Update to 1.99.11.99.1jwijenbergh
2024-03-07Version: Update to 1.99.01.99.0jwijenbergh
2024-03-07Format: Run Gofumptjwijenbergh
2024-03-07Client + Server: Add a way to obtain the cached profiles listjwijenbergh
2024-03-07Config: Fix current server and profiles for v1 -> v2jwijenbergh
2024-03-07V2 Config: Implement delistedjwijenbergh
2024-03-07V2 Config: omitempty CountryCodejwijenbergh