Skip to content
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: migrate to work-in-progress leaf implementation. #122

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

zicklag
Copy link
Collaborator

@zicklag zicklag commented Jul 24, 2024

No description provided.

@zicklag zicklag force-pushed the feat/leaf-protocol branch from 05b0b70 to 65113bd Compare July 24, 2024 19:10
@zicklag zicklag force-pushed the feat/leaf-protocol branch from 272022e to 565621d Compare July 25, 2024 18:55
@zicklag zicklag force-pushed the feat/leaf-protocol branch 3 times, most recently from c7dc6d0 to 509498a Compare August 2, 2024 19:54
@avdb13
Copy link

avdb13 commented Aug 4, 2024

Great progress, doubt interop with Matrix is gonna be burden since Condu(wu)it / Grapevine use key-value trees

@zicklag zicklag force-pushed the feat/leaf-protocol branch from 379198a to c12757d Compare August 9, 2024 18:48
feat: flesh out more of the leaf-protocol crate and update Iroh.

feat: first pass implementation of entity reading and writing.

feat: add start to component trait.

style: run formatter.

feat: implement `HasBorshSchema` derive macro.

feat: implement `HasBorshSchema` derive macro.

fix: fix typos in docs.

feat: start on `Component` derive macro.

feat: finish off `Component` derive macro.

feat: allow creating unspecified components.

docs: add a TODO comment.

feat: implement runtime check for expected Schema ID on components.

docs: add TODO comment.

feat: add tests for schema IDs.

docs: fix typo.

docs: add license and README to leaf-protocol crate.

refactor: remove tuple structs, add documentation, and split Name and Description structs.

feat: add a `Snapshot` type to `BorshSchema`.

feat: update the specification for the `Description` component.

feat: add date-related and CommonMark components, and switch ASCII component to UTF-8.

feat: add `Embed` and `ReplyTo` components.

fix: fix the example component schema_id and update to the utf8 component for the spec.

refactor: remove DatePublished and update DateCreated and DateUpdated components.

refactor: remove generics over payload digestin `LeafStore` trait.

feat: start preparing for entity storage.

feat!: start working towards a new, simpler method for garbage collecting blobs.

feat: encode entity snapshot IDs as plain hash sequences, not Iroh collections.

feat: implement first complete pass of the entity API.

This is nearly complete but is missing one significant feature, which is properly pinning `Snapshot`s
and link snapshots

fix: fix typos to make linter happy.

chore: remove unused deps and fix compile error caused by updating Cargo.lock

feat: add an image component.

feat: implement `list()` function for entities.

refactor: remove generic namespace and subspace IDs.

refactor: start work on a websocket RPC for connecting to Leaf.

feat: start adding leaf rpc-client/server code.

feat: start adding leaf CLI client.

feat: add author and namespace handling to leaf store trait.

feat: add more methods to the Leaf RPC/store.

feat: update Iroh and fix bug when storing entity.

fix: fix more bugs.

fix: fix garbage collector cleanup.

fix: fix garbage collection when deleting an entity.

fix: fix warnings in leaf client CLI.

fix: remove old, unused code.

refactor: move backend crates to a new `leaf` directory.

fix: fix linter warnings.

refactor: change RPC authentication mechanism.

feat: first pass on TypeScript RPC client.

style: run formatter and remove dbg! prints.

fix: remove unused pnpm_lock.yaml

fix: fix outdated component schema ID hash computation.

feat: first pass reading components in TypeScript!

feat: add ability to add components from TS.

fix: fix the way component schemas are computed in TS and Rust.

fix: remove leaf schemas directory.

We will need a better solution for calculating Rust schemas later.

fix: remove custom component example which will need to be reworked later.

fix: fix compile error and format.

feat: add CommonMark and Description components.

feat: fork borsh-ts taking only the core typescript source and formatting it.

refactor: wip migration to a different borsh serialization lib.

Revert "refactor: wip migration to a different borsh serialization lib."

This reverts commit 613dd4b.

Revert "feat: fork borsh-ts taking only the core typescript source and formatting it."

This reverts commit e4f1152.

feat: add more components and fix component class loading.

feat: add an image component.

feat: add Leaf components for Weird profiles.

feat: add a code TODO.

feat: refactor to allow adding/getting/replacing multiple components at a time.

feat: re-implement profile page editing.

fix: fix members list and profile pages.

fix: fix logout button.

feat: re-implement avatars.

fix: start fixing custom domain and mastodon linking.

fix: fix typo in TODO comment.
@zicklag zicklag force-pushed the feat/leaf-protocol branch from 008bb3c to 2012253 Compare August 28, 2024 19:29
@zicklag zicklag marked this pull request as ready for review August 28, 2024 19:30
@zicklag zicklag changed the title feat: add work-in-progress leaf-protocol crate. feat: migrate to work-in-progress leaf implementation. Aug 28, 2024
@zicklag zicklag merged commit 9b0f564 into muni-town:main Aug 28, 2024
1 check passed
@zicklag zicklag deleted the feat/leaf-protocol branch August 28, 2024 19:31
@github-actions github-actions bot locked and limited conversation to collaborators Aug 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants