Audric Ackermann
f0a58b01b0
remove calculatingPow animation on msg => use the one for sending
5 years ago
Audric Ackermann
9fe87ca8c3
fix typing of MessageController
5 years ago
Audric Ackermann
4c0a988fe5
Move the metadata badges to use react functional components
5 years ago
Audric Ackermann
8cc2cd6581
rename textPending to bodyPending
...
not even sure we need it for Session
this is used when the users sends a really large body => it is sent as
an attachment
5 years ago
Audric Ackermann
29eb528d1f
remove signal gear icon, and show back ours on calculatingPow
...
this is used for a message in the message list and in the conversation
list item
5 years ago
Audric Ackermann
228e4ed662
move MessageController to typescript
5 years ago
Audric Ackermann
727261b36a
be sure to register outgoing message for medium groups when created
5 years ago
Audric Ackermann
184b1984c3
fix autoplay unmuted video when video attachment is added
5 years ago
Audric Ackermann
f9783be764
various UI fixes
...
* hide borders of images in bg when in the message details view
* force color of caption edits to white, as the background is grey and
it is more readable
* fix a bug preventing to quote the same message twice when switing
between two conversation after starting to quote one
5 years ago
Audric Ackermann
88cd58e7ff
trigger theme switch with user theme on app start
5 years ago
Audric Ackermann
d729e49840
update to latest major version of react-contexify
5 years ago
Audric Ackermann
e8677eef8c
add back bump typing to CompositionBox 7 show bubbles on direct convo
5 years ago
Audric Ackermann
08d8b90aaa
add animation on click on quoted message just like on mobile
5 years ago
Audric Ackermann
9f0fd6fa8a
fix mentions shows display name in composition box but sends user id
5 years ago
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.
5 years ago
Audric Ackermann
1bb99ac3df
enable back media switch on lightbox opened from a message
...
with several attachments
5 years ago
Audric Ackermann
60a4fcbfcc
small UI fixes for caption editor
5 years ago
Audric Ackermann
82b59f808d
no confirmation on message delete from the message detail view
5 years ago
Audric Ackermann
c1c1cde14b
improve caption editor, and disable right panel if messagedetails shown
5 years ago
Audric Ackermann
20496c45d6
remove sendAnyWay and showSafetyNumber from props of MessageDetails
5 years ago
Audric Ackermann
5e43210493
Merge branch 'clearnet' of github.com:loki-project/loki-messenger into react-refactor
5 years ago
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
5 years ago
Audric Ackermann
22b4f39e52
MessageDetails: contact status fallbacks to message status
...
this is used for medium groups
5 years ago
Audric Ackermann
80523a9a3e
rename MessageQueue event to be more easily searchable
...
success -> sendSuccess
fail -> sendFail
5 years ago
Audric Ackermann
5c55a9411f
add first step to enable back MessageDetails.
...
Still not much the react way to do it for now
5 years ago
Audric Ackermann
71e1f1e143
ignore ts generated files under subdirectory too
5 years ago
Audric Ackermann
8ac2011682
render triple dots menu on header only when not on default viewmode
5 years ago
Audric Ackermann
291d4682e4
fix some tests
5 years ago
Audric Ackermann
51ea762bce
enable save of attachments on click on single generic attachment
5 years ago
Audric Ackermann
0addf2146a
add some logs to attachment download
5 years ago
Audric Ackermann
2ec337dd31
Add back ability to edit caption before sending attachments
5 years ago
Audric Ackermann
f673589c56
add types for blueimp-load-image
5 years ago
Audric Ackermann
cc049065da
do not use v3 for live.apns.getsession.org PN calls
5 years ago
Audric Ackermann
9f14924e65
push toast if gif size is too big
5 years ago
Audric Ackermann
da62ba6829
Merge remote-tracking branch 'upstream/clearnet' into react-refactor
5 years ago
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
5 years ago
Audric Ackermann
97ff60f3bb
reset input for selecting file on file choosen on CompositionBox
5 years ago
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
5 years ago
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
5 years ago
Audric Ackermann
d0043ca245
use react-intersection to accurately mark messages as read
5 years ago
Audric Ackermann
d533a3aca5
fix unread message banner for MessagesList
5 years ago
Audric Ackermann
535b1d59ef
add a reset conversation action type and call it on message destroyed
5 years ago
Audric Ackermann
bb87eb0f52
fix timer expiring sometimes missing a sec
5 years ago
Audric Ackermann
1fd15ac977
Make SettingsView refresh on conversation change
5 years ago
Audric Ackermann
a695528d09
focus composition box on attachment added
5 years ago
Audric Ackermann
7a81c78382
focus composition box on conversation change
5 years ago
Audric Ackermann
4d9371dfe7
fix SessionRegistrationView missing from signal.js
5 years ago
Audric Ackermann
7b3981207e
fix password dialog
5 years ago
Audric Ackermann
f8f15cb9f7
fix remove message for public groups
5 years ago
Audric Ackermann
edd984e0f5
make quotes stay empty when there object isEmpty()
5 years ago
Audric Ackermann
531b227ae4
clean unused files and fix recovery dialog showing
5 years ago
Audric Ackermann
1503d83f3a
add ourPrimary convo to redux and update the actionPanel with it
5 years ago
Audric Ackermann
c203303c71
rename SessionConversationMessagesList to SessionMessagesList
5 years ago
Audric Ackermann
935f00934b
add a key to all messages printed in SessionMessagesList
5 years ago
Audric Ackermann
c9e81454fb
make mentions work in react when emoji inserted inside at a rand pos
5 years ago
Audric Ackermann
b5af8eb215
Add Mentions with react-mentions
5 years ago
Audric Ackermann
b2e362a36b
add a useInterval hook and move useNetwork hook to the hook folder
5 years ago
Audric Ackermann
828aa4413f
remove unused group_member_list component
5 years ago
Audric Ackermann
531e7bab46
print error if we get a 178 attachment size.
...
This is a dirty hack until the root cause is fixed.
5 years ago
Audric Ackermann
81196b793e
prevent 'now ago' from appearing with capitalize
5 years ago
Audric Ackermann
0beb47e597
add messageDeleted redux action
5 years ago
Audric Ackermann
e1548b66e4
enable back drag events as now the SessionConversation updates only
5 years ago
Audric Ackermann
d2ada105ed
make session dropdown use hooks
5 years ago
Audric Ackermann
c8e8d851f9
fix verified change saving of messages, and ctx menu for header
5 years ago
Audric Ackermann
2fc61d2c96
cleanup expired template from html files
5 years ago
Audric Ackermann
6e14718a32
reactity the expired Session version warning
5 years ago
Audric Ackermann
977569cde0
move offline network view to react
5 years ago
Audric Ackermann
f9ab90fb71
link backbone message added to redux
5 years ago
Audric Ackermann
2f2eb2ad53
link back backbone conversation events to redux store
5 years ago
Audric Ackermann
918eeae275
move InboxView to react
5 years ago
Audric Ackermann
2ae7a6dfe5
cleanup message.js and conversation_view.js
5 years ago
Audric Ackermann
d94d2819ce
use placeholder when convo blocked in composition box
5 years ago
Audric Ackermann
f3430bdcb5
add toast on isBlocked, isKicked, ... for sending of messages
5 years ago
Audric Ackermann
e45ce43e01
store messages currently loaded in convo on redux
5 years ago
Audric Ackermann
221f264de6
rename all saveMessage to message.commit()
5 years ago
Audric Ackermann
5122433eb4
remove message_list_view.js and replace saveMessage with a commit()
5 years ago
Audric Ackermann
30f93b2ad3
remove conversation stack
5 years ago
Audric Ackermann
b9c4394b27
SessionConversation, render MessageView if no conversationModel found
5 years ago
Audric Ackermann
190d597814
only trigger new msg on open group if we are still running
5 years ago
Audric Ackermann
c039c89a26
remove resetMessageSelection() as unused and cleanup toast
5 years ago
Audric Ackermann
209fe460e4
lint and fix toast blur when dialog shwon
5 years ago
Audric Ackermann
a5a7b38da9
add autoFocus feature to SessionInput
5 years ago
Audric Ackermann
357421f161
rename window.console.log to window.log.info
5 years ago
Maxim Shishmarev
27859b13aa
Added an option to use v3/lsrpc endpoint for more compact (base64) file reponses
5 years ago
Audric Ackermann
8710b7a9e8
medium group: send existing expiretimer to joining members if set
5 years ago
Audric Ackermann
545eef4edb
include expireTimer in group invitation message so it does not reset it
5 years ago
Audric Ackermann
21a97ba0ec
fix deleteMessages from headermenu and load unread_count message on show
5 years ago
Audric Ackermann
e613613416
show toast with react-toastify and make them a styled-component
5 years ago
Audric Ackermann
72b6538679
render unreadBanner at top of the message list if unread is not found
5 years ago
Audric Ackermann
9192c7b7d3
auto close session seed modal on copy
5 years ago
Audric Ackermann
6fd8ea20c7
fix restoring of session after restore from seed
5 years ago
Audric Ackermann
3d11271471
fix position of unread banner on conversation (search for first read)
5 years ago
Audric Ackermann
d218e00bd3
scale down avatars before upload to 512x512
5 years ago
Audric Ackermann
c0cf53cdfa
enable back the logic of displaying avatar for first message in serie
5 years ago
Audric Ackermann
0b4400837b
fix scroll to quoted message and contact display name of group updates
5 years ago
Audric Ackermann
7ae79ee0a2
make timer notification work with empty profile name (display pubkey)
5 years ago
Audric Ackermann
dfbcf3ac9b
do not remove convo when removing only message
...
use the user pubkey if group update notification with an unknown user
make GroupNotification a function component
5 years ago
Audric Ackermann
95101bfd3c
allow overlay message section to switch between join to newmessage
5 years ago
Audric Ackermann
113e91aa4b
contact section updates on menu right click block
5 years ago
Audric Ackermann
b9dbef86a5
click on image message in convo while selection mode, selects message
5 years ago