Merge lp://staging/~phablet-team/history-service/group-chat into lp://staging/history-service

Proposed by Tiago Salem Herrmann
Status: Superseded
Proposed branch: lp://staging/~phablet-team/history-service/group-chat
Merge into: lp://staging/history-service
Diff against target: 2994 lines (+1438/-184)
41 files modified
CMakeLists.txt (+1/-0)
Ubuntu/History/historymodel.cpp (+148/-14)
Ubuntu/History/historymodel.h (+24/-1)
Ubuntu/History/historythreadmodel.cpp (+9/-1)
Ubuntu/History/historythreadmodel.h (+3/-1)
daemon/HistoryService.xml (+14/-0)
daemon/historydaemon.cpp (+347/-48)
daemon/historydaemon.h (+16/-8)
daemon/historyservicedbus.cpp (+20/-4)
daemon/historyservicedbus.h (+6/-1)
daemon/textchannelobserver.cpp (+3/-1)
daemon/textchannelobserver.h (+2/-1)
plugins/sqlite/schema/v13.sql (+44/-0)
plugins/sqlite/schema/v14.sql (+82/-0)
plugins/sqlite/schema/v15.sql (+1/-0)
plugins/sqlite/sqlitehistoryplugin.cpp (+414/-39)
plugins/sqlite/sqlitehistoryplugin.h (+9/-1)
src/channelobserver.cpp (+2/-0)
src/contactmatcher.cpp (+13/-3)
src/contactmatcher_p.h (+2/-2)
src/manager.cpp (+18/-2)
src/manager.h (+7/-1)
src/managerdbus.cpp (+14/-2)
src/managerdbus_p.h (+7/-1)
src/participant.cpp (+37/-6)
src/participant.h (+6/-1)
src/participant_p.h (+4/-0)
src/plugin.h (+8/-1)
src/thread.cpp (+48/-14)
src/thread.h (+8/-2)
src/thread_p.h (+8/-2)
src/types.h (+45/-1)
src/utils.cpp (+6/-3)
src/utils_p.h (+3/-2)
tests/Ubuntu.History/HistoryGroupedThreadsModelTest.cpp (+1/-1)
tests/common/mock/CMakeLists.txt (+1/-1)
tests/common/mock/textchannel.cpp (+19/-0)
tests/common/mock/textchannel.h (+5/-1)
tests/libhistoryservice/ParticipantTest.cpp (+18/-4)
tests/libhistoryservice/ThreadTest.cpp (+4/-2)
tests/plugins/sqlite/SqlitePluginTest.cpp (+11/-12)
To merge this branch: bzr merge lp://staging/~phablet-team/history-service/group-chat
Reviewer Review Type Date Requested Status
Ubuntu Phablet Team Pending
Review via email: mp+292861@code.staging.launchpad.net

This proposal has been superseded by a proposal from 2016-10-13.

Commit message

Initial group chat support.

Description of the change

Initial group chat support.

To post a comment you must log in.
233. By Tiago Salem Herrmann

add FieldParticipantIds

234. By Tiago Salem Herrmann

use participantIds instead of participants

235. By Tiago Salem Herrmann

do not group multimedia group chats

236. By Gustavo Pichorim Boiko

Expose the chat type to QML.

237. By Tiago Salem Herrmann

do not update room info if no accountId or threadId is provided

238. By Tiago Salem Herrmann

remove chat_room_info when thread is removed

239. By Tiago Salem Herrmann

do not allow inserting into chat_room_info if threadId or accountId are empty

240. By Tiago Salem Herrmann

update thread participants

241. By Gustavo Pichorim Boiko

Remove messages that were superseded.

242. By Gustavo Pichorim Boiko

Make sure we don't return chat rooms in threadForParticipants()

243. By Gustavo Pichorim Boiko

Fix selecting participants

244. By Gustavo Pichorim Boiko

Make sure we don't group threads of chat rooms with one member

245. By Gustavo Pichorim Boiko

Use another condition to determine when to group multimedia threads.

246. By Tiago Salem Herrmann

set chatType to 1 (Contact) for existing ofono 1-1 chats. Leave mms group chats as 0 (None).

247. By Gustavo Pichorim Boiko

Fix the condition for grouping multimedia accounts.

248. By Gustavo Pichorim Boiko

Update copyright header

249. By Gustavo Pichorim Boiko

When checking which threads to group, discard the ones we know should not be grouped.

250. By Gustavo Pichorim Boiko

Fix build.

251. By Tiago Salem Herrmann

Force chatType for legacy method calls

252. By Tiago Salem Herrmann

fix member change signaling

253. By Gustavo Pichorim Boiko

Get the interfaces' properties using the class methods instead of calling dbus directly.

254. By Gustavo Pichorim Boiko

Update copyright headers

255. By Gustavo Pichorim Boiko

Make sure related queries are run in a transaction.

256. By Gustavo Pichorim Boiko

Add one missing rollback.

257. By Gustavo Pichorim Boiko

Add missing specs.

258. By Gustavo Pichorim Boiko

Handle waiting of asyncronous interface properties correctly to avoid crashes.

259. By Gustavo Pichorim Boiko

Fix tests.

260. By Tiago Salem Herrmann

merge trunk

261. By Tiago Salem Herrmann

add support for local and remote pending member lists

262. By Tiago Salem Herrmann

Rename types

263. By Tiago Salem Herrmann

use macros and fill pending participants list correctly

264. By Gustavo Pichorim Boiko

Fix returning threads with no participants.

265. By Gustavo Pichorim Boiko

Do not wait for the DBus async calls to finish (doing processEvents() in between).
It causes inconsistencies and crashes in history-daemon. Use QDBusAbstractInterface::call
instead.

266. By Gustavo Pichorim Boiko

As a temporary fix, insert an event telling the user he joined a group.

267. By Gustavo Pichorim Boiko

Update the room properties when we get the channel for it.

268. By Tiago Salem Herrmann

Avoid reverting status of messages

269. By Gustavo Pichorim Boiko

Make sure we only insert the information event once in the thread when joining
a group chat.

270. By Gustavo Pichorim Boiko

Make sure new threads get a good timestamp.

271. By Gustavo Pichorim Boiko

Make sure empty threads have a reasonable timestamp and show in the right
position on the list.

272. By Gustavo Pichorim Boiko

Remove unwanted debug

273. By Gustavo Pichorim Boiko

Merge trunk

274. By Tiago Salem Herrmann

compile agains new qt

275. By Tiago Salem Herrmann

set Requested = true so other clients know if the channel is new and requested or not

276. By Tiago Salem Herrmann

set ChatRoomInfo to new threads

277. By Tiago Salem Herrmann

avoid adding invalid values into the map

278. By Tiago Salem Herrmann

add state to participants

279. By Tiago Salem Herrmann

add support for contact roles

280. By Tiago Salem Herrmann

Export Roles to qml

281. By Tiago Salem Herrmann

set state as well

282. By Tiago Salem Herrmann

remove pending members from participants

283. By Tiago Salem Herrmann

skip update if no properties are found

284. By Tiago Salem Herrmann

merge parent branch

285. By Gustavo Pichorim Boiko

Add comments on things that need fixing

286. By Tiago Salem Herrmann

we have to also group broadcast messages

Unmerged revisions

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches

to all changes: