Expand API for syncdaemon
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
magicicada gui |
Fix Released
|
High
|
Facundo Batista |
Bug Description
SyncDaemon should provide:
Connection related:
* all the attributes and callbacks given by bug #573933
* on_stopped, on_disconnected, on_offline callbacks
Queues related:
* current state for content and meta queues (name suggestion: content_queue and meta_queue attribues)
* on_content_
Volumes/shares related:
* folders, shares_to_me, shares_to_others attributes
* on_folders_changed, on_shares_
(this is on hold until we define whether this will be always displayed to the user or not)
Public files related:
* public_files attribute
* on_public_
Related branches
- Natalia Bidart: Approve
-
Diff: 417 lines (+236/-31)2 files modifiedmagicicada/syncdaemon.py (+81/-21)
magicicada/tests/test_syncdaemon.py (+155/-10)
- Natalia Bidart: Approve
-
Diff: 468 lines (+352/-0)4 files modifiedmagicicada/dbusiface.py (+65/-0)
magicicada/syncdaemon.py (+26/-0)
magicicada/tests/test_dbusiface.py (+187/-0)
magicicada/tests/test_syncdaemon.py (+74/-0)
Changed in magicicada: | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → Facundo Batista (facundo) |
description: | updated |
description: | updated |
description: | updated |
Changed in magicicada: | |
status: | Confirmed → In Progress |
tags: | added: magicicada-alpha1 |
Changed in magicicada: | |
milestone: | none → alpha1 |
tags: | removed: magicicada-alpha1 |
description: | updated |
description: | updated |
Changed in magicicada: | |
status: | Fix Committed → Fix Released |
- is_started: was done before
- is_connected: was done before
- is_online: was done before
- on_started: done in proposed branch, but called it on_started_ callback; what
about on_quited?
- on_connected: done in proposed branch, but called it on_connected_ callback;
what about on_disconnected?
- on_online: done in proposed branch, but called it on_online_callback; what
about on_offline?
- content_queue: done in proposed branch
- meta_queue: done in proposed branch
- on_meta_ queue_changed: this is already provided, but it's called queue_changed_ callback.
meta_
- on_content_ queue_changed: this is already provided, but it's called queue_changed_ callback.
content_
Regarding Volumes, Shares, and public files, let's settle before the more
simple functionality.