summaryrefslogtreecommitdiff
path: root/internal
AgeCommit message (Collapse)Author
2024-05-24Format: Run Blackjwijenbergh
2024-05-24API + Client: Fix linting errorsjwijenbergh
2023-12-08Version: Update to 1.2.01.2.0jwijenbergh
2023-12-08API: Only check if scheme is httpsjwijenbergh
2023-12-08OAuth: Remove ISS checkjwijenbergh
Too many issues with upstream servers. Needs disco v3 changes
2023-12-08Client + Server: Base the renew button 30 min window on OAuth startjwijenbergh
2023-12-08Server: remove old, no longer relevant commentjwijenbergh
2023-10-30Server Renew Button: Log warning when error and set default case to truejwijenbergh
2023-10-25Version: Update to 1.1.99.01.1.99.0jwijenbergh
2023-10-25Format: Run Gofumptjwijenbergh
2023-10-23All: Make it easier to update the versionjwijenbergh
2023-10-11Exports + Server + Python: Expose dns_search_domainsjwijenbergh
See: https://git.sr.ht/~fkooman/vpn-user-portal/commit/f22c736c28fafec19f44f0b70d2b372be93b0f8b Needed for Linux client
2023-09-01Version: Update to 1.1.21.1.2jwijenbergh
2023-09-01Client + Server: Increase endpoint update frequency and update secure ↵jwijenbergh
internet handling
2023-08-29Version: Update to 1.1.11.1.1jwijenbergh
2023-08-29Server: Set OAuth endpoints on refreshjwijenbergh
This fixes OAuth endpoints after e.g. an update from 2.x to 3.x
2023-04-18Version: Update to 1.1.01.1.0jwijenbergh
2023-04-18Client + Server: Set default secure internet locationjwijenbergh
2023-04-18OAuth Token: Set previous refresh token if new refresh token is emptyjwijenbergh
This is for 2.x servers that return an empty refresh token after refreshing
2023-04-18Verify Test: Use callStr on errorjwijenbergh
2023-04-18Server Custom: Fix invalid wrap erorrjwijenbergh
2023-04-18Client + Server: Implement a token updater callbackjwijenbergh
2023-03-01Version: Update to 1.0.0jwijenbergh
2023-03-01Version: Downgrade to 0.99.0jwijenbergh
2023-03-01Format: Run black and gofumptjwijenbergh
2023-03-01Client + Exports + HTTP: Set a user-agent using the client's versionjwijenbergh
2023-02-28API + OAuth: Add some debug logging for tokensjwijenbergh
2023-02-28Refactor: Remove error leveljwijenbergh
Not useful enought just yet
2023-02-28Config: Rename ConfigFormat to Formatjwijenbergh
2023-02-28Discovery: Update tests to use the right membersjwijenbergh
2023-02-28Config: Add a version fieldjwijenbergh
2023-02-28Log: Use a global logger instancejwijenbergh
2023-02-28Discovery: Cache within JSON as welljwijenbergh
2023-02-27Discovery: Fix embedding preamblejwijenbergh
2023-02-27Profile Test: formatjwijenbergh
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-27OAuth: Use a sync.Once to only handle the request oncejwijenbergh
This prevents someone from spamming the local redirect URI and sending additional outgoing token requests to the legitimate server
2023-02-17HTTP: Fix test for joining path by removing trailing slashjwijenbergh
2023-02-17HTTP: Only add trailing slash for ensuring valid URLjwijenbergh
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