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
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
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
Ronan Abhamon
c927f68ad0
feat(MainDb): add logs
2017-10-30 10:30:01 +01:00
Ronan Abhamon
77639532bd
fix(MainDb): log unfetched events
2017-10-27 15:02:52 +02:00
Sylvain Berfini
b914ae9741
Do not add event from history if shared_ptr is null
2017-10-27 14:41:46 +02:00
Ronan Abhamon
c30a7b48f5
feat(MainDb): fetch chat rooms ordered by last update
2017-10-27 11:05:17 +02:00
Ronan Abhamon
54e0f253f5
feat(MainDb): add getConferenceNotifiedEvents impl
2017-10-27 10:44:37 +02:00
Ronan Abhamon
b64ae8a57b
fix(Core): load correctly chat rooms
2017-10-27 09:23:33 +02:00
Ronan Abhamon
5c0b416b76
feat(MainDb): supports correctly foreign keys, fix db schema, ...
2017-10-26 14:55:26 +02:00
Ronan Abhamon
42e2f7f6ef
fix(main-db): add logs
2017-10-26 10:39:26 +02:00
Ronan Abhamon
c5ad52bd42
fix(MainDb): add missing symbols (if soci is not enabled)
2017-10-26 10:19:00 +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
79001f54d0
feat(EventLog): wrap only one C object
2017-10-25 11:05:33 +02:00
Ronan Abhamon
6467c77042
feat(MainDb): supports getHistory and getHistoryRange
2017-10-24 17:31:52 +02:00
Ronan Abhamon
7e0834590b
feat(Events): better names, fix doc, ...
2017-10-24 15:24:43 +02:00
Ronan Abhamon
3e54de8d6a
fix(MainDb): fix compil when soci is not used
2017-10-24 11:55:08 +02:00
Ronan Abhamon
be1d6f99ed
feat(Event): events are now shared
2017-10-24 11:15:46 +02:00
Ronan Abhamon
fde89d36e2
feat(MainDb): supports MySql types and rowid from sqlite
2017-10-23 15:54:25 +02:00