feature: try to get chat to actually work

This commit is contained in:
Andy Burke 2025-07-11 18:33:32 -07:00
parent 51acbef35f
commit 013e30264f
13 changed files with 1203 additions and 631 deletions

View file

@ -14,9 +14,11 @@ feature discussions.
- [X] refactor login/sessions/totp
- [X] chat rooms
- [X] chat messages
- [ ] clean up after initial implementation
- [X] split the monolithic talk.html up
- [ ] chat message processing
- [ ] auto-link urls
- [ ] use this regex?: `(?:(?<protocol>[a-zA-Z]+):\/\/)?(?:(?<auth>(?<username>\S.+)\:(?<password>.+))\@)?(?<host>(?<hostname>[-a-zA-Z0-9\.]{2,256}\.(?<tld>[-a-zA-Z0-9]{2,256}))(?:\:(?<port>[0-9]{1,6}))?)\b(?<path>[-a-zA-Z0-9@:%_{}\[\]<>\(\)\+.~#&//=]*)(?:\?(?<query>[a-zA-Z0-9!$%&<>()*+,-\.\/\:\;\=\?\@_~]+))?(?:#(?<hash>[a-zA-Z0-9!$&'()*+,-\.\/\:\;\=\?\@_~]+))?`
- [X] auto-link urls
- [X] use this regex: `(?:(?<protocol>[a-zA-Z]+):\/\/)?(?:(?<auth>(?<username>\S.+)\:(?<password>.+))\@)?(?<host>(?:(?<hostname>[-a-zA-Z0-9\.]+)\.)?(?<domain>[-a-zA-Z0-9]+?\.(?<tld>[-a-zA-Z0-9]{2,64}))(?:\:(?<port>[0-9]{1,6}))?)\b(?<path>[-a-zA-Z0-9@:%_{}\[\]<>\(\)\+.~&\/="]*)(?:\?(?<query>[a-zA-Z0-9!$%&<>()*+,-\.\/\:\;\=\?\@_~"]+))?(?:#(?<hash>[a-zA-Z0-9!$&'()*+,-\.\/\:\;\=\?\@_~"]*?))?`
- [ ] preview cards for links
- [ ] embedded video for
- [ ] youtube
@ -26,13 +28,13 @@ feature discussions.
- [ ] tidal
- [ ] spotify
- [ ] youtube (any way to differentiate for yt music?)
- [ ] punycode urls before url extraction? (see: https://stackoverflow.com/a/26618995)
- [X] punycode urls before url extraction? (see: https://stackoverflow.com/a/26618995)
- [ ] gif support
- [ ] start/stop gif control
- [ ] hide control
- [ ] inline image support
- [ ] hide control
- [ ] try to select immediate sibling messages from the same user and hide mulitple avatars
- [X] try to select immediate sibling messages from the same user and hide mulitple avatars
- [X] user profile page
- [X] logout button
- [ ] profile editing
@ -54,6 +56,8 @@ feature discussions.
- [X] smart forms
- [X] use the api for forms so requests will be authenticated
- [X] support multiple methods
- [X] add `on_parsed` to allow injecting additional data
- [X] refine `on_response`/`on_reply`
- [ ] media uploads
- [ ] local upload support (keep it simple for small instances)
- [ ] S3 support (then self-host with your friends: https://garagehq.deuxfleurs.fr/)