Ecosyste.ms: OpenCollective

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

github.com/planetary-social/ssb

A fork of go-ssb used for testing various changes: https://github.com/planetary-social/ssb/tree/fork.
https://github.com/planetary-social/ssb

various fixes

tests not fully sleep-less yet

c38e5370c1ea2095ec00240a84d89f867ce1ecb1 authored over 6 years ago
blobstore: simplify wants

had error in expRef case about tok == json.Delim, not string

e7fc680bdb16bfcab16d3516bc0d88044bdc1c14 authored over 6 years ago
All the blobs

also: implement TextMarshaler for BlobRef

2b41180f06375ad64bf726ef3289bce7b54c3b0c authored over 6 years ago
ignore comments in .ssb/secret file

d796db5e7b56100df6c32c2b6637d6389f3ebf4d authored over 6 years ago
gossip: add missing lookup idx

we just store the root log indicies in the userFeeds, so to get the
current message you ask the ...

3c6a152b897c2b1f463316484797c475b22aa8d3 authored over 6 years ago
go mod tidy

b4acb9a24a24fe57bf3fd10724914274869b8df8 authored over 6 years ago
various cleanup

reduce logspam a little - a line per message is way too much.
remember .x.x.x.x.x.x.x.x? ;)

and...

d2430087a4ef773f0781dfebccee3e58fa67116c authored over 6 years ago
gossip: testing cleanup

49d517c454a272da9ac36fd7325c0e108be1335f authored over 6 years ago
fix double call

7588cacae15409a9ce7ed5513b9f1cf050a5c7c2 authored over 6 years ago
pluginify whoami and gossip

9baeeb8561c1fd35dfd9f1cbb0b0fa64b67d5021 authored over 6 years ago
move gossip handler to plugins/ folder

6378097de8fce47bcf14245025db86a3a4276c8d authored over 6 years ago
sbotcli

port of
https://github.com/cryptix/cmd/commit/be616fe4f0f98375ed0bfd46bf04bffb3164f969
gophbot t...

0e2680a515d9dabea671dd50f5b364a154bc87f0 authored over 6 years ago
remove strange locking

i thought this might solve the _double call_ stuff.
this was a red herring.
the double call of H...

7b0606bc35a7e1d5cc8e574fa1cbcf836b1690e7 authored over 6 years ago
ignore gossip init on handling of on createHistoryStream

bdc919100533b2d9e83632340d145c51a4b2cf7e authored over 6 years ago
re-enable mux handler

0eb52d454af7337c2471b6d3a4f9f52d1c91386a authored over 6 years ago
fix simple gossip test

f2fce543e8a543a1ae98a671e4e91ebbdebc0772 authored over 6 years ago
gossip WIP

there is some strange double-call bug that triggers all the muxrpc
twice.

Meaning, the database...

14444c6ded8fddb76aeb25819e108deb779b0493 authored over 6 years ago
too big change - new multilog

- gossip tests are still broken
needs multilog resume logic to update feed indicies correctly

-...

7eb9392e0ffc745ff78d1aabebcba7101c506948 authored over 6 years ago
repo: new indexing structure

the aim is to have long running go routines inside the repo which update
the indicies.

TODO:
- ...

ac37266f158c0bbf2008e1c15553ab4f345e111c authored over 6 years ago
need to close iterators in newer badger version

was getting this:

--- FAIL: TestNew (0.00s)
panic: Unclosed iterator at time of Txn.Discard. [r...

c82af6d3afa9352a346783942cdee3d161f147c7 authored over 6 years ago
big uniseq changeset

f2d143608e8c94f6ea6477959464c7022a3a4644 authored over 6 years ago
travis

ac2b7069ca1366a5b6a81fe0fd7d1e99890def6b authored over 6 years ago
node.Connect: don't block

419edc12fc31502d11c1e79922edd55387703a21 authored over 6 years ago
sbotd: added promisc flag

a short patch to fill up your repo.

todo: buttgraph

4833987048a8f3bb316362952553c032f0d5da84 authored over 6 years ago
gossip: fetch and pour cleanup

c0f2c1ccbf9222111cd688df34dabdc22fc015de authored over 6 years ago
message: do the 2nd json unmarshal after encode

gives use author and seq for errors

then we also don't need to use the regexp anymore to find t...

7299641b2d596756bd3064201eebf01939d69278 authored over 6 years ago
gossip: restructured testing a little

want to make it easier to construct different scenarios

f4917131e502ce6190a3995433f441d790f8c892 authored over 6 years ago
random cleanup and repo closing

e54044a0e441110a331128c6714480167ece496e authored over 6 years ago
sbotd: don't fatal on serve error

can be EOF or timeout from remote

1c1b7c9309a2cffae09954762143e328642ca27c authored over 6 years ago
check in testdata

d1944c65bfeca59f7890ea9cfa947c5b0c707e56 authored over 6 years ago
WIP tested gossip handler

so far only very basic createHistoryStream

testdata missing

6c8ba4ee81509d3ac76b3147bb49ad0e371ef37e authored over 6 years ago
shorter .New(

2ea91ef9ef375698e2f75b9357dea093d97af138 authored over 6 years ago
pkgmove

a766c790636627cca6e2fa78bc937d5bfe53910d authored over 6 years ago
use ne package location

12ee340ed97f724597c0670481007d9ea8802530 authored over 6 years ago
update testdata

6fe3aceeee0375ef2e1a9b8291dd40cdd7cc927f authored over 6 years ago
Merge branch 'pkgmerge' into replicate

4a11b802433b5687287942838ca26a2d665c963b authored over 6 years ago
package move

these[1] two repos should be one

ssb://%95qJrYgeLTO2hk2q+woNB6ax8ZHjuJX+Pdd9F2wFYcI=.sha256

570b70f181136c1148b7a5e1261270d94021e894 authored over 6 years ago
no need to call node for these tests

3ad27f65bca81b03465efa639d88b5be3d22b226 authored over 6 years ago
fix message hashing

see %SJR3ZABEFZa4R6eiEbFnoDzIET3xt7lwzwp+pNqMaTE=.sha256

f2b9eb192562d702f23ac0eb5a485fe081449fec authored over 6 years ago
improve test setup

the message count to test was set inconsistently. now go test -short
should work across all test...

a89f9f7cd02091805b8d1afbac9257882635bfbb authored over 6 years ago
also the msg

41b40862ed9ba19809bc63944fdbd72a0783eb83 authored over 6 years ago
replicate all the things

be04dadf88bc886bc380b6e5477e4740895f10fc authored over 6 years ago
createHistoryStream: ask the incomming connection for their feed

exercise the verify code

50bb905cc8a560b778fca2d7ac53612958977f8d authored over 6 years ago
close comands properly and start gossip.ping

511617680c8b001f83902d935d2354b98405ddb0 authored over 6 years ago
use offset.New with error

0d4a2dc906a5e58153d6c12c2d5a64a6b7d2471b authored over 6 years ago
split connect from HandleCall

c99084b6de11876a30fd872a37e4019ec1ed804e authored over 6 years ago
rename connect to gossip

to mimic sbots structure

142576b0253821e2fb4ddda36eea472477b543cb authored over 6 years ago
use sbot/repo for key loading

99c6a22ee837f026e7dd1d122dc1f6d7c949686a authored over 6 years ago
gofmt

7fba81cf8cdcb3e8339246f5e23911dbfbe95a3a authored over 6 years ago
repo: don't generate new key on open

might want if NotExists logic but not now..

dc6d2c5d6336916a01571e0f1be1f033ea54b728 authored over 6 years ago
fix whoami

response to whoami is json

{
"id": "@...ed25519"
}

0d45f124ecdaee94ef8a153353d249a43be565d0 authored over 6 years ago
fix refs

8788490703beb81f6ffcca2ed600ff8c78c59b9b authored over 6 years ago
small cleanup

d6ea070133d80f68a804b4e4f3dacb75304de56d authored over 6 years ago
muxrpc: use HandleWithRemote

depends on %6/pK+8Qg4Ba5gQs06kRILwYcVsGZt1K7PNFP332fQ4E=.sha256

714f2f3818543c239ceb7e29405c1ddcaa665a0e authored over 6 years ago
change listne flag to address

you might want to specifiy to host to listne on (like vpn connection or
local net only)

also sh...

691061e19150cea7565c3a52b556256f66a1acf0 authored over 6 years ago
key: use secret file not seed generator

a0df7408cfee96654648ea397812d13f3ae6a564 authored over 6 years ago
add log stub to repo

a9549459c9953b483fd0120c469c4584f4fdf165 authored over 6 years ago
moved ref to new sbot package

360e4463aaf0e5e613cbfef5dd07ab00825a3028 authored over 6 years ago
plugin: add struct field for method

b5c181705f24475fd2983b6b7f2f4f424715ddea authored over 6 years ago
moar refs

98e9cfe4d6ff8a0d41096fae38ba86955ae4bfe7 authored over 6 years ago
add repo

cca17804c980fc19caa0211d276757d042b8cf18 authored over 6 years ago
let blobstore create folders if not there

43c2fb08bc2b9db74a4dd14c3f471fc92afd2d67 authored over 6 years ago
fmt

25d31a896f81c3ca8c41ec6f16a929cb17b7794b authored over 6 years ago
utility types

7ea4c68f7f1136cf4a45846ffee3d619d4ec3f86 authored over 6 years ago
add Verify()

Verify gets the raw json message as []byte and does these things

1. calls EncodePreserveOrder()...

62cdc10f67616413fc058b9902b590457396e893 authored over 6 years ago
add blobstore

f79f41d206faa9936c3db67dafb06ac7c9dec467 authored over 6 years ago
moving forward

78b99d4921e808fcce92c107f9f8ae01eeb336dc authored over 6 years ago
msg encode: don't use %q

b201dc4871ac287cacfadcc8d214a99da3e88b9b authored over 6 years ago
initial commit

7141aa0e3a55c98d3c7dca4748b5f8c36b46972f authored over 6 years ago
test signature verification

so far only positive tests against the same data as Encode()

fc6dc5654faef45a92f1795e89f838998e4100fa authored over 6 years ago
encode: strip, extract and compare signature

using a regexp to find `,\n "signature: "(...)"` in the encoded
message. EncodePreserveOrder() ...

b87f469e1b27d9dc05fcd8611eee13eb87328c39 authored over 6 years ago
encode: replace escaped unicode

we are using %q to format the json string with quotes and newlines
preserved as \n. This hovever...

4fddcb304fdb5176ca733fc15367302137f48bc5 authored over 6 years ago
encode: no newline in empty objects

had:
"obj": {
}

want:
"obj: {}

ca186d2008915f2849f96ae1a5157ea4be4bf016 authored over 6 years ago
fix empty array printing

want:
"mentions": []

had:
"mentions": [
]

7ab5cb7b8edee76dbe83be61b6e11a178b7e24be authored over 6 years ago
remove EncodeSimple and SignedMessage

the static way of enforcing the the order of fields as defined in a
struct{} does not work for s...

aac7c76e20e6826966133e9898fdff5d4d8c48b3 authored over 6 years ago
recursive parsing of array and object

passing until seq:1832 on my big feed

TODOs:
- fix unicode handling - i hope its not as bad as ...

385d4f7e645e4aeebd7b8bdf921e2d577520c180 authored over 6 years ago
wip message verification

98dc3340cf7bb13d06b3607e6b09ddc07473497f authored over 6 years ago