Commit Graph

36 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 580830be76 went a bit too far with search+replace 2021-05-31 14:53:53 +02:00
Henry 4d3610e2fb prepare v2 release 2021-05-31 14:51:05 +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 f42200638f update ssb-room-client to 0.13.0 2021-04-26 15:55:43 +02:00
Henry 9b9db80406 dont use pull.drain without done cb in test code
and change timeouts slightly
2021-04-26 12:21:00 +02:00
Henry 97dc3c2df5 Add a test where clients are disconnected forcefully
updates #190
2021-04-26 12:09:48 +02:00
cblgh e941e10f24 bump ssb-room-client & package-lock 2021-04-20 09:12:15 +02:00
Henry 52ec94e878 fix link generation for alias registration
fixes #160
2021-04-19 15:00:35 +02:00
cblgh 7ea79b3e33 test invite consumption being denied 2021-04-07 13:01:28 +02:00
cblgh 5e4b48c1b8 update test util to match new mksrv signature 2021-04-07 12:58:03 +02:00
cblgh 1b366dcf9f wip fix tests after new roomdb.RoomConfig interface added 2021-04-06 17:21:41 +02:00
Henry 377f3512a2 remove member nickname and alias suggestion
insert-user: remove nickname
2021-03-29 15:53:33 +02:00
Henry 4325e0fb3d various fixes
* fill in sid and sc
* fix logout
* cascade member removal
* fix links
* trim suffix from signature
* fix /sse/login link
* fix sse links and filenames
* fix logout
* fix typos
* fix test compilation
* fix bridge test
* correct alias url test
* add some comments
* fix potentiall "can't send" deadlock on bridge

some documentation and license headers
2021-03-26 13:45:17 +01:00
Henry abaff98f77 move aliases signing to internal 2021-03-23 17:13:06 +01:00
Henry 0065312db1 change muxrpc room.registerAlias to return the resolve URL 2021-03-23 16:50:25 +01:00
Henry 6e6a8e4910 Update muxrpc/test/nodejs/testscripts/modern_aliases.js
Co-authored-by: André Staltz <andre@staltz.com>
2021-03-23 11:26:33 +01:00
Andre Staltz 8a788f6ee6 update ssb-room-client and other deps 2021-03-23 11:26:33 +01:00
Henry 9bedf5d4f7 add JS test for alias register and revoke 2021-03-23 11:26:33 +01:00
cblgh 585554b456 continue refactoring, jiggle timings a bit 2021-03-23 08:19:01 +01:00
cblgh f15a5b2f11 refactor opening tunnel test, cleanup test comments 2021-03-23 08:19:01 +01:00
cblgh 5b8b1af96a wip refactor nodejs muxrpc opening tunnel test 2021-03-23 08:19:01 +01:00
cblgh 26e9787c3a clean up basic client test, refactor common logic 2021-03-23 08:19:01 +01:00
cblgh 713de8f489 rename to roomrpc, fix tunneled typo 2021-03-23 08:19:01 +01:00
cblgh ee61749918 add tap-spec for better output 2021-03-23 08:18:57 +01:00
Henry 3cea539128 overhauling a bunch of stuff 2021-03-23 08:14:49 +01:00
Henry 4ccb342bff pass tape assertion helper to testscripts 2021-03-23 08:12:10 +01:00
Henry 48d7e92667 shorten sleeps and return errors for node processes properly
TODO: make sure that nodejs processes stops properly

@staltz shared a nice page to debug this better:
https://devdocs.io/node~8_lts/process#process_event_uncaughtexception
2021-03-23 08:12:10 +01:00
Henry ca0835bb34 dedupe writeRoomHandle code 2021-03-23 08:12:09 +01:00
Henry fc7bd1aad5 add modern versions 2021-03-23 08:11:42 +01:00
Henry 82cf618279 update filenames and comments 2021-03-23 08:11:41 +01:00
Henry c4732c1c4d muxrpc/test/js: allow testscripts to require plugins 2021-03-23 08:10:44 +01:00
Henry 8f4c60e710 muxrpc changes 2021-03-22 13:02:39 +01:00
Henry 033efe5145 muxrcp: alias.register
* re-work muxrpc handler registration
* update muxrpc tests
2021-03-16 08:49:18 +01:00
Henry 23c7e02c45 rename muxrpc packages 2021-03-10 16:57:49 +01:00