Commit graph

179 commits

Author SHA1 Message Date
Ronan Abhamon
0e0ae5b546 feat(MainDb): add participants and devices on basic to client group chat room migration 2017-12-21 16:06:01 +01:00
Ronan Abhamon
0304c37625 feat(MainDb): add method to migrate basic to client group chat room 2017-12-21 15:42:40 +01:00
Ronan Abhamon
3f7a82b985 fix(MainDb): use 255 chars for the storage of db_module_version.name instead of 16 2017-12-19 15:22:12 +01:00
Ronan Abhamon
f047ea775b feat(MainDb): support fetch of participant devices 2017-12-19 15:00:25 +01:00
Ronan Abhamon
e93ed1cc3f fix(MainDb): do not update module version if it is unchanged 2017-12-19 14:24:13 +01:00
Ronan Abhamon
43e775bff2 feat(MainDb): FilterMask is now an EnumMask type 2017-12-19 11:56:33 +01:00
Ronan Abhamon
fd191aa675 feat(MainDb): remove static_cast on capabilities 2017-12-19 11:33:12 +01:00
Ronan Abhamon
2e0dd7907f feat(MainDb): enable legacy history import 2017-12-18 17:37:16 +01:00
Ronan Abhamon
cc0a509a97 feat(MainDb): add an events module with 1.0.0 version 2017-12-18 15:31:12 +01:00
Ronan Abhamon
28944e466e feat(MainDb): add new table db_module_version 2017-12-18 11:42:22 +01:00
Ronan Abhamon
4cdb46496e feat(AbstractDb): add a noLimitValue function to deal with LIMIT keyword properly 2017-12-15 10:48:50 +01:00
Ronan Abhamon
707d94c34e fix(MainDb): deal with blobs with MySql backend 2017-12-13 17:35:23 +01:00
Ronan Abhamon
20a64ff1e3 fix(MainDb): LIMIT -1 is not supported by Mysql 2017-12-13 17:06:31 +01:00
Ronan Abhamon
8aca567aaa fix(MainDb): damn it 2017-12-13 15:47:45 +01:00
Ronan Abhamon
23e542c238 fix(MainDb): disable participant message deleter creation, problem with mysql 2017-12-13 15:43:48 +01:00
Ronan Abhamon
8015fec51c fix(MainDb): repair db init with mysql, event_id key must be BIGINIT UNSIGNED on conference_subject_event 2017-12-13 15:30:41 +01:00
Ronan Abhamon
9258c5f145 feat(ChatRoom): provide an abstract chat room for chat room migration proxy 2017-12-12 16:07:49 +01:00
Ronan Abhamon
d98b3a6b33 fix(MainDb): do not notify chat room creation on fetch 2017-12-08 14:21:49 +01:00
Ronan Abhamon
a02165ab81 fix(MainDb): do not execute query outside exception handler in get history range 2017-12-08 11:14:18 +01:00
Ronan Abhamon
dff49bec34 fix(MainDb): use blob for soci 4 (app data) 2017-12-08 10:43:23 +01:00
Ronan Abhamon
a76f869d66 fix(MainDb): set a default value if subject is empty on get chat rooms 2017-12-07 16:50:02 +01:00
Ronan Abhamon
65d98ad4d2 fix(MainDb): update correctly last update time on chat room in import case 2017-12-07 14:07:04 +01:00
Ronan Abhamon
a1dc06d352 fix(MainDb): use a shared timestamp type for sqlite3 and MySql 2017-12-07 10:53:54 +01:00
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