Commit graph

156 commits

Author SHA1 Message Date
Ronan Abhamon
d2c6e3fcf4 fix(MainDb): remote static qualifier of query in getEventCount 2017-12-06 14:59:17 +01:00
Ronan Abhamon
1cbabd0f3d feat(ClientGroupChatRoom): add created event in db on chat room creation 2017-12-06 14:00:47 +01:00
Benjamin Reis
7d6fc05459 setImdnMessageId is now private 2017-12-06 13:35:04 +01:00
Ronan Abhamon
16a6c279ee feat(MainDb): use well-named variables on select/delete functions 2017-12-06 12:01:49 +01:00
Benjamin Reis
1616b8062b set imdnId when fetching chat message from db 2017-12-06 11:37:20 +01:00
Sylvain Berfini
2a16139e3d Fixed imdn id not being store on outgoing file transfer messages 2017-12-06 11:05:42 +01:00
Ronan Abhamon
7792f64b34 feat(MainDb): clean some pieces of code 2017-12-06 10:56:13 +01:00
Ronan Abhamon
a194a9c77c feat(MainDb): update current devices state on devices events 2017-12-06 10:35:22 +01:00
Benjamin Reis
34a95033a7 Also add 'me' devices of a chatroom (for encryption purposes) 2017-12-05 18:48:14 +01:00
Ronan Abhamon
36ae94cbe6 feat(MainDb): supports participant device insertion 2017-12-05 16:48:52 +01:00
Sylvain Berfini
71c5088307 Forgot to set hasFileTransferContent to true when fetching message from db 2017-12-05 15:53:55 +01:00
Sylvain Berfini
c48f0f70b5 Fixed fileTransferContent values not being set from content's body when fetched from db 2017-12-05 15:37:05 +01:00
Erwan Croze
72c20adc17 Replace DATE by TIMESTAMP in main-db for db 2017-12-05 15:21:15 +01:00
Ronan Abhamon
44de3832bb fix(MainDb): do not use snake case 2017-12-05 15:13:20 +01:00
Benjamin Reis
4141af833c Do not add me on serverGroupChatRoom 2017-12-05 14:48:53 +01:00
Sylvain Berfini
385aeb3357 Added fetch contents' app data from db 2017-12-05 11:56:00 +01:00
Benjamin Reis
b8b82f7fdb keep fixing fetch of chat room 2017-12-05 11:51:37 +01:00
Benjamin Reis
e045ac0127 fix fetch of client group chat room 2017-12-05 10:52:00 +01:00
Sylvain Berfini
7bb6721400 Remove contents and insert them again until update algorithm is done 2017-12-05 10:38:58 +01:00
Benjamin Reis
203e06747b fix build 2017-12-04 16:24:32 +01:00
Erwan Croze
2c33faac6f Fix main-db.cpp for mysql backend 2017-12-04 15:48:26 +01:00
Ronan Abhamon
eb5ab27326 fix(core): rename some methods => Do not set a plural noun before "Count"!!! 2017-12-04 15:29:01 +01:00
Ghislain MARY
05271e8603 Change the state of ClientGroupChatRoom and ServerGroupChatRoom outside of their constructors. 2017-12-04 15:11:54 +01:00
Ronan Abhamon
a57290dbca feat(c-chat-room): add new function to get events list size 2017-12-04 15:08:20 +01:00
Ronan Abhamon
4f40f34a16 feat(MainDb): add const qualifier on some parameters 2017-12-04 10:10:25 +01:00
Ronan Abhamon
47cf1d436c fix(c-chat-room): repair get history function 2017-12-01 15:13:45 +01:00
Ronan Abhamon
eb3fbf682d no comment 2017-12-01 13:59:16 +01:00
Ronan Abhamon
55e62ee091 fix(MainDb): use chat room id in get unread chat messages function 2017-12-01 13:56:52 +01:00
Ronan Abhamon
57f638266d feat(MainDb): create server group chat room from database 2017-12-01 11:43:56 +01:00
Ronan Abhamon
04168f9b48 feat(MainDb): return empty data on soci exceptions 2017-12-01 11:19:01 +01:00
Ronan Abhamon
13a873196e feat(MainDb): add get unread chat messages impl 2017-12-01 10:55:39 +01:00
Ghislain MARY
89ed9caeeb Rename isReadOnly() to hasBeenLeft() in ChatRoom. 2017-11-30 17:16:30 +01:00
Ronan Abhamon
b357534bfe fix(MainDb): fix compilation when soci is not enabled 2017-11-30 16:06:20 +01:00
Ronan Abhamon
47554237c1 feat(MainDb): invalid chat message when event log is not valid 2017-11-30 15:57:56 +01:00
Ronan Abhamon
397dbc39fb fix(MainDb): set flags to 1 when chat room is terminated 2017-11-30 15:41:44 +01:00
Ronan Abhamon
8b7f6ef64c feat(MainDb): deal with conference terminated event 2017-11-30 15:38:00 +01:00
Ronan Abhamon
7e48b9c956 fix(MainDb): insert correctly chat room 2017-11-30 15:03:33 +01:00
Ronan Abhamon
310637f275 feat(core): add a find one to one chat room function 2017-11-30 14:32:36 +01:00
Ronan Abhamon
71757bbce7 feat(MainDb): save chat room read only state 2017-11-30 14:15:38 +01:00
Ronan Abhamon
220ab0f123 feat(MainDb): explicit insert of basic chat room 2017-11-29 15:43:38 +01:00
Ronan Abhamon
e1d909d1c5 feat(MainDb): provide a way to fetch messages from db key 2017-11-29 14:15:14 +01:00
Sylvain Berfini
c172fec54d Fixed compil 2017-11-29 13:06:17 +01:00
Ronan Abhamon
773b60367f fix(MainDb): cache chat messageon select 2017-11-29 11:54:22 +01:00
Ronan Abhamon
65ab7cdfa3 feat(chat-message): supports cache partially 2017-11-29 11:33:51 +01:00
Ronan Abhamon
447076eadc fix(MainDb): avoid event duplication 2017-11-28 17:19:27 +01:00
Benjamin Reis
afaa84610d fix update of last notify id in chat room + recover it when creating chat room from db 2017-11-28 17:09:44 +01:00
Ronan Abhamon
9a5f620c51 feat(MainDb): refactor main db event key 2017-11-28 17:05:30 +01:00
Ronan Abhamon
fec65e98d7 feat(MainDb): add a function to find a message by imdn id 2017-11-28 14:09:57 +01:00
Benjamin Reis
6b93b7c8c7 keep removing soci workaround 2017-11-28 11:47:59 +01:00
Ronan Abhamon
dfbfd1bf98 fix(MainDb): see http://soci.sourceforge.net/doc/3.2/exchange.html, Object lifetime and immutability part 2017-11-28 11:15:17 +01:00