Commit graph

429 commits

Author SHA1 Message Date
Audric Ackermann d43ae09eb0
first working version of closed group v2 2021-01-12 16:56:21 +11:00
Audric Ackermann 9048913332
split conversation reducer for convo logic
also
- fix ordering of messages for open groups, when they are added
- fix the way the firstMessageOfSeries for just created clsoed groups
2021-01-07 10:51:20 +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 cd3ec67099 add the encryptWithSessionProtocol method 2020-12-15 17:15:00 +11:00
Audric Ackermann f28dfe5a94 use fallbacks for message even if we have a session with the device 2020-12-07 17:06:46 +11:00
Audric Ackermann 9fe87ca8c3
fix typing of MessageController 2020-12-02 16:23:58 +11:00
Audric Ackermann 4c0a988fe5
Move the metadata badges to use react functional components 2020-12-02 16:23:51 +11:00
Audric Ackermann 228e4ed662
move MessageController to typescript 2020-12-02 11:26:31 +11:00
Audric Ackermann 727261b36a
be sure to register outgoing message for medium groups when created 2020-12-01 17:14:43 +11:00
Audric Ackermann 60a4fcbfcc
small UI fixes for caption editor 2020-11-26 15:53:52 +11:00
Audric Ackermann 82b59f808d
no confirmation on message delete from the message detail view 2020-11-26 15:16:44 +11:00
Audric Ackermann 5e43210493
Merge branch 'clearnet' of github.com:loki-project/loki-messenger into react-refactor 2020-11-25 13:42:56 +11:00
Audric Ackermann 465c9dfa77
remove dirty hack used before we use the notify on PN
this was used to not trigger events when sending a control message
2020-11-25 13:25:59 +11:00
Audric Ackermann 80523a9a3e
rename MessageQueue event to be more easily searchable
success -> sendSuccess
fail -> sendFail
2020-11-25 12:26:42 +11:00
Audric Ackermann cc049065da
do not use v3 for live.apns.getsession.org PN calls 2020-11-24 11:47:44 +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 f2074f502a
Uniformize size of accepted attachment to 10MB
Some image files can be scaled automatically, so this size is not the
same for them, they will just be scaled down
2020-11-23 16:25:20 +11:00
Audric Ackermann edd984e0f5
make quotes stay empty when there object isEmpty() 2020-11-19 11:56:34 +11:00
Audric Ackermann b5af8eb215
Add Mentions with react-mentions 2020-11-18 15:27:13 +11:00
Audric Ackermann 828aa4413f
remove unused group_member_list component 2020-11-17 16:46:04 +11:00
Audric Ackermann 2f2eb2ad53
link back backbone conversation events to redux store 2020-11-13 17:17:48 +11:00
Audric Ackermann f3430bdcb5
add toast on isBlocked, isKicked, ... for sending of messages 2020-11-12 14:39:37 +11:00
Audric Ackermann 30f93b2ad3
remove conversation stack 2020-11-11 10:01:17 +11:00
Audric Ackermann 190d597814
only trigger new msg on open group if we are still running 2020-11-10 17:33:44 +11:00
Audric Ackermann c039c89a26
remove resetMessageSelection() as unused and cleanup toast 2020-11-10 16:15:27 +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 8710b7a9e8
medium group: send existing expiretimer to joining members if set 2020-11-09 13:58:37 +11:00
Audric Ackermann 545eef4edb
include expireTimer in group invitation message so it does not reset it 2020-11-09 12:06:26 +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 0b4400837b
fix scroll to quoted message and contact display name of group updates 2020-11-04 16:55:52 +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
Audric Ackermann 13e02b5bf1
add staged link previews for everything from signal 2020-10-28 11:06:47 +11:00
Audric Ackermann 12bf46e09e
use pushToast through ToastUtils when it's a static toast content 2020-10-27 12:56:32 +11:00
Audric Ackermann 79eae4838d
Merge remote-tracking branch 'upstream/clearnet' into react-refactor 2020-10-27 09:59:23 +11:00
Audric Ackermann 17ac8c4343
Merge remote-tracking branch 'upstream/clearnet' into react-refactor 2020-10-27 09:14:08 +11:00
Audric Ackermann 55fa65fc31
override attachments name on upload 2020-10-27 09:13:29 +11:00
Audric Ackermann 5de2dea407
use .ok field on serverRequest to check for request success 2020-10-26 10:35:33 +11:00
Audric Ackermann fe3cfb9e82
move all menu to react-contexify 2020-10-22 16:34:41 +11:00
Audric Ackermann 2b13321c23
remove completely send to proxy 2020-10-22 09:58:32 +11:00
Audric Ackermann 4c91d977ca
move token and submit challenge call to onion request 2020-10-22 09:56:44 +11:00
Maxim Shishmarev 61897df7dd Lint 2020-10-21 15:51:52 +11:00
Maxim Shishmarev c5b2b64d7f Add onions-v2 support for fileserver requests 2020-10-21 14:08:12 +11:00
Maxim Shishmarev 692a0e8cff Optionally use v2 onions for snode requests 2020-10-21 14:08:12 +11:00