summaryrefslogtreecommitdiff
path: root/internal
AgeCommit message (Collapse)Author
2024-08-22FSM: Re-ordering and cleanup constructorjwijenbergh
2024-07-30Version: Update to 2.1.02.1.0jwijenbergh
2024-07-30Format: Run Gofumptjwijenbergh
2024-07-18Discovery Manager: Remove spammy logsjwijenbergh
2024-07-18Server: Go to GettingConfig after InvalidProfilejwijenbergh
Could be we have just done OAuth and are in state main...
2024-07-17Client + Server: Pass discovery manager and lock when neededjwijenbergh
2024-07-17Discovery: Remove organizations per 4 hour expiryjwijenbergh
As setting organizations expired is now done in register
2024-07-17Client + Discovery: Fetch dscovery at startup using DiscoveryStartupjwijenbergh
With a manager that locks and copies such that no race conditions happen
2024-07-17API: Pass user agent to OAuth libraryjwijenbergh
eduoauth-go 1.1.0 feature
2024-07-17Client + API: Mark organizations expired *before* processing urljwijenbergh
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