KDE PIM/Akonadi: Difference between revisions
(add type overview) |
m (follow today's changes) |
||
Line 40: | Line 40: | ||
|Contact||yes||no||ContactModel||-||vCard, facebook, KRes|| | |Contact||yes||no||ContactModel||-||vCard, facebook, KRes|| | ||
|- | |- | ||
|Events||yes||no||EventModel||-||iCal|| | |Events||yes||no||EventModel||-||iCal, KRes|| | ||
|- | |- | ||
|Notes||no||no||-||-||-||not started yet | |Notes||no||no||-||-||-||not started yet | ||
Line 90: | Line 90: | ||
! Resource !! Retrieve Collections !! Retrieve Items !! Change Collections !! Change Items !! Configuration !! Notes | ! Resource !! Retrieve Collections !! Retrieve Items !! Change Collections !! Change Items !! Configuration !! Notes | ||
|- | |- | ||
|iCal||yes (4)||yes (1) (2)||no||yes (5)|| | |iCal||yes (4)||yes (1) (2)||no||yes (5)||yes||does not yet watch for file changes | ||
|- | |- | ||
|vCard||yes (4)||yes (1) (2)||no||?|| | |vCard||yes (4)||yes (1) (2)||no||?||yes||does not yet watch for file changes | ||
|- | |- | ||
|maildir||yes (1) (4)||yes (1) (2)||?||?||yes|| | |maildir||yes (1) (4)||yes (1) (2)||?||?||yes|| | ||
Line 104: | Line 104: | ||
|NNTP||yes (4)||yes (2)||n/a||n/a||yes||Needs support for local collection names and collection hierarchy | |NNTP||yes (4)||yes (2)||n/a||n/a||yes||Needs support for local collection names and collection hierarchy | ||
|- | |- | ||
|Local Bookmarks||?||?||?||?|| | |Local Bookmarks||?||?||?||?||(3)||Code in akonadi/resources | ||
|- | |- | ||
|OpenChange||?||?||?||?||?||Code in akonadi/resources | |OpenChange||?||?||?||?||?||Code in akonadi/resources | ||
Line 112: | Line 112: | ||
|del.icio.us||?||?||?||yes||no||Code in playground/pim | |del.icio.us||?||?||?||yes||no||Code in playground/pim | ||
|- | |- | ||
|KABC||no||yes|| | |KABC||no||yes||no||yes||yes|| | ||
|- | |- | ||
|KCal||no|| | |KCal||no||yes||no||yes||yes|| | ||
|} | |} | ||
Revision as of 18:16, 10 February 2008
Akonadi TODO
The following list contains the things which need to be done for Akonadi.
Core
Status | Item | Description | Contact |
---|---|---|---|
DONE | Cache policies | As discussed in Osnabrueck | Volker <[email protected]> |
IN PROGRESS | Agent configuration | As discussed in Osnabrueck | Volker <[email protected]> |
TO DO | Item size | Needed by Mailody | [mailto: <>] |
TO DO | Item streaming in ItemSync/ResourceBase | As discussed in Osnabrueck | [mailto: <>] |
TO DO | API for additional item parts | As discussed in Osnabruck | [mailto: <>] |
TO DO | Infrastructure for showing additional dialogs from agents/resources | As discussed in Osnabrueck | [mailto: <>] |
TO DO | Allow to limit ItemFetchJob to current cache content | Prevents search index feeder agents from downloading all remote data | [mailto: <>] |
TO DO | Conflict detection in resources | See Osnabrueck meeting notes for details | [mailto: <>] |
TO DO | Fix API for item/collection modifications | See Osnabrueck meeting notes for details | [mailto: <>] |
TO DO | Remove DataReference | Fold back into Item | [mailto: <>] |
TO DO | Undo framework | [mailto: <>] | |
TO DO | Action framework | see below | <Volker?> |
TO DO | Server-side copy | for items and collections | [mailto: <>] |
TO DO | Finish collection model/view | see below | [mailto: <>] |
TO DO | Solid integration | Switch online/offline state in ResourceBase automatically | [mailto: <>] |
TO DO | Hierarchical dptrs | Use for all job classes, check where else this makes sense | [mailto: <>] |
TO DO | Make unittests work without destroying the production database | [mailto: <>] |
Supported Types
Overview on the current state of support for various types:
Type | Serializer | Multipart Support | Models | Views | Resources | Notes |
---|---|---|---|---|---|---|
yes | partial | MessageModel, MessageCollectionModel, threading proxy model | ? | maildir | threading agent | |
News | yes (1) | partial (1) | (1) | (1) | NNTP | |
Contact | yes | no | ContactModel | - | vCard, facebook, KRes | |
Events | yes | no | EventModel | - | iCal, KRes | |
Notes | no | no | - | - | - | not started yet |
Feeds | no | no | - | - | - | not started yet |
Bookmarks | yes | no | - | - | local bookmarks, del.icio.us |
(1) see Email
Mail specific extensions
Status | Item | Description | Contact |
---|---|---|---|
TO DO | Extend model/view stuff for mails | [mailto: <>] |
Event/Todo/Journal specific extensions
Status | Item | Description | Contact |
---|---|---|---|
TO DO | Todo proxy model | See KOrganizers To-Do view | <Bruno?> |
Resources, Agents and others
Status | Item | Description | Contact |
---|---|---|---|
IN PROGRESS | KResource Akonadi bridge | for applications using KCal or KABC | Kevin <[email protected]> |
IN PROGRESS | Akonadi KResource bridge | for data accessed through KCal or KABC resources | Kevin <[email protected]> |
TO DO | Expire Agent | [mailto: <>] | |
TO DO | MBOX Resource | <Thomas> | |
TO DO | Extend IMAP Resource | [mailto: <>] | |
TO DO | POP3 Resource | <Thomas> | |
TO DO | RSS Resource | [mailto: <>] | |
TO DO | Filter Agent | [mailto: <>] | |
TO DO | Search | [mailto: <>] | |
TO DO | Filter Rule GUI | Used by filters and searches | [mailto: <>] |
Resource status overview (this should list all resources existing in KDE3 or already under development for Akonadi):
Resource | Retrieve Collections | Retrieve Items | Change Collections | Change Items | Configuration | Notes |
---|---|---|---|---|---|---|
iCal | yes (4) | yes (1) (2) | no | yes (5) | yes | does not yet watch for file changes |
vCard | yes (4) | yes (1) (2) | no | ? | yes | does not yet watch for file changes |
maildir | yes (1) (4) | yes (1) (2) | ? | ? | yes | |
mbox | no | no | no | no | no | not started yet, code exists in KMail |
IMAP | yes (1) (4)? | yes (1) (2) | no | no | no | code exists in kio_imap4 and Mailody, support for extensions: quota, ACL, annotations missing, what about Kolab and Scalix? |
POP3 | no | no | no | no | no | not started yet,code exists in kio_pop3 |
NNTP | yes (4) | yes (2) | n/a | n/a | yes | Needs support for local collection names and collection hierarchy |
Local Bookmarks | ? | ? | ? | ? | (3) | Code in akonadi/resources |
OpenChange | ? | ? | ? | ? | ? | Code in akonadi/resources |
? | ? | ? | ? | ? | Code in playground/pim | |
del.icio.us | ? | ? | ? | yes | no | Code in playground/pim |
KABC | no | yes | no | yes | yes | |
KCal | no | yes | no | yes | yes |
(1) only full sync supported currently, need optimization (2) does not yet honor cache policy (3) still relies on QSettings for configuration and/or doesn't provide configuration over D-Bus (4) does not yet provide correct access control settings (5) only adding new items, not changing existing ones
Akonadi Braindump
Ideas/notes etc. on various open issues in Akonadi.
Akonadi Standard Actions
Idea: Have something like KStandardAction for Akonadi that not only includes the representation of the action but also its state management and the actual operations. Like libakonadi that should be splitted into a generic, type-independent part and be extensible for type-specific actions. This will enable code sharing among many applications and guarantee consistent actions everywhere.
State management: watch selection models of a collection and/or item model.
Use KXMLGUI for context menus in standard views to allow easy extensibility with custom actions.
Generic actions:
- new collection
- new virtual collection
- delete collection
- copy collection
- cut collection
- paste collection
- synchronize collection
- show collection
- delete item(s)
- copy item(s)
- cut item(s)
- paste item(s)
- paste native data
- tag item(s)
- comment item
- rate item(s)
The list is definitely long enough to make this worthwhile.
Collection Model / Collection View
Ideas/missing features/bugs of the collection model/view:
- Enable/disable status columns
- Show status after the name (see KMail)
- Size column
- Save/restore layout
- Custom collection icons (see KMail, also needed for resource defined special folders (eg. Inbox)
- Status tooltips (see KMail in 3.5.9)
- Quick search
- Favorite folder view as proxy model on top of the normal collection model (FlatCollectionProxyModel might be helpful for there)
Compatibility
Notes on how to keep long-term protocol, source and binary compatibility.
- Detect server version in Akonadi::Session, might be useful in case of protocol extensions/changes
- What about database server version updates?
- Versioning or any other kind of serialization format meta data, we'll need that in case of changes in serialization formats (see eg. Robert's compression patch where this is needed)
KMail Breakdown Plan
The current plan is to put some parts of KMail into a stand-alone library, independent of KMail. This increases code reuse (for example, the message composer could be shared with Mailody) and makes the code a lot easier to maintain and to port to Akonadi.
Status | Item | Description | Contact |
---|---|---|---|
TO DO | Bodypart formatters | [mailto: <>] | |
TO DO | Reader Window | [mailto: <>] | |
TO DO | Composer: Editor | [mailto: <>] | |
TO DO | Composer: Message Composer | [mailto: <>] | |
TO DO | Composer: GUI Window | [mailto: <>] | |
TO DO | Queue Manager for mailtransport | [mailto: <>] | |
TO DO | Templates: Core | [mailto: <>] | |
TO DO | Templates: GUI | [mailto: <>] | |
TO DO | Port KMCommands | [mailto: <>] | |
TO DO | Port away from KMMessage and KMFolder* everywhere it is left | [mailto: <>] | |
TO DO | Migration application for index and other config | [mailto: <>] | |
TO DO | Port MDNs | [mailto: <>] |