Commits
- Commit:
3d47cf24d3904a030cbeda5626e42c2d2db4dfa9
- From:
- Omar Polo <op@omarpolo.com>
- Date:
amused-web: typo in error message
- Commit:
6e0ebd7a52469843f92110c6b88dd1206f02848b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
amused-web: log the port during startup
- Commit:
2216d3fb02772c0d13430959e9545ce4749bd4ce
- From:
- Omar Polo <op@omarpolo.com>
- Date:
amused-web: parse POST data in bufio' rbuf
Add a proper upper limit (4096 seems enough for now) and safely
NUL-terminate the rbuf.
The idea is to later drop the clt->buf static buffer and allocate it on
demand only when we need to do (http) chunking.
- Commit:
2fbdef5f8f1cdbf19ffa1f58316b3987488cbb71
- From:
- Omar Polo <op@omarpolo.com>
- Date:
drop useless logging
- Commit:
ed3946c3ac02b5534722db2df1a248c4ed7e2035
- From:
- Omar Polo <op@omarpolo.com>
- Date:
amused-web: alert when the websocket gets closed
- Commit:
0e016c894811904c39241c7e0bd3c61d6262d72d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
amused-web: make the filtering work
Generate the HTML for the filter input in js (it's useless to have
it there otherwise) and actually filter the entries. It's a basic
case insensitive match, but it's a start. To do so, add dispatch
event type X: to mark the end of the playlist so js can replay the
filtering.
- Commit:
6d77726763cac967c5a9e8b5d629dee58c330306
- From:
- Omar Polo <op@omarpolo.com>
- Date:
amused-web: client_ev: handle client error case too
- Commit:
9ae51b1f41d2c065ee81c81e6f58611ac9ca042e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
amused-web: drop -t
- Commit:
03069bc39f4344ac6b078736bc1a1a40d8aa8ef3
- From:
- Omar Polo <op@omarpolo.com>
- Date:
amused-web: playlist_swap misuse
- Commit:
b42d807fdc985cb3182193acd8220e9190857ae2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
amused-web: add websocket support; send forms via js if available
This allows amused-web to stay in sync using websockets (much like
existing amused clients watch `amused monitor') and sends the forms
in the background to avoid refreshing the page.
Still missing is reopening the websocket, maybe blocking the UI in
that case and showing the progress.
- Commit:
b9d67604deb91635f67545a801571b0298a44274
- From:
- Omar Polo <op@omarpolo.com>
- Date:
amused-web: don't allocate client struct twice
- Commit:
20dff2d28b240611ed334328b1279305169e5821
- From:
- Omar Polo <op@omarpolo.com>
- Date:
amused-web: centralize the imsg handling
Keep a copy of the playing queue, status etc. to render the UI
without doing imsg in the render path.
- Commit:
cc9322000f27bc7c123dc5b50663a1dbd8ba1df6
- From:
- Omar Polo <op@omarpolo.com>
- Date:
amused-web: split out css and js to their own routes
In the future we could apply some caching to these.
- Commit:
3634fa709eb3bd3cacb762306ef62ff9698441b3
- From:
- Omar Polo <op@omarpolo.com>
- Date:
amused-web: rework client handling on top of bufio / ev
- Commit:
077802c1fe99fb1d8fc34e7ca980e9b97991c763
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fmt