We routinely ask users to upload their logs when asking for support in the help forum, so we want to make it easy for them to remove sensitive data from their logs like usernames or keystrokes.
Reviewed a Github Action to auto-merge changes from TinyPilot Community -> TinyPilot Pro
This used to be a tedious, manual job that fell to me
Now, we have it set up
Worked on design document for overhaul of TinyPilot’s update/install system
The gorilla/handlers framework adds a ProxyHeaders handler that will update the properties of a proxied request to make it look like a regular request.
I needed this handler for What Got Done logging because otherwise, the logs show all the requests as coming from fly.io’s edge proxy server
It turns out that ProxyHeaders populates the URL with a weird value, and that causes gorilla’s other library to reject it as a potential CSRF attack.
Previously, the server just returned HTTP 200 for everything and let the frontend show a “not found” message on missing routes, but it’s better to return proper 404 for definitely non-existent routes.
The export functionality exported to JSON, so I used my test data injector script to populate a new SQLite database that matched the data I exported from Firestore