Audric Ackermann
e466062f15
WIP
4 years ago
Audric Ackermann
4d6fcda668
fix typo SessionLastSeedIndicator => SessionLastSeenIndicator
4 years ago
Audric Ackermann
6ed4511c21
be sure to hide emjipanel when sending a message
4 years ago
Audric Ackermann
ca22b4635f
fixup some building of sync message issues
4 years ago
Audric Ackermann
e92632285b
init messageQueue in the ActionsPanel
...
This is to unsure that unsent messages in the pipeline are added to the
pipeline right when we start the app again
4 years ago
Audric Ackermann
5ab3680903
make OnionPath a singleton and build path on app Start only
4 years ago
Audric Ackermann
7a3a12ccdc
Merge branch 'clearnet' into move-models-to-ts-2
4 years ago
Audric Ackermann
370158951a
move events from MessageQueue to MessageSentHandler
4 years ago
Audric Ackermann
2a1d68401d
Allow allow one group creation at a time
4 years ago
Audric Ackermann
8ea9f02cec
Move data.js to data.ts
4 years ago
Audric Ackermann
850233bc9e
review PR
4 years ago
Audric Ackermann
ed84760f0e
add a tslint rule to forbid use of async without await
4 years ago
Audric Ackermann
36fab86d30
Merge remote-tracking branch 'upstream/clearnet' into move-models-to-ts-2
4 years ago
Audric Ackermann
df0b44db4c
Merge remote-tracking branch 'upstream/clearnet' into multi-device-v2
4 years ago
Audric Ackermann
f41bf31515
fix tests
4 years ago
Audric Ackermann
6edcb88788
remove resend as it does not make any sense with medium groups
...
and sendAnyway
4 years ago
Audric Ackermann
b76ce0f2ff
update models to TS part2
4 years ago
Audric Ackermann
49ca1a0f82
fix registration continue your session button not shown for recovery
4 years ago
Audric Ackermann
85b9f22b04
allow back to leave an open group
4 years ago
Audric Ackermann
5a7c8ffa35
fix previews sent on next message if they are resolved too late
4 years ago
Audric Ackermann
846f396545
show Delete conversation menu when we got removed from the group too
4 years ago
Audric Ackermann
1d5d098b06
be able to remove a closed group once we left it already
4 years ago
Audric Ackermann
7054385d4a
remove body pending loading of message > 2000.
...
Also remove the limit when sending text messages
4 years ago
Audric Ackermann
0fe026ab15
Fix the password length limit when not setting a new password
...
Relates #1446
4 years ago
Audric Ackermann
a51f95d28c
move models to TS part1
4 years ago
Audric Ackermann
b88ea110e8
Add multi device v2 support
4 years ago
Audric Ackermann
83c852ca60
fix registration continue your session button not shown for recovery
4 years ago
Audric Ackermann
d60e34017a
allow back to leave an open group
4 years ago
Audric Ackermann
859cbfbe36
Merge pull request #1466 from Bilb/fix-link-previews
...
fix previews sent on next message if they are resolved too late
4 years ago
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
4 years ago
Audric Ackermann
446a1ecefb
show Delete conversation menu when we got removed from the group too
4 years ago
Audric Ackermann
2462e12a04
Merge pull request #1461 from Bilb/explicit-group-updates
...
Explicit group updates
4 years ago
Audric Ackermann
6ed5f505c3
be able to remove a closed group once we left it already
4 years ago
Audric Ackermann
cdd6fb61eb
fix previews sent on next message if they are resolved too late
4 years ago
Audric Ackermann
c06f710b3b
fix order of added new group in leftPane
4 years ago
Audric Ackermann
46fdebe3d7
Merge pull request #1459 from Bilb/improve-open-group-loading-speed
...
Improve open group loading speed
4 years ago
Audric Ackermann
6e11c6db2e
remove all reference to closed group update v2
4 years ago
Audric Ackermann
79028ebaeb
remove isUnidentifiedDelivery
4 years ago
Audric Ackermann
3d47d7d0e8
remove EbeddedContact components
4 years ago
Audric Ackermann
02fb5783a4
remove regionCode and PhoneNumber.ts
4 years ago
Audric Ackermann
2b92386399
debounce calls to write to db last message
4 years ago
Audric Ackermann
34e5648681
fix metadatabadges for closed group
...
do not show crown nor Mod badge
4 years ago
Audric Ackermann
13df6c476e
remove isClosable for convo as it is unused
4 years ago
Audric Ackermann
b218611831
remove contactCollection in convos.
4 years ago
Audric Ackermann
a6cecd33e3
remove ContactDetails unused
4 years ago
Audric Ackermann
273eedc6a9
remove hasSignalAccount and Sealed Sender unused
4 years ago
Audric Ackermann
e3a6e24898
remove body pending loading of message > 2000.
...
Also remove the limit when sending text messages
4 years ago
Audric Ackermann
43ec14e741
Fix the password length limit when not setting a new password
...
Relates #1446
4 years ago
Audric Ackermann
d655c397e0
make the isAdmin coming from the convo props and not the messages
4 years ago
Audric Ackermann
dc68c80504
fix refresh of moderator list and removed unused proto
4 years ago
Audric Ackermann
ce8bc84de0
add way to add/remove moderators from the message click handler
4 years ago
Audric Ackermann
5c3cb0a165
make moderator dialogs the Session way
4 years ago
Audric Ackermann
a0703bc2f9
remove primary and secondary device separate status
4 years ago
Audric Ackermann
135fc3b366
remove prekeys
4 years ago
Audric Ackermann
fd18345c5a
remove handling of rss related things completely
4 years ago
Audric Ackermann
46dfb3489b
remove mock sockets and websockets unused resources
4 years ago
Audric Ackermann
c0484207d1
Merge branch 'clearnet' into fix-ban-user
4 years ago
Audric Ackermann
21c3e4717e
Merge pull request #1434 from Bilb/remove-prekey
...
Remove prekeys message and Session managment.
4 years ago
Audric Ackermann
6dd9dde44f
increase closed group size limit to 100
4 years ago
Audric Ackermann
20c806be2d
fix being able to remove messages from anyone as a moderator
4 years ago
Audric Ackermann
dc0733968d
make moderators and groupAdmins a single name
4 years ago
Audric Ackermann
6a776b56f6
fix ban of users on open group
4 years ago
Audric Ackermann
39c64b9fbf
toast adding moderator to remind that the user needs to be registered
4 years ago
Audric Ackermann
3476b54d43
fix add/remove moderators dialog and open groups name avatar dialog
4 years ago
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)
4 years ago
Audric Ackermann
979a9058e3
remove verified number - related features (partial)
4 years ago
Audric Ackermann
75b7788fa9
remove stuff related to web api
4 years ago
Audric Ackermann
58be168227
drop groupUpdates which happened before we joined the group
4 years ago
Audric Ackermann
6856c0e748
remove updateTextInputState not needed and add left to menu tests
4 years ago
Audric Ackermann
b15984aa08
cosmetic UI for updateGroupMembersDialog
4 years ago
Audric Ackermann
8e9de59a42
remove isOnline unused
4 years ago
Audric Ackermann
6cf838ade8
disallow remove of an admin from a closed group
4 years ago
Audric Ackermann
e6c2abff48
mandatory upgrade of session ids are now in force
4 years ago
Audric Ackermann
cbd0e63641
add admin dialog to warn him about leaving for v2 closed group
4 years ago
Audric Ackermann
d43ae09eb0
first working version of closed group v2
4 years ago
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
4 years ago
Audric Ackermann
2fe6b11e89
move ConversationController to typescript
4 years ago
Audric Ackermann
0f328d5f28
disable links while on selectionMode
...
Fixes #795 as the image click already selects the messages while on
selection mode
4 years ago
Audric Ackermann
d2fab26a5d
ignore arrows events when the textarea is selected
...
Fixes #1416
4 years ago
Audric Ackermann
16c9bf27c9
remove linebreaks on pasted value on open group join textarea
...
Relates #1413
4 years ago
Audric Ackermann
adf0d03d35
add test for the MessageEncrypter using Session protocol
4 years ago
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
4 years ago
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
4 years ago
Audric Ackermann
2a02b5498b
enable back spellcheck for textarea message
4 years ago
Audric Ackermann
b0a229bf13
add Dialog on app start to ask to update SessionID
4 years ago
Audric Ackermann
1045bfeba8
add SessionProtocol wip
4 years ago
Audric Ackermann
10307bac38
fix lint
4 years ago
Audric Ackermann
3e01eee207
fix color of icon compose on dark theme
...
cross color is always white as the background is black
4 years ago
Audric Ackermann
fdcb02bfdc
remove Section header rendering from static method, just render JSX
4 years ago
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
4 years ago
Audric Ackermann
e9f186065d
do not shrink SessionSpinner
4 years ago
Audric Ackermann
5109f9fdda
remove ConversationLoadingScreen (unused)
4 years ago
Audric Ackermann
a941e73f7b
fix bug of voice message not received, the size was not included
4 years ago
Audric Ackermann
766a9f9c45
fix theme for voice messages and recording
4 years ago
Audric Ackermann
2bcc7be3e6
remove mp3 lame already file and webrecorder worker unused
4 years ago
Audric Ackermann
e0bdab0d19
fix appearance of bubbles when convo is full of messages
4 years ago
Audric Ackermann
4bab6cc8b4
fix typing bubbles on SessionConversation
...
for some reasons, they were sometimes not visible due to the message
list bottom padding
4 years ago
Audric Ackermann
7da988c132
fix up session logo on loading and max message body length
4 years ago
Audric Ackermann
c9fc3be6c3
make message about not being able to recover SessionID more obvious
4 years ago
Audric Ackermann
dd4f591cf4
deleteAccount => show warning when recover will generate new SessionID
4 years ago
Audric Ackermann
a23d5cd95c
fix theme for SessionRecording
4 years ago
Audric Ackermann
4a58b2c9f6
do not fail if a message has a list of empty attachment
4 years ago
Audric Ackermann
a58a1a4fba
fix text color of expire timer when image only message
4 years ago
Audric Ackermann
cb2f90f7f7
make SessioNotificationCount a styled component
4 years ago
Audric Ackermann
4c6a05c6d7
make timestamp a styled-component too
4 years ago
Audric Ackermann
e1fbcade0f
move expiretimer bucket svg to ts & style them with styled-components
4 years ago
Audric Ackermann
15ae97e0a7
use OutgoingMessageStatus in ConversationListItem too
...
also, enable back the delivered/read status on message metadata
4 years ago
Audric Ackermann
7f5515cf6b
split Message metadatas rendering to a sub component
4 years ago
Audric Ackermann
0a6a49eda5
Add an Outgoing Message Status react component
4 years ago
Audric Ackermann
788cb2a5fc
fetch theme for each dialog, as they are out of the themed tree for now
4 years ago
Audric Ackermann
e38be266c2
major rework of session icon => make them styled with styled-component
4 years ago
Audric Ackermann
3bc041f512
change header of password entered on registration to just 'password'
4 years ago
Audric Ackermann
f0a58b01b0
remove calculatingPow animation on msg => use the one for sending
4 years ago
Audric Ackermann
4c0a988fe5
Move the metadata badges to use react functional components
4 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
4 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
4 years ago
Audric Ackermann
228e4ed662
move MessageController to typescript
4 years ago
Audric Ackermann
727261b36a
be sure to register outgoing message for medium groups when created
4 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
4 years ago
Audric Ackermann
88cd58e7ff
trigger theme switch with user theme on app start
4 years ago
Audric Ackermann
d729e49840
update to latest major version of react-contexify
4 years ago
Audric Ackermann
e8677eef8c
add back bump typing to CompositionBox 7 show bubbles on direct convo
4 years ago
Audric Ackermann
08d8b90aaa
add animation on click on quoted message just like on mobile
4 years ago
Audric Ackermann
9f0fd6fa8a
fix mentions shows display name in composition box but sends user id
4 years ago
Audric Ackermann
1bb99ac3df
enable back media switch on lightbox opened from a message
...
with several attachments
4 years ago
Audric Ackermann
60a4fcbfcc
small UI fixes for caption editor
4 years ago
Audric Ackermann
82b59f808d
no confirmation on message delete from the message detail view
4 years ago
Audric Ackermann
c1c1cde14b
improve caption editor, and disable right panel if messagedetails shown
4 years ago
Audric Ackermann
20496c45d6
remove sendAnyWay and showSafetyNumber from props of MessageDetails
4 years ago
Audric Ackermann
22b4f39e52
MessageDetails: contact status fallbacks to message status
...
this is used for medium groups
4 years ago
Audric Ackermann
80523a9a3e
rename MessageQueue event to be more easily searchable
...
success -> sendSuccess
fail -> sendFail
4 years ago
Audric Ackermann
5c55a9411f
add first step to enable back MessageDetails.
...
Still not much the react way to do it for now
4 years ago
Audric Ackermann
8ac2011682
render triple dots menu on header only when not on default viewmode
4 years ago
Audric Ackermann
291d4682e4
fix some tests
4 years ago
Audric Ackermann
51ea762bce
enable save of attachments on click on single generic attachment
4 years ago
Audric Ackermann
2ec337dd31
Add back ability to edit caption before sending attachments
4 years ago
Audric Ackermann
f673589c56
add types for blueimp-load-image
4 years ago
Audric Ackermann
9f14924e65
push toast if gif size is too big
4 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
4 years ago
Audric Ackermann
97ff60f3bb
reset input for selecting file on file choosen on CompositionBox
4 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
4 years ago
Audric Ackermann
d0043ca245
use react-intersection to accurately mark messages as read
4 years ago
Audric Ackermann
d533a3aca5
fix unread message banner for MessagesList
4 years ago
Audric Ackermann
535b1d59ef
add a reset conversation action type and call it on message destroyed
4 years ago
Audric Ackermann
bb87eb0f52
fix timer expiring sometimes missing a sec
4 years ago
Audric Ackermann
1fd15ac977
Make SettingsView refresh on conversation change
4 years ago
Audric Ackermann
a695528d09
focus composition box on attachment added
4 years ago
Audric Ackermann
7a81c78382
focus composition box on conversation change
4 years ago
Audric Ackermann
4d9371dfe7
fix SessionRegistrationView missing from signal.js
4 years ago
Audric Ackermann
7b3981207e
fix password dialog
4 years ago
Audric Ackermann
f8f15cb9f7
fix remove message for public groups
4 years ago
Audric Ackermann
edd984e0f5
make quotes stay empty when there object isEmpty()
4 years ago
Audric Ackermann
531b227ae4
clean unused files and fix recovery dialog showing
4 years ago
Audric Ackermann
1503d83f3a
add ourPrimary convo to redux and update the actionPanel with it
4 years ago
Audric Ackermann
c203303c71
rename SessionConversationMessagesList to SessionMessagesList
4 years ago
Audric Ackermann
935f00934b
add a key to all messages printed in SessionMessagesList
4 years ago
Audric Ackermann
c9e81454fb
make mentions work in react when emoji inserted inside at a rand pos
4 years ago
Audric Ackermann
b5af8eb215
Add Mentions with react-mentions
4 years ago
Audric Ackermann
b2e362a36b
add a useInterval hook and move useNetwork hook to the hook folder
4 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
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
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
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
Audric Ackermann
d0bf8d54bc
fix theme of unlock settings with password
5 years ago
Audric Ackermann
94b445983d
Merge remote-tracking branch 'upstream/clearnet' into react-refactor
5 years ago
Audric Ackermann
aad2d3232a
be able to show right panel for users too (and display convo medias)
5 years ago
Audric Ackermann
3f538b9be1
render Session Verification Messages
5 years ago
Audric Ackermann
dad9e5297c
make the last seen indicator work as expected
5 years ago