Commit graph

193 commits

Author SHA1 Message Date
Ronan Abhamon
891df5ff10 fix(MainDb): add missing transactions on little req, add safety 2018-02-01 11:18:40 +01:00
Sylvain Berfini
30f90763c4 Improve isFile use in Contents for FileTransfer 2018-01-30 14:56:59 +01:00
Ghislain MARY
e49f2fedda Handle re-invite of a participant that has left a one-to-one chat room when the other participant sends a message. 2018-01-26 14:30:34 +01:00
Ronan Abhamon
9072624acb feat(AbstractDb): add a way to deal with exceptions 2018-01-25 17:07:16 +01:00
Ghislain MARY
359b7bde4b Handle one-to-one chat rooms and quit the client group chat room when deleting it. 2018-01-25 11:51:20 +01:00
Ronan Abhamon
75cbb76945 feat(MainDb): add a findOneToOneConferenceChatRoomAddress method 2018-01-18 16:59:33 +01:00
Ronan Abhamon
26ad07a02e feat(core): update date of some files 2018-01-15 09:17:54 +01:00
Ronan Abhamon
bbd6c58dfd feat(MainDb): disable friends migration, enable this after friends cpp migration 2018-01-08 11:36:49 +01:00
Ronan Abhamon
335f19b20b feat(MainDb): legacy friends import 2018-01-08 11:36:49 +01:00
Ronan Abhamon
dc830c181a fix(MainDb): check history table presence on import (workaround for android/soci) 2018-01-08 10:33:15 +01:00
Ronan Abhamon
5a9d0dfd3e feat(BasicToClientGroupChatRoom): capabilities contains Migrate if the proxy is a basic chatroom 2017-12-22 12:42:54 +01:00
Ronan Abhamon
67053e8e8e fix(MainDb): rename insertOrUpdateBasicChatRoom to insertOrUpdateImportedBasicChatRoom 2017-12-22 10:40:18 +01:00
Ronan Abhamon
b51fd2e414 fix(MainDb): use transactions in unsafe functions 2017-12-22 10:38:29 +01:00
Ghislain MARY
5ff2076896 Handle basic to client group chat room migration. 2017-12-21 18:48:39 +01:00
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