| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2024-02-19 | Server: Refactor internal server package to use new state file | jwijenbergh | |
| This completely rewrites the internal server package. Some advantages: - Caches less - Uses a callback interface so that the client package does not get so convoluted - Introduce a new API package that only deals with the server API and uses github.com/jwijenbergh/eduoauth-go | |||
| 2024-02-19 | Config: New state file | jwijenbergh | |
| Caches less. Also convert the V1 state file | |||
| 2024-02-19 | Server: Delete old files to prepare for new internal API | jwijenbergh | |
| 2024-02-19 | Util + OAuth: Delete internal OAuth implementation | jwijenbergh | |
| Preparing to move to github.com/jwijenbergh/eduoauth-go | |||
| 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 | |
| 2024-02-19 | Test: Add an AssertError helper | jwijenbergh | |
| 2024-02-19 | Version: Initial package | jwijenbergh | |
| 2023-11-01 | OAuth + Server: Make ISS optional for custom servers | jwijenbergh | |
| 2023-09-29 | OAuth: Check for error parameter in authorization response | jwijenbergh | |
| 2023-09-29 | OAuth Test: Fix redirect URI + listener changes | jwijenbergh | |
| 2023-09-29 | OAuth: Correctly pass Redirect URI to token request | jwijenbergh | |
| 2023-09-29 | Client + Server + OAuth: Support mobile redirects | jwijenbergh | |
| 2023-09-25 | Server: Have separate implementations for refreshing endpoints | jwijenbergh | |
| 2023-09-25 | Server: Set OAuth endpoints on refresh | jwijenbergh | |
| This fixes OAuth endpoints after e.g. an update from 2.x to 3.x | |||
| 2023-09-25 | Client + Exports + Python: Add a startup boolean to getconfig | jwijenbergh | |
| To be used for autoconnect on startup. If autoconnect on startup set to true This ignores any callbacks that require user input (profile, authorization & location callbacks) | |||
| 2023-09-25 | Initial i18n implementation | jwijenbergh | |
| 2023-09-25 | FSM: Allow to always go back to the initial state | jwijenbergh | |
| 2023-09-25 | Client + FSM: Check transitions and add SetState | jwijenbergh | |
| Also make sure GotConfig can be used to go back to | |||
| 2023-09-25 | Discovery: Ignore embeded discovery files | Simon Rozman | |
| They are not part of the Git repository and are downloaded in the build process. Signed-off-by: Simon Rozman <simon@rozman.si> | |||
| 2023-09-25 | Client + OAuth + Server: Initialize the OAuth clientID on add | jwijenbergh | |
| 2023-09-25 | OAuth: Always set the scheme to HTTPS for the authorization URL | jwijenbergh | |
| Useful if the cache is busted | |||
| 2023-09-25 | API Test: Add test for invalid authorization endpoint scheme | jwijenbergh | |
| 2023-09-25 | Endpoints: Double check HTTPS scheme | jwijenbergh | |
| Now the note in the CLI is really not needed, but maybe wise to keep it there? | |||
| 2023-09-25 | Version: Update to 2.0.0 | jwijenbergh | |
| 2023-09-25 | Secure: Do not set current location as it is already done | jwijenbergh | |
| 2023-09-25 | Verify Test: Use callStr on error | jwijenbergh | |
| 2023-09-25 | OAuth Token: Set previous refresh token if new refresh token is empty | jwijenbergh | |
| This is for 2.x servers that return an empty refresh token after refreshing | |||
| 2023-09-25 | Custom: Use the hostname for custom servers display name | jwijenbergh | |
| 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 | OAuth: Implement the Public() method for tokens | jwijenbergh | |
| 2023-09-25 | Refactor: Split internal server into multiple packages | jwijenbergh | |
| - Pass contexts - Have separate packages for e.g. custom, institute and secure - internet servers, profiles.... - Return types from the public ./types package with a Public() method | |||
| 2023-09-25 | HTTP: Pass context around and optionally trail path in url | jwijenbergh | |
| 2023-09-25 | OAuth: Pass a context around | jwijenbergh | |
| 2023-09-25 | Failover: Pass a context around | jwijenbergh | |
| 2023-09-25 | Format: Run gofumpt (Go) + black (py) | jwijenbergh | |
| 2023-09-25 | Discovery: Pass a context around | jwijenbergh | |
| 2023-09-25 | Fix connection monitoring on Windows | Simon Rozman | |
| Linux requires su for `ip4:icmp` pings. Windows does not support `udp4` pings. Signed-off-by: Simon Rozman <simon@rozman.si> | |||
| 2023-09-25 | FSM: Add more context to required transition error | jwijenbergh | |
| 2023-09-25 | Revert "FSM: Set handled to true for now" | jwijenbergh | |
| This reverts commit 2b1bb611b7c83d8e8e5eadfed7c717d16e61d81b. | |||
| 2023-09-25 | Exports + Python + Server: Remove ShouldRenewButton | jwijenbergh | |
| This is replace with expiry times | |||
| 2023-09-25 | Tests: Pass for V2 API | jwijenbergh | |
| 2023-09-25 | Types: Split discovery into its own package | jwijenbergh | |
| 2023-09-25 | Server: Add a TODO note for custom server types | jwijenbergh | |
| 2023-09-25 | Util: Get rid of language matching | jwijenbergh | |
| 2023-09-25 | Institute Access: Add context to set errors | jwijenbergh | |
| 2023-09-25 | Server Base: Add functions for getting expiry times | jwijenbergh | |
| 2023-09-25 | FSM: Set handled to true for now | jwijenbergh | |
| 2023-09-25 | FSM: Add state name to transition error | jwijenbergh | |
