summaryrefslogtreecommitdiff
path: root/internal
AgeCommit message (Collapse)Author
2023-01-31Server: Add script-security 0 to the OpenVPN configjwijenbergh
This prevents scripts from being executed by default. Clients can override this by either using the OpenVPN --script-security flag or add a script-security setting themselves.
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-31Util Test: test for HTTPS rewritejwijenbergh
2023-01-31Discovery: Setup a local HTTPS serverjwijenbergh
2023-01-31HTTP + Util: Always set the scheme to HTTPSjwijenbergh
2023-01-13Server API: Set a lower timeout for disconnectjwijenbergh
2023-01-13HTTP: Make the timeout configurable per request using a contextjwijenbergh
2023-01-12HTTP: Set default timeout to 10 secondsjwijenbergh
2023-01-12Failover: Return early by waiting for a single pongjwijenbergh
2023-01-12OAuth: Properly cache the Client IDjwijenbergh
2023-01-10Client + Discovery: Implement further organizations expiryjwijenbergh
2023-01-06Refactor: Re-use a HTTP clientjwijenbergh
2023-01-05Logger: Do not interpret error string as format specifier argumentjwijenbergh
2023-01-05HTTP: Set max read limit to 16MBjwijenbergh
2023-01-04OAuth: Add auth url testjwijenbergh
2023-01-04OAuth Test: Include tests for state, challenger and tokensjwijenbergh
2023-01-03Format: Run gofumptjwijenbergh
2023-01-03Discovery Test: Add more utility function testsjwijenbergh
2023-01-03Discovery: Remove server type from getting by country codejwijenbergh
It's always secure internet, no need to pass it as an argument
2023-01-02Discovery: Omit type info for global disco URLjwijenbergh
2023-01-02Discovery Test: Ignore linter for serve errorjwijenbergh
2023-01-02Discovery: Add simple tests with a file serverjwijenbergh
2023-01-02Discovery: Allow overriding Disco URLjwijenbergh
2022-12-21Failover: Pass logger and add debug statementsjwijenbergh
2022-12-21Client + Exports: Forward tokens for /disconnectjwijenbergh
2022-12-21Exports + OAuth + Server: Forward tokens to getting a configjwijenbergh
2022-12-21Failover: Initial implementationjwijenbergh
2022-12-21Server: Implement forcing WireGuard selection through envjwijenbergh
2022-12-21FSM: Do not exec mmdc for mermaidjwijenbergh
2022-12-21OAuth: Do not export ExchangeSessionjwijenbergh
2022-12-21OAuth: Use a mutex to protect the token structurejwijenbergh
2022-12-15OAuth: Ignore liniting error when closing serverjwijenbergh
2022-12-15OAuth: Use a channel to communicate handler errorsjwijenbergh
2022-12-14Log: Change Inherit to take format argumentsjwijenbergh
2022-12-14Verify: Use 'os' for reading a file instead of 'ioutil'jwijenbergh
2022-12-14Server: Fix revive lint errorjwijenbergh
``` internal/server/servers.go:51:9: indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive) } else { return srv, nil } ```
2022-12-12FSM: Remove HasTransition functionjwijenbergh
2022-12-12Format: Run gofumptjwijenbergh
2022-12-12FSM: Include state name in error messagejwijenbergh
2022-12-12Server + Exports: Rename and simplify GetCurrentProfileIndexjwijenbergh
2022-12-12Util: Minor style changesjwijenbergh
2022-12-12Server: Minor style changesjwijenbergh
2022-12-12OAuth: Minor style changesjwijenbergh
2022-12-12Log: Simplify GetErrorLeveljwijenbergh
2022-12-12Discovery: Minor style changes with variable namesjwijenbergh
2022-12-12simplify error handlingAleksandar Pesic
fixes #6 Signed-off-by: Aleksandar Pesic <peske.nis@gmail.com>
2022-12-08OAuth: Comment fixesjwijenbergh
Minor changes from PR #9 Co-authored-by: fkooman <fkooman@tuxed.net>
2022-11-28Server: Split more into multiple implementation filesjwijenbergh
2022-11-28Lint: Use gocritic linter and fix errors returned by itjwijenbergh
2022-11-28Linter: Fix dupword errorsjwijenbergh