Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/cabal-club/cable-core.js

cable-core is a library powering cable peers in nodejs
https://github.com/cabal-club/cable-core.js

add cable-client link

b2d5d4c4814f0bab47065d0b0be6d4dbd15a2d9c authored about 1 year ago by Alexander Cobleigh <[email protected]>
0.1.0

d48236bdbdc706a398c627059fc3c75eceb71387 authored about 1 year ago by cblgh <[email protected]>
Merge pull request #1 from cabal-club/cable-client-tweaks

Cable client tweaks

aa8fec53c8929339962223657646b688c7dc3b05 authored about 1 year ago by Alexander Cobleigh <[email protected]>
bump cable.js to 0.1.0

7cc3fd508a3eeb9c45d49f56140d107ef4cdb079 authored about 1 year ago by cblgh <[email protected]>
reuse compatibility for new files

25d47d6dad2258271393eb9fcce0da53e6edce27 authored over 1 year ago by cblgh <[email protected]>
use opts.storage when storing data

ec709a4208c124ad76fafa88bce5228c3ada7c50 authored over 1 year ago by cblgh <[email protected]>
use :, not /, to deliminate debug namespaces

to display debug data, use as following:

DEBUG="*" <command> -- show all de...

e0e5df1d2387a5077ad6bb24fe2e92da1266e7a0 authored over 1 year ago by cblgh <[email protected]>
misc tweaks based on cabin.rs interop testing

e5a8470cd391714aa6d592ba72d1b95e78ead5a8 authored over 1 year ago by cblgh <[email protected]>
wip adjustments and refactoring done as part of integration testing with rust node

921a164625ddcce6f7f0b355bb0fdb4e8205083c authored over 1 year ago by cblgh <[email protected]>
enable multiple simultaneous transports

c336cc8cb862e5bccb2be28e3a031c41ec024835 authored over 1 year ago by cblgh <[email protected]>
use opts.keypair, not opts.kp

5074b5619f5a15ac736532a1f5db28453c3f1d1b authored over 1 year ago by cblgh <[email protected]>
refactor for web support: use b4a.toString instead of buf.toString

f241e0bab42171c256e7dc4b74285dffc68b94fc authored over 1 year ago by cblgh <[email protected]>
shuffle around args wrt opts and network transport

e48cf6429381c0d34be8ec0a0559db7a76e54ec1 authored over 1 year ago by cblgh <[email protected]>
rename core.setNick to core.setName

this naming makes it congruous with the post/info key 'name'

a26279a3dd0f130879257e5c05b08e9f403e5373 authored over 1 year ago by cblgh <[email protected]>
fix test, add debugging statements

baa49335eaab6e5efdb5ec13e02370067c07d8a6 authored over 1 year ago by cblgh <[email protected]>
accept level instance, default to MemoryLevel

61f1f1cfce3a30fc584e0e30daea58b7dd5529e5 authored over 1 year ago by cblgh <[email protected]>
minor tweaks wrt causal sorting & clarifying naming conventions

f8f72f9304286860ea7db49b5e43a51e1b77907d authored over 1 year ago by cblgh <[email protected]>
channel-membership view: improve deduplication of channel names

ecf82aa6932513fa7eded26e825770124236f398 authored over 1 year ago by cblgh <[email protected]>
store.js guards against post/delete by unauthorized public key

559253d949b6b4d2d179a937a054bf2e4b6099fd authored over 1 year ago by cblgh <[email protected]>
improve store.js emitted events, make sure channels are deduplicated

50d4a9e76ef8c55a86b0d704d0c2f0e5a4001800 authored over 1 year ago by cblgh <[email protected]>
minor: add delMany, change logging

3e35d1688964bdc26268974f4fffe64b1afb24d8 authored over 1 year ago by cblgh <[email protected]>
refactor events manager, emit events for diff post types

65389cd4be2b46ba5a05fcfbfef0f0d662dea3ca authored over 1 year ago by cblgh <[email protected]>
fix bug in removal of live queries (splice!)

08f0c6ef1459369672508539dc5b52138398c3b7 authored over 1 year ago by cblgh <[email protected]>
update & ensure tests pass after correctly sending concluding post response

1e1dd03a4fd7f695176a9464b357c4b017386d84 authored over 1 year ago by cblgh <[email protected]>
use hex-encoded hashes as keys in data-store

479fc7c52325621b9e9d26c50999a604cd5b08ae authored over 1 year ago by cblgh <[email protected]>
set correct default unlimited limit (-1 for leveldb, not 0)

d182d7e5f130e3194945e35aebf4ac4cdb26c155 authored over 1 year ago by cblgh <[email protected]>
properly send concluding post response with posts=[]

29f5b77115f12d4f49c0d68a31a8d94711846098 authored over 1 year ago by cblgh <[email protected]>
add default transport with no functionality

00204c4bde0048f0948b98d4eec94ae1d7c06883 authored over 1 year ago by cblgh <[email protected]>
reduce unnecessary requests

in this slightly large commit we do a few different but related things.
all these changes are ai...

3d081d229f20788a45b9d3472f6732f9470db6f1 authored over 1 year ago by cblgh <[email protected]>
minor swarm changes for local testing purposes

6bd2d0207fa354d8fb6e402eae97cad8f55cba3d authored over 1 year ago by cblgh <[email protected]>
wip swarming

dc95fa6ad5821d3dfecd5a69f1067dd55282b83e authored over 1 year ago by cblgh <[email protected]>
refactor: add utility method _updateNewestHeads

deduplicated a bit of code by refactoring repetitive statements

6e28aa3f0d017d0e10e43acbe234347edb840929 authored over 1 year ago by cblgh <[email protected]>
resolveHashes tweaks

resolveHashes purpose is for getting json from indexes and buffers and
returning it to users of ...

8bbc7f941ed00ed66f33922306b38d819a5eaf18 authored over 1 year ago by cblgh <[email protected]>
update spec link to main

61b5fe3a70a96761396ce94801d7b13c39f59be3 authored over 1 year ago by cblgh <[email protected]>
remove extraneous log statements

8c2c21fb098b06c99a7b3aa9edc106637b92cda4 authored over 1 year ago by cblgh <[email protected]>
update example code to use published cable-core

e39e266577d4108d17a0cf3803a31ebefbcde7f3 authored over 1 year ago by cblgh <[email protected]>
0.0.2

b10b4e2983bf27ec5ac6b895df2711d5c60a061e authored over 1 year ago by cblgh <[email protected]>
0.0.1

111c9c897ad8c5286b25eccc2f16bd8e47985f1b authored over 1 year ago by cblgh <[email protected]>
zero-out version before publish

8e024f99440778b9fa20e5373c70cbd598eb1a9a authored over 1 year ago by cblgh <[email protected]>
update readme

3251c7044e352c334c808275da12423fc6b9025e authored over 1 year ago by cblgh <[email protected]>
make license usage compatible with reuse tool

044684f84ef9e8610219850a2540e6c1bc609571 authored over 1 year ago by cblgh <[email protected]>
refactor: move all views files into views directory

675a2182c74a30175c960297032622af9bfde13c authored over 1 year ago by cblgh <[email protected]>
refactor: move CableStore to separate file store.js

b3c3dbb26193554a121d72c769a7e91a9e3f6391 authored over 1 year ago by cblgh <[email protected]>
remove old comments

ce153728d5a12a8d5658cb1790aba92018cba128 authored over 1 year ago by cblgh <[email protected]>
update readme with import notice

fa994a7841dc16928de7e12563716fb970b70850 authored over 1 year ago by cblgh <[email protected]>
replace local cable with npm published cable.js

bc14282952df5542a9d3a3890db3d1e90301fa9b authored over 1 year ago by cblgh <[email protected]>
clarify debugging stmt

fa4fd66d7c54c898820ccd50cebc05762f808845 authored over 1 year ago by cblgh <[email protected]>
fix bug with handling bufs: resolve promise

79919af6e21417fa6ae43464f01c543876a5b178 authored over 1 year ago by cblgh <[email protected]>
tighten up deletion checks

implement safeguards at multiple levels so that we check each incoming
post, or hashes to reques...

08da714a875d90f2281bfb1500fcc976a93a16b9 authored over 1 year ago by cblgh <[email protected]>
remove old request sketch

4a7eaf975124232c96948924faf3c5f3ca125fb0 authored over 1 year ago by cblgh <[email protected]>
initial readme

04d5f425964c6cba9145e95362d81d391b1e2d88 authored over 1 year ago by cblgh <[email protected]>
add whitespace

8d6c6e7114b8f9fe8646dba75c5e7985b8e0a1b3 authored over 1 year ago by cblgh <[email protected]>
test reverse + normal links indexing

f0a7359b1fcac20229619c8853339a4820037b01 authored over 1 year ago by cblgh <[email protected]>
additional commenting

440515e80450ab689f498329a57ff2b3ae01c2f8 authored over 1 year ago by cblgh <[email protected]>
test links

this commit adds unit tests for exercising the links functionality. as
part of implementing the ...

e6d97d7a96decf5c941d7424852be63edce61586 authored over 1 year ago by cblgh <[email protected]>
links indexing: fix bugs revealed by test suite

this commit fixes the little inconsistencies that arise when writing
something all in one go wit...

0546b84d0546c85ce6017b77ad4686834de32be6 authored over 1 year ago by cblgh <[email protected]>
continue implementing links

2ca05e175d7ddbef1c875d642f5271f30bde710c authored over 1 year ago by cblgh <[email protected]>
continue links index iteration

a58b67f6dac96eb97163b62231916192d7c05594 authored over 1 year ago by cblgh <[email protected]>
add wip links+reverse links+heads index

c54bdb48ee9ba10573a1de0ed5bc460f6538471a authored over 1 year ago by cblgh <[email protected]>
reword: cablegram -> (message) buf

3213f187d2ab3f06159077b6b11d208bc457a848 authored over 1 year ago by cblgh <[email protected]>
refactor: use cable.peekMessage

58300c22fb4d33b7f5dc41a9dcfe3bdc2124a6b4 authored over 1 year ago by cblgh <[email protected]>
create util functions for humanizing msg/post types int->eng

c6abc257fcabe113f5d8ebbe12d962e48b31da6a authored over 1 year ago by cblgh <[email protected]>
make it possible to pass a kp externally

5420597f9e4e0768d0b50e56bf3c625d8c09d3e3 authored over 1 year ago by cblgh <[email protected]>
improve example to demonstrate a full request & response cycle

also patches index.js to return early if we don't have any hashes to
request

1a8168cdee12559d0dc632b68a50e769c9eccca7 authored over 1 year ago by cblgh <[email protected]>
live query test: add a couple assertions

7722d8165417cd78e221040e7c6e6ecbb70f72f3 authored over 1 year ago by cblgh <[email protected]>
refactor requestsMap to make use of embedded JSON-parsed request object

ad243880bb4cc795da01a5bc4d049279e00e74de authored over 1 year ago by cblgh <[email protected]>
channel time range request sends live hash responses according to timeStart

also here: fixed a big typo & refactored tests to improve their robustness,
and started revampin...

4e5acf27105c74f67e528d3165f848aafb13d264 authored over 1 year ago by cblgh <[email protected]>
cleanup outdated todos

997416b11190660a4daa2728cd176910674c3093 authored over 1 year ago by cblgh <[email protected]>
testutils: fix typo

af751121c6f64014ade33a74cd19aef5eca3ed60 authored over 1 year ago by cblgh <[email protected]>
add example showing how to promisify lib

c8b19f94f436c1d3c42331e825536a6766275fef authored over 1 year ago by cblgh <[email protected]>
minor cleanup, use ttl > 0 not > 1 determine forwarding

db4069b8289a6b3daa26850d28f7ad7df0fb77f7 authored over 1 year ago by cblgh <[email protected]>
handle and test implicitly channel membership

per the spec rev 2023-04, a user may join a explicitly (already handled)
and implicitly (added i...

9f18fe172166c9e98ecdc4f53ff62ad8e83eb64f authored over 1 year ago by cblgh <[email protected]>
test & handle hash response with hash_count = 0

bd9b38508ad4fef2408cce8ffd6cfc988e31035e authored over 1 year ago by cblgh <[email protected]>
send concluding hash response: signal request end

810e9c0ca0a476e3c539e080322e574ec1e51f77 authored over 1 year ago by cblgh <[email protected]>
further flesh out live query tests

49abc6041d4d0c598d4edaa48afcb1b490779df1 authored over 1 year ago by cblgh <[email protected]>
index.js: refactor & emit store-post for post/delete

30d513ee5c433959d9e1d2452928432351e43140 authored over 1 year ago by cblgh <[email protected]>
further refine and test an open channel state request + delete

add tests that make sure that the behaviour for a channel state request
with future = 1 is corre...

4475f8abe44aa0ba19083b69469fc2d7b773372f authored over 1 year ago by cblgh <[email protected]>
test & improve cancel request behaviour

b9b1e80e17be2d71dfc7b1d077ea4cb505d0ae32 authored over 1 year ago by cblgh <[email protected]>
initial live request handling & tests

894bc287ac24fbb386b049972e6c3f2c1951692a authored over 1 year ago by cblgh <[email protected]>
reindex many channels on delete, add evt manager

this commit makes a substantial change to the way deletes are handled in
that the behaviour for ...

f1a7bfc043dd7204c6c43e420c93eadc8d8f461f authored over 1 year ago by cblgh <[email protected]>
channel-membership: fix bug from refactor

8959ec3aad66300f3babcd482c041fe49eed7507 authored over 1 year ago by cblgh <[email protected]>
channel-state.js: implement robuster mechanism for deduping messages

instead of using a temporary object, seen = {}, we now have a column
that we query before decidi...

b7ce5c06c391e276f07bb758ad59f26115b547cf authored over 1 year ago by cblgh <[email protected]>
comments outlining future work and persisting ideas

a71bc71ea3c72bdb617cad2e023f81e4974245d6 authored over 1 year ago by cblgh <[email protected]>
wip: updating channel state req handling per spec rev 2023-04

5d582c7e3d0faf9bb26b6895396d74c03e2ff1ce authored over 1 year ago by cblgh <[email protected]>
rename data -> posts

aaca23ce401e3c46f723e8de60921e258596f440 authored over 1 year ago by cblgh <[email protected]>
work towards aligning impl with spec rev 2023-04

b88418cc53f12f896165da9898106f9cf863f0f0 authored over 1 year ago by cblgh <[email protected]>
establish scaffolding for live requests

40f499b9a7f767c47c1d4cc5cce9c8493305fab5 authored over 1 year ago by cblgh <[email protected]>
use channel-list-request:offset

31d164ec162cc3c3aaca4b274763553b92f0edf2 authored over 1 year ago by cblgh <[email protected]>
improve user-info.js:getLatestNameHashMany

we now filter out query results that fail to find a match for one of our
passed in keys

5354f48ec4a7b2da52d8d693b9d2b2340eea6259 authored over 1 year ago by cblgh <[email protected]>
clarify comments and remove empty function definitions

9c00c9f3d7045006aa1c88434a76e82fc3521915 authored over 1 year ago by cblgh <[email protected]>
flesh out request & response tests further

3fd3af669426992083ba5fbd68d3d1298aa4645d authored over 1 year ago by cblgh <[email protected]>
test request-response cycle for a channel state request

3fc0046c61547c7ce61faa5f638e60670c31b952 authored over 1 year ago by cblgh <[email protected]>
adds a sentinel to channel membership view to accomodate channel list responses

regular key scheme is: `<channel>!<pubkeyHex>: 0|1`

sentinel key scheme is: `<channel>!<'x'.rep...

6df8346d754af27676255b51e5803f667e4090d3 authored over 1 year ago by cblgh <[email protected]>
start testing request-response cycles

augments handleResponse, handleRequest with done callbacks to facilitate
testing, and further fo...

c5451c56e00544c71ac88a30836644623ca7f847 authored over 1 year ago by cblgh <[email protected]>
more wip on the requests & response front

80ba29087a5584748154a6074fcc3d384f786dcc authored over 1 year ago by cblgh <[email protected]>
wip requests handling

92494c7c55ae03e39ee14f9e3d6158bf681b59e4 authored almost 2 years ago by cblgh <[email protected]>
add req-res sketches in anticipation of cable-core integration

b0425067a1339c3e27700a9240972db2667f6f30 authored almost 2 years ago by cblgh <[email protected]>
minor comment tweaks

e55ccb5e3694dace6acb2ce397f5ff61347d93b6 authored almost 2 years ago by cblgh <[email protected]>
INDEXES.md: correct many relatively insignificant typos

58c86cd684a76b181c93ea7c5a11bd8bb72e06de authored almost 2 years ago by cblgh <[email protected]>