Commit Graph

17 Commits

Author SHA1 Message Date
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
Henry fec92d428c change name to go-ssb-room
It has been brought to my attention that "gossb" reads like "gossip..?"
to the untrained eye. That's just confusing.

Also the project hosts a single room so the plural was just wrong.
2021-02-09 17:38:51 +01:00
Henry 0a44d19b4b add missing license headers 2021-02-09 12:53:33 +01:00
Henry e9013a0c6b change import path
this is part of the NGI work and should be clearly indicated as such
2021-02-04 16:54:30 +01:00
Henry f31de7faa1 use newer muxrpc with Handled() 2021-02-02 17:45:17 +01:00
Henry 8280604209 rename handler package
was tunnel but we might have client too ad some point, so let's make it
tunnel/server
2021-02-01 16:45:30 +01:00
Henry f0e6c67fe1 skip comments in authroized_keys 2021-01-29 12:06:19 +01:00
Henry bc6bde116c endpoints: register before updating state
this way, the new person also get's the current and new state
immediatly.
2021-01-29 11:58:37 +01:00
Henry 0b415dfa4a take asking for endpoints also as announce 2021-01-28 15:06:24 +01:00
Henry 84c36d1f71 add tunnel.connect 2021-01-28 10:55:05 +01:00
Henry 085aad6366 more js<>js test fiddling 2021-01-27 13:44:17 +01:00
Henry b50f052e66 update muxrpc v2 branch 2021-01-27 11:38:45 +01:00
Henry f4a0a48c97 js compat
bring schema of announce/leave and endpoints contents on par with JS
implementation.

annonce() and leave() somhow just return false

endpoints is just arrays of endpoints - I _guess_ the consuming client
has to keep track of who left and joined?!
2021-01-27 11:05:06 +01:00
Henry be5f248c93 imports cleanup 2021-01-27 10:01:35 +01:00
Henry 29688bc328 begin nodejs testing 2021-01-26 18:33:29 +01:00
Henry f8ed24b665 start tunnel muxrpc handler 2021-01-25 18:31:09 +01:00
Henry f4dc1b1f42 first simple test 2021-01-25 16:35:22 +01:00