-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Implement MdnsDiscovery #177
Commits on Aug 14, 2023
-
Co-authored-by: tomasciccola <tomasciccola@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 913081f - Browse repository at this point
Copy the full SHA 913081fView commit details
Commits on Aug 15, 2023
-
feat: additions to discovery/mdns.js class add some tests
Tomás Ciccola committedAug 15, 2023 Configuration menu - View commit details
-
Copy full SHA for ae3a8e3 - Browse repository at this point
Copy the full SHA ae3a8e3View commit details -
chore: fixed bug on passing handler to net.connect
Tomás Ciccola committedAug 15, 2023 Configuration menu - View commit details
-
Copy full SHA for 154a3d0 - Browse repository at this point
Copy the full SHA 154a3d0View commit details
Commits on Aug 16, 2023
-
feat: handle two sets for deduplication, various changes
Tomás Ciccola committedAug 16, 2023 Configuration menu - View commit details
-
Copy full SHA for 11547ed - Browse repository at this point
Copy the full SHA 11547edView commit details -
feat: add check for 'error' event and more checks to dedup
Tomás Ciccola committedAug 16, 2023 Configuration menu - View commit details
-
Copy full SHA for 9e1f790 - Browse repository at this point
Copy the full SHA 9e1f790View commit details -
feat: actually test mdns connections and matching keys
Tomás Ciccola committedAug 16, 2023 Configuration menu - View commit details
-
Copy full SHA for abf561b - Browse repository at this point
Copy the full SHA abf561bView commit details -
chore: add type declarations for dnssd from digidem/multicast-service…
…-discovery try to use those declarations and failed
Tomás Ciccola committedAug 16, 2023 Configuration menu - View commit details
-
Copy full SHA for ea42c92 - Browse repository at this point
Copy the full SHA ea42c92View commit details -
feat: destroy noise sockets so connections don't hang
Tomás Ciccola committedAug 16, 2023 Configuration menu - View commit details
-
Copy full SHA for 66588fb - Browse repository at this point
Copy the full SHA 66588fbView commit details
Commits on Aug 17, 2023
-
Tomás Ciccola committed
Aug 17, 2023 Configuration menu - View commit details
-
Copy full SHA for 3b694a8 - Browse repository at this point
Copy the full SHA 3b694a8View commit details -
Co-authored-by: tomasciccola <tomasciccola@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 8e739cc - Browse repository at this point
Copy the full SHA 8e739ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for a75e9e7 - Browse repository at this point
Copy the full SHA a75e9e7View commit details -
I dunno if this is the best solution (or if `secretStream` and `server` should share the same `close` handler), but it works...
Tomás Ciccola committedAug 17, 2023 Configuration menu - View commit details
-
Copy full SHA for e739f9b - Browse repository at this point
Copy the full SHA e739f9bView commit details -
lets make the ci happy for a while
Tomás Ciccola committedAug 17, 2023 Configuration menu - View commit details
-
Copy full SHA for 19f2807 - Browse repository at this point
Copy the full SHA 19f2807View commit details
Commits on Aug 21, 2023
-
only allow privateIps for mdns connections
Tomás Ciccola committedAug 21, 2023 Configuration menu - View commit details
-
Copy full SHA for e67713d - Browse repository at this point
Copy the full SHA e67713dView commit details -
add getter for noise stream connections
Tomás Ciccola committedAug 21, 2023 Configuration menu - View commit details
-
Copy full SHA for a032b03 - Browse repository at this point
Copy the full SHA a032b03View commit details
Commits on Aug 22, 2023
-
It seems that hypercore replication from on instance to another is failing. There's probably a bug I haven't catch yet...
Tomás Ciccola committedAug 22, 2023 Configuration menu - View commit details
-
Copy full SHA for 3de9a03 - Browse repository at this point
Copy the full SHA 3de9a03View commit details
Commits on Aug 23, 2023
-
Tomás Ciccola committed
Aug 23, 2023 Configuration menu - View commit details
-
Copy full SHA for ebef801 - Browse repository at this point
Copy the full SHA ebef801View commit details
Commits on Aug 28, 2023
-
add initial testing of multiple connection of peers
Tomás Ciccola committedAug 28, 2023 Configuration menu - View commit details
-
Copy full SHA for 7ad1676 - Browse repository at this point
Copy the full SHA 7ad1676View commit details -
move server 'close' handler to
start
methodIt was on the `handleConnection` which meant adding unnecessary handlers for the same event (for each peer connected)
Tomás Ciccola committedAug 28, 2023 Configuration menu - View commit details
-
Copy full SHA for 2ae76bf - Browse repository at this point
Copy the full SHA 2ae76bfView commit details
Commits on Aug 29, 2023
-
* remove `this.#socketConnections` * attach listeners to `error` and `close` before `await once` * remove type annotation solved by type guard * start browser and advertiser 'together' * `await` closing of server
Tomás Ciccola committedAug 29, 2023 Configuration menu - View commit details
-
Copy full SHA for b936c78 - Browse repository at this point
Copy the full SHA b936c78View commit details
Commits on Aug 30, 2023
-
test connection between multiple peers
The test added can fail (and others too probably), because sometimes `this.#browser.on('serviceUp')` will return a `service.addresses` with a IPv6 which yields the following error: ```bash node:events:491 throw er; // Unhandled 'error' event ^ Error: connect EINVAL fe80::fa9a:552c:fcb8:f2fb:41373 - Local (:::0) at internalConnect (node:net:1041:16) at defaultTriggerAsyncIdScope (node:internal/async_hooks:464:18) at node:net:1134:9 at processTicksAndRejections (node:internal/process/task_queues:78:11) Emitted 'error' event on Socket instance at: at emitErrorNT (node:internal/streams/destroy:157:8) at emitErrorCloseNT (node:internal/streams/destroy:122:3) at processTicksAndRejections (node:internal/process/task_queues:83:21) { errno: -22, code: 'EINVAL', syscall: 'connect', address: 'fe80::fa9a:552c:fcb8:f2fb', port: 41373 } ```
Tomás Ciccola committedAug 30, 2023 Configuration menu - View commit details
-
Copy full SHA for b1457f9 - Browse repository at this point
Copy the full SHA b1457f9View commit details
Commits on Aug 31, 2023
-
the tcp client now only connects to IPv4 addresses
Tomás Ciccola committedAug 31, 2023 Configuration menu - View commit details
-
Copy full SHA for ee70ca4 - Browse repository at this point
Copy the full SHA ee70ca4View commit details -
add comments to multiple peer tests and teardown
Tomás Ciccola committedAug 31, 2023 Configuration menu - View commit details
-
Copy full SHA for e5a756e - Browse repository at this point
Copy the full SHA e5a756eView commit details -
put timeout on ci workflow, update lockfile
Tomás Ciccola committedAug 31, 2023 Configuration menu - View commit details
-
Copy full SHA for e5acbf3 - Browse repository at this point
Copy the full SHA e5acbf3View commit details -
Tomás Ciccola committed
Aug 31, 2023 Configuration menu - View commit details
-
Copy full SHA for 4d15ac6 - Browse repository at this point
Copy the full SHA 4d15ac6View commit details -
add testing of multiple peers instanciated at - roughly - the same time
Tomás Ciccola committedAug 31, 2023 Configuration menu - View commit details
-
Copy full SHA for e8a3f63 - Browse repository at this point
Copy the full SHA e8a3f63View commit details -
Tomás Ciccola committed
Aug 31, 2023 Configuration menu - View commit details
-
Copy full SHA for c9e746d - Browse repository at this point
Copy the full SHA c9e746dView commit details
Commits on Sep 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8104f5d - Browse repository at this point
Copy the full SHA 8104f5dView commit details
Commits on Sep 5, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 25ba169 - Browse repository at this point
Copy the full SHA 25ba169View commit details -
Configuration menu - View commit details
-
Copy full SHA for cbe6943 - Browse repository at this point
Copy the full SHA cbe6943View commit details -
Configuration menu - View commit details
-
Copy full SHA for 748f431 - Browse repository at this point
Copy the full SHA 748f431View commit details
Commits on Sep 6, 2023
-
Merge branch 'main' into feat/mdns-discovery
* main: (25 commits) add initial implementation of MemberApi (#232) feat: $blobs.getUrl and $blobs.create methods (#184) chore: update manager e2e tests (#237) feat: add capabilities (#231) feat: coreOwnership integration [3/3] (#230) feat: CoreOwnership class w getOwner & getCoreKey [2/3] (#229) feat: handle `coreOwnership` records in `IndexWriter` [1/3] (#214) fix: adjust storage options for MapeoManager and MapeoProject (#235) implement addProject method for MapeoManager class (#215) implement listProjects method for MapeoManager class (#208) feat: expose blobStore.writerDriveId (#219) implement wrapper client containing createProject and getProject methods (#199) add project settings functionality to MapeoProject (#187) feat: Add encode/decode for project keys [3/3] (#203) feat: update protobuf for RPC [2/3] (#202) chore: move protobuf messages into src/generated [1/3] (#201) feat: Add internal `dataType.createWithDocId()` (#192) chore: explicitly set "mode" opt for encryptionKeys column creation (#186) chore: fix linting and type checking (#183) chore: consolidate encryption key columns in projectKeys table (#181) ...
Configuration menu - View commit details
-
Copy full SHA for 8fe03c7 - Browse repository at this point
Copy the full SHA 8fe03c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 402cecd - Browse repository at this point
Copy the full SHA 402cecdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8cd04d3 - Browse repository at this point
Copy the full SHA 8cd04d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for d37f0e6 - Browse repository at this point
Copy the full SHA d37f0e6View commit details
Commits on Sep 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8e6e2ea - Browse repository at this point
Copy the full SHA 8e6e2eaView commit details -
Merge branch 'main' into feat/mdns-discovery
* main: chore: condense setup code in MemberAPI tests (#267) chore: replace queries opt in MemberAPI with dataType (#266) feat: add getMany method to member api (#263) feat: add getById method to member api (#262) chore: Update @digidem/types and remove patch (#269) feat: share all core keys via extension messages (#264) feat: send core "haves" bitfield on first connect (#254) fix: invite.encryptionKeys should be required (#260) feat: Add set & get deviceInfo & datatype (#250) expose member namespace in MapeoProject (#253) blobStore.createReadStream should not wait (#243) update MapeoManager to return and handle project public IDs (#247) return content hash from blobApi.create (#242)
Configuration menu - View commit details
-
Copy full SHA for c5d88c4 - Browse repository at this point
Copy the full SHA c5d88c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for eba4935 - Browse repository at this point
Copy the full SHA eba4935View commit details