Audric Ackermann
850233bc9e
review PR
2021-02-10 10:31:48 +11:00
Audric Ackermann
ed84760f0e
add a tslint rule to forbid use of async without await
2021-02-09 17:00:54 +11:00
Audric Ackermann
36fab86d30
Merge remote-tracking branch 'upstream/clearnet' into move-models-to-ts-2
2021-02-09 15:54:34 +11:00
Audric Ackermann
df0b44db4c
Merge remote-tracking branch 'upstream/clearnet' into multi-device-v2
2021-02-09 13:46:06 +11:00
Audric Ackermann
f41bf31515
fix tests
2021-02-09 12:42:41 +11:00
Audric Ackermann
6edcb88788
remove resend as it does not make any sense with medium groups
...
and sendAnyway
2021-02-09 11:38:11 +11:00
Audric Ackermann
b76ce0f2ff
update models to TS part2
2021-02-08 16:18:36 +11:00
Audric Ackermann
49ca1a0f82
fix registration continue your session button not shown for recovery
2021-02-08 15:35:57 +11:00
Audric Ackermann
85b9f22b04
allow back to leave an open group
2021-02-08 15:35:57 +11:00
Audric Ackermann
5a7c8ffa35
fix previews sent on next message if they are resolved too late
2021-02-08 15:35:56 +11:00
Audric Ackermann
846f396545
show Delete conversation menu when we got removed from the group too
2021-02-08 15:35:54 +11:00
Audric Ackermann
1d5d098b06
be able to remove a closed group once we left it already
2021-02-08 15:35:28 +11:00
Audric Ackermann
7054385d4a
remove body pending loading of message > 2000.
...
Also remove the limit when sending text messages
2021-02-08 15:23:23 +11:00
Audric Ackermann
0fe026ab15
Fix the password length limit when not setting a new password
...
Relates #1446
2021-02-08 15:21:14 +11:00
Audric Ackermann
a51f95d28c
move models to TS part1
2021-02-08 15:20:47 +11:00
Audric Ackermann
b88ea110e8
Add multi device v2 support
2021-02-08 11:56:14 +11:00
Audric Ackermann
83c852ca60
fix registration continue your session button not shown for recovery
2021-02-02 16:04:50 +11:00
Audric Ackermann
d60e34017a
allow back to leave an open group
2021-02-02 11:09:13 +11:00
Audric Ackermann
859cbfbe36
Merge pull request #1466 from Bilb/fix-link-previews
...
fix previews sent on next message if they are resolved too late
2021-02-02 10:23:48 +11:00
Audric Ackermann
e34ffb89fc
Merge pull request #1467 from Bilb/fix-delete-group-menu-left
...
Be sure to show a right click menu to delete a closed group when we already left it
2021-02-02 10:23:36 +11:00
Audric Ackermann
446a1ecefb
show Delete conversation menu when we got removed from the group too
2021-02-01 17:07:44 +11:00
Audric Ackermann
6ed5f505c3
be able to remove a closed group once we left it already
2021-02-01 15:07:59 +11:00
Audric Ackermann
cdd6fb61eb
fix previews sent on next message if they are resolved too late
2021-02-01 14:45:46 +11:00
Audric Ackermann
46fdebe3d7
Merge pull request #1459 from Bilb/improve-open-group-loading-speed
...
Improve open group loading speed
2021-01-29 11:43:41 +11:00
Audric Ackermann
02fb5783a4
remove regionCode and PhoneNumber.ts
2021-01-28 09:46:15 +11:00
Audric Ackermann
13df6c476e
remove isClosable for convo as it is unused
2021-01-27 18:04:32 +11:00
Audric Ackermann
b218611831
remove contactCollection in convos.
2021-01-27 16:12:32 +11:00
Audric Ackermann
e3a6e24898
remove body pending loading of message > 2000.
...
Also remove the limit when sending text messages
2021-01-27 15:26:30 +11:00
Audric Ackermann
43ec14e741
Fix the password length limit when not setting a new password
...
Relates #1446
2021-01-27 11:00:32 +11:00
Audric Ackermann
d655c397e0
make the isAdmin coming from the convo props and not the messages
2021-01-22 11:09:34 +11:00
Audric Ackermann
5c3cb0a165
make moderator dialogs the Session way
2021-01-21 17:49:14 +11:00
Audric Ackermann
a0703bc2f9
remove primary and secondary device separate status
2021-01-21 17:49:13 +11:00
Audric Ackermann
135fc3b366
remove prekeys
2021-01-21 17:49:07 +11:00
Audric Ackermann
fd18345c5a
remove handling of rss related things completely
2021-01-19 16:11:33 +11:00
Audric Ackermann
46dfb3489b
remove mock sockets and websockets unused resources
2021-01-19 16:01:53 +11:00
Audric Ackermann
c0484207d1
Merge branch 'clearnet' into fix-ban-user
2021-01-19 15:44:29 +11:00
Audric Ackermann
21c3e4717e
Merge pull request #1434 from Bilb/remove-prekey
...
Remove prekeys message and Session managment.
2021-01-19 15:43:01 +11:00
Audric Ackermann
20c806be2d
fix being able to remove messages from anyone as a moderator
2021-01-19 15:24:15 +11:00
Audric Ackermann
dc0733968d
make moderators and groupAdmins a single name
2021-01-19 13:57:05 +11:00
Audric Ackermann
6a776b56f6
fix ban of users on open group
2021-01-19 11:25:14 +11:00
Audric Ackermann
3476b54d43
fix add/remove moderators dialog and open groups name avatar dialog
2021-01-18 15:51:56 +11:00
Audric Ackermann
72c96ea998
remove most of the SessionProtocol unused stuff
...
- prekeys
- SessionCipher
- LokiCipher
- endSession and the reset Session logic
- what we called Sessionprotocol manager (to keep track of session with
everyone)
2021-01-18 10:58:34 +11:00
Audric Ackermann
979a9058e3
remove verified number - related features (partial)
2021-01-18 10:35:16 +11:00
Audric Ackermann
75b7788fa9
remove stuff related to web api
2021-01-15 10:56:49 +11:00
Audric Ackermann
58be168227
drop groupUpdates which happened before we joined the group
2021-01-14 14:37:09 +11:00
Audric Ackermann
6856c0e748
remove updateTextInputState not needed and add left to menu tests
2021-01-13 15:28:20 +11:00
Audric Ackermann
8e9de59a42
remove isOnline unused
2021-01-13 12:38:41 +11:00
Audric Ackermann
6cf838ade8
disallow remove of an admin from a closed group
2021-01-13 12:36:31 +11:00
Audric Ackermann
e6c2abff48
mandatory upgrade of session ids are now in force
2021-01-13 11:02:41 +11:00
Audric Ackermann
cbd0e63641
add admin dialog to warn him about leaving for v2 closed group
2021-01-13 11:02:22 +11:00
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
d2fab26a5d
ignore arrows events when the textarea is selected
...
Fixes #1416
2021-01-05 15:25:59 +11:00
Audric Ackermann
16c9bf27c9
remove linebreaks on pasted value on open group join textarea
...
Relates #1413
2021-01-05 14:53:06 +11:00
Audric Ackermann
adf0d03d35
add test for the MessageEncrypter using Session protocol
2021-01-05 14:48:46 +11:00
Audric Ackermann
c9fd261e0e
fix color no opacity for recording playback view
...
having an opacity on the bg color was making the source-atop composition not visible with the sweeping color
2021-01-04 12:09:50 +11:00
Audric Ackermann
02ca99c96f
fix media permissions check only when requested
...
the old way was to run the check on the componentWillMount,
but sometimes the settings was returning null as the storage was not
ready yet, I guess
2021-01-04 10:47:00 +11:00
Audric Ackermann
2a02b5498b
enable back spellcheck for textarea message
2020-12-17 17:04:23 +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
10307bac38
fix lint
2020-12-15 11:03:21 +11:00
Audric Ackermann
3e01eee207
fix color of icon compose on dark theme
...
cross color is always white as the background is black
2020-12-14 22:27:53 +11:00
Audric Ackermann
fdcb02bfdc
remove Section header rendering from static method, just render JSX
2020-12-14 22:20:09 +11:00
Audric Ackermann
add1c2dd39
reset the highlighted message after 3 sec
...
Before this commit, when a users clicks on a quoted message, the UI
takes it to that message. If the user clicks again on the quoted
message, the green highlight of the quoted message is not shown again.
This was like this, because the highlight is based on a state change,
and clicking on the same highlighted message, does not update the state
as the clicked quoted message is still the same.
The fix is to reset the highlighted message on the state object after
the animation is done
2020-12-14 17:02:28 +11:00
Audric Ackermann
e9f186065d
do not shrink SessionSpinner
2020-12-14 16:23:59 +11:00
Audric Ackermann
5109f9fdda
remove ConversationLoadingScreen (unused)
2020-12-14 16:23:27 +11:00
Audric Ackermann
a941e73f7b
fix bug of voice message not received, the size was not included
2020-12-14 14:39:53 +11:00
Audric Ackermann
2bcc7be3e6
remove mp3 lame already file and webrecorder worker unused
2020-12-14 14:38:05 +11:00
Audric Ackermann
7da988c132
fix up session logo on loading and max message body length
2020-12-09 13:01:48 +11:00
Audric Ackermann
c9fc3be6c3
make message about not being able to recover SessionID more obvious
2020-12-08 15:54:45 +11:00
Audric Ackermann
dd4f591cf4
deleteAccount => show warning when recover will generate new SessionID
2020-12-08 15:04:46 +11:00
Audric Ackermann
a23d5cd95c
fix theme for SessionRecording
2020-12-08 13:22:15 +11:00
Audric Ackermann
4a58b2c9f6
do not fail if a message has a list of empty attachment
2020-12-08 09:44:18 +11:00
Audric Ackermann
a58a1a4fba
fix text color of expire timer when image only message
2020-12-07 15:03:55 +11:00
Audric Ackermann
cb2f90f7f7
make SessioNotificationCount a styled component
2020-12-04 18:01:51 +11:00
Audric Ackermann
e1fbcade0f
move expiretimer bucket svg to ts & style them with styled-components
2020-12-04 14:48:11 +11:00
Audric Ackermann
15ae97e0a7
use OutgoingMessageStatus in ConversationListItem too
...
also, enable back the delivered/read status on message metadata
2020-12-04 10:53:28 +11:00
Audric Ackermann
0a6a49eda5
Add an Outgoing Message Status react component
2020-12-03 16:25:41 +11:00
Audric Ackermann
788cb2a5fc
fetch theme for each dialog, as they are out of the themed tree for now
2020-12-03 13:47:32 +11:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Audric Ackermann
113e91aa4b
contact section updates on menu right click block
2020-11-04 11:35:11 +11:00
Audric Ackermann
94b445983d
Merge remote-tracking branch 'upstream/clearnet' into react-refactor
2020-11-04 10:31:23 +11:00
Audric Ackermann
aad2d3232a
be able to show right panel for users too (and display convo medias)
2020-11-04 09:44:06 +11:00
Audric Ackermann
3f538b9be1
render Session Verification Messages
2020-11-04 09:17:02 +11:00
Audric Ackermann
dad9e5297c
make the last seen indicator work as expected
2020-11-02 14:03:11 +11:00
Audric Ackermann
35ad4cba24
add a react component to display last read message
2020-11-02 10:57:19 +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
5a5d1d60c6
fix scroll hanging when scroll all the way up
2020-10-30 11:03:21 +11:00
Audric Ackermann
dd93a849d7
cleanup duplicated code between Conversation and ConversationList
2020-10-30 10:59:24 +11:00
Audric Ackermann
07c384aa0d
render GroupNotification messages
2020-10-30 10:24:53 +11:00
Audric Ackermann
96263b4d25
WIP
2020-10-30 08:27:35 +11:00
Audric Ackermann
387f8ff391
Update props of SessionConversation to only get the currently selected convo
2020-10-29 16:23:25 +11:00
Audric Ackermann
e0fd910fa4
move a part of SessionSrollButton to styled component
2020-10-29 14:53:27 +11:00
Audric Ackermann
1f2c01722a
move to new identity key mechanism
...
now we do as followed:
• Generate 16 bytes of random data
• Add 16 bytes of zeros
• Use the 16 bytes of random + 16 bytes of zeros to generate an ED25519 key pair
• Convert the ED25519 key pair to an X25519 key pair
All of this is happening with libsodiumm called over IPC
2020-10-29 13:36:40 +11:00
Audric Ackermann
857bea50ea
enable back keyboard navigation on message list
2020-10-28 15:16:10 +11:00
Audric Ackermann
6edadaf3e9
message container use column reverse to order messages from bottom to
...
top
2020-10-28 14:28:10 +11:00
Audric Ackermann
ef3f3d0af5
enable back link previews in sent message
2020-10-28 14:11:57 +11:00
Audric Ackermann
1541b47f13
throw an error rather than returning null on link preview failure
...
so that it is handled in the catch() block
2020-10-28 13:40:30 +11:00
Audric Ackermann
ba959f3379
link preview state moved to SessionCompositionBox
2020-10-28 13:29:45 +11:00
Audric Ackermann
13e02b5bf1
add staged link previews for everything from signal
2020-10-28 11:06:47 +11:00
Audric Ackermann
f5818817e9
remove references to old emoji-panel package
2020-10-27 14:32:59 +11:00
Audric Ackermann
8f92ae7812
fix tiny UI glitches
2020-10-27 14:13:16 +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
a0e5c7386f
delete messages needs to be called once the message is selected
2020-10-27 12:38:48 +11:00
Audric Ackermann
55fa65fc31
override attachments name on upload
2020-10-27 09:13:29 +11:00
Audric Ackermann
8abd6a0e21
fix issue with contextmenu on scroll causing UI to break
2020-10-26 16:38:41 +11:00
Audric Ackermann
a7c4ce77a1
enable back attachments download on context menu
2020-10-26 16:38:06 +11:00
Audric Ackermann
f166ec814e
pass selectiomMode without selectedMessage props to ConversationHEader
2020-10-26 09:59:56 +11:00
Audric Ackermann
fe3cfb9e82
move all menu to react-contexify
2020-10-22 16:34:41 +11:00
Audric Ackermann
700a93362e
move drop file logic to SessionConversation component
...
Having it in another component was causing issues like not being able to
scroll on the conversation list even if the component was not shown
2020-10-21 15:51:13 +11:00
Audric Ackermann
a7bdc93ca8
working drag and drop, but no scrolling on the conversation messages
2020-10-21 10:35:21 +11:00
Audric Ackermann
b46ed237b3
allow empty message when they have attachments
2020-10-20 15:02:16 +11:00
Audric Ackermann
c5927cfc4b
focus composition box after adding an attachment
2020-10-20 14:31:10 +11:00
Audric Ackermann
363da7aa80
add back toast on attachment adding error
2020-10-20 14:07:48 +11:00
Audric Ackermann
6cf69a1337
make adding of attachment work on react conversation
2020-10-20 13:20:09 +11:00
Audric Ackermann
2a155a0f43
fix lightbox for single attachment display and download
2020-10-20 08:48:15 +11:00
Audric Ackermann
fcf13c7467
relink lightbox from signal to our app
2020-10-19 15:23:35 +11:00
Audric Ackermann
ddf41de3fb
add csp for image load from blob so attachments are loaded correctly
2020-10-19 09:35:16 +11:00
Audric Ackermann
b1cac5f01b
fix ordering of message with more recent at bottom of the view
2020-10-16 15:12:41 +11:00
Audric Ackermann
c41eaada25
move display of message list to a subcomponent
2020-10-16 14:54:31 +11:00
Audric Ackermann
026a1930ed
add a getOrThrow to ConversationController when we expect this convo
2020-10-15 17:19:49 +11:00
Audric Ackermann
144ae41529
add type for ConversationController, remove showStartConversation
...
and cleanup scss
2020-10-15 16:43:51 +11:00
Audric Ackermann
b7f5a32570
add reply to message UI logic
2020-10-15 11:18:37 +11:00
Audric Ackermann
1a379d2466
add theme logic to switch between dark/light theme based on redux store
2020-10-15 10:07:38 +11:00
Audric Ackermann
6c7f1598b7
add a flex component using styled
2020-10-15 10:01:00 +11:00
Audric Ackermann
6e07ee42f5
cleanup network status view and some UI constants
2020-10-13 13:57:43 +11:00
Audric Ackermann
a652ec3b61
fix light theme in react refactor
2020-10-09 13:30:10 +11:00
Audric Ackermann
4d991d3992
Merge branch 'clearnet' into react-refactor
2020-10-08 17:23:55 +11:00
Audric Ackermann
dfff6c2149
Merge pull request #1374 from Bilb/hide-shorten-pubkey-except-public
2020-10-08 09:53:43 +11:00
Audric Ackermann
b050a3740d
clean all updateConversation calls to convo.commit()
2020-10-07 15:25:57 +11:00
Audric Ackermann
f57c85dc0d
hide pubkey when not needed on conversationHeader and listItem
2020-10-06 15:45:27 +11:00
Audric Ackermann
16b8fc8620
hide shortened pubkey except for public groups
2020-10-06 14:17:23 +11:00
Audric Ackermann
232b1a416a
do not refresh group panel media if length of media did not change
2020-10-05 15:14:06 +11:00
Audric Ackermann
e0e0830d3b
remove all ratchet when needed to get fresh senderKey from members
2020-10-01 16:13:26 +10:00
Audric Ackermann
baaca1a29f
switch medium or closed group deeper in code
2020-10-01 15:05:25 +10:00
Audric Ackermann
82bc050ddd
always create a closed group the type set in the feature flag
...
speaking about enableSenderKeys
2020-10-01 09:58:10 +10:00
Audric Ackermann
c052b1a2ec
update group size limit to 20 now that those are ssk groups
...
Also removed removed description while creating a medium group as it was
removed on mobile
2020-09-25 09:35:39 +10:00
Audric Ackermann
e5db9916a5
allow closed group updates from non-admin user
2020-09-24 09:27:44 +10:00
Audric Ackermann
cd44143eaf
Merge pull request #1344 from Bilb/fix-avatar-closed
2020-09-18 14:02:10 +10:00
Audric Ackermann
58d85c0f8e
fix methods order
2020-09-18 09:42:30 +10:00
Audric Ackermann
8123508b51
fix avatar closed group and pubkey for medium mobile groups
2020-09-17 19:36:46 +10:00
Audric Ackermann
ceab8228fc
close leftpane overlay on message sent to that conversation
2020-09-16 14:46:33 +10:00
Audric Ackermann
4d801fd8e5
check for changes on member avatars only on re rendering
2020-09-15 16:38:24 +10:00
Audric Ackermann
56cd42d34c
remove authorColor unused in Session
2020-09-15 15:26:09 +10:00
Audric Ackermann
6eb13e43e3
simplify a lot avatar props
2020-09-15 15:07:22 +10:00
Audric Ackermann
30416d98ab
show our avatar on a group if less than 2 members
2020-09-15 13:33:10 +10:00
Audric Ackermann
bc1aff747a
refresh avatar for closed group on new props
2020-09-14 16:49:08 +10:00
Audric Ackermann
b845ba9642
use a HOC to fetch closed group conversations for avatar rendering
2020-09-14 16:06:24 +10:00
Audric Ackermann
35ea6af27f
Add group avatar as on mobile: with multiple group members avatar
2020-09-11 15:06:48 +10:00
Audric Ackermann
1da4ae69c2
render NoteToSelf list item as a normal conversation
2020-09-10 15:52:36 +10:00
Audric Ackermann
57160cb45c
fix custom avatar show on dialogs and list
2020-09-09 10:38:24 +10:00
Audric Ackermann
62be54c05a
update text for lightmode forced to user
2020-09-03 11:32:04 +10:00
Audric Ackermann
0721d469db
increase timeout allowed for joining open group
2020-09-02 15:49:43 +10:00
Audric Ackermann
66dcfdfe6e
show message when no blocked contact in settings
2020-09-02 15:28:24 +10:00
Audric Ackermann
d670a47d5c
remove duplicated key translation
2020-09-01 15:30:15 +10:00
Audric Ackermann
0e75510e5b
remove ttl unused settings and all translated key
2020-09-01 11:14:59 +10:00
Audric Ackermann
22b2d80993
make light theme default for existing users and show dialog to revert
2020-08-28 10:10:45 +10:00
Audric Ackermann
d4a954e53f
add sun SessionIcon and a MAX size for SessionIconSize
2020-08-28 10:10:23 +10:00
Audric Ackermann
94bd47fb8c
add way to add icon to SessionConfirm dialog
2020-08-28 10:08:32 +10:00
Audric Ackermann
4070a7099f
Merge remote-tracking branch 'upstream/clearnet' into add-light-theme
2020-08-26 12:04:00 +10:00
Audric Ackermann
094cd0ae47
Merge pull request #1306 from Bilb/make-cheap-translations
2020-08-26 11:58:40 +10:00
Audric Ackermann
a03132f088
remove qrDialogView unused
2020-08-26 10:48:23 +10:00
Audric Ackermann
5cdb25ca00
themify widget selection, compose and slider
2020-08-24 19:11:26 +10:00
Audric Ackermann
5bede47608
make svg check create Closed group color dynamic
2020-08-24 14:26:14 +10:00
Audric Ackermann
422c2610b6
add light theme for leftpane conversation list view
2020-08-24 12:06:03 +10:00
Audric Ackermann
39463d2f93
enable back ability to switch theme from leftpane
2020-08-21 12:54:29 +10:00
Audric Ackermann
ed9f4e713e
add type for mnemonic.js and replace some calls with recoveryPhrase
2020-08-20 10:19:47 +10:00
Audric Ackermann
94146124ff
Merge pull request #1312 from konstantinullrich/bug/#1311-Unblock-Users-Page-in-Settings-is-broken
2020-08-20 08:37:27 +10:00
Audric Ackermann
b75bb71a22
Merge remote-tracking branch 'upstream/clearnet' into make-cheap-translations
2020-08-18 12:34:13 +10:00
Audric Ackermann
0b6c915f8f
update translation to match android - part 2
2020-08-18 12:31:03 +10:00
Audric Ackermann
5739d78ada
edit group editing title to match Android
2020-08-18 11:35:58 +10:00
Konstantin Ullrich
5b7c58c0d4
Refresh after unblocking a SessionID without model
2020-08-17 06:57:28 +02:00
Audric Ackermann
90fac8f75e
show group members => groupmember
2020-08-17 11:44:51 +10:00
Audric Ackermann
70b739d24f
update translation to match android - part 1
2020-08-17 11:36:25 +10:00
Audric Ackermann
730c520b22
remove seed name from Registration tabs components
2020-08-17 11:29:14 +10:00
Audric Ackermann
38c099cdf0
rename seed to recovery phrase
2020-08-17 11:21:57 +10:00
Konstantin Ullrich
2f35d9d2a6
lint fix
2020-08-15 13:58:24 +02:00
Konstantin Ullrich
86f8fe54ae
Check for model in blocked settings
2020-08-15 13:21:35 +02:00
Audric Ackermann
ad4c024530
Merge remote-tracking branch 'upstream/clearnet' into make-cheap-translations
2020-08-14 14:31:33 +10:00
Audric Ackermann
dc77e6e44e
remove toggle use sender keys. Rely on lokiFeatureFlag directly
2020-08-14 14:25:39 +10:00
Audric Ackermann
9d4dff611f
simplify Copied xxx => Copied to clipboard
2020-08-14 11:25:31 +10:00
Audric Ackermann
4fbbbc26a4
make blockled list number updates on unblock
2020-08-14 10:56:44 +10:00
Audric Ackermann
d108630f22
add a toastUtils file and replace all pushToast calls in ts files
2020-08-14 10:56:22 +10:00
Audric Ackermann
e008dbd0d5
"leave {Closed|Open} Group" => "leave group"
2020-08-14 10:07:47 +10:00
Audric Ackermann
d4254b0bda
fix input translation for searches with android translations
2020-08-13 16:06:30 +10:00
Audric Ackermann
30937f4ae3
make start new session screen closer to the android one
2020-08-13 15:31:51 +10:00
Audric Ackermann
cf3352d0af
add a timeout function to promiseUtils for attemptConnection
2020-08-13 15:30:44 +10:00
Audric Ackermann
eb3ee8f6b0
make leftpane overlay closer to android
2020-08-13 13:44:03 +10:00
Audric Ackermann
08433aa676
Merge pull request #1297 from konstantinullrich/feature/blocked-list-in-settings
2020-08-12 10:39:19 +10:00
Audric Ackermann
c90e696da3
fix types for $ conflicting between jQuery and webdriverIO
2020-08-12 10:05:18 +10:00
Konstantin Ullrich
8bc7528e85
Merge branch 'clearnet' into feature/blocked-list-in-settings
2020-08-10 09:27:16 +02:00
Audric Ackermann
1f9aff5d1d
fix merge issue
2020-08-10 15:08:00 +10:00
Audric Ackermann
3945c6b208
Merge remote-tracking branch 'upstream/clearnet' into react-refactor
2020-08-10 10:51:33 +10:00
Audric Ackermann
58dd064e93
Merge remote-tracking branch 'upstream/clearnet' into fix-integration-tests
2020-08-07 10:00:37 +10:00
Konstantin Ullrich
380d533da8
fix lint
2020-08-06 10:30:22 +02:00
Konstantin Ullrich
7ec263f273
fixed transaltion key
2020-08-06 09:35:01 +02:00
Konstantin Ullrich
b430848c53
Get only blocked SessionIDs even if conv is gone
2020-08-06 09:08:18 +02:00
Konstantin Ullrich
fde6723584
Fix Lint problem
2020-08-05 09:42:12 +02:00
Audric Ackermann
3e56eb6133
add beta german translation copy pasted from android
2020-08-05 16:58:36 +10:00
Audric Ackermann
80946c0ea5
Merge remote-tracking branch 'upstream/clearnet' into clean-en-translation
2020-08-05 14:24:09 +10:00
Audric Ackermann
9315ed5238
add tool to find unused localized string and fix our current en locale
2020-08-05 11:40:48 +10:00
Audric Ackermann
c41a064880
add tool to find unused localized string and fix our current en locale
2020-08-05 11:39:03 +10:00
Mikunj
b75b02c5a2
Hide multi device UI if flag is not set
2020-08-04 16:06:18 +10:00
Mikunj
22c64395d9
Remove multi-device warnings
2020-08-04 12:45:12 +10:00
Audric Ackermann
933eb73aa1
Merge remote-tracking branch 'upstream/clearnet' into fix-integration-tests
2020-08-03 11:48:00 +10:00
Konstantin Ullrich
e800e5509b
Placeholder for no DisplayName-Contacts in blocked
2020-07-31 09:23:56 +02:00
Konstantin Ullrich
7de0a0ae65
Add Subscreen for blocked Users
2020-07-30 16:49:11 +02:00
Audric Ackermann
2c45ff73b2
Merge pull request #1288 from Bilb/disable-link-warning-multi
2020-07-30 16:38:15 +10:00
Audric Ackermann
471a381b4b
show disabled multi device message every 5 loads
2020-07-30 16:27:09 +10:00
Audric Ackermann
9464c03806
adress reviews
2020-07-30 15:53:44 +10:00
Audric Ackermann
761ebf4a7c
lint
2020-07-30 15:03:08 +10:00
Audric Ackermann
abc9456d14
add popup for disabling multi device
2020-07-30 15:01:11 +10:00
Audric Ackermann
12ec5beb95
fix bug preventing loading of out of view cells in conversations list
2020-07-30 11:19:52 +10:00
Audric Ackermann
e806e912a3
move password_utils.js to typescript
2020-07-30 11:07:36 +10:00
Audric Ackermann
89579ebd35
refactor SessionPasswordModal to handle errors on length
2020-07-30 10:58:17 +10:00
Audric Ackermann
fec0ead1de
fix link device test and lint
2020-07-29 11:27:20 +10:00
Audric Ackermann
592c31dfc0
fix tslint issues with spectron includes
2020-07-28 10:57:59 +10:00
Audric Ackermann
a853d27b28
disable multi device link and show warnings placeholder
2020-07-28 08:58:55 +10:00
Audric Ackermann
8558764768
fix open group integration tests
2020-07-27 11:27:37 +10:00
Vincent
d7de09e475
linter-fixes
2020-07-24 11:36:14 +10:00
Vincent
2603401207
sleek-emoji-rendering
2020-07-23 09:58:46 +10:00
Vincent
7d4383301d
emoji-definition-reversion
2020-07-22 14:57:45 +10:00
Vincent
5165bfdba4
jsx-emoji-overlay
2020-07-22 14:03:24 +10:00
Vincent
9f1cef9844
emoji-rendering
2020-07-21 17:37:34 +10:00
Vincent
bf32cd3ae6
fixed up
2020-07-21 16:46:01 +10:00