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 9ee8c47ee8 add package level documentation for internal/broadcasts 2021-05-18 15:20:36 +02:00
Henry 939e7c1aaa
Apply suggestions from code review
Co-authored-by: Alexander Cobleigh <cblgh@cblgh.org>
2021-05-18 15:20:18 +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 4ecee3739e internal/broadcasts: fix test fluke
I'm not 100% sure how this ever passed so often. range over a map is
guaranteed to be random per the language spec. Not sure if this is
different for pointers but I'd be supprised.

Well, now this is testing the right things directly at least and doesn't
depend on the order of the output.
2021-02-15 15:26:50 +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 45c1919577 fix internal tests 2021-01-27 11:46:22 +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