Commit Graph

606 Commits (e41d1829725ab875992c63f486087619498bbeee)

Author SHA1 Message Date
Audric Ackermann edd984e0f5
make quotes stay empty when there object isEmpty() 4 years ago
Audric Ackermann b5af8eb215
Add Mentions with react-mentions 4 years ago
Audric Ackermann 828aa4413f
remove unused group_member_list component 4 years ago
Audric Ackermann 2f2eb2ad53
link back backbone conversation events to redux store 4 years ago
Audric Ackermann f3430bdcb5
add toast on isBlocked, isKicked, ... for sending of messages 4 years ago
Audric Ackermann 30f93b2ad3
remove conversation stack 4 years ago
Audric Ackermann 190d597814
only trigger new msg on open group if we are still running 4 years ago
Audric Ackermann c039c89a26
remove resetMessageSelection() as unused and cleanup toast 4 years ago
Maxim Shishmarev 27859b13aa Added an option to use v3/lsrpc endpoint for more compact (base64) file reponses 4 years ago
Audric Ackermann 8710b7a9e8
medium group: send existing expiretimer to joining members if set 4 years ago
Audric Ackermann 545eef4edb
include expireTimer in group invitation message so it does not reset it 4 years ago
Audric Ackermann e613613416
show toast with react-toastify and make them a styled-component 4 years ago
Audric Ackermann 6fd8ea20c7
fix restoring of session after restore from seed 5 years ago
Audric Ackermann 0b4400837b
fix scroll to quoted message and contact display name of group updates 5 years ago
Audric Ackermann 940ad57f83
rework the way unread count works
we no longer refresh on each message read, only once the whole
conversation is read.
5 years ago
Audric Ackermann 13e02b5bf1
add staged link previews for everything from signal 5 years ago
Audric Ackermann 12bf46e09e
use pushToast through ToastUtils when it's a static toast content 5 years ago
Audric Ackermann 79eae4838d
Merge remote-tracking branch 'upstream/clearnet' into react-refactor 5 years ago
Audric Ackermann 17ac8c4343
Merge remote-tracking branch 'upstream/clearnet' into react-refactor 5 years ago
Audric Ackermann 55fa65fc31
override attachments name on upload 5 years ago
Audric Ackermann 5de2dea407
use .ok field on serverRequest to check for request success 5 years ago
Audric Ackermann fe3cfb9e82
move all menu to react-contexify 5 years ago
Audric Ackermann 2b13321c23
remove completely send to proxy 5 years ago
Audric Ackermann 4c91d977ca
move token and submit challenge call to onion request 5 years ago
Maxim Shishmarev 61897df7dd Lint 5 years ago
Maxim Shishmarev c5b2b64d7f Add onions-v2 support for fileserver requests 5 years ago
Maxim Shishmarev 692a0e8cff Optionally use v2 onions for snode requests 5 years ago
Audric Ackermann b46ed237b3
allow empty message when they have attachments 5 years ago
Audric Ackermann c5927cfc4b
focus composition box after adding an attachment 5 years ago
Audric Ackermann 363da7aa80
add back toast on attachment adding error 5 years ago
Audric Ackermann 026a1930ed
add a getOrThrow to ConversationController when we expect this convo 5 years ago
Audric Ackermann 144ae41529
add type for ConversationController, remove showStartConversation
and cleanup scss
5 years ago
Audric Ackermann 1a379d2466
add theme logic to switch between dark/light theme based on redux store 5 years ago
Audric Ackermann 6e07ee42f5
cleanup network status view and some UI constants 5 years ago
Audric Ackermann 4d991d3992
Merge branch 'clearnet' into react-refactor 5 years ago
Audric Ackermann 2f8f79c5d2
make message clearer when we try to reuse a keyIdx in the ratchet 5 years ago
Audric Ackermann 97eaf68085
clean getExistingSenderKeysForGroup as we don't need the diff anymore 5 years ago
Audric Ackermann c0497e3df1
trigger senderKeyRequest if we get a DOMException on decryptGCM() 5 years ago
Audric Ackermann 05e682cdc2
enable back swarm polling when we get added back to a group 5 years ago
Audric Ackermann cfb9e65f30
trigger new ratchet send on message sent success
send our new ratchet to all new members when we just sent a message
containing no senderKey in it.

an set but empty senderKey array should only be sent when a user left or
was removed.
5 years ago
Audric Ackermann e0e0830d3b
remove all ratchet when needed to get fresh senderKey from members 5 years ago
Audric Ackermann 5d7d66f65a
fix bug making session request being sent for medium group create 5 years ago
Audric Ackermann a80f9a5965
fix medium group to match mobile way 5 years ago
Audric Ackermann 06d0683ce5
WIP 5 years ago
Audric Ackermann 22afe50c05
make messageQueue handle medium group message in sendToGroup 5 years ago
Audric Ackermann d4e9b43f0c
remove QUIT type of mediumgroupupdate 5 years ago
Audric Ackermann 53a14a0b60
add prefix to ExpirationTimerUpdateMessage for closed group too 5 years ago
Audric Ackermann d12e0500af
mark node as bad if it returns difficulty 100 5 years ago
Audric Ackermann 3a876c7322
add notify to PN server on message sent 5 years ago
Audric Ackermann 514eb9ba98
fix pubkey regex for mobile medium groups 5 years ago
Audric Ackermann 215c964fab
fix padding for medium group 5 years ago
Audric Ackermann 8123508b51
fix avatar closed group and pubkey for medium mobile groups 5 years ago
Audric Ackermann d6e8247016
Merge pull request #1339 from Bilb/add-back-copy-session-id
add back Copy Session ID but show it only for user context click
5 years ago
Audric Ackermann cd1a940719
add back Copy Session ID but show it only for user context click 5 years ago
Audric Ackermann ff1c554e8a
make MediumGroupChatMessage share impl with ClosedGroupChatMessage 5 years ago
Audric Ackermann 04063cd0fb
make medium group pubkey be in bytes rather than str 5 years ago
Audric Ackermann 7054268b14
use source from decoded content and not envelope on ssk 5 years ago
Audric Ackermann 84c7ce006b
fix ctx menu on repeated block/unblock 5 years ago
Audric Ackermann d3badba681
hide reset session from menu when user is blocked 5 years ago
Audric Ackermann c34edee180
Merge pull request #1321 from Bilb/use-created-at-server-timestamp
Fixes #1249
5 years ago
Audric Ackermann 1e446b0a81
fix order for open groups message which are out of sync 5 years ago
Audric Ackermann 7501d71542
fix polling logic on network errors #995 5 years ago
Audric Ackermann 0721d469db
increase timeout allowed for joining open group 5 years ago
Audric Ackermann 0e75510e5b
remove ttl unused settings and all translated key 5 years ago
Audric Ackermann 73e2250ca8
add submenu rtl support (disabled for now) 5 years ago
Audric Ackermann 5739d78ada
edit group editing title to match Android 5 years ago
Audric Ackermann 90fac8f75e
show group members => groupmember 5 years ago
Audric Ackermann 70b739d24f
update translation to match android - part 1 5 years ago
Audric Ackermann ad4c024530
Merge remote-tracking branch 'upstream/clearnet' into make-cheap-translations 5 years ago
Audric Ackermann 13b28e565d
hide copy option for closed group 5 years ago
Audric Ackermann d108630f22
add a toastUtils file and replace all pushToast calls in ts files 5 years ago
Audric Ackermann e008dbd0d5
"leave {Closed|Open} Group" => "leave group" 5 years ago
Audric Ackermann 71004f04a2
add a getDeleteMenuItem and hide on open groups as
leave and delete messages does the same in fact
5 years ago
Audric Ackermann cf3352d0af
add a timeout function to promiseUtils for attemptConnection 5 years ago
Audric Ackermann 3945c6b208
Merge remote-tracking branch 'upstream/clearnet' into react-refactor 5 years ago
Audric Ackermann 58dd064e93
Merge remote-tracking branch 'upstream/clearnet' into fix-integration-tests 5 years ago
Audric Ackermann 3e56eb6133
add beta german translation copy pasted from android 5 years ago
Mikunj c0fca99485 Disable multi device 5 years ago
Audric Ackermann 933eb73aa1
Merge remote-tracking branch 'upstream/clearnet' into fix-integration-tests 5 years ago
Audric Ackermann 6d65c9cc0a
make sendMessage return -1 on fail rather than false 5 years ago
Audric Ackermann 44349079ab
fix delete of open group messages 5 years ago
Audric Ackermann 64dff64925
fix mentions notification displayname rather than pubkeys
* replace @pubkeys with their corresponding display name if found
* fix the display of the @ sign on the conversationListItem
5 years ago
Audric Ackermann 708a999ff6
fix caption for attachments when they are set 5 years ago
Maxim Shishmarev d95dfdc04a
Merge pull request #1280 from msgmaxim/medium-group-fixes
Medium group protocol changes
5 years ago
Maxim Shishmarev db05592400 Address review comments 5 years ago
Audric Ackermann ad24ad28d6
Merge pull request #1284 from Bilb/fix-ttl-ugly-hack 5 years ago
Audric Ackermann eb06356b26
Merge pull request #1277 from Bilb/fix-blocklist-handle 5 years ago
Audric Ackermann 8558764768
fix open group integration tests 5 years ago
Audric Ackermann 52cb50f063
make lokiPlainFetch return a SnodeResponse object 5 years ago
Audric Ackermann 38724d0992
filter convos to block sync by getting list from BlockedNumberController 5 years ago
Maxim Shishmarev f1bc0ffc27 Fix export for file onions 5 years ago
Audric Ackermann 401c37c39e
make standardized menu, use them in ConversationHeader
and ConversationListItem
5 years ago
Audric Ackermann 394030b711
remove getDefaultTTL and use Constants values instead 5 years ago
Audric Ackermann 48edd431da
use constants rather than string for ttl 5 years ago
Audric Ackermann 467f96acac
substract 1 hour for control of ttl message so PN can ignore them 5 years ago
Audric Ackermann ce6263dc21
share ContextMenu item tests for ConversationListeItem and ConversationHeader 5 years ago
Audric Ackermann 8105f0647a
make a few unit tests quicker by polling more aggressively on results 5 years ago
Audric Ackermann cd516aab64
lint 5 years ago
Audric Ackermann 3e23039adb
do not sync blocked closed group as mobile is not ready yet 5 years ago
Maxim Shishmarev cc43555cd2 Merge branch 'clearnet' into medium-group-fixes 5 years ago
Audric Ackermann d2a4757061
trigger and handle blocked contacts/groups as a list on block/unblock 5 years ago
Maxim Shishmarev 87144336b7 Large refactor of medium groups. Fixes them for multidevice 5 years ago
Vincent 28a0d82ea2 Updating message recieving 5 years ago
Maxim Shishmarev 8f0d59f9b8 Fix not shuffling nodes requested for pubkey 5 years ago
Vincent 3591001ef1 audio component ui 5 years ago
Vincent c26e20d33f css-loader 5 years ago
Audric Ackermann c7b5fdf02d
Merge pull request #1246 from Bilb/accept-group-ids-from-mobile 5 years ago
Audric Ackermann 20a286d288
add comments about temporary fix with mobile group pubkeys regex 5 years ago
Audric Ackermann edc34649a4
Merge pull request #1241 from Bilb/fix-our-profile-picture-change 5 years ago
Audric Ackermann 4e56ad2419
Merge pull request #1244 from Bilb/fix-sending-errors-handling 5 years ago
Audric Ackermann f491158b3f
add the group id from mobile as valid pubkey key 5 years ago
Audric Ackermann 3fd260b793
enforce type of profileKey and signature on linking messages 5 years ago
Vincent 5216cc2c2e merge clearnet 5 years ago
Vincent c020eddef6 constants-to-ts 5 years ago
Audric Ackermann f641b9436b
fix our handling of snode sending errors so we have a real error shown
when a message fails to send because of it.

Also, fix the retry logic on the corresponding message
5 years ago
Maxim Shishmarev 1d1a62e683 Fix incorrectly syncing medium group chat messages 5 years ago
Vincent fd746a475a ui polished and ttl constants 5 years ago
Maxim Shishmarev d747249d4f Merge branch 'clearnet' into revive-medium-groups 5 years ago
Maxim Shishmarev 6351fc1d4c Lint 5 years ago
Maxim Shishmarev f6223ce5ab Use message queue for medium group chat messages 5 years ago
Vincent 39dea3b1bc Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into blocked-fixes 5 years ago
Vincent 9b07c8fc8e outline-class 5 years ago
Audric Ackermann a4fedaf75d
fix empty avatar being undefined rather than ''
building ClosedGroupUpdate message via ts makes it have an avatar
content with fields empty if we pass '' as avatar.

we wamt no avatar field at all
5 years ago
Maxim Shishmarev 237bd84b35 Fix medium group sending for single device users; protocol changes 5 years ago
Vincent ca96992a44 Pukbeyified 5 years ago
Vincent 68f2a90f7c pubkeys-in-message-encryptor-init 5 years ago
Mikunj 646973e330 Made changes to how messages are sent.
Instead of blocking the message queue when we don't have a session, we instead just send out a session request and send the queued messages using fallback encryption.
This means that users will be able to message right away without having to wait.
The only down side is that all messages sent before sessions are established will be using the weaker encryption.

This change also means we have to detach session requests from envelope type (which is a good thing) and thus now a message is a session request if it contains a preKeyBundle.
5 years ago
Maxim Shishmarev 7724df25cc Fix incorrect handling of pow update 5 years ago
Audric Ackermann f03d66de38
use active_at to show and sync real contacts from contact list 5 years ago
Audric Ackermann 4aa0667686
OpenGroup: get conversation from conversationController rather than appDotNetApi 5 years ago
Audric Ackermann 880e039652
handle grantSignature undefined 5 years ago
Audric Ackermann 7fe188417a
Merge pull request #1227 from Bilb/fix-1.0.9-interoperability
include verb and path on outgoing websocket message
5 years ago
Audric Ackermann f8aa50546b
include verb and path on outgoing websocket message 5 years ago
Vincent 6cb05c3677 review-fixes 5 years ago
Vincent 4a13b1e6bb attemptConnection-complete 5 years ago
Vincent baf3050b1d @params 5 years ago
Vincent 3a3d412542 linted 5 years ago
Vincent e72970fdc7 load-conv-public 5 years ago
Vincent a005aa8a2e onLoading join 5 years ago
Vincent b05d2e6725 Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into https-open-group 5 years ago
Audric Ackermann d5cfcf9edc
Merge pull request #1223 from Bilb/various-closed-group-fixes
* fix display name and avatar to be shown when message is coming from a secondary device
* fix show of expiretimer in the group conversation when it is for it.
* fix a bug creating empty conversation when sync closed group message is received on secondary device
* trigger an expiretimer update message to all members when updating a group.
* trigger an expiretimer update message when sending back group details (after a requestGroupInfo)
5 years ago
Vincent 6111cb2d17 server-regex-tighten 5 years ago
Audric Ackermann 696fbd8d7a
address review 5 years ago
Vincent f6ae5386e9 getting opengroup conversation 5 years ago
Maxim Shishmarev a2b80a5e68 Address review comments 5 years ago
Vincent ab966e600a OpenGrop joining 5 years ago
Audric Ackermann 178060e4d2
handle Uint8Array in protobuf.convertToTS() 5 years ago
Maxim Shishmarev 29fe64f5d5 Fix retrieving with pubkey object 5 years ago
Vincent 54209e98a8 propogate join channel erros 5 years ago
Vincent 39b41cb222 joining-open-groups 5 years ago
Maxim Shishmarev ccc487528d Fix edkey extraction 5 years ago
Vincent 8484b9d3f6 regex-fiddling 5 years ago
Vincent ea23df2986 OpenGroup strict SSL verification 5 years ago
Audric Ackermann 15b8600e25
fix display name and avatar not being updated when message from secondary 5 years ago
Vincent bcad497c7f regex-for-http 5 years ago
Maxim Shishmarev 6919f53a45 Move constants to preload.js 5 years ago
Maxim Shishmarev 12f73e23f2 Move onion requests to typescript 5 years ago
Audric Ackermann ed48818867
include old avatar and expireTimer on groupUpdate 5 years ago
Audric Ackermann 809b4d9461
Merge remote-tracking branch 'upstream/clearnet' into various-closed-group-fixes 5 years ago
Audric Ackermann 235ab0bfb3
create convo for both primary and secondary in receivemessage 5 years ago
Maxim Shishmarev d5a98b8b47 Remove swarm nodes from conversations 5 years ago
Mikunj 8f82e7a442 Fix multi device pairing 5 years ago
Mikunj 669648d9cb Fix expire timer 5 years ago
Mikunj Varsani 416d5f69c0
Merge pull request #1211 from Mikunj/closed-group-fixes
Closed group fixes
5 years ago
Maxim Shishmarev 6a41aa1d88
Merge pull request #1210 from msgmaxim/fix-some-tests
Stub out swarm polling
5 years ago
Mikunj 2d5230715f Merge branch 'clearnet' into closed-group-fixes 5 years ago
Maxim Shishmarev 9cdb7710ec Stub out swarm polling 5 years ago
Mikunj c422c9e2ad Lint 5 years ago
Mikunj fd547941d6 Fix sync message issue 5 years ago
Mikunj 8d11660b13 Fix attachments 5 years ago
Maxim Shishmarev 7e737a3ccd Merge branch 'clearnet' into refactor-polling 5 years ago
Maxim Shishmarev 114f6d083f Fix pubkey comparison 5 years ago
Maxim Shishmarev 7dd9469074 Further improve imports 5 years ago
Audric Ackermann 7c89b291de
Merge pull request #1205 from Bilb/handle-message-sending-events 5 years ago
Maxim Shishmarev b31b6bb912 Lint 5 years ago
Maxim Shishmarev 255c7ada68 More clean up in message_receiver.js 5 years ago
Maxim Shishmarev 6fcc1f7ae4 Merge branch 'clearnet' into refactor-polling 5 years ago
Audric Ackermann 0474e84b19
fix profileKey sharing and avatar 5 years ago
Maxim Shishmarev 468ad9f71d Add more type annotations 5 years ago
Vincent d1a77b82ee rm tmp file 5 years ago
Vincent 7498a255a2 utils compatiblity merger 5 years ago
Audric Ackermann c95bf57b28
Merge remote-tracking branch 'upstream/clearnet' into handle-message-sending-events 5 years ago
Maxim Shishmarev 6295e4206d Clean up imports 5 years ago
Mikunj 7b355dae78 Fix grunt 5 years ago
Maxim Shishmarev 0904e7a8ca Refactor from message polling to content message handling 5 years ago
Mikunj 4a3188bbf9 minor fixes 5 years ago
Mikunj d4dc8aa2ed remove SyncMessageUtils.from 5 years ago
Mikunj a972c328c7 Change how sync messages are handled 5 years ago
Mikunj 347a1e5582 Add avatar uploading to attachment utils 5 years ago
Audric Ackermann c419ff9cd2
include display name in outgoing messages 5 years ago
Mikunj c589f4a4af Finish hooking up attachments 5 years ago
Mikunj fbbbadada5 Merge branch 'clearnet' into attachments 5 years ago
Vincent fadbb37022 Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into utils-tests 5 years ago
Audric Ackermann 5f2990d088
Merge pull request #1197 from Bilb/other-messages-new-sending 5 years ago
Vincent 2d0409f9c8 Merge branch 'gorup-tests' into utils-tests 5 years ago
Vincent e2e867d5c1 Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into utils-tests 5 years ago
Vincent a6433fe5dd merge 5 years ago
Mikunj 13811233b6 Add session request expiry checks 5 years ago
Audric Ackermann 9941c12586
finish adding mediumGroupUpdates 5 years ago
Vincent c3af41cb80 merge 5 years ago
Vincent f4fdd42ef3 string-tests 5 years ago
Mikunj 366ccdf97d Add more functions 5 years ago
Mikunj b69ad7db16 Add attachment util 5 years ago
Audric Ackermann 39bad87a18
updateMediumGroup replaced with new pipeline 5 years ago
Audric Ackermann a43abfd436
move groupContextType to sub classes of Closedgroup 5 years ago
Vincent 32015eeab6 ptests 5 years ago
Audric Ackermann cae608fd01
drop typing message for public groups and fix opengroup sending 5 years ago
Audric Ackermann b07b195102
Merge remote-tracking branch 'upstream/clearnet' into other-messages-new-sending 5 years ago
Audric Ackermann 3b40837ffc
address Pr review 5 years ago
Audric Ackermann cd79b5051c
move more logic to build sync message in ts for ContactSync and GroupSync 5 years ago
Mikunj fb53f9ff36 Fix message queue 5 years ago
Audric Ackermann fea75de3fe
make the sessionEstablishedMessage nullMessage have some random content 5 years ago
Audric Ackermann d114b6c130
add verifierSyncMesage and syncReadMessages 5 years ago
Audric Ackermann 655cc0575e
add sync of closed groups/open groups/ contacts with new pipeline 5 years ago
Audric Ackermann aee7428282
remove non used function in session from sendMessage.js 5 years ago
Mikunj Varsani 006b5760c6
Merge pull request #1192 from Mikunj/send-to-group
Handle typing and expiration messages when sending to group
5 years ago
Mikunj b52544e6ba Fix imports 5 years ago
Mikunj 212b002c62 Fix typo 5 years ago
Mikunj c2c56bb9b0 Handle typing and expiration messages when sending to group 5 years ago
Mikunj d4ea483aa0 Filter invalid authorisations from the file server 5 years ago
vincent 152adbf4d5 syncMessage done 5 years ago
Audric Ackermann 6a13839d9d
address reviews 5 years ago
Audric Ackermann 9baefb573e
fix tests 5 years ago
Audric Ackermann 0668798b72
Merge remote-tracking branch 'upstream/clearnet' into hooking-up-sending 5 years ago
Audric Ackermann aa797f6670
various changes to be reverted. kind of working session chats only. 5 years ago
Mikunj 53727b7e59 Update ClosedGroupChatMessage 5 years ago
Vincent f72423c2ba types-etc 5 years ago
Audric Ackermann cf7635428a
Merge remote-tracking branch 'upstream/clearnet' into hooking-up-sending 5 years ago
Mikunj 4d0d2727bd Added strict type checking to group id 5 years ago
Audric Ackermann 77025d1afd
adress review 5 years ago
Audric Ackermann bd940a9f79
add groupUpdate message and groupInfo to new pipeline 5 years ago
Audric Ackermann b0ed0207e0
fix one to one (session) chats with just the body set 5 years ago
Audric Ackermann 6380f7426f
fix pairing devices bugs since move to new pipeline 5 years ago
Vincent aa6ce0787b with-electron? 5 years ago
Mikunj 8f492f8e74 Review changes 5 years ago
Vincent 65148300e7 from-to-toSyncMessage 5 years ago
Vincent 58ab611c9e pulled 5 years ago
Mikunj 3bf5796cd5 Modify periodic check implementation 5 years ago
Audric Ackermann e0979fc4a5
add RequestContactSyncMessage and RequestGroup and RequestConfiguration messages to new pipeline 5 years ago
Mikunj d862269f8d Update tests 5 years ago
Audric Ackermann 9c1f0e76fd
add RequestContactSyncMesage 5 years ago
Audric Ackermann 6e1258e3d1
expirationTimerUpdate uses new sending pipeline 5 years ago
Audric Ackermann ff7ca5a0d5
add leave of closed group to new sending pipeline 5 years ago
Audric Ackermann 34cec0be34
RequestGroupInfo via new pipeline 5 years ago
Audric Ackermann 439ea09027
lint 5 years ago
Audric Ackermann e43dc734de
TypingMessage sent with new sending pipeline 5 years ago
Audric Ackermann 4867a560d0
trigger send for all devices of a closed group message 5 years ago
Audric Ackermann 9ec0c8e6a8
Merge remote-tracking branch 'upstream/clearnet' into hooking-up-sending 5 years ago
Mikunj ef76972ccb Allow passing a cache to the queue 5 years ago
Audric Ackermann 12bb6673ea
fix session requests 5 years ago