| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2026-04-22 | Rename Module | herkulessi | |
| 2026-02-20 | Building: Remove release tag | Jeroen Wijenbergh | |
| As we now have the discovery JSON files in the repo, it makes no sense to conditionally embed the files. Just always embed them | |||
| 2026-02-20 | All: Log HTTP body when JSON unmarshal fails | Jeroen Wijenbergh | |
| Fixes: #112 | |||
| 2026-02-12 | All: Rename packages that sound useless or clash with std | Jeroen Wijenbergh | |
| 2025-08-29 | Discovery: Remove manager and DiscoveryStartup | Jeroen Wijenbergh | |
| 2025-08-29 | Discovery: Add cache argument and embed unmarshal on startup | Jeroen Wijenbergh | |
| 2025-05-06 | All: Move to log/slog | Jeroen Wijenbergh | |
| 2025-05-06 | All: Run modernize --test --fix | Jeroen Wijenbergh | |
| 2025-05-06 | All: Fix staticcheck errors | Jeroen Wijenbergh | |
| 2024-11-21 | Replace all links from GitHub to Codeberg | jwijenbergh | |
| 2024-07-30 | Format: Run Gofumpt | 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-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: 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-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: Pass a context around | jwijenbergh | |
| 2023-09-25 | Types: Split discovery into its own package | jwijenbergh | |
| 2023-02-28 | Discovery: Cache within JSON as well | 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 | Test: Implement util package for starting a TLS 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 | 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: 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 | |
| 2022-11-28 | Lint: Run godot fix | jwijenbergh | |
| Full command: golangci-lint run --disable-all -E godot --fix | |||
| 2022-11-28 | Refactor: Remove most get prefixes for receiver functions | jwijenbergh | |
| 2022-11-28 | Document: Add comments for most functions and packages | jwijenbergh | |
| Errors and test files still need to be done. Also some getters are changed by removing the 'get' prefix | |||
| 2022-11-25 | Discovery + Exports: Rename variable to not clash with server pkg | jwijenbergh | |
| 2022-11-24 | Style: Use stylecheck and fix errors | jwijenbergh | |
| 2022-11-24 | Discovery + Server: Get rid of unused imports | jwijenbergh | |
| 2022-11-24 | Util: Get rid of current time helper | jwijenbergh | |
| Fixes #5 | |||
| 2022-10-19 | Refactor: Make errors use the parent's error level | jwijenbergh | |
| - All wrapped errors have to be created with types.NewWrappedError to inherit the error level from the parent - Or types.NewWrappedErrorLevel can be used which means a custom error level is given. For example this is done with cancelling OAuth - Client public errors are forwarded with handleError that also logs it with the error's level | |||
