Draft: Make documents and user identity presistent between app starts#69
Closed
jsparber wants to merge 12 commits into
Closed
Draft: Make documents and user identity presistent between app starts#69jsparber wants to merge 12 commits into
jsparber wants to merge 12 commits into
Conversation
392ee8c to
2934e1c
Compare
ff8cd00 to
a53647f
Compare
Collaborator
Author
|
I'm seeing a couple of the following errors: |
6179910 to
0cd1f75
Compare
This ensures that operations are blocked and stored till the node is running. They will be executed in call order once the node is running.
This probably doesn't fully unsubscribe since p2panda doesn't really implement it, but at least we don't store any updates to the OperationStore. See for more details: p2panda/p2panda#639
This includes:
- subscribe/unsubscribe from p2panda network
- document name
- last accessed
This exposes the PublicKey and PrivateKey structs via boxed glib types so they can be used as GObject properties.
This uses oo7 to store the private key ("identity") to the keyring.
The node does only store the OperationStore for now and doesn't reload operations.
Logically it makes sense that we map documents to a set of authors instead of the other way around. Additionally this makes the implementation of TopicLogMap trait much simpler without the need to look at authors that aren't authors of a specific document.
0cd1f75 to
0db0aad
Compare
Collaborator
Author
|
close in favor of #75 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is based on #65 and #67