Jehan Monnier
1948fbcb07
Revert most of Ronan refactoring to avoid to much instability on master.
2017-09-08 15:13:34 +02:00
Jehan Monnier
252925a373
improve logging to make sure all logger are handler by liblinphone, including, ortp, bzrtp and belle-sip
2017-09-08 13:58:30 +02:00
Ghislain MARY
0babed04f4
Use ChatRoom C++ class.
2017-08-30 10:27:51 +02:00
Simon Morlat
3c446b7695
disable keep-uuid because the bug was actually in Flexisip
2017-08-08 11:25:58 +02:00
Ghislain MARY
dc9e64a234
Fix memory leak in external body url message test.
2017-08-03 15:49:14 +02:00
Ghislain MARY
03130daadc
Prevent crash in message tests.
2017-08-03 15:25:49 +02:00
Ghislain MARY
db52ddaa09
Get same instance id across all message tests to prevent receiving messages from a previous test because of forking.
2017-08-03 15:25:49 +02:00
Simon Morlat
2dd2ee6e79
fix memory leaks
2017-07-31 16:08:56 +02:00
Ghislain MARY
7ceddff0b9
Do not rename files to compile them as C++.
2017-07-24 11:56:50 +02:00
Ghislain MARY
b9b283dcdb
Compile source files as C++.
2017-07-21 17:06:41 +02:00
Sylvain Berfini
c673c854cb
Added test to reproduce LIME issue when sending 2 messages while network not reachable + improved LIME error logs
2017-07-19 11:22:42 +02:00
Jehan Monnier
88fe8d0044
make sure IP encryption Engine API can be used without needing to include any private headers
2017-06-26 15:21:43 +02:00
Simon Morlat
2f4d1c8558
fix crash again
2017-06-13 14:34:16 +02:00
Simon Morlat
2b93067a78
fix memory leak and crash in test suite
2017-06-09 14:16:34 +02:00
Jehan Monnier
f28e3884ba
update default im encryption engine unit test
2017-06-06 13:32:17 +02:00
Johan Pascal
5ff61484ea
improve zrtp cache migration test
2017-04-17 11:56:25 +07:00
Johan Pascal
313b60c004
zid cache migration moved to bzrtp lib
...
- cache migration is now performed in place not to another file
- tester of the migration needs to be fixed
2017-04-16 18:11:09 +07:00
Johan Pascal
fcc61d1aa5
Switch to sql based zrtp/lime cache
...
Warning: no migration from old xml cache provided yet
2017-04-01 11:05:08 +07:00
Ghislain MARY
a8418666e4
Fix deprecation warnings.
2017-03-20 11:15:26 +01:00
Benjamin Reis
b18702cf9e
to_be_stored_api && do not filter SIP message notified to app
2017-02-28 17:00:29 +01:00
Sylvain Berfini
264bd2b2dc
Added simple XOR IM Encryption Engine test/sample
2017-02-21 15:55:38 +01:00
Ghislain MARY
5193bb34e1
Add API to resend a chat message that has not been delivered.
2017-02-21 10:52:17 +01:00
Benjamin Reis
615f9d4e23
Send 200Ok to server if message we can't decrypt to avoid useless retransmission + adaptation of tests to this behavior
2017-02-20 11:19:47 +01:00
Simon Morlat
dbf7675070
fix compilation error without sqlite
2017-02-05 17:41:03 +01:00
Johan Pascal
d0222b5a87
Manage LIME key expiration date
2017-02-05 15:33:12 +07:00
Ghislain MARY
50f4e52966
Store chat message in database before file upload so that if the file upload fails we can try sending the chat message an other time.
2017-02-03 15:29:40 +01:00
Simon Morlat
7fd880bfdf
fix crash
2017-02-01 14:22:12 +01:00
Ghislain MARY
b297a4cb1d
Rework chat handling.
...
- Add content type information in LIME encrypted message
- Single entry point for all types of chat messages that are first decrypted if necessary and then handled according to their content type
- Add possibility to send chat messages with a content type that is not 'text/plain'
- Encrypt IMDN
2017-01-31 12:25:12 +01:00
Ghislain MARY
537004730a
Add IM notifications tests with lime enabled.
2017-01-24 11:36:02 +01:00
Sylvain Berfini
2b407fabfa
Fixes for LIME when used with file body handler (requires belle-sip 1.5.0-133 or newer)
2017-01-18 12:46:14 +01:00
Sylvain Berfini
030b1c05d5
Fixed callback issue with file body handler if file is big enough + improved tester
2017-01-17 11:56:11 +01:00
Simon Morlat
16a6ffcb2c
fix leak again
2017-01-16 11:26:43 +01:00
Simon Morlat
656ff43b13
fix most common warnings
2017-01-14 14:13:26 +01:00
Sylvain Berfini
63cc85751c
Fixed an issue with LIME and Preferred policy + added tests
2017-01-12 16:40:22 +01:00
Sylvain Berfini
e7213322b1
Fix issue in some RTT tests
2017-01-10 12:12:35 +01:00
Ghislain MARY
9fa30c5c20
Handle error cases in IMDN notifications.
2017-01-09 16:55:16 +01:00
Ghislain MARY
e34327f58f
Handle IM notification policy.
2017-01-03 14:56:56 +01:00
Ghislain MARY
f9ae431782
The (is_)read field of a LinphoneChatMessage is now deprecated, the LinphoneChatMessageStateDisplayed state is used instead.
2017-01-03 14:56:17 +01:00
Ghislain MARY
7889b0610b
Store weak references of chat messages in the chat room to be able to returned the same LinphoneChatMessage object to the application.
2017-01-03 14:56:17 +01:00
Ghislain MARY
410f5b9e1c
Revert message callbacks moved to LinphoneChatRoom instead of LinphoneChatMessage.
2017-01-03 14:56:17 +01:00
Ghislain MARY
9867c2fee7
Send and receive imdn.
2017-01-03 14:56:17 +01:00
Sylvain Berfini
41b9cf9c67
Fix allocs and frees in lime
2017-01-03 12:29:39 +01:00
Sylvain Berfini
97a73f1c60
Added message test
2016-12-20 15:52:27 +01:00
Sylvain Berfini
5eb5ea3473
Fixed RTT character not being freed correctly + RTT test with SRTP failing if SRTP not available
2016-12-15 15:26:09 +01:00
Simon Morlat
5d73bb8232
fix undefined prototypes (makes error in windows build)
2016-12-10 18:20:30 +01:00
Sylvain Berfini
835f9e4334
Clean temporary files created by Message suite in tester
2016-12-07 17:20:48 +01:00
Sylvain Berfini
85d8e09d59
Call IM Encryption Engine outoing & incoming callbacks also for composing messages, but do nothing with lime + test
2016-12-05 12:07:11 +01:00
Simon Morlat
a878da624f
fix compilation issues when sqlite storage is disabled
2016-12-03 13:28:14 +01:00
Sylvain Berfini
9a26b72164
Merge remote-tracking branch 'private/dev_im_encryption_engine'
2016-12-01 11:12:10 +01:00
Ghislain MARY
33b72ce6b5
Move public header files in the include/linphone directory.
2016-11-15 14:41:18 +01:00