summaryrefslogtreecommitdiff
path: root/internal/discovery
AgeCommit message (Collapse)Author
2026-04-22Rename Moduleherkulessi
2026-03-18Discovery: Update embedded files for new versionJeroen Wijenbergh
Signature server list: untrusted comment: signature from minisign secret key RWRtBSX1alxyGWNgzNpR5Q/USM3JerSdCzQRLpRGakjA8Sy4xJN34wodUJvnwzBlj6gWB7q7MU7IPmFlaLGufP7S1eGOKcJBdgw= trusted comment: timestamp:1773831174 file:server_list.json Cxbsrsn39pW5Bz+otdqdNqNq2SIeAavp3OKayG54lqWkdPUSKyGJzgi/VJNEk0pFQmDOu4rSOs5jXr5Sa3B9CQ== Signature organization list: untrusted comment: signature from minisign secret key RWRtBSX1alxyGfuEtnF6Hzxem65AhPubUX1BmRsMuQk9vbzL0LqXfXd7aj/UQl8HDsfha1ZqZZ+cghlGNWl9jBD79LuoJDbbWQ0= trusted comment: timestamp:1773831174 file:organization_list.json QCs2Npu9Nrz8JE5U6n2ir7TPszFKdECAX7WtjQL+7kK9eWKotKa3iVfmtGRW0wwUTBmnYkEbOiyOjIM0AL8zBA==
2026-03-17Discovery: Update embedded files for new versionJeroen Wijenbergh
Signature server list: untrusted comment: signature from minisign secret key RWRtBSX1alxyGX3pGt5IGZ/lesynbXSEv/E9RikpowS88mYS47LlFVSbTQMGoIZzfXmGGMVfyIh2rFEhazow9WZKF1xO/B5M2ww= trusted comment: timestamp:1773222928 file:server_list.json IUqjePL/d6mUJqev9AUcsxvR1JCedtfJZ8my2WFeWle9Ejs2xKx0QS47f0JVFc0h/3L26HkmYbJnERXELhRFDg== Signature organization list: untrusted comment: signature from minisign secret key RWRtBSX1alxyGe9DbF6ZT8KE8i3Agq1Q7kcltwK5X67gYumx37bjXN8jz6ZqthDqL0DPQQ2NhBXTosOM0BBKYhngurboZwtCjgU= trusted comment: timestamp:1773222928 file:organization_list.json VJyFg/ezY/i/DyaiKCiTepYKVyCbPRqbmORDMio4LIs+V2e7T6gtTOE3T3zkDAMZgRA6ffI8S5DkemtbDautCA==
2026-02-20Building: Remove release tagJeroen 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-20Discovery: Update embedded files for new versionJeroen Wijenbergh
Signature server list: untrusted comment: signature from minisign secret key RWRtBSX1alxyGcM/XVH6xURdB/P5wcCa1nWK0/ds+QKdM28TFnR8Jf/CZubFFMZmyFHeHni5f5vCWCVFbRWaT1/Lr7unQKY2XgU= trusted comment: timestamp:1771513843 file:server_list.json y4cOVReY66c+Sl+KB+8OJowXaJliNWftSXRWMPs+YNRL1cG6EiIxHrGh0P6vzbffr/vRrSjiJbsjHEnYwpjyDQ== Signature organization list: untrusted comment: signature from minisign secret key RWRtBSX1alxyGTBDzWUBVfUG9omWlahGssShEXfQQ93MKfQVo9JUjUdG62UM4OpnTf7a4jAdmIbJFn4ifDkNrbXqggXS4XqB1AU= trusted comment: timestamp:1771513843 file:organization_list.json zHUVpPb8k7xQ08d6aMmKb+FWG8maU0ak6YltG0reoUCYZhEU+SVgHW6+w19cA6jXRLy8bkbz6VwBOcZApc0SAA==
2026-02-20Release: Bundle discovery files in gitJeroen Wijenbergh
2026-02-20All: Log HTTP body when JSON unmarshal failsJeroen Wijenbergh
Fixes: #112
2026-02-12All: Rename packages that sound useless or clash with stdJeroen Wijenbergh
2025-08-29Discovery: Remove manager and DiscoveryStartupJeroen Wijenbergh
2025-08-29Discovery: Add cache argument and embed unmarshal on startupJeroen Wijenbergh
2025-05-06All: Move to log/slogJeroen Wijenbergh
2025-05-06All: Run modernize --test --fixJeroen Wijenbergh
2025-05-06All: Fix staticcheck errorsJeroen Wijenbergh
2024-11-21Replace all links from GitHub to Codebergjwijenbergh
2024-07-30Format: Run Gofumptjwijenbergh
2024-07-18Discovery Manager: Remove spammy logsjwijenbergh
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-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-25Discovery: Return a fresh booleanjwijenbergh
2024-06-06Discovery: Organization list cache updatesjwijenbergh
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-24Test Server: Add helpers for response handlersJeroen Wijenbergh
2024-03-07Discovery: Resolve logging TODOsjwijenbergh
2024-02-19All: Document everything to pass revive lintjwijenbergh
2024-02-19Discovery: Mark orgs expired on org by id errorjwijenbergh
2024-02-19Discovery: Use new HTTP Clientjwijenbergh
2024-02-19All: Prepare to get rid of go-errors/errors libjwijenbergh
2023-09-25Discovery: Ignore embeded discovery filesSimon 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-25Discovery: Pass a context aroundjwijenbergh
2023-09-25Tests: Pass for V2 APIjwijenbergh
2023-09-25Types: Split discovery into its own packagejwijenbergh
2023-03-01Format: Run black and gofumptjwijenbergh
2023-02-28Discovery: Update tests to use the right membersjwijenbergh
2023-02-28Discovery: Cache within JSON as welljwijenbergh
2023-02-27Discovery: Fix embedding preamblejwijenbergh
2023-02-27Discovery: Conditionally embed latest discovery files for local cachejwijenbergh
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-16Format: Run gofumptjwijenbergh
2023-02-16Test: Implement util package for starting a TLS serverjwijenbergh
2023-01-31Discovery Test: Fix http -> https typojwijenbergh
We rewrite URLs anyway so this is still fine but let's not make it so confusing
2023-01-31Discovery: Setup a local HTTPS serverjwijenbergh