Commit graph

199 commits

Author SHA1 Message Date
Audric Ackermann a51f95d28c
move models to TS part1 2021-02-08 15:20:47 +11:00
Audric Ackermann 6e11c6db2e
remove all reference to closed group update v2 2021-01-28 12:06:51 +11:00
Audric Ackermann 999e6fc712
replace GroupUpdateV2 in proto to ClosedGroupControlMessage 2021-01-28 11:39:07 +11:00
Audric Ackermann 79028ebaeb
remove isUnidentifiedDelivery 2021-01-28 11:28:57 +11:00
Audric Ackermann c5ad206239
fix message added not shwon on SessionMessageList 2021-01-28 11:11:35 +11:00
Audric Ackermann 8b8fe66615 update profile of users when getting profile from opengroup message 2021-01-27 18:08:37 +11:00
Audric Ackermann 34e5648681 fix metadatabadges for closed group
do not show crown nor Mod badge
2021-01-27 18:08:02 +11:00
Audric Ackermann b218611831 remove contactCollection in convos. 2021-01-27 16:12:32 +11:00
Audric Ackermann 273eedc6a9 remove hasSignalAccount and Sealed Sender unused 2021-01-27 15:33:51 +11:00
Audric Ackermann eadfbc9f6d
Merge remote-tracking branch 'upstream/clearnet' into clean-and-moderator-dialog-update 2021-01-22 14:41:06 +11:00
Audric Ackermann bb037f7edb
fix profile updates when flag is set (do not drop message) 2021-01-22 13:51:48 +11:00
Audric Ackermann a0703bc2f9
remove primary and secondary device separate status 2021-01-21 17:49:13 +11:00
Audric Ackermann 135fc3b366
remove prekeys 2021-01-21 17:49:07 +11:00
Audric Ackermann fd18345c5a
remove handling of rss related things completely 2021-01-19 16:11:33 +11:00
Audric Ackermann 21c62c167e
remove typing indicator when we get a dataMessage 2021-01-18 11:53:35 +11:00
Audric Ackermann 72c96ea998
remove most of the SessionProtocol unused stuff
- prekeys
- SessionCipher
- LokiCipher
- endSession and the reset Session logic
- what we called Sessionprotocol manager (to keep track of session with
everyone)
2021-01-18 10:58:34 +11:00
Audric Ackermann 979a9058e3
remove verified number - related features (partial) 2021-01-18 10:35:16 +11:00
Audric Ackermann 75b7788fa9
remove stuff related to web api 2021-01-15 10:56:49 +11:00
Audric Ackermann f1d84177a0 fix expirationTimer updates closed group desktop to ios 2021-01-14 16:34:05 +11:00
Audric Ackermann 58be168227 drop groupUpdates which happened before we joined the group 2021-01-14 14:37:09 +11:00
Audric Ackermann 6856c0e748
remove updateTextInputState not needed and add left to menu tests 2021-01-13 15:28:20 +11:00
Audric Ackermann cbd0e63641
add admin dialog to warn him about leaving for v2 closed group 2021-01-13 11:02:22 +11:00
Audric Ackermann d43ae09eb0
first working version of closed group v2 2021-01-12 16:56:21 +11:00
Audric Ackermann 2fe6b11e89
move ConversationController to typescript 2021-01-06 14:26:53 +11:00
Audric Ackermann adf0d03d35
add test for the MessageEncrypter using Session protocol 2021-01-05 14:48:46 +11:00
Audric Ackermann 0a4cae4183
fix duplicates message for open groups 2020-12-17 15:07:32 +11:00
Audric Ackermann 2af4938ff2
fix SessionProtocol decrypt of messages with Android
also disable the old SessionRequest logic
2020-12-17 12:17:11 +11:00
Audric Ackermann b0a229bf13 add Dialog on app start to ask to update SessionID 2020-12-16 16:35:30 +11:00
Audric Ackermann 1045bfeba8 add SessionProtocol wip 2020-12-16 13:56:29 +11:00
Audric Ackermann 6b56f1174e search for duplicates using the sent_at timestamp to speedup db call 2020-12-15 17:15:25 +11:00
Audric Ackermann cd3ec67099 add the encryptWithSessionProtocol method 2020-12-15 17:15:00 +11:00
Audric Ackermann cf25e89a14 cleanup unused code 2020-12-15 17:14:18 +11:00
Audric Ackermann 4026e0162e fix a bug preventing fitlering of duplicates for open group messages 2020-12-15 10:45:34 +11:00
Audric Ackermann 228e4ed662
move MessageController to typescript 2020-12-02 11:26:31 +11:00
Audric Ackermann 184b1984c3
fix autoplay unmuted video when video attachment is added 2020-12-01 16:16:35 +11:00
Audric Ackermann 0addf2146a
add some logs to attachment download 2020-11-24 16:20:02 +11:00
Audric Ackermann 9f14924e65
push toast if gif size is too big 2020-11-23 17:05:41 +11:00
Audric Ackermann da62ba6829
Merge remote-tracking branch 'upstream/clearnet' into react-refactor 2020-11-23 16:26:52 +11:00
Audric Ackermann 97ff60f3bb
reset input for selecting file on file choosen on CompositionBox 2020-11-23 15:01:28 +11:00
Audric Ackermann 380d296bb2
send session request if we get a message we cannot decode
This handle the case where we delete a contact from A, lets call him B
All message after that delete from B to A will be not decoded correctly.

The issue is that the record is existing, but there is no session in it.
The fix is that if we get a message and a record is found, but has not
session in it, we trigger a session request with that user
2020-11-23 13:24:57 +11:00
Audric Ackermann b5af8eb215
Add Mentions with react-mentions 2020-11-18 15:27:13 +11:00
Audric Ackermann 531e7bab46
print error if we get a 178 attachment size.
This is a dirty hack until the root cause is fixed.
2020-11-17 15:26:50 +11:00
Audric Ackermann 221f264de6
rename all saveMessage to message.commit() 2020-11-12 09:21:19 +11:00
Audric Ackermann 209fe460e4
lint and fix toast blur when dialog shwon 2020-11-10 14:55:10 +11:00
Audric Ackermann 357421f161
rename window.console.log to window.log.info 2020-11-09 14:28:02 +11:00
Maxim Shishmarev 27859b13aa Added an option to use v3/lsrpc endpoint for more compact (base64) file reponses 2020-11-09 14:25:24 +11:00
Audric Ackermann e613613416
show toast with react-toastify and make them a styled-component 2020-11-09 11:25:57 +11:00
Audric Ackermann 6fd8ea20c7
fix restoring of session after restore from seed 2020-11-06 14:44:04 +11:00
Audric Ackermann dad9e5297c
make the last seen indicator work as expected 2020-11-02 14:03:11 +11:00
Audric Ackermann 940ad57f83
rework the way unread count works
we no longer refresh on each message read, only once the whole
conversation is read.
2020-10-30 16:02:18 +11:00