Audric Ackermann
e38be266c2
major rework of session icon => make them styled with styled-component
2020-12-03 12:09:39 +11:00
Audric Ackermann
3bc041f512
change header of password entered on registration to just 'password'
2020-12-02 18:12:19 +11:00
Audric Ackermann
f0a58b01b0
remove calculatingPow animation on msg => use the one for sending
2020-12-02 17:48:43 +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
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
2020-12-02 16:20:47 +11:00
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
2020-12-02 11:27:15 +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
184b1984c3
fix autoplay unmuted video when video attachment is added
2020-12-01 16:16:35 +11:00
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
2020-12-01 11:24:07 +11:00
Audric Ackermann
88cd58e7ff
trigger theme switch with user theme on app start
2020-12-01 11:15:51 +11:00
Audric Ackermann
d729e49840
update to latest major version of react-contexify
2020-12-01 10:32:56 +11:00
Audric Ackermann
e8677eef8c
add back bump typing to CompositionBox 7 show bubbles on direct convo
2020-11-30 11:10:10 +11:00
Audric Ackermann
08d8b90aaa
add animation on click on quoted message just like on mobile
2020-11-27 18:05:46 +11:00
Audric Ackermann
9f0fd6fa8a
fix mentions shows display name in composition box but sends user id
2020-11-27 14:32:06 +11:00
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
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
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
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
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
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
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
f8f15cb9f7
fix remove message for public groups
2020-11-19 13:26:59 +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
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
c8e8d851f9
fix verified change saving of messages, and ctx menu for header
2020-11-17 10:21:24 +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
Audric Ackermann
f3430bdcb5
add toast on isBlocked, isKicked, ... for sending of messages
2020-11-12 14:39:37 +11:00
Audric Ackermann
e45ce43e01
store messages currently loaded in convo on redux
2020-11-12 12:18:50 +11:00
Audric Ackermann
221f264de6
rename all saveMessage to message.commit()
2020-11-12 09:21:19 +11:00
Audric Ackermann
5122433eb4
remove message_list_view.js and replace saveMessage with a commit()
2020-11-12 09:10:51 +11:00
Audric Ackermann
30f93b2ad3
remove conversation stack
2020-11-11 10:01:17 +11:00
Audric Ackermann
b9c4394b27
SessionConversation, render MessageView if no conversationModel found
2020-11-11 09:44:04 +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
Audric Ackermann
209fe460e4
lint and fix toast blur when dialog shwon
2020-11-10 14:55:10 +11:00
Audric Ackermann
a5a7b38da9
add autoFocus feature to SessionInput
2020-11-09 16:33:25 +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
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
21a97ba0ec
fix deleteMessages from headermenu and load unread_count message on show
2020-11-09 11:58:51 +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
72b6538679
render unreadBanner at top of the message list if unread is not found
2020-11-06 15:17:52 +11:00
Audric Ackermann
9192c7b7d3
auto close session seed modal on copy
2020-11-06 15:13:16 +11:00
Audric Ackermann
6fd8ea20c7
fix restoring of session after restore from seed
2020-11-06 14:44:04 +11:00
Audric Ackermann
3d11271471
fix position of unread banner on conversation (search for first read)
2020-11-05 12:11:03 +11:00
Audric Ackermann
d218e00bd3
scale down avatars before upload to 512x512
2020-11-05 11:02:45 +11:00
Audric Ackermann
c0cf53cdfa
enable back the logic of displaying avatar for first message in serie
2020-11-04 17:43:45 +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
7ae79ee0a2
make timer notification work with empty profile name (display pubkey)
2020-11-04 13:44:37 +11:00
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
2020-11-04 13:06:00 +11:00
Audric Ackermann
95101bfd3c
allow overlay message section to switch between join to newmessage
2020-11-04 11:43:15 +11:00