summaryrefslogtreecommitdiff
path: root/internal
AgeCommit message (Collapse)Author
2023-02-17Refactor: Improve some errors by using errors.New and add contextjwijenbergh
2023-02-16Server: Add test for profilesjwijenbergh
2023-02-16HTTP: Add test for ensuring valid URLjwijenbergh
2023-02-16OAuth: Make ISS requiredjwijenbergh
2023-02-16Format: Run gofumptjwijenbergh
2023-02-16Test: Rename TestServer to Serverjwijenbergh
2023-02-16Server: Validate endpointsjwijenbergh
This commit validates the server endpoints by checking the Host and scheme of each URL to check if they match eachother. This is to prevent further mixup attacks
2023-02-16Test: Implement util package for starting a TLS serverjwijenbergh
2023-02-16HTTP: Implement join URL pathjwijenbergh
2023-02-16HTTP: Incorporate util ensure valid url with clean pathjwijenbergh
2023-02-15Server: Remove 75% requirement on renew buttonjwijenbergh
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