Ecosyste.ms: OpenCollective

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

github.com/planetary-social/scuttlego

A Go implementation of the Secure Scuttlebutt protocol.
https://github.com/planetary-social/scuttlego

Add a way to receive notifications about downloaded blobs (#17)

455b5e2ddeb9d7ab021aec4b1afa78c58df5c04c authored over 2 years ago
Change the want list to work in on demand mode (#15)

After this change the Swift code can request blobs to be downloaded and
the blobs remain in the...

d944c20c9f2f6b412b15abcfdfdbd799dbd693f9 authored over 2 years ago
Reply to "wants" messages with "has" messages

This implements replying to "wants" messages with "has" messages. "Wants" messages are received ...

51f02b5963e1acfd66b35412836252f4b94f188e authored over 2 years ago
Use simpler constructors in tests (#14)

52b9acda4c4e8c4cc00ee97fcbd605bcd23db70b authored over 2 years ago
Implement blobs.get

Blobs are sent in chunks to avoid using up too much wire time in one
handler.

d680e8e14a79441095784f406cd01fc12da1f45b authored over 2 years ago
Enable workflows

ea35bdd5c4b1e09671953d01459998f93dfe5f94 authored over 2 years ago
Use the strong ref type in blobs.get

2c4a34e20e7b319f3c7318c0d2ad12389c4cabc7 authored over 2 years ago
Fix equals accepting a wrong type

49cc83fad0d5845f11cb861b3efc1cf145cfb152 authored over 2 years ago
Persist information about blobs discovered in messages

bb5d410066b8ae78fc9cd8e0ce90564deae018d5 authored over 2 years ago
Add support for recognizing referenced blobs

The code recognizes blobs in two message content types: about and post.

For about messages the ...

3c9f7d2f348d73a198417c5d0c0f80387c98f304 authored over 2 years ago
Make storing more data about a blob possible

One thing that comes to mind is storing another reason for keeping a
blob e.g. explicit pin requ...

5b7cb99dc8ecd658e2eac6a12c8692e8eb61c7ef authored over 2 years ago
Blob replication POC

a3519ca472bdeb19b9d377ac870226d439b8105b authored over 2 years ago
Add tests for the createWants RPC port (#13)

f43609f4837176c8cd1694785e84f0218dca3283 authored over 2 years ago
Move code around

Moved everything responsible for marshaling/unmarshaling to transport
and fixed order of declara...

4d35e2ab29a4a78764c99d66b053773473a152cf authored over 2 years ago
Add request stream tests

I made request stream public so that the tests can be written easily.
Corrected a name of a fixt...

c4b8ffe152ad1011a97d856881f042be12a66ebb authored over 2 years ago
Reduce number of goroutines created by incoming RPC streams

Previously each incoming request stream created a goroutine waiting to
clean it up. This has bee...

a0de572e2de583a1f17b07b3f354f6c08bf14daa authored over 2 years ago
Change mux constructor to accept handlers

There is no real reason to change handlers on the fly so a method to add
hadlers just made initi...

c34681c4521fffbdb6a279e54e942d006aa6336b authored over 2 years ago
Include feed ref in the error message

ba7b9151417518cbce26c35e8afdef748b355738 authored over 2 years ago
Move constants to the top

083b95f68c23ecf04fc7a43626181e67db5d9cc0 authored over 2 years ago
Make replication take message buffer into account

Replication manager is aware of the existence of the message buffer now
so it shouldn't perform ...

6a849e69e67583c2140f626f9f674b90d43c5d5c authored over 2 years ago
Move di out of cmd/ssb-test

Since it is used in tests all over the program it is clear that it
doesn't actually belong in th...

c5daddcbc141e3d5ee044dcb89946f1d72c0e84e authored over 2 years ago
Fix order of operations in the Makefile

Since targets had common dependencies it meant that those dependencies
would only run once and a...

cee04481c6b6cb4a4be9ec8d508e3d62b8ea5866 authored over 2 years ago
Cleanup di and adapter names

8a5a75e52154f9eff8b881beb0a421ee041b57c5 authored over 2 years ago
Fix pipeline

Somehow this wasn't detected locally, weird.

a28b8c6fe76d590f5db3e01a0adb5f5ba479a300 authored over 2 years ago
Add boxstream tests

be53381433942fa6799c8cb6883630c74dcef187 authored over 2 years ago
Improve documentation, add tests

8014a2d1be1c83e75e904008e2b130f088e7d418 authored over 2 years ago
Deduplicate code sending close stream messages

Slight mess in the diff is just because I renamed the receivers.

f7c2bd0e08474ceaa06554c92ec8b2b517563645 authored over 2 years ago
Fix discoverer not terminating correctly

Discoverer didn't close the channel when the context was closed. This
caused the test program to...

16a2f4ae8142b84c024d67d4d82a0c082b016988 authored over 2 years ago
Ports: listener accepts base contexts, docs

bfdfbfc28030aad3618c1e0caec6897ba0c3ad10 authored over 2 years ago
Validate if go mod tidy was run in the CI pipeline

f683b535e28fbd1fa900b8892175325f64453310 authored over 2 years ago
Add a readme

One of the first steps in making this repository useful to other people.

28bf6fb64a12a931fcd0fcd1f5b92d90667c3190 authored over 2 years ago
Tests for RawMessageContent

ce32c1203156ecbd486366869dd9aa62742b371e authored over 2 years ago
Corrected RawMessage constructor, tests

Raw messages can't be empty, we actually checked for this in some
places in the code.

f67566674e553811f78beb240498ca55669c241a authored over 2 years ago
Make modifying first sequence impossible, add tests

Used a constructor to make sure that the first sequence can't be
accidently modified.

261b7a47f1a82eac528b4fa6ee307b13e4e00981 authored over 2 years ago
Add replication tests

48267eb82546a2178accaf4b5581eed41570eab5 authored over 2 years ago
Replication code cleanup and test

c0f2680358350e8a366fd46d4927e4c501d1e186 authored over 2 years ago
Minor replication manager fixes

Fix a possible bug where a task would not be removed from the list of
active tasks.

Fix a possi...

97b6949b0843bfdf868a768c6678aef48b998d7c authored over 2 years ago
Less noisy logging

d8582f24a55ff648dd56694c6e88db12e7112efb authored over 2 years ago
Add very flawed replication manager

Replication manager attempts to replicate a feed from one feed at the
time, prioritizes friends,...

18bea76dfe519d6a7327702d7a1724e6889cef28 authored over 2 years ago
Fix long pauses in replication

Because messages do not update the social graph right away (they are
buffered before saving) it ...

1b8fc667aaf3b748c51425e48e2c63374c9329c8 authored over 2 years ago
Saves replicated messages in batches

Added a buffer which saves replicated messages in batches.

Previously the main bottleneck when ...

b91019b8755ad85042d56a45b546d93954846b62 authored over 2 years ago
Accept malformed requests but return errors

a30ac0e4bfaf830013394a17683c24684e600789 authored over 2 years ago
Improve comment

04296f2d8f2ca0267083faba87293af30f23bd0a authored over 2 years ago
Add a connection manager

Right now the manager only connects to peers discovered through UDP
broadcasts and predefined pe...

f0477db6b1ca675f9c423c6aac412e8df30f615f authored over 2 years ago
Add comments and make the string easier to understand

b1cd8692474022413475ed41b907740fdfc20da1 authored almost 3 years ago
Rename SomeRefAuthor to SomeRefIdentity

a20b4664ceffb1bc46ad1ee9da68fae77719a502 authored almost 3 years ago
Persist information about known pubs

aea9be9ba80801dc904d136cc8f1aa5c0f3102b7 authored almost 3 years ago
Add support for recognizing pub messages

98b0ad3bd3d5f5cc3f80aa368b587b30f49520e0 authored almost 3 years ago
Cleanup commented out code

dbede0e66bc9b2292ba52d3f4909295e60f5f45e authored almost 3 years ago
Correct comment

45f8a2a474adbb61d4a1acd1205fbfb2bc7cce7c authored almost 3 years ago
Add a query returning published messages

Also renamed some queries to remove stutter, it is obvious that queries
are getting soem data so...

80bbe99308d6c086e435384dcd10494472e6f42c authored almost 3 years ago
Change the way receive log works

The query now accepts a starting sequence and not last seen sequence.

9f7a5b502824ea9044650b85f97657929a3bdf2a authored almost 3 years ago
Skip cmd/ssb-test/main.go

This is just a test file that will be removed or significantly changed
in the future.

c130454fa8ca5aa12bec43c130157e7503a076b2 authored almost 3 years ago
Add some comments

dc9e10f3b0882143379917cc676592b34e69a3f0 authored almost 3 years ago
Update .gitignore

07b09328c5bbcc5dc2484df04d982793c9afc2a5 authored almost 3 years ago
Add number of feeds to stats

881b09fa2d7f1057c56ee3ad30d36af11c3dd1ee authored almost 3 years ago
Add config comments, make logger configurable

93f870405cb60ae5b376ad8d9e11bcd004280e6d authored almost 3 years ago
Fmt

2e7ab43d63a5c352d8f74c729d116747170d210b authored almost 3 years ago
Make testing easier

af6575327374a5ff619606acac1c95eb31dab882 authored almost 3 years ago
Make sure that private identity is not available in adapters

d269f5ceafb31a39fc20d22a438506bbbab48c66 authored almost 3 years ago
Cleanup wire

05c015a09236df813dc413a28a1c2fda849bb90a authored almost 3 years ago
Move bolt adapters to a separate package

f79fc2118fa34e7d7f3ddd8890152594eec911b4 authored almost 3 years ago
Make receive log resemble message repo

e4718525a01a3e9d2bfad2d380060465289a15f8 authored almost 3 years ago
Add stats to queries

a28bde29b8ed3b423599a88c0acd412c30cdc155 authored almost 3 years ago
Fix argument not being initialized correctly

6635c9062f74af5a46435e5ca9b5b8f78868f51c authored almost 3 years ago
Introduce a message repository

This will make future queries selecing messages by id and counting all
messages possible.

0fae3afcdcabf92d42fd28c8658fb85db8de02a8 authored almost 3 years ago
Add a command to publish raw content

44da25dad26637cb04bba04a730ecef98586b498 authored almost 3 years ago
Add a concept of a receive log as app needs it

725d3a1573c52e27cd04dd4b62b797ea3231520c authored almost 3 years ago
Support test networks

This commit makes network key and message HMAC configurable so that test
networks are supported.

c9a26f99a88c5d01782666663621d6b936289b28 authored almost 3 years ago
Add listening to local advertisements

5ae3dca5249d69f6976e51b5e5be114a972eb578 authored almost 3 years ago
Fix out-of-order writes in raw connection

If the Write method of RawConnection was called from multiple goroutines
then there was a chance...

fe523d73da1d5f56d6de31c33160abf8b031395f authored almost 3 years ago
Fix a bug when unmarshaling createHistoryStream

Protocol guide refers to a field called "sequence" while Patchwork
sends "seq". It is unclear if...

9b185820c46d6d060715d2430c478bc3bae35cdd authored almost 3 years ago
Added constructors and tests

2a68ead52a89c9d1d285960156b8ccdcfe90305e authored almost 3 years ago
Cleanup the RPC layer

Response writer is now an interface which makes testing easier.

Removed the stream field from r...

3ae5dd7dc0b5e8022c638276390ea544ef2b5751 authored almost 3 years ago
Add a local advertiser

For now I just used the code from go-ssb however there is no way to
determine whether any errors...

8ba4689b433f7ec6c4b16eddc10b09c77c4a8c2b authored almost 3 years ago
Make RPC connection accept raw connection

bf9607444a17894757d648226cff8a6ee4e50ccb authored almost 3 years ago
Add local advertiser

Also made the listener configurable and made it accept context.

ae1ece7061d304b5ddfbe802c1f214de09759e71 authored almost 3 years ago
Implement createHistoryStream RPC handler

ee9f0f31207e6ae831fc02a097bc674825ac3a69 authored almost 3 years ago
Fix imports

b727de8c5c8fb63cde3be7d2668670f0e3963c51 authored almost 3 years ago
Add context to RPC handlers

318ebc221476a47c753a20b8dd3a3e31657fdcef authored almost 3 years ago
Bump Github actions to Go 1.18

e2a8e24a245bb3a5ac034325dd28aa609b38f129 authored almost 3 years ago
Make bucket name private as it changed its purpose

Initially this was injected as configuration from the outside. Currently
the type is used only i...

5a295c266c4f7149d7c23854730507876b431138 authored almost 3 years ago
Clean up some imports

c9ce866cd8dacb9020b047c786886bf940cfa0b4 authored almost 3 years ago
Fix a linter error about an unused variable

192def09480b1c370fedc30ffff09ae6bb541d66 authored almost 3 years ago
Bump golangci-lint and switch to gosimports

ce298f1241799fe922c172d320f8e210a33f8189 authored almost 3 years ago
Remove an empty test file

9d0a03aea72b4e14b30f0857e847cf5e1206659b authored almost 3 years ago
Remove network/local as it wasn't fully implemented and is broken

1df6cb5aaaf359ac89484ac037307470a0ba0d97 authored almost 3 years ago
Implement CreateHistoryStream query and refactor the way ports receive RPC requests

This pull request introduces a mechanism by which the application layer
lobs over RPC requests t...

29255489a7745c635cb0e51b2ed814c6715c94d9 authored almost 3 years ago
Document hops

6cf68596a1bb95ab2b852aa9fd8479dcb7991180 authored almost 3 years ago
Make logging less noisy when handling private messages

726c73c324f8d2b4731634251df51c9ae6c87057 authored almost 3 years ago
Use batch instead of update for transactions

Theoretically batch has better performance. This most likely won't
matter that much but there is...

88a548e4307bceff360489d79773179a9441212a authored almost 3 years ago
Add some refs tests

246ea93752fcd1e17a3eabbaf632d270e320166e authored almost 3 years ago
Fmt

c6749efe8eef942ae3bbb5ac0cef2a9a7fa9506c authored almost 3 years ago
Test program now accepts data directory as an argument

c9c46658efa2058616f60c4a81d10c8a83be2477 authored almost 3 years ago
Add goimports to tools

468aac00457fc3aa2d2bd1c6cd7af7b59012c0c8 authored almost 3 years ago
Add github actions

27c98f8c4331ff43d27bd55bb63b01d9237a90d2 authored almost 3 years ago
Cleanup

21cef1083b48ec5bb80ec3c89ad1ff1d51688c85 authored almost 3 years ago
Cleanup

e32e83d389c863a8cc0d3a5c2a1e0af839928293 authored almost 3 years ago
Code formatting

8b5e069f7846edd2c5a934f77bf0b7ec0b2dc4ef authored almost 3 years ago
Cleanup fixtures

cdcf8dde3c17645772c0331cf120c9f4ddd7ac6b authored almost 3 years ago