Commit Graph

15 Commits

Author SHA1 Message Date
decentral1se 00a1452cfc
Migrate to ssbc urls (#336)
* fix: ssbc urls

Closes https://github.com/ssbc/go-ssb-room/issues/332

* fix: go-ssb-refs API changes

* test: go-ssb-refs API changes

Co-authored-by: decentral1se <cellarspoon@riseup.net>
Co-authored-by: André Staltz <andre@staltz.com>
2022-11-07 11:18:13 +02:00
Henry a249fd8bee fix SPDX headers and add reuse API badge 2021-10-08 14:39:31 +02:00
Henry 4d3610e2fb prepare v2 release 2021-05-31 14:51:05 +02:00
Henry f01c420e1f move I/O out of lock contention code
updates #210

I'm not sure why a write/muxrpc send would block for a long time but to
make this less of a problem (and block other registrations) the sending
of updates is moved to after the maps have been updated and the locks
have been freed again.
2021-05-31 07:49:58 +02:00
Henry 3e53570638 dependency updates
* use LICENSEd version of nocomment
* use forked kitlog
* cleanup of various dependencies
2021-05-25 12:40:00 +02:00
Henry e7c20bcd5d add room.attendants implementation
updates #89
2021-05-17 16:06:09 +02:00
Henry 89d3881258 add slicker attendants broadcaster 2021-05-17 15:40:47 +02:00
Henry ec4edcccbc rename broadcast types 2021-05-17 15:40:33 +02:00
Henry e6ca0ed74b remove unused argument 2021-04-23 08:56:01 +02:00
Henry 8811127eae disable debugging logger 2021-04-23 08:56:01 +02:00
Henry a965333f90 add assertions to the new test 2021-04-20 18:17:56 +02:00
Henry 940cd2b3d1 Fix ssb-ws connections
The landing path (/) can now also be used as a websocket endpoint.
This enables use of the room server with ssb-browser-demo and similar
applications that can't use TCP connections.

also pin WIP muxrpc branch (fix-stupid-timeout)
2021-04-20 18:10:26 +02:00
Henry 1b6077e49d sort memberList
for better dedup
2021-04-20 17:15:21 +02:00
Henry 7fa52a6e2d various fixes
* fix nav link
* fix roomstate lock and ticker
* fix copy pasta typos

web/handlers: stop using /testing/base in news

This was a brainfart. The idea for a more minimal base template came
from another project with different frontend code.

This stopped us from seeing tempalting errors in the nav area.

Might want to scratch these tests alltogether and just have one place
with all the http tests.
2021-02-11 15:31:45 +01:00
Henry beea19f93e seperate room state from muxrpc handler
There is a new roomstate package now with a Manager which is shared between muxrpc and the http
handler(s).

Also adds a list of peers in the room to admin dashboard.
2021-02-11 15:30:51 +01:00