~ci-train-bot/history-service/history-service-ubuntu-zesty-2629

« back to all changes in this revision

Viewing changes to daemon/HistoryService.xml

  • Committer: Bileto Bot
  • Author(s): Gustavo Pichorim Boiko
  • Date: 2017-03-23 01:28:52 UTC
  • mfrom: (230.2.35 staging)
  • Revision ID: ci-train-bot@canonical.com-20170323012852-vzmjcare13zofbna
- Adapt to support VOIP accounts.
- Improve the notifications of participants changing
- Only start saving information events about contacts joining and leaving after the self contact is in the local list of participants.
- Improve Roles management performance by caching the retrieved data.
- Mark entire conversations as read.
- Allow pass multiple fields on sort clause.
- Reduce the dbus traffic when marking messages and threads as read.
- Use a QLockFile to ensure there will be only one instance of the daemon per user. As we now delay the registration on dbus, sometimes we ended up having two instances of the daeon running (because of dbus activation). This change makes sure that won't happen.
- Do not load the participants from threads automatically. If the client really needs it, it can use the newly added API to fetch the participants.
- Make it possible to debug sqlite commands.

Approved by: system-apps-ci-bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
            <arg type="a{sv}" direction="out"/>
36
36
            <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QVariantMap"/>
37
37
        </method>
 
38
        <method name="ParticipantsForThreads">
 
39
            <dox:d><![CDATA[
 
40
                Return the participants for the given threads
 
41
            ]]></dox:d>
 
42
            <arg name="threadIds" type="a(a{sv})" direction="in"/>
 
43
            <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QList &lt; QVariantMap &gt;"/>
 
44
            <arg name="participants" type="a(a{sv})" direction="out"/>
 
45
            <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QList &lt; QVariantMap &gt;"/>
 
46
        </method>
38
47
        <method name="WriteEvents">
39
48
            <dox:d><![CDATA[
40
49
                Write the given events to the storage.
62
71
            <arg type="b" direction="out"/>
63
72
            <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QList &lt; QVariantMap &gt;"/>
64
73
        </method>
 
74
        <method name="MarkThreadsAsRead">
 
75
            <dox:d><![CDATA[
 
76
                Mark an entire thread as read
 
77
            ]]></dox:d>
 
78
            <arg name="threads" type="a(a{sv})" direction="in"/>
 
79
            <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QList &lt; QVariantMap &gt;"/>
 
80
        </method>
65
81
        <method name="QueryThreads">
66
82
            <dox:d><![CDATA[
67
83
                Creates a threads view with the given filter and sort order.
159
175
            <arg name="events" type="a(a{sv})"/>
160
176
            <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QList &lt; QVariantMap &gt;"/>
161
177
        </signal>
 
178
        <signal name="ThreadParticipantsChanged">
 
179
            <dox:d><![CDATA[
 
180
                Participants changed in a certain thread changed.
 
181
            ]]></dox:d>
 
182
            <arg name="thread" type="a{sv}"/>
 
183
            <arg name="added" type="a(a{sv})"/>
 
184
            <arg name="removed" type="a(a{sv})"/>
 
185
            <arg name="modified" type="a(a{sv})"/>
 
186
            <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QVariantMap"/>
 
187
            <annotation name="org.qtproject.QtDBus.QtTypeName.In1" value="QList &lt; QVariantMap &gt;"/>
 
188
            <annotation name="org.qtproject.QtDBus.QtTypeName.In2" value="QList &lt; QVariantMap &gt;"/>
 
189
            <annotation name="org.qtproject.QtDBus.QtTypeName.In3" value="QList &lt; QVariantMap &gt;"/>
 
190
        </signal>
162
191
    </interface>
163
192
</node>