... | ... | @@ -5,58 +5,68 @@ |
|
|
* [ ] Mailbox Protocol / Handling
|
|
|
|
|
|
# Discussion
|
|
|
## Mailbox <-> Owner contact handling
|
|
|
### Mailbox pairing without contact types
|
|
|
## Connection Handling
|
|
|
Separate connection handling and session handling. (Connection manager passes connections to sync/mailbox session handlers)
|
|
|
### Use Transport properties for mailbox connections
|
|
|
* [ ] Discussion
|
|
|
* Instead of using dedicated contacts, we use multiple entries in a contact's transport properties for a contact's
|
|
|
mailbox
|
|
|
* [ ] Implementation
|
|
|
* [ ] Tests
|
|
|
* [ ] Review
|
|
|
|
|
|
### Handle owner mailbox without dedicated contact type
|
|
|
### Update poller implementation
|
|
|
* [ ] Discussion
|
|
|
* The poller will handle when connections to a mailbox are established. (If a contact can't be contacted otherwise)
|
|
|
* The poll functions of the plugins will get a receiver depending on the connection type (contact/mailbox connections)
|
|
|
* [ ] Implementation
|
|
|
* [ ] Tests
|
|
|
* [ ] Review
|
|
|
|
|
|
## Introduction Protocol
|
|
|
### Rework Introduction protocol to work without different contact types
|
|
|
*NOTE: This might be too much overhead since we'll have to start from scratch anyway (see next)*
|
|
|
### Update handling for incoming connections
|
|
|
* [ ] Discussion
|
|
|
* We can only identify a connection's type (contact/mailbox/private mailbox) after we read the tag. Hence the connection manager should identify the connection's type and pass it to an appropriate handler
|
|
|
* [ ] Implementation
|
|
|
* [ ] Tests
|
|
|
* [ ] Review
|
|
|
|
|
|
### Update introduction protocol to use upcoming contact adding feature
|
|
|
### Update Connection Registry to handle direct/mailbox connections separately
|
|
|
* [ ] Discussion
|
|
|
+ Does this compromise the previous assumption that the mailbox does not know the contact's identity?
|
|
|
+ (aka. Does the mailbox connect to the contact or can this work with only contacts connecting to the mailbox?)
|
|
|
* Different handling for mailbox/direct connection is required. (Online status for contacts)
|
|
|
* [ ] Implementation
|
|
|
* [ ] Tests
|
|
|
* [ ] Review
|
|
|
|
|
|
|
|
|
## Connection Handling
|
|
|
|
|
|
### Use Transport properties for mailbox connections
|
|
|
## Mailbox <-> Owner key agreement
|
|
|
### Mailbox pairing without contact types
|
|
|
* [ ] Discussion
|
|
|
* (Done) Key agreement protocol needs a version bump to differentiate between mailbox/contact key exchanges
|
|
|
* FIX: If we don't use contact types, we need some minor fixes here
|
|
|
* [ ] Implementation
|
|
|
* [ ] Tests
|
|
|
* [ ] Review
|
|
|
|
|
|
### Update poller implementation
|
|
|
### Handle owner mailbox without dedicated contact type
|
|
|
* [ ] Discussion
|
|
|
* The owner's mailbox is stored as a contact but needs special treatment as compared to other contacts:
|
|
|
* Use a unique contact Id (?)
|
|
|
* Mailbox must be ignored in contact lists
|
|
|
* [ ] Implementation
|
|
|
* [ ] Tests
|
|
|
* [ ] Review
|
|
|
|
|
|
### Update handling for incoming connections
|
|
|
## Introduction Protocol
|
|
|
### Rework Introduction protocol to work without different contact types
|
|
|
*NOTE: This might be too much overhead since we'll have to start from scratch anyway (see next)*
|
|
|
* [ ] Discussion
|
|
|
* [ ] Implementation
|
|
|
* [ ] Tests
|
|
|
* [ ] Review
|
|
|
|
|
|
### Update Connection Registry to handle direct/mailbox connections separately
|
|
|
### Update introduction protocol to use upcoming contact adding feature
|
|
|
* [ ] Discussion
|
|
|
+ Does this compromise the previous assumption that the mailbox does not know the contact's identity?
|
|
|
+ (aka. Does the mailbox connect to the contact or can this work with only contacts connecting to the mailbox?)
|
|
|
* [ ] Implementation
|
|
|
* [ ] Tests
|
|
|
* [ ] Review
|
... | ... | @@ -64,6 +74,9 @@ |
|
|
## Mailbox Handling
|
|
|
### *WIP* Implement Chunking
|
|
|
* [x] Discussion
|
|
|
* Implement file handling
|
|
|
* structured reading/writing (caching?)
|
|
|
* storage maintenance
|
|
|
* [ ] Implementation
|
|
|
* [ ] Tests
|
|
|
* [ ] Review
|
... | ... | @@ -71,6 +84,7 @@ |
|
|
### Implement Sessions handling File/Writing & sync sessions
|
|
|
* [ ] Discussion
|
|
|
* [ ] Implementation
|
|
|
* Update mailbox sessions to work with chunking
|
|
|
* [ ] Tests
|
|
|
* [ ] Review
|
|
|
|
... | ... | |