Commit graph

49 commits

Author SHA1 Message Date
Ghislain MARY
532c64bfc4 Add API to get the imdn state of a chat message for each participant. 2018-04-10 17:53:12 +02:00
Ghislain MARY
291bf82bed Store the date of message receiving and display for each participant of a chat room in DB. 2018-04-10 17:53:03 +02:00
Sylvain Berfini
8966c2ca77 Started method to get participants in given state for given chat message 2018-03-28 18:20:22 +02:00
Ronan Abhamon
76342c715f feat(MainDb): reworking, better code (performance and fixes) 2018-03-05 17:25:48 +01:00
Ronan Abhamon
89a62c4428 feat(MainDb): forward transaction in with lambda 2018-02-26 14:43:43 +01:00
Ronan Abhamon
e12f146b84 fix(MainDb): ConferenceInfoNoDeviceFilter must be equals to a 2-power 2018-02-19 12:16:44 +01:00
Ronan Abhamon
07443b1f60 feat(MainDb): increase performance of get history range 2018-02-16 17:21:47 +01:00
Benjamin Reis
068cd9ce45 do not fetch device event in chat room history 2018-02-15 13:38:58 +01:00
Ghislain MARY
91bce6e695 Correctly handle IMDN for group chat. 2018-02-14 18:10:38 +01:00
Ronan Abhamon
cbb14ad1cf feat(MainDb): attach resolveId to DbSession 2018-02-13 13:56:49 +01:00
Ghislain MARY
68ce70b072 Allow storage of participant device state in database. 2018-02-12 14:47:46 +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
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
d52977ded6 feat(src): add a _L prefix on each include guard 2018-01-08 12:15:15 +01:00
Ronan Abhamon
335f19b20b feat(MainDb): legacy friends import 2018-01-08 11:36:49 +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
43e775bff2 feat(MainDb): FilterMask is now an EnumMask type 2017-12-19 11:56:33 +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
eb5ab27326 fix(core): rename some methods => Do not set a plural noun before "Count"!!! 2017-12-04 15:29:01 +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
e1d909d1c5 feat(MainDb): provide a way to fetch messages from db key 2017-11-29 14:15:14 +01:00
Ronan Abhamon
65ab7cdfa3 feat(chat-message): supports cache partially 2017-11-29 11:33:51 +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
81ff3c8813 fix index issue in data base 2017-11-27 11:56:10 +01:00
Sylvain Berfini
caacc7a87f Started ChatRoom getLastChatMessage 2017-11-27 10:55:29 +01:00
Ronan Abhamon
65978c70ad feat(MainDb): insert participants on chat room insertion 2017-11-24 15:57:37 +01:00
Sylvain Berfini
b12304668a Added update methods for ChatMessageEvents and ChatMessageContent 2017-11-23 17:26:10 +01:00
Ronan Abhamon
a2f363ac64 fix(MainDb): insert chatroom subject properly 2017-11-23 15:02:48 +01:00
Ronan Abhamon
105e63f271 feat(core): provide a local address on chat room (the core is dead now) 2017-11-15 14:47:06 +01:00
Ronan Abhamon
9d4a1f3cd5 feat(MainDb): add a weak list of event references 2017-11-08 15:21:54 +01:00
Ronan Abhamon
bc32805af0 feat(MainDb): provide a way to check stored events 2017-11-08 14:08:18 +01:00
Ronan Abhamon
adf574413b fix(MainDb): remove cleanEvents functions => not easy to implement for events life 2017-11-07 17:30:24 +01:00
Sylvain Berfini
a77a4f857e Fixed crash with AbstractDB, TODO investigate why it was crashing and this makes it work... 2017-11-06 14:39:43 +01:00
Ronan Abhamon
a7ff19566d fix(core): misc =>
- return nullptr if conference factory uri is not set
  - Address object is now more robust
  - remove custom SharedFromThis object
  - CoreAccessor throw exception if core is destroyed
  - Core must be created with a static method
  - Partial fetch of chat message
  - ...
2017-11-03 10:38:50 +01:00
Ronan Abhamon
223bd817a9 feat(core): break completely old message storage api impl 2017-11-02 12:03:16 +01:00
Ronan Abhamon
54e0f253f5 feat(MainDb): add getConferenceNotifiedEvents impl 2017-10-27 10:44:37 +02:00
Ronan Abhamon
5c0b416b76 feat(MainDb): supports correctly foreign keys, fix db schema, ... 2017-10-26 14:55:26 +02:00
Ronan Abhamon
34b2882e38 feat(Core): use chat room api from new core 2017-10-26 10:09:39 +02:00
Ronan Abhamon
a0e041ec1e feat(MainDb): basix fetch of chatrooms 2017-10-25 11:46:23 +02:00
Ronan Abhamon
6467c77042 feat(MainDb): supports getHistory and getHistoryRange 2017-10-24 17:31:52 +02:00
Ronan Abhamon
be1d6f99ed feat(Event): events are now shared 2017-10-24 11:15:46 +02:00
Ronan Abhamon
e97343cb78 feat(Event): ChatMessageEvent is now a ConferenceEvent 2017-10-20 13:51:56 +02:00
Ronan Abhamon
58c94c8672 feat(Core): database access in progress 2017-10-18 10:45:08 +02:00
Ronan Abhamon
367243d224 feat(MainDb): chatroom fetch in progress 2017-10-13 15:46:49 +02:00
Renamed from src/db/events-db.h (Browse further)