| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2024-02-23 | Types Server: Fix Proxy peer doc | jwijenbergh | |
| 2024-02-19 | WireGuard: Latest proxyguard server API changes | jwijenbergh | |
| wireguard+proxy profile and ProxyEndpoint instead of TCPEndpoint as proxyguard now uses HTTP for the initial packet | |||
| 2024-02-19 | All: Document everything to pass revive lint | jwijenbergh | |
| 2024-02-19 | Types Server: Format | jwijenbergh | |
| 2024-02-19 | Types server: Document proxy arguments | jwijenbergh | |
| 2024-02-19 | Format: Run gofumpt | jwijenbergh | |
| 2024-02-19 | API + Server: Support vpn_proto_transport_list | jwijenbergh | |
| 2024-02-19 | WireGuard: TCP support using proxyguard | jwijenbergh | |
| 2024-02-19 | Types Server: Explain when the profile map can be empty | jwijenbergh | |
| 2024-02-19 | Types Server: omitempty for support contacts and locations | jwijenbergh | |
| 2024-02-19 | Configuration: Expose dns_search_domains | jwijenbergh | |
| 2024-02-19 | Server Tokens: Rename `expires_in` to `expires_at` | jwijenbergh | |
| expires_in was confusing | |||
| 2024-02-19 | Types Server: Remove protocols from profile | jwijenbergh | |
| 2024-02-19 | Cookie + Exports: Store and return the cookie from the underlying context | jwijenbergh | |
| This has the ability so that we can easily get the same cookie back in the client package by creating the one from the context | |||
| 2024-02-19 | All: Prepare to get rid of go-errors/errors lib | jwijenbergh | |
| 2023-09-25 | Initial i18n implementation | jwijenbergh | |
| 2023-09-25 | Client + Types: Expose support contact | jwijenbergh | |
| 2023-09-25 | Types Discovery: Omitempty for some types that are not always there | jwijenbergh | |
| This makes sure that instead of "authentication_url_template": "" we get not even an "authentication_url_template" key This matches the upstream discovery format more 1:1 | |||
| 2023-09-25 | Server: Support unmarshalling server as a string | jwijenbergh | |
| This is for V1 configs | |||
| 2023-09-25 | All: Implement a token handler | jwijenbergh | |
| This implements a token handler for OAuth tokens. Clients can use the SetTokenHandler function in exports to set a token handler. It needs two arguments, a getter and a setter. The getter is a callback with three arguments: - The server to get the tokens for, in types.server.current as JSON - The output buffer - The output buffer maximum length The tokens should be written to the output buffer with maximum length. The type should be types.server.Tokens and be marshalled as JSON. If no tokens are available, leave the output buffer intact The token setter is a callback with two arguments: - The server for which to set the tokens for, in types.server.Current as JSON - The tokens, defined in types.server.Tokens as JSON Breaking changes: - No more tokens as arguments, was already deprecated in previous commits - Tokens are no longer returned in types.server.Configuration | |||
| 2023-09-25 | Types Server: Implement required ask transition needed for client | jwijenbergh | |
| 2023-09-25 | Types: Add a new cookie type | jwijenbergh | |
| Used as a specialized context in state callbacks and for cancellation | |||
| 2023-09-25 | Types Server: Pass locations to secure internet | jwijenbergh | |
| 2023-09-25 | Exports + Client: Refactor registering a client | jwijenbergh | |
| - Make sure the global exports state is only set on successful creating - Only call discovery when adding a server to ensure we get the most up to date args. Creating a client should have no network calls. Fixes #12 - Split creating a client in New and Register in the GO api | |||
| 2023-09-25 | Docs + Types server: Add comments about script-security | jwijenbergh | |
| 2023-09-25 | Types: Add comments describing the fields, types, packages and functions | jwijenbergh | |
| 2023-09-25 | Types Server: Remove identifier from profile | jwijenbergh | |
| It is already contained in the profiles map as the key | |||
| 2023-09-25 | Types: Split server into subpackage | jwijenbergh | |
| 2023-09-25 | Types: Split discovery into its own package | jwijenbergh | |
| 2023-09-25 | Format: Run gofumpt | jwijenbergh | |
| 2023-09-25 | Types: Split protocol into its own | jwijenbergh | |
| 2023-09-25 | Types: Move public types to one file | jwijenbergh | |
| 2022-12-12 | simplify error handling | Aleksandar Pesic | |
| fixes #6 Signed-off-by: Aleksandar Pesic <peske.nis@gmail.com> | |||
| 2022-11-28 | Lint: Use gocritic linter and fix errors returned by it | 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-24 | Style: Use stylecheck and fix errors | 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-19 | Discovery + Server: Remove unused 'Raw' strings | jwijenbergh | |
| 2022-09-27 | Log: Add 'inherit' that sets the error level as the log level | jwijenbergh | |
| 2022-09-26 | Refactor: Errors into custom export types and expose types | jwijenbergh | |
