Hack call: 14:00 UTC
- Remote backup using SSH key authentication (James)
- See screenshots in merge request for changes to form:
https://salsa.debian.org/freedombox-team/freedombox/-/merge_requests/2728
- Info: paramiko is a Python module for SSH.
- We also have an SSH app, and may use SSH auth in Gitweb. May be able to consolidate the code.
- Configure SSH remote connection first, then configure the remote backup location?
- Gitweb is incoming SSH connection.
- If the known_hosts file gets out of sync, need to fix it manually.
- When there is an issue with a remote, Backups removes the remote and it needs to be added again. This can be confusing.
- Using HTMX to avoid full page reloads (njoseph)
https://salsa.debian.org/freedombox-team/freedombox/-/merge_requests/2734
- HTMX package is available in Debian including stable.
- There is also a Python library, but not using it currently.
- Used in multiple places where we had full page reloads.
- HTMX fetches the full page in the background and surgically inserts the parts into the current page.
- More can be done to eliminate all page refreshes.
- If Javascript is disabled, then there is no refresh, it needs to be done manually.
- Should we allow users to disable Javascript? A lot of things may not work, e.g. Bootstrap dropdown menus.
- We are compatible with GNU LibreJS plugin.
- Javascript from same source works in default Tor browser. Need to test if HTMX works.
- Loader animations look much better. Can bring back installation loader. Also for file uploads.
- Can make it look like a single-page app, but lightweight (17 kB).
- Will need to break apart templates into smaller parts. Can reduce polling time from current 3 seconds.
HTMX has a WebSockets extension, but just using polling for now.
- Eliminate trivial forms with single field or button. Swap in div, or show confirmation dialog with HTMX. Get rid of submit buttons where possible.
- In some cases, user may want to double-check their inputs before they are submitted.
- HTMX is not component-based. Uses HTML snippets, which can be Django templates.
- Backups feature to show download sizes for backup archives.
- Currently shown when hovering over Download button. Need to think of a better design.
- With HTMX, can do it on-demand for single archive when needed. Rather than fetching for all archives.
- Size is from "borg info" command, it is not very accurate, even for compressed size.
Browser does not know the size of the file it is downloading. Due to streaming the file rather than generating the whole file on the FreedomBox.
- Wireguard issue
https://salsa.debian.org/freedombox-team/freedombox/-/merge_requests/2732
- When unselecting ?, stays selected.
- Chicken-and-egg problem: Client needs information from server, and server needs information from client.
- Merge request to add Start Server button.
- Later will change to add IP address.
- BIND feature
- Use DNS-over-TLS with forwarders.
Currently only supported for FreedomBox outgoing connections, but need it for BIND forwarder also.
- Feedback on Onboarding process/documentation
- Not clear where to say hello, introduce oneself, or mention that will be working on an issue.
- Discussion forum, mailing list or the Hack Call.
- Not clear where to say hello, introduce oneself, or mention that will be working on an issue.
