Commit graph

9431 commits

Author SHA1 Message Date
Audric Ackermann 98e7d50b73
do not create the convo when fetching avatar.
if the convo is not here, it's likely it was removed by the user itself.
2020-11-26 16:26:07 +11:00
Audric Ackermann 1bb99ac3df
enable back media switch on lightbox opened from a message
with several attachments
2020-11-26 16:05:07 +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 c1c1cde14b
improve caption editor, and disable right panel if messagedetails shown 2020-11-26 14:24:29 +11:00
Audric Ackermann 20496c45d6
remove sendAnyWay and showSafetyNumber from props of MessageDetails 2020-11-25 14:17:16 +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 22b4f39e52
MessageDetails: contact status fallbacks to message status
this is used for medium groups
2020-11-25 13:25:08 +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 5c55a9411f
add first step to enable back MessageDetails.
Still not much the react way to do it for now
2020-11-25 11:52:20 +11:00
Audric Ackermann 71e1f1e143
ignore ts generated files under subdirectory too 2020-11-25 11:51:14 +11:00
Audric Ackermann 59baf7562b
add ts file for missing test key_change_listener 2020-11-25 09:48:42 +11:00
Audric Ackermann 8ac2011682
render triple dots menu on header only when not on default viewmode 2020-11-25 09:14:38 +11:00
Audric Ackermann 291d4682e4
fix some tests 2020-11-25 09:14:22 +11:00
Audric Ackermann 85fa02f264
Merge pull request #1394 from loki-project/clearnet 2020-11-25 08:48:56 +11:00
Audric Ackermann 8606d1b989
Merge pull request #1393 from Bilb/no-v3-for-notify-pn 2020-11-24 17:02:03 +11:00
Audric Ackermann 51ea762bce
enable save of attachments on click on single generic attachment 2020-11-24 16:40:55 +11:00
Audric Ackermann 0addf2146a
add some logs to attachment download 2020-11-24 16:20:02 +11:00
Audric Ackermann 2ec337dd31
Add back ability to edit caption before sending attachments 2020-11-24 16:12:28 +11:00
Audric Ackermann 155ba35d00
allow set-end for DISPLAY and LANG call on pull request 2020-11-24 14:13:43 +11:00
Audric Ackermann f673589c56
add types for blueimp-load-image 2020-11-24 13:19:21 +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 b845b90e80
Bump to v1.4.2 2020-11-24 09:08:34 +11:00
Audric Ackermann c736023c88
enable file onion request v2 in lokiFeatureFlags 2020-11-24 09:05:45 +11:00
Audric Ackermann a22836f47a
Merge branch 'master' into clearnet 2020-11-24 09:05:22 +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 308b24c278
Merge pull request #1388 from msgmaxim/onions-v2-og
Optionally use v3/lsrpc endpoint for more compact (base64) file downloads
2020-11-23 15:10:58 +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 a1d4dea845
fix scrolling to unread and marking message as read on scrolling
we need to hit the bottom for the convo to update currently

add smooth scrolling on click on quoted message
2020-11-23 10:48:36 +11:00
Audric Ackermann d0043ca245
use react-intersection to accurately mark messages as read 2020-11-20 15:10:28 +11:00
Audric Ackermann d533a3aca5
fix unread message banner for MessagesList 2020-11-20 12:17:42 +11:00
Audric Ackermann 535b1d59ef
add a reset conversation action type and call it on message destroyed 2020-11-19 15:55:03 +11:00
Audric Ackermann bb87eb0f52
fix timer expiring sometimes missing a sec 2020-11-19 15:38:58 +11:00
Audric Ackermann 1fd15ac977
Make SettingsView refresh on conversation change 2020-11-19 14:57:26 +11:00
Audric Ackermann a695528d09
focus composition box on attachment added 2020-11-19 14:31:34 +11:00
Audric Ackermann 7a81c78382
focus composition box on conversation change 2020-11-19 14:26:36 +11:00
Audric Ackermann 4e1ec3b65a
fix screen layout when reset db on start 2020-11-19 14:07:51 +11:00
Audric Ackermann 4d9371dfe7
fix SessionRegistrationView missing from signal.js 2020-11-19 13:55:01 +11:00
Audric Ackermann 7b3981207e
fix password dialog 2020-11-19 13:49:53 +11:00
Audric Ackermann 2a12427b11
update redux on group update message added 2020-11-19 13:29:57 +11:00
Audric Ackermann f8f15cb9f7
fix remove message for public groups 2020-11-19 13:26:59 +11:00
Audric Ackermann ff2bd1b7b4
allow preview without image to be send
otherwise, an error during the send was triggered
2020-11-19 11:57:51 +11:00
Audric Ackermann edd984e0f5
make quotes stay empty when there object isEmpty() 2020-11-19 11:56:34 +11:00
Audric Ackermann 531b227ae4
clean unused files and fix recovery dialog showing 2020-11-19 09:14:48 +11:00
Audric Ackermann 1503d83f3a
add ourPrimary convo to redux and update the actionPanel with it 2020-11-18 18:48:20 +11:00
Audric Ackermann c203303c71
rename SessionConversationMessagesList to SessionMessagesList 2020-11-18 16:33:33 +11:00