Ronan Abhamon
dcef9e4f97
fix(MainDb): use references when possible
2017-11-24 14:55:48 +01:00
Ronan Abhamon
758729ba11
feat(MainDb): add devices table, replace date to time
2017-11-24 14:45:18 +01:00
Sylvain Berfini
5b328c01a8
Did FileContent db storage
2017-11-24 14:31:31 +01:00
Ronan Abhamon
beadb7bf7d
feat(MainDb): avoid stringstream
2017-11-24 14:06:05 +01:00
Benjamin Reis
9449315cba
fetch conference events in the correct order
2017-11-24 11:56:48 +01:00
Benjamin Reis
a8bd137c9d
workaround for fetching chatroom events
2017-11-24 11:41:53 +01:00
Sylvain Berfini
b12304668a
Added update methods for ChatMessageEvents and ChatMessageContent
2017-11-23 17:26:10 +01:00
Benjamin Reis
60915d8a15
add missing ':'
2017-11-23 16:08:51 +01:00
Ronan Abhamon
98d0ae00b0
feat(MainDb): add logs on chat rooms fetch
2017-11-23 16:07:35 +01:00
Ronan Abhamon
a2f363ac64
fix(MainDb): insert chatroom subject properly
2017-11-23 15:02:48 +01:00
Ronan Abhamon
5c7fe8a92b
feat(MainDb): supports fetching of client group chat room
2017-11-23 11:32:10 +01:00
Ronan Abhamon
385284596e
feat(ChatRoom): provide a get creation/last update time accessor
2017-11-22 11:23:30 +01:00
Ronan Abhamon
6611f820f3
feat(MainDb): add NOT NULL constraint on some fields
2017-11-21 16:41:21 +01:00
Ronan Abhamon
e3ff46be75
feat(MainDb): enforce conference_event table, primary key is now (event_id, chat_room_id)
2017-11-21 15:43:43 +01:00
Ronan Abhamon
82f04ddb29
feat(MainDb): enforce chat_room table, add unique and not null constraints on peer/local ids
2017-11-21 15:39:08 +01:00
Ronan Abhamon
8c7241bb13
fix(MainDb): references correctly chat room id from conference event
2017-11-21 14:43:12 +01:00
Ronan Abhamon
13f4afe165
feat(MainDb): supports local chat room id
2017-11-21 14:21:42 +01:00
Ronan Abhamon
6dd6e829a3
feat(conference): refactoring, use CoreAccessor and ChatRoomId
2017-11-17 15:49:45 +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
2ad1f46105
fix(ClonableObject): fix a fatal bug in ClonableObject:
...
- Create a A Object
- Create a B Object
- Copy A in B
- Delete B
- Use L_Q or access public => Crash
2017-11-13 11:13:01 +01:00
Ronan Abhamon
d7f3168937
fix(MainDb): fetch conference chat rooms
2017-11-09 17:27:43 +01:00
Ronan Abhamon
b0bf790f6b
fix(MainDb): Schrodinger commit 2
2017-11-09 16:53:20 +01:00
Ronan Abhamon
1dda2e3d36
fix(MainDb): Schrodinger commit
2017-11-09 16:52:38 +01:00
Ronan Abhamon
2600d5f4d8
fix(MainDb): call addContent correctly
2017-11-09 16:50:31 +01:00
Ronan Abhamon
87c7236d7f
feat(MainDb): fetch contents of messages
2017-11-09 16:49:02 +01:00
Ronan Abhamon
9f2db02565
fix(MainDb): fetch correctly chat messages (no contents), no all chat messages for one message!!!
2017-11-09 15:42:09 +01:00
Ronan Abhamon
dc00b58e98
feat(MainDb): log durations
2017-11-09 14:48:14 +01:00
Ronan Abhamon
ad05dbbdba
fix(MainDb): fix sql schema
2017-11-09 12:47:58 +01:00
Ronan Abhamon
a77734766b
fix(MainDb): use utf8 charset only on Mysql
2017-11-09 11:25:37 +01:00
Ronan Abhamon
f2af53f2d3
feat(MainDb): force utf8 charset
2017-11-09 11:10:12 +01:00
Ronan Abhamon
6ef85b29d7
feat(MainDb): provide a way to invalid events from query
2017-11-09 10:37:38 +01:00
Ronan Abhamon
2e2c39b7bc
feat(MainDb): getHistoryRange supports events cache
2017-11-08 17:14:31 +01:00
Ronan Abhamon
ad896ab4f8
feat(MainDb): create a new table: chat_message_file_content
2017-11-08 17:05:19 +01:00
Ronan Abhamon
d9f022bb3f
feat(MainDb): getConferenceNotifiedEvents supports events cache
2017-11-08 15:37:16 +01:00
Ronan Abhamon
9d4a1f3cd5
feat(MainDb): add a weak list of event references
2017-11-08 15:21:54 +01:00
Sylvain Berfini
057db03349
Moved from a list of Content to a list of Content* to be able to cast content to specialized version
2017-11-08 15:15:47 +01:00
Ronan Abhamon
bc32805af0
feat(MainDb): provide a way to check stored events
2017-11-08 14:08:18 +01:00
Benjamin Reis
fe01419470
Do not store nor notify app for full state generated events
2017-11-08 11:58:08 +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
Ronan Abhamon
5e13c30a04
fix(general): avoid usage of void* cast in getPublic helper, very dangerous in multi inheritance case!!!
2017-11-07 14:37:45 +01:00
Erwan Croze
72442d192d
Fix: change reserved keyword on database init
2017-11-07 09:20:13 +01:00
Erwan Croze
e59e06b495
Fix database for mysql
2017-11-07 09:19:58 +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
Benjamin Reis
bea9b7f3d9
uses event directly in internal conference callbacks
2017-11-06 13:36:24 +01:00
Ronan Abhamon
cb045ce1b1
fix(ChatRoom): rename some functions
2017-11-06 09:17:53 +01:00
Benjamin Reis
975cfd8048
correct use of APPLE targets
2017-11-03 15:55:07 +01:00
Ronan Abhamon
e7f35139b6
fix(AbstractDb): test correctly IOS backend
2017-11-03 12:02:49 +01:00
Ronan Abhamon
58d5c632aa
fix(MainDb): remove L_ASSERT(core)
2017-11-03 11:23:32 +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