| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2024-11-21 | Replace all links from GitHub to Codeberg | jwijenbergh | |
| 2024-07-30 | Format: Run Gofumpt | jwijenbergh | |
| 2024-07-18 | Discovery Manager: Remove spammy logs | jwijenbergh | |
| 2024-07-17 | Client + Server: Pass discovery manager and lock when needed | jwijenbergh | |
| 2024-07-17 | Discovery: Remove organizations per 4 hour expiry | jwijenbergh | |
| As setting organizations expired is now done in register | |||
| 2024-07-17 | Client + Discovery: Fetch dscovery at startup using DiscoveryStartup | jwijenbergh | |
| With a manager that locks and copies such that no race conditions happen | |||
| 2024-07-17 | Discovery: Implement conditional requests | jwijenbergh | |
| 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-17 | Client: Fetch disco fresh after startup calling GetConfig | jwijenbergh | |
| 2024-06-27 | Discovery: Unmarshal to a new structure to fix #55 | jwijenbergh | |
| 2024-06-27 | Discovery: Test for #55 | jwijenbergh | |
| 2024-06-25 | Discovery: Return a fresh boolean | jwijenbergh | |
| 2024-06-06 | Discovery: Organization list cache updates | jwijenbergh | |
| 2024-05-29 | Discovery: Improve search using levenshtein distance and sorting | jwijenbergh | |
| 2024-05-29 | Discovery: return country_code to the client | jwijenbergh | |
| 2024-05-29 | Discovery: Convert the search query to lower | jwijenbergh | |
| 2024-05-29 | Discovery: Fix test | jwijenbergh | |
| 2024-05-29 | Discovery: Implement search and do not return keywords | jwijenbergh | |
| 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-29 | Discovery: Return a subset to the client | Jeroen Wijenbergh | |
| 2024-05-24 | Test Server: Add helpers for response handlers | Jeroen Wijenbergh | |
| 2024-03-07 | Discovery: Resolve logging TODOs | jwijenbergh | |
| 2024-02-19 | All: Document everything to pass revive lint | jwijenbergh | |
| 2024-02-19 | Discovery: Mark orgs expired on org by id error | jwijenbergh | |
| 2024-02-19 | Discovery: Use new HTTP Client | jwijenbergh | |
| 2024-02-19 | All: Prepare to get rid of go-errors/errors lib | jwijenbergh | |
| 2023-09-25 | Discovery: Ignore embeded discovery files | Simon Rozman | |
| They are not part of the Git repository and are downloaded in the build process. Signed-off-by: Simon Rozman <simon@rozman.si> | |||
| 2023-09-25 | Discovery: Pass a context around | jwijenbergh | |
| 2023-09-25 | Tests: Pass for V2 API | jwijenbergh | |
| 2023-09-25 | Types: Split discovery into its own package | jwijenbergh | |
| 2023-03-01 | Format: Run black and gofumpt | jwijenbergh | |
| 2023-02-28 | Discovery: Update tests to use the right members | jwijenbergh | |
| 2023-02-28 | Discovery: Cache within JSON as well | jwijenbergh | |
| 2023-02-27 | Discovery: Fix embedding preamble | jwijenbergh | |
| 2023-02-27 | Discovery: Conditionally embed latest discovery files for local cache | jwijenbergh | |
| Conditionally embedding based on https://github.com/golang/go/issues/44484#issuecomment-948137497 To use it, wget the discovery files into the internal/discovery folder (same JSON name) after verifying the signature. Then build with -tags=release | |||
| 2023-02-16 | Format: Run gofumpt | jwijenbergh | |
| 2023-02-16 | Test: Implement util package for starting a TLS server | jwijenbergh | |
| 2023-01-31 | Discovery Test: Fix http -> https typo | jwijenbergh | |
| We rewrite URLs anyway so this is still fine but let's not make it so confusing | |||
| 2023-01-31 | Discovery: Setup a local HTTPS server | jwijenbergh | |
| 2023-01-10 | Client + Discovery: Implement further organizations expiry | jwijenbergh | |
| 2023-01-06 | Refactor: Re-use a HTTP client | jwijenbergh | |
| 2023-01-03 | Format: Run gofumpt | jwijenbergh | |
| 2023-01-03 | Discovery Test: Add more utility function tests | jwijenbergh | |
| 2023-01-03 | Discovery: Remove server type from getting by country code | jwijenbergh | |
| It's always secure internet, no need to pass it as an argument | |||
| 2023-01-02 | Discovery: Omit type info for global disco URL | jwijenbergh | |
| 2023-01-02 | Discovery Test: Ignore linter for serve error | jwijenbergh | |
| 2023-01-02 | Discovery: Add simple tests with a file server | jwijenbergh | |
| 2023-01-02 | Discovery: Allow overriding Disco URL | jwijenbergh | |
| 2022-12-12 | Discovery: Minor style changes with variable names | jwijenbergh | |
| 2022-12-12 | simplify error handling | Aleksandar Pesic | |
| fixes #6 Signed-off-by: Aleksandar Pesic <peske.nis@gmail.com> | |||
| 2022-11-28 | Formatting: Run gofumpt -w | jwijenbergh | |
| 2022-11-28 | Refactor: Fix revive linter errors by deleting redundant prefixes | jwijenbergh | |
