Commit graph

133 commits

Author SHA1 Message Date
Sylvain Berfini
bcf1baaff1 Wait for file transfer to be downloaded before sending Displayed IMDN 2018-03-16 11:04:08 +01:00
Sylvain Berfini
f58ba4083e Moved appData from FileContent to any Content 2018-03-15 15:46:45 +01:00
Sylvain Berfini
3fd55c4a2b Fixes + tests for external body URL 2018-03-15 14:31:57 +01:00
Sylvain Berfini
166b0a5d62 Send message with external body url if exists 2018-03-15 14:09:42 +01:00
Sylvain Berfini
1207501da2 Started to restore external body url feature in chat message 2018-03-15 14:01:04 +01:00
Jehan Monnier
261b0f195a fix crash when destroying LinphoneCore during file upload 2018-03-14 08:21:36 +01:00
Ghislain MARY
61c79b43e0 Use C++ instead of C where possible. 2018-03-13 17:29:13 +01:00
Sylvain Berfini
12f0e6c1ed Fixed issue when downloading a file from a chat message loaded from database (and thus locked) 2018-03-07 13:29:15 +01:00
Sylvain Berfini
0684cedc21 Renamed method as it is also true for uploads 2018-03-06 18:00:05 +01:00
Sylvain Berfini
9092d88775 Added method on chat message to know whether or not a download is in progress 2018-03-06 17:50:28 +01:00
Benjamin Reis
d6c17a1683 add priority header with 'non-urgent' valu to imdn & is-composing 2018-03-05 11:39:38 +01:00
Sylvain Berfini
5adb1f04c3 Removed useless use_cpim rc param 2018-03-02 18:03:44 +01:00
Sylvain Berfini
d440dfd3fd Fixed big mistake in my previous commit... 2018-02-28 16:40:51 +01:00
Sylvain Berfini
d41dba6357 Fixed message stored one time in clear and one time encrypted if using asynchronism while encrypting 2018-02-28 16:13:12 +01:00
Ghislain MARY
0f55122183 Fix group chat testers broken because of multiple chat room listeners + fix is-composing count in group chat testers + deactivate instable group chat testers for the moment. 2018-02-27 13:45:06 +01:00
Ronan Abhamon
53296fb8cb fix(ChatMessage): improve check of loaded contents 2018-02-26 10:28:32 +01:00
Ronan Abhamon
de8c673f38 fix(MainDb): ensure contents are loaded before add event 2018-02-26 09:23:40 +01:00
Sylvain Berfini
4c2e09b8f0 Small code improvement 2018-02-23 17:22:46 +01:00
Ronan Abhamon
ac482f58b7 fix(MainDb): fix sql lock 2018-02-23 17:22:05 +01:00
Jehan Monnier
6da095454c make sure imdm are still passed to the application if deliver_imdn setting is set to 1 2018-02-22 17:34:07 +01:00
Sylvain Berfini
4ba2aa8af0 Added multi listener for ChatRoom 2018-02-22 10:52:23 +01:00
Ronan Abhamon
07443b1f60 feat(MainDb): increase performance of get history range 2018-02-16 17:21:47 +01:00
Ghislain MARY
7137ca85dc Add option to deactivate handling of chat message state by participant in group chat. 2018-02-15 11:11:58 +01:00
Ghislain MARY
91bce6e695 Correctly handle IMDN for group chat. 2018-02-14 18:10:38 +01:00
Sylvain Berfini
b5b6ef4545 Added new chat room callback to let app decides whether or not store chat message in database 2018-02-14 11:34:35 +01:00
Ronan Abhamon
fd28664747 feat(ChatRoom): update chat room time on events insertion 2018-02-13 16:32:42 +01:00
Ghislain MARY
983471e8d0 For fixes for real time text. 2018-02-12 17:48:55 +01:00
Ghislain MARY
e2ca3cbbeb Prevent encryption of IMDN messages signaling an error. 2018-02-01 17:42:42 +01:00
Ghislain MARY
ae93514982 Add canHandleMultipart() method on chat rooms. 2018-02-01 16:30:38 +01:00
Ghislain MARY
2d97f5ded9 Fix iterator bug in send() method of ChatMessagePrivate. 2018-02-01 15:40:51 +01:00
Sylvain Berfini
6a4eb317f4 Removed useless param 2018-02-01 13:39:47 +01:00
Sylvain Berfini
d6d9e399c6 Fixed IMDN and isComposing sent being stored in db 2018-02-01 13:04:53 +01:00
Sylvain Berfini
3b64a06c3b Fixed legacy getText method on ChatMessage 2018-02-01 10:31:59 +01:00
Sylvain Berfini
1f2f1deb5e Fixed old API setText and setContentType on ChatMessage 2018-01-31 17:46:01 +01:00
Sylvain Berfini
a64dc54e7a Fixes for chat message when using custom content type and encryption 2018-01-31 17:00:51 +01:00
Ghislain MARY
7c4533b8fc Restore the ability for a user to define if a ChatMessage is to be stored or not. 2018-01-31 16:53:09 +01:00
Sylvain Berfini
2156bb3d45 Fixed issue with encryption 2018-01-31 15:26:20 +01:00
Sylvain Berfini
8cd317c30a Fixed issue with IM delivery notifications 2018-01-31 13:00:18 +01:00
Sylvain Berfini
adc88d0965 Improved condition used to store messages or not 2018-01-31 11:58:10 +01:00
Ghislain MARY
e415dbacb9 Fix wrong handling of MessageOp in ChatMessage (it needs to be able to survive to the destruction of the ChatMessage). 2018-01-31 11:27:52 +01:00
Sylvain Berfini
30f90763c4 Improve isFile use in Contents for FileTransfer 2018-01-30 14:56:59 +01:00
Sylvain Berfini
10564ec12d Improved ChatMessage setText and setContentType from old API 2018-01-30 14:35:22 +01:00
Ghislain MARY
03853c8b14 Fix memory leak of ChatMessage. 2018-01-29 18:07:53 +01:00
Mickaël Turnel
acd77eba5f A message is always sent as UTF-8 2018-01-25 10:34:50 +01:00
Sylvain Berfini
404e213cc4 Log an error and abort sending chat message without any content 2018-01-23 13:57:56 +01:00
Sylvain Berfini
cb41aa0482 Changed order of chat message modifier for LIME v2 2018-01-16 14:41:04 +01:00
Ronan Abhamon
26ad07a02e feat(core): update date of some files 2018-01-15 09:17:54 +01:00
Sylvain Berfini
3a39020f81 Added canHandleCpim method on chat rooms to know whether or not send Cpim messages through it 2018-01-11 17:23:26 +01:00
Sylvain Berfini
798c9502ff Yet another leak fixed 2018-01-10 11:48:08 +01:00
Ghislain MARY
4cc7985da9 Correctly define call session state enumeration. 2017-12-28 12:43:56 +01:00