Guillaume BIENKOWSKI
a29a93cd76
Add an API to set and retrieve chat messages "app data". This allows clients to store resilient data for each messages
2014-06-02 14:06:03 +02:00
Simon Morlat
00fa127aec
fix format specifier again
2014-05-30 08:41:32 +02:00
Simon Morlat
1a2e24b14a
update mediastreamer2 to fix big regression with vp8 and h264
...
fix printf formatter to be compatible with visual studio
2014-05-29 14:54:09 +02:00
Guillaume BIENKOWSKI
b56095f59f
Add API to debug sqlite timings, and a test to profile the message migration
2014-05-28 14:53:30 +02:00
Guillaume BIENKOWSKI
1a89e8a174
Use a transaction for message migration. On 10000 messages, we have a 20x speedup.
2014-05-28 14:26:14 +02:00
Simon Morlat
dbbea2a41c
add debug message to indicate duration of sqlite request
2014-05-28 11:35:31 +02:00
Guillaume BIENKOWSKI
43e42a55f5
Better fix: just in case, don't use the storage id and use a better search condition.
2014-05-22 14:40:42 +02:00
Guillaume BIENKOWSKI
76a5f51e35
Use storage id for storing the message state, instead of filtering by message and time.
...
This was historically used because notifications of the new message state would supposedly be made with a new instance of the same message, so without a correct storage_id.
I verified that this is not the case anymore.
2014-05-22 13:41:53 +02:00
Simon Morlat
78e59e5bec
suppress warnings
2014-05-21 16:04:11 +02:00
Guillaume BIENKOWSKI
0dce1b41db
Don't use printf
2014-05-20 11:16:38 +02:00
Guillaume BIENKOWSKI
20c646bc4a
Allow multiple calls to linphone_core_message_storage_init
2014-05-20 10:49:34 +02:00
Guillaume BIENKOWSKI
d491197c91
Switch to UTC timestamp storage for messages, instead of string-based local timezone time.
...
Migration procedure included.
2014-05-19 14:31:03 +02:00
Guillaume BIENKOWSKI
4a2bb40b1b
Upcase SQL statements for reading convenience
2014-05-19 14:31:03 +02:00
Guillaume BIENKOWSKI
f27a2387d4
Add list of transient messages for messages that are still transitioning to either "delivered" or "error" state.
...
This allows the get_history() call to return pointers that are valid when the chat_state_changed callback is called.
2014-05-15 17:14:50 +02:00
Ghislain MARY
4462b0aed0
Fix compilation error when MSG_STORAGE_ENABLED is not defined.
2013-08-19 15:42:30 +02:00
Sylvain Berfini
90b6aa36f2
Added some methods to allow to create a chat message completely and to store a chat message in database + JNI bindings for these methods
2013-08-14 16:48:46 +02:00
Sylvain Berfini
b3c08e5d7e
Added method to update message's url field in database in case of changes
2013-08-14 11:17:30 +02:00
Sylvain Berfini
d56d927caf
Added external_body_url column in chat storage
2013-08-13 16:42:11 +02:00
Sylvain Berfini
88a0da21c1
Added storage_id field to LinphoneChatMessage struct + method to delete a single message in message_storage API + JNI glue for this method
2013-08-13 15:08:20 +02:00
Simon Morlat
c53e94d504
update documentation for linphone-deps generation on windows
...
fix compile errors with mingw
2013-08-13 09:47:38 +02:00
Sylvain Berfini
6796242238
Added JNI glue for markAsRead LinphoneChatRoom method + get all the messages with getHistory method if limit <= 0
2013-08-12 14:32:25 +02:00
Sylvain Berfini
1ccf89e4fb
Init chatrooms at storage startup using sotred conversations + JNI glue to get chatrooms list
2013-08-09 17:06:39 +02:00
Sylvain Berfini
952adab4f8
Added more JNI bindings for ChatMessages + few fixes in messaeg_storage (some properties weren't set when read from database)
2013-08-09 11:04:50 +02:00
Margaux Clerc
9a9074efd3
Add strtok in ortp for mingw compilation
2013-06-05 14:30:01 +02:00
Margaux Clerc
d0279bf404
Fix bug report
2013-05-07 11:49:54 +02:00
Margaux Clerc
542a84503c
change unread messages picture
...
chnage time for time change
2013-04-08 12:59:42 +02:00
Margaux Clerc
a4cc7689c6
add number of unread messages
2013-03-20 12:36:12 +01:00
Simon Morlat
42ab420ce6
clean message storage API
...
relax requirement for sqlite3
2013-03-09 10:37:29 +01:00
Margaux Clerc
33e6655152
history chat delete
...
update README for macos
2013-03-07 16:13:15 +01:00
Margaux Clerc
c62f68350d
add message storage
2013-03-07 12:19:28 +01:00