Commit graph

9287 commits

Author SHA1 Message Date
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 f673589c56
add types for blueimp-load-image 2020-11-24 13:19:21 +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
Audric Ackermann 935f00934b
add a key to all messages printed in SessionMessagesList 2020-11-18 16:32:08 +11:00
Audric Ackermann c9e81454fb
make mentions work in react when emoji inserted inside at a rand pos 2020-11-18 16:26:41 +11:00
Audric Ackermann b5af8eb215
Add Mentions with react-mentions 2020-11-18 15:27:13 +11:00
Audric Ackermann b2e362a36b
add a useInterval hook and move useNetwork hook to the hook folder 2020-11-18 14:40:59 +11:00
Audric Ackermann 828aa4413f
remove unused group_member_list component 2020-11-17 16:46:04 +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 81196b793e
prevent 'now ago' from appearing with capitalize 2020-11-17 14:06:59 +11:00
Audric Ackermann 28bc3536bd
cleanup unused stuff in conversation.js 2020-11-17 13:59:20 +11:00
Audric Ackermann a2c5427912
do not trigger endSession if we end get a missing prekey 2020-11-17 13:30:41 +11:00
Audric Ackermann 0beb47e597
add messageDeleted redux action 2020-11-17 13:30:24 +11:00
Audric Ackermann e1548b66e4
enable back drag events as now the SessionConversation updates only 2020-11-17 11:55:01 +11:00
Audric Ackermann d2ada105ed
make session dropdown use hooks 2020-11-17 10:51:39 +11:00
Audric Ackermann e5ef061fbe
trigger messageAdded on some message added from ctx menu 2020-11-17 10:32:12 +11:00
Audric Ackermann c8e8d851f9
fix verified change saving of messages, and ctx menu for header 2020-11-17 10:21:24 +11:00
Audric Ackermann 5698bca90b
remove unused recorder_view.js 2020-11-17 09:22:47 +11:00
Audric Ackermann 2fc61d2c96
cleanup expired template from html files 2020-11-17 09:09:04 +11:00
Audric Ackermann 6e14718a32
reactity the expired Session version warning 2020-11-16 17:33:09 +11:00
Audric Ackermann 977569cde0
move offline network view to react 2020-11-16 15:32:53 +11:00
Audric Ackermann f9ab90fb71
link backbone message added to redux 2020-11-16 14:45:13 +11:00
Audric Ackermann 2f2eb2ad53
link back backbone conversation events to redux store 2020-11-13 17:17:48 +11:00
Audric Ackermann 918eeae275
move InboxView to react 2020-11-13 14:29:59 +11:00
Audric Ackermann 2ae7a6dfe5
cleanup message.js and conversation_view.js 2020-11-12 15:40:07 +11:00
Audric Ackermann d94d2819ce
use placeholder when convo blocked in composition box 2020-11-12 15:10:37 +11:00