Commit Graph

2357 Commits (75cc39e9e7f249b26730f1668a49ba1c9fb9317f)

Author SHA1 Message Date
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 58cc6551e5 fix updates of message on message syncing 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 5e3578f27b
Merge pull request #1507 from Bilb/fix-mulltiple-closed-group-creat
Allow allow one group creation at a time
4 years ago
Audric Ackermann 8716fbf495 improve sent message handling by setting the correct convoId at start 4 years ago
Audric Ackermann 66a6190f2b remove unused replyable error types 4 years ago
Audric Ackermann bb3641b39a remove the forceSave option for unprocessed message too 4 years ago
Audric Ackermann 8a800cf58c move the logic of handling when a message is sent to MessageSentHandler 4 years ago
Audric Ackermann 25e03eba35 fix lint 4 years ago
Audric Ackermann 3ee0ccfac8 remove the forceSave logic for a message, always insert or replace 4 years ago
Audric Ackermann 7e77a3f3b6 remove unused functions in Data.ts and sql.js 4 years ago
Audric Ackermann d844c5141e remove unprocessed from store. Nothing was stored in the store
it was simply as passthrough to the Data file.
No we directly call the data file instead
4 years ago
Audric Ackermann 3f43ae48ad WIP 4 years ago
Audric Ackermann 370158951a move events from MessageQueue to MessageSentHandler 4 years ago
Audric Ackermann a34720501c update avatar on convo only if DL+decrypt is OK 4 years ago
Audric Ackermann 2a1d68401d Allow allow one group creation at a time 4 years ago
Audric Ackermann 720922cc71 be sure to leave a group when leaving from another device 4 years ago
Audric Ackermann 8ea9f02cec Move data.js to data.ts 4 years ago
Audric Ackermann 7b81c4213a
Merge clearnet 4 years ago
Audric Ackermann 0c1343cad5
add a way to share currently distributing keypair to added members 4 years ago
Audric Ackermann 78e7255cb8
send the keypair to added members if we are admin
and remove request encryption keypair handling
4 years ago
Audric Ackermann ebf9714e49
remove MessageQueueInterface 4 years ago
Audric Ackermann 2d7515cf0b
Merge branch 'clearnet' into move-models-to-ts-2 4 years ago
Audric Ackermann df3ca5d38a
add a sql function to check if a keypair is already saved in db 4 years ago
Audric Ackermann a31c457c08
allow closedgroup new message to be sent to our other devices
also, do not drop it on the receiving side
4 years ago
Audric Ackermann 01f834ae98
only handle the first ever configuration message incoming 4 years ago
Audric Ackermann 6d28f343c9
try to decrypt unprocessed message when we get a new encryptionkeypair 4 years ago
Audric Ackermann ad06b94708 do not drop a message which was not decrypted for a medium group
Instead, trigger a request to the group to get the encryption keypair.
We will try to process those messages on an app restart
4 years ago
Audric Ackermann 375c5ba1a8 add the request and reply of an encryptionKeyPair if needed 4 years ago
Audric Ackermann 850233bc9e review PR 4 years ago
Audric Ackermann 8eb1507fcf fix tests with should() 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 c7fa765b65
be sure to have a conversationId on handleMessageEvent() 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 ea2c4437a3
cleanup models with unused events
also, sort message from DB and on redux by sent_at or received_at when
not a public group
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 20cf5dbf10
Merge remote-tracking branch 'upstream/clearnet' into move-models-to-ts-2 4 years ago
Audric Ackermann 5ec9722e00
autobind typescript class methods with autobind 4 years ago
Audric Ackermann b76ce0f2ff
update models to TS part2 4 years ago
Audric Ackermann 65ed81e980
enable explicit group updates on the sending side 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 874e3f863b
remove unused worker 4 years ago
Audric Ackermann 1d5d098b06
be able to remove a closed group once we left it already 4 years ago
Audric Ackermann 89ea946b3f
disable sending of explicit group updates for now - only receiving is ON 4 years ago
Audric Ackermann 267a3e6bf6
disable closedgroup update groups for now 4 years ago
Audric Ackermann ebd94ce15c
fix order of added new group in leftPane 4 years ago
Audric Ackermann 3b3378a2ee
finish explicit group updates 4 years ago
Audric Ackermann 3342c7fd26
lint 4 years ago
Audric Ackermann 1d85a6dc5f
trigger new message onError while handling a request 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 aede96b69b
enable explicit group updates on the sending side 4 years ago
Audric Ackermann b88ea110e8
Add multi device v2 support 4 years ago
Audric Ackermann 64737a89d7
add ConfigurationMessage 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 fb9f615a11
Merge remote-tracking branch 'upstream/clearnet' into fix-explicit-updates-not-yet-sending 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 ab8aa0d982
disable sending of explicit group updates for now - only receiving is ON 4 years ago
Audric Ackermann 2462e12a04
Merge pull request #1461 from Bilb/explicit-group-updates
Explicit group updates
4 years ago
Audric Ackermann f179694439
remove unused worker 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 7048f81214
disable closedgroup update groups for now 4 years ago
Audric Ackermann c06f710b3b
fix order of added new group in leftPane 4 years ago
Audric Ackermann 334da0a169
finish explicit group updates 4 years ago
Audric Ackermann 82a7ed73df
trigger new message onError while handling a request 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 0e25ab2874
WIP 4 years ago
Audric Ackermann 6e11c6db2e
remove all reference to closed group update v2 4 years ago
Audric Ackermann 999e6fc712
replace GroupUpdateV2 in proto to ClosedGroupControlMessage 4 years ago
Audric Ackermann 79028ebaeb
remove isUnidentifiedDelivery 4 years ago
Audric Ackermann c5ad206239
fix message added not shwon on SessionMessageList 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 c7d6e940ce speed up loading of messages by removing db call to fetch our pubkey 4 years ago
Audric Ackermann 8b8fe66615 update profile of users when getting profile from opengroup 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 eadfbc9f6d
Merge remote-tracking branch 'upstream/clearnet' into clean-and-moderator-dialog-update 4 years ago
Audric Ackermann bb037f7edb
fix profile updates when flag is set (do not drop message) 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 21c62c167e
remove typing indicator when we get a dataMessage 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 f1d84177a0 fix expirationTimer updates closed group desktop to ios 4 years ago
Audric Ackermann 58be168227 drop groupUpdates which happened before we joined the group 4 years ago
Audric Ackermann eb9828a3b7 fix tests 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 19f59ca41e
add some logs for message sending 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 0a4cae4183
fix duplicates message for open groups 4 years ago
Audric Ackermann 2af4938ff2
fix SessionProtocol decrypt of messages with Android
also disable the old SessionRequest logic
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 6b56f1174e search for duplicates using the sent_at timestamp to speedup db call 4 years ago
Audric Ackermann cd3ec67099 add the encryptWithSessionProtocol method 4 years ago
Audric Ackermann cf25e89a14 cleanup unused code 4 years ago
Audric Ackermann 10307bac38 fix lint 4 years ago
Audric Ackermann 4026e0162e fix a bug preventing fitlering of duplicates for open group messages 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 3df0a425de
remove permissions popup window and related stuff 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 f28dfe5a94 use fallbacks for message even if we have a session with the device 4 years ago
Audric Ackermann 0eb730f1ba fix lint 4 years ago
Audric Ackermann a58a1a4fba fix text color of expire timer when image only message 4 years ago
Audric Ackermann 0714b73fe7 disable conversation and link preview test until fixed 4 years ago
Audric Ackermann 7e72566cba remove list_view.js ListView is unused 4 years ago
Audric Ackermann 6afe893359
fix up a few test 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 9fe87ca8c3
fix typing of MessageController 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 184b1984c3
fix autoplay unmuted video when video attachment is added 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 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.
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 5e43210493
Merge branch 'clearnet' of github.com:loki-project/loki-messenger into react-refactor 4 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
4 years ago
Audric Ackermann 22b4f39e52
MessageDetails: contact status fallbacks to message status
this is used for medium groups
4 years ago