| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-09-02 | client: Log more in debug and increase rotation to 10MB | Jeroen Wijenbergh | |
| 2024-11-21 | Replace all links from GitHub to Codeberg | jwijenbergh | |
| 2024-10-28 | API + HTTP + Exports: Cleaner TLS1.3 enforcement using a custom DefaultTransport | jwijenbergh | |
| Also fix where TLS 1.3 was not properly enforced for the endpoint cache | |||
| 2024-10-11 | HTTP + OAuth API: Enforce TLS >= 1.3 | jwijenbergh | |
| 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-02-19 | All: Document everything to pass revive lint | jwijenbergh | |
| 2024-02-19 | HTTP: Make NewClient accept an underlying http client | jwijenbergh | |
| if the argument is nil, a fresh one is automatically created | |||
| 2024-02-19 | HTTP: Fix register agent to include version package | jwijenbergh | |
| 2024-02-19 | All: Prepare to get rid of go-errors/errors lib | jwijenbergh | |
| 2024-02-19 | HTTP: Make sure to add all headers | jwijenbergh | |
| Now needed as we do some of the header code differently. Previously it worked because e.g. the accept header had one value that was capitalized | |||
| 2024-02-19 | i18nerr + HTTP: Properly convert timeout errors | jwijenbergh | |
| 2023-09-25 | Version: Update to 2.0.0 | jwijenbergh | |
| 2023-09-25 | HTTP: Pass context around and optionally trail path in url | jwijenbergh | |
| 2023-09-01 | Version: Update to 1.1.21.1.2 | jwijenbergh | |
| 2023-08-29 | Version: Update to 1.1.11.1.1 | jwijenbergh | |
| 2023-04-18 | Version: Update to 1.1.01.1.0 | jwijenbergh | |
| 2023-03-01 | Version: Update to 1.0.0 | jwijenbergh | |
| 2023-03-01 | Version: Downgrade to 0.99.0 | jwijenbergh | |
| 2023-03-01 | Format: Run black and gofumpt | jwijenbergh | |
| 2023-03-01 | Client + Exports + HTTP: Set a user-agent using the client's version | jwijenbergh | |
| 2023-02-17 | HTTP: Fix test for joining path by removing trailing slash | jwijenbergh | |
| 2023-02-17 | HTTP: Only add trailing slash for ensuring valid URL | jwijenbergh | |
| 2023-02-16 | HTTP: Add test for ensuring valid URL | jwijenbergh | |
| 2023-02-16 | Format: Run gofumpt | jwijenbergh | |
| 2023-02-16 | HTTP: Implement join URL path | jwijenbergh | |
| 2023-02-16 | HTTP: Incorporate util ensure valid url with clean path | jwijenbergh | |
| 2023-01-31 | HTTP + Util: Always set the scheme to HTTPS | jwijenbergh | |
| 2023-01-13 | HTTP: Make the timeout configurable per request using a context | jwijenbergh | |
| 2023-01-12 | HTTP: Set default timeout to 10 seconds | jwijenbergh | |
| 2023-01-06 | Refactor: Re-use a HTTP client | jwijenbergh | |
| 2023-01-05 | HTTP: Set max read limit to 16MB | jwijenbergh | |
| 2022-12-12 | simplify error handling | Aleksandar Pesic | |
| fixes #6 Signed-off-by: Aleksandar Pesic <peske.nis@gmail.com> | |||
| 2022-11-28 | Linter: Fix dupword errors | 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 | 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-24 | Style: Use stylecheck and fix errors | jwijenbergh | |
| 2022-11-10 | HTTP: Fix typo in status error | jwijenbergh | |
| 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 | |||
| 2022-10-13 | Format: Run gofumpt | jwijenbergh | |
| 2022-09-26 | HTTP: Add the body to status error | jwijenbergh | |
| 2022-09-26 | Refactor: Errors into custom export types and expose types | jwijenbergh | |
| 2022-09-20 | Module: Move to eduvpn/eduvpn-common | jwijenbergh | |
| 2022-09-19 | API + HTTP: Set the /disconnect timeout to 1 second | jwijenbergh | |
| 2022-08-23 | Formatting: Run golines | jwijenbergh | |
| 2022-08-19 | HTTP: Set a default timeout of 5 seconds | jwijenbergh | |
| 2022-06-20 | Refactor: Errors to have one custom type that is to be wrapped | jwijenbergh | |
| - For this an `internal/types` package is created with a custom error type - This custom error type can give back the cause and traceback of an error | |||
| 2022-09-20 | Server: Implement function for checking renewal button visibility | jwijenbergh | |
