Commit Graph

1230 Commits (5c3cb0a1657566c9256adf769622647e40accb2c)

Author SHA1 Message Date
Maxim Shishmarev 0904e7a8ca Refactor from message polling to content message handling 5 years ago
Audric Ackermann fb7e13acb0
lint 5 years ago
Audric Ackermann 6a91d44e08
pass the db id to our messagesender message and clean a few files 5 years ago
Mikunj 4a3188bbf9 minor fixes 5 years ago
Mikunj 1bd1548172 Add sendSyncMessageOnly 5 years ago
Mikunj d4dc8aa2ed remove SyncMessageUtils.from 5 years ago
Mikunj a972c328c7 Change how sync messages are handled 5 years ago
Mikunj 225d7f84e4 Fix declaration file names 5 years ago
Audric Ackermann c419ff9cd2
include display name in outgoing messages 5 years ago
Mikunj be4e540c62 Remove duplicate logs 5 years ago
Mikunj c589f4a4af Finish hooking up 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 8b4e69739d
adress review 5 years ago
Vincent a6433fe5dd merge 5 years ago
Audric Ackermann 1650d758a5
fix calls with NoteToSelf case -> morph the message to a syncMessage 5 years ago
Audric Ackermann 67a9fcaa46
remove calls to message.sendSyncMessage() 5 years ago
Audric Ackermann 9941c12586
finish adding mediumGroupUpdates 5 years ago
Audric Ackermann 39bad87a18
updateMediumGroup replaced with new pipeline 5 years ago
Audric Ackermann df028b7ac6
remove sendMessage() 5 years ago
Audric Ackermann c5cf7f395f
remove sendMessageToNumber and sendMessageToGroup 5 years ago
Audric Ackermann 11c5061dce
update retrySend() and resend() to new pipeline 5 years ago
Audric Ackermann cfd76587f6
remove getSendOptions and getNumberInfo() 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 3067dd58aa
adress reviews 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 e38ea17e21
paste sessionEstablishedMessage whenever needed 5 years ago
Audric Ackermann aee7428282
remove non used function in session from sendMessage.js 5 years ago
Mikunj c2c56bb9b0 Handle typing and expiration messages when sending to group 5 years ago
Audric Ackermann b9c1bd7089
remove checkForSignalAccount() 5 years ago
Audric Ackermann 6a13839d9d
address reviews 5 years ago
Audric Ackermann cadc92ee7a
lint 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
Vincent f72423c2ba types-etc 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 029851400d
include endSession message with new pipeline 5 years ago
Audric Ackermann 908316f00d
update ReadReceiptMessage and DeliveryReceiptMessage to new pipeline 5 years ago
Audric Ackermann fbba5575ba
remove buildSessionRequest message 5 years ago
Audric Ackermann 1fe0e3a815
remove sendBackgroundMessage 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 439ea09027
lint 5 years ago
Audric Ackermann a351ef86dd
remove getSendOptions as this is now fetch on encrypt() of a message 5 years ago
Audric Ackermann e43dc734de
TypingMessage sent with new sending pipeline 5 years ago
Audric Ackermann 4865b72e93
Merge remote-tracking branch 'upstream/clearnet' into receiver-remove-friend-request-logic 5 years ago
Audric Ackermann 28fb1dd12a
address PR reviews 5 years ago
Mikunj f681fd619d Added small helper functions 5 years ago
Audric Ackermann eb9a838af1
remove friends from UI logic 5 years ago
Audric Ackermann 66de8d9648
remove plenty of the friend logic 5 years ago
Audric Ackermann bccdc3cf34
Merge remote-tracking branch 'upstream/clearnet' into receiver-remove-friend-request-logic 5 years ago
Mikunj ae44f0da0f Remove old multi device functions 5 years ago
Mikunj 7b7d8c0e2a Remove multi device from libloki 5 years ago
Mikunj 0275d43fa4 Merge branch 'clearnet' into multi-device-protocol 5 years ago
Maxim Shishmarev b98543a9fc Fix enum in a definition type 5 years ago
Audric Ackermann 68b119fb69
remove FR logic from receiver and background.js 5 years ago
Maxim Shishmarev eb280ec1e4 Move model definition files 5 years ago
Mikunj 7a6ea97efb Handle strings in MultiDeviceProtocol 5 years ago
Maxim Shishmarev 8ca7b8cfb4 Message receiving refactor: handleDataMessage onwards 5 years ago
Mikunj b36b3e7725 Slowly replace old multi device functions 5 years ago
Mikunj c8414fdce6 Simplify sql and data files 5 years ago
Mikunj 3ea0689d2f Linting 5 years ago
Mikunj e6139a5463 Merge branch 'clearnet' into message-sending-refactor 5 years ago
Audric Ackermann 73e15250d7
Merge remote-tracking branch 'upstream/clearnet' into integration-test-logs-rebased 5 years ago
Audric Ackermann d48063dc82
lint 5 years ago
Audric Ackermann a8a4c4995a
handle double AFR in conversation onAccept 5 years ago
Audric Ackermann 2d26479177
lint 5 years ago
Audric Ackermann 3c9bf34648
use conversation and conversationOrigin instead sendingConversation in message.js 5 years ago
Audric Ackermann a857406728
rename respondToAll.. FR to updateAll...Messages at is does not send any messages 5 years ago
Maxim Shishmarev ec3c03dbd4 Address review comments 5 years ago
Maxim Shishmarev abde96bc1e Fix medium group updates 5 years ago
Maxim Shishmarev 2a0130ff04 Multidevice support for medium groups 5 years ago
Audric Ackermann fa853538d0
LINT after prettier upgrade 5 years ago
Mikunj 8512c2307b Linting 5 years ago
Mikunj df44e5afca Fix FR logic 5 years ago
Vince 50d111f538
Merge branch 'clearnet' into linked-devs-fixes 5 years ago
Audric Ackermann 13a783bd4a
fix multi device fr 5 years ago
Audric Ackermann 03757ba2ca
lint 5 years ago
Audric Ackermann 255616ff8f
fix integration-tests 5 years ago
Audric Ackermann 12b396ce7e
add option to send a message to a single device, or to all device except one 5 years ago
Audric Ackermann f9f3117101
Merge remote-tracking branch 'vinc/fr-fixes' into integration-test-logs-rebased 5 years ago
Vincent f5bdcca569 pending request filters 5 years ago
Vincent 2378574519 Testing 5 years ago
Vincent 307fdd1bd6 Finalisation 5 years ago
Vincent 1b345bce42 Simplification 5 years ago
Vincent 1f9b3ce5ea Updated comments 5 years ago
Vincent 1cd716d053 Removed comments 5 years ago
Audric Ackermann 632de4e9c7
handleDataMessage: handle messages as coming from primaryDevice 5 years ago
Audric Ackermann e399b9b65b
lint 5 years ago
Audric Ackermann aa6371b6b0
fix bug friend request being auto accepted by unknown user from their secondary device 5 years ago
Vincent 19cf4fa54b Set profile name 5 years ago
Vincent 9c7f5b2c09 Accepting FR from each conv 5 years ago
Vincent 8f08c2aabf Accept FRs from all Devices 5 years ago
Vincent e8e7b2121e Message FR accept fiddling 5 years ago
Vincent 5db9795076 Accepting FRs to all devices 5 years ago
Vincent 60ddaa14be Prevent multiple FR conversations 5 years ago
Mikunj ec3132afc9 Fix auto accepting friend requests 5 years ago
Mikunj a1f2b38325 Merge changes 5 years ago
Mikunj e666c3c97d Add comments 5 years ago
Mikunj a497871ea3 Made changes for new protocol 5 years ago
Audric Ackermann eb894a9b66
lint 5 years ago
Audric Ackermann f46c885fdf
merge fix-closed-group to clearnet 5 years ago
Ryan Tharp ead2f62b6d
Merge branch 'clearnet' into sender-keys 5 years ago
Vincent 3cbb90516f Remove clgs 5 years ago
Vincent 4e6e573f18 Testing w clg 5 years ago
Vincent 7d803280e8 halfway 5 years ago
Vincent 2b7df8e40b Filtering groups fromstate 5 years ago
Vincent 3ab2b550e4 Remove archive conversation 5 years ago
Maxim Shishmarev debb922521 Medium groups with sender keys essentials 5 years ago
Vincent 5f7c82d41d Cleanup 5 years ago
Vincent e7e62b2479 Conditional retry for slave fail 5 years ago
Vincent 3de82cd292 rm 5 years ago
Vincent b5f0f552a7 Changes 5 years ago
Vincent 3c571770ed Useful comments 5 years ago
Mikunj Varsani 1a0b760fa1
Merge pull request #1093 from Bilb/fix-various-closed-group
Fix various closed group
5 years ago
Vincent cf05d4ff6c revivify 5 years ago
Audric Ackermann 3c2746d910
fix group update notifcation when we are added to the group 5 years ago
Audric Ackermann 6848eb975a
fix tests 5 years ago
Audric Ackermann 645b2d55fc
invite friends to closed group: hide already members 5 years ago
Audric Ackermann ab77b0f9a5
disable message contextmenu on group chats when kicked 5 years ago
Vincent 6cda163b27 upgrade typescript 5 years ago
Audric Ackermann 473c4d817b
fix bug with accept/reject buttons on friend request #914 5 years ago
Vincent d8a12aab0f conv tinkering 5 years ago
Vincent 6d9bcc3079 Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into clearnet 5 years ago
Vincent 99a5766592 session nomenclature updates 5 years ago
Vince bed64b2ab8
Merge pull request #935 from Bilb/fix-contextmenu-cache-conversation-view
Fix menu cache conversation view
5 years ago
Vincent 1d289c04ed Message reading instantaneous completed 5 years ago
Vincent 9a6aafe99c Pull from clearnet 5 years ago
Vincent 7235ccff88 Emoji quick styling 5 years ago
Vincent 19a5571536 Protobuf init for attachments 5 years ago
Vincent 74142fab28 Waveform dividing across fullwidth 5 years ago
Mikunj a09e370e1d Added testing on pull request
Disable proxy in tests.
5 years ago
Audric Ackermann a52127de5d
do not trigger change of unchanged messages on conversation reset 5 years ago
Vincent 5d11ef1457 Header props 5 years ago
Mikunj 0eaebcbcac Don't send contact sync message with pairing authorisation.
Don't send secondary devices in contact sync messages.
5 years ago
Vincent ea4dc05009 Upgrade typescript, finding messaages 5 years ago
Mikunj b61dd6a839 Don't send groups in contact sync message 5 years ago
Mikunj 62825faa61 Don't perform admin check if it's a new group that we are creating 5 years ago
Mikunj fc6ca57e1e Added support for group request info 5 years ago
Mikunj d20d31b574 Linting 5 years ago
Mikunj c6be289092 Fix leaving closed groups 5 years ago
Mikunj Varsani cc85de5250 Optimisation and lint fixes 5 years ago
Mikunj Varsani 4f6dd7a8d5 Rename functions to be less confusing 5 years ago
Mikunj Varsani a75ef365b8 Fix device unlinking.
Fix session request being sent even if we have keys to setup a session.
Fix minor crash.
5 years ago
Mikunj Varsani e1d06fc9be Fix messages from secondary device not being mapped correctly to their primary device.
Fix creating closed groups from secondary device.
Fix primary device showing up in create group dialog.
5 years ago
Mikunj Varsani d9c521b09d Fix message syncing in closed groups 5 years ago
Mikunj Varsani 054a523738 Fix linked device sending automatic friend request when it already has keys for a device 5 years ago
Mikunj Varsani beb4cdbed8 Closed group fixes. (#816)
* Fix group updates not syning

* Fix leaving closed groups

* Fix incorrect members being shown on create group dialog

* Linting

* Fix create closed group showing our own conversation
5 years ago
Ryan Tharp 8f77c2e00b expose isRss, don't close uncloseable Rss conversation on deleteMessages 5 years ago
Vincent 799fcb80f4 Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into clearnet 5 years ago
Vincent 821cf00b65 Closed group update message stylgin 5 years ago
Mikunj c9f60826b4 Fix friend request messages being sent to users you don't have a session in closed groups.
Disable typing messages and read receipts in groups.
Send out session request messages if you don't have a session with a member in the group.
5 years ago
Mikunj d7f71650ea Linting 5 years ago
Mikunj 8ae793db19 Rename BACKGROUND_FRIEND_REQUEST to SESSION_REQUEST.
Don't trigger friend request logic if a message is aimed at a group.
5 years ago
Vincent cb417d3665 Link preview warning on setting toggle 5 years ago
Audric Ackermann b9da721faa
open the conversation when accepting a friend request
also, it does what is needed to show the new friend in the friend list
5 years ago
Maxim Shishmarev 02320334f0 Remove P2P 5 years ago
Audric Ackermann 7867f4dceb
Merge branch 'clearnet' into brand-redesign 5 years ago
Audric Ackermann 3b24714f3e
Sort messages by sent_at (#718)
Sort messages by sent_at
5 years ago
Maxim Shishmarev 8ce066b802 Display subscriber count for open chats 5 years ago
Vincent 4d690768a6 Scrolling button updated and animations to modals 5 years ago
Vincent a0a5a61b29 Various changes suggested by redesign overview 5 years ago
Vincent 3dd18a0c9c Profile picture upload, fixes and copy 5 years ago
Audric Ackermann 25344685a2 merge 5 years ago
Maxim Shishmarev 033492a200 Sort messages by sent_at 5 years ago
Audric Ackermann 6209d7d2e2 remove conversation when friendrequest is declined 5 years ago
Audric Ackermann 34fde5f71a contact list, show receivedfriendrequest, then sent, then friends 5 years ago
Audric Ackermann 05bbc43b22 fix accept/decline friend request from conversationListItem 5 years ago
Vincent 8074756dc2 Infinte duration toasts 5 years ago
Vincent 6ee5d041fb Finishing up some modals 5 years ago
Vincent 08cc218364 Fixed orderin of toasts with Maps 5 years ago
Ryan Tharp e7a08b696b make sure isPublic/isRss are boolean values 5 years ago
Vincent 02d23e972c Optimisations and SASS simplifcation 5 years ago
Vincent fc235d6057 Completed message selection 5 years ago
Vincent 0c4f57e57d Added session button types and session button colors 5 years ago
Vincent 98b4b18583 Added message selection inital functionality and added to buttons 5 years ago
Ryan Tharp 549e3b4516
Merge branch 'clearnet' into multidevice-publicchat 5 years ago
Maxim Shishmarev 5123fa0409
Merge pull request #669 from msgmaxim/restoration
Prompting the user to reset session on invalid ciphertext
5 years ago
Ryan Tharp 027bb76989 setPublicSource now marks convo active, make getPublicSendData use the lokiPublicChatAPI findOrCreateChannel, add some warnings 5 years ago
Ryan Tharp a3abf3b14a
Merge pull request #661 from sachaaaaa/encrypted_avatar
Encrypted profile pic
5 years ago
Maxim Shishmarev 19786108a3 address reviews 5 years ago
sachaaaaa acc19985f5 allow removing picture when avatar set to null (currently only possible via mobile) 5 years ago
sachaaaaa a29f0a4120 encrypted pictures for public chats 5 years ago
sachaaaaa 5b7baaf357 enable profile sharing after becoming friends for private messages 5 years ago
Maxim Shishmarev 1020f54b60
Merge pull request #662 from Bilb/655-clickable-profile
clickable profile
5 years ago
vincentbavitz 2e83881373
Merge pull request #652 from vincentbavitz/public-ban
Public ban
5 years ago
Vince 64996844ac Updated references to hasModPerms to isModerator for code consistency 5 years ago
Vince 0643c6836c Cached constants for readability 5 years ago
Vince a7a2f9289c Updated references to hasModPerms to isModerator for code consistency 5 years ago
Vince e9068d56ce Updated isModerator to senderIsModerator and fixed logic of isModerator function 5 years ago
Maxim Shishmarev 81bfa90943 Prompting the user to reset session on invalid ciphertext 5 years ago
Maxim Shishmarev 7ed103f286
Merge pull request #651 from msgmaxim/original-message
Check again for quoted messages after a short timeout
5 years ago
Audric Ackermann 9992a3da1d Add a showUserDetails modal to display user's details
Relates #655
5 years ago
Beaudan Brown 43a91ab672 Linted 5 years ago
Beaudan Brown bee5a89f14 Show toast on user ban 5 years ago
Maxim Shishmarev 2ab0d084f1
Merge pull request #645 from msgmaxim/group-invites
Public chat invitations
5 years ago
Maxim Shishmarev d562a88583 Check again for quoted messages after a short timeout 5 years ago
Beaudan Brown 2bbc1ecf63 Make ban user; handle server request 5 years ago
Beaudan Brown a3d171884d Added ban user right click functionality 5 years ago
Ryan Tharp 6cde9aa263
Merge pull request #638 from neuroscr/multidevice-publicchat
Public Chat - home server refactor / read public chat avatars from home server
5 years ago
Maxim Shishmarev 89e5e919f2 Address more review comments 5 years ago
Maxim Shishmarev 56bb2ed792 Address review comments 5 years ago
Maxim Shishmarev 8ea82b14e3 Add channel id field to invitations 5 years ago
Maxim Shishmarev a5fce17d8c public chat invitations 5 years ago
Maxim Shishmarev 9d50c21b29
Merge pull request #635 from msgmaxim/context-menu-select
Don't select messages when context menu is shown
5 years ago
Ryan Tharp 0d47f305ca add missing await 5 years ago
Maxim Shishmarev 8b2876dadc Disable context menu and message selection for RSS feed 5 years ago
Maxim Shishmarev 2262b41cd7 Prevent hiding the context menu by clicking away to also potentially select messages 5 years ago
Maxim Shishmarev 4dd314c18f Enable profile pictures 5 years ago
sachaaaaa 6c28b1aa79
Merge pull request #623 from loki-project/multi-device
Multi device
5 years ago
Maxim Shishmarev d1c450a213
Merge pull request #621 from msgmaxim/select-messages
Prevent clicking on quote from selecting the message
5 years ago
Beaudan Brown 685ada5cc5 Merge branch 'clearnet' into prep-merge 5 years ago
Beaudan Campbell-Brown a2e8e6480f
Merge pull request #539 from neuroscr/multidevice-publicchat
[multi-device] public chat
5 years ago
Maxim Shishmarev 6c4fa6986b Prevent clicking on quote from selecting the message 5 years ago
Beaudan Brown f1c155b943 Stop sending sync messages to public chats and mark messages from any of our devices as outgoing 5 years ago
Beaudan Campbell-Brown b42a8aab1f
Typo
Co-Authored-By: sachaaaaa <40749766+sachaaaaa@users.noreply.github.com>
6 years ago
Beaudan Brown 807f4cbd2a Storing primary device pubkey on the conversation model for easier access, ensuring that we accept all the friend requests from the primary conversation rather than the secondary 6 years ago
Beaudan Brown 24a687c106 Throttle the refreshing of device mappings to once every minute 6 years ago
Beaudan Campbell-Brown 6611a10855
Merge pull request #590 from BeaudanBrown/session-reset-on-fr
Session reset on fr
6 years ago
Beaudan Brown c31535edb4 Rename blockSync, only send contacts and profile if sending a GRANT request, do *not* always be friends with secondary devices because we still need to complete a friend request exchange 6 years ago
Beaudan Brown 332cd30052 Send contact sync message when becoming friends with contact and auto accept/send friend requests when receiving contact sync 6 years ago
Beaudan Campbell-Brown 0f74a002df
Merge pull request #601 from BeaudanBrown/sync-messages
[multi-device] Sync messages
6 years ago
Beaudan Brown 15c07ea7df Sync secondary devices again but handle the receiving of them properly 6 years ago
Maxim Shishmarev 027e17f7d0 Reset multi selection when conversation is deleted/changed 6 years ago
Beaudan Brown accd16cae1 Trigger friend request received update for the correct device conversation, throttle the sending of automated friend requests and don't send them to devices which sent *us* a friend request 6 years ago
Maxim Shishmarev 7c96990119 Correctly handle server errors in multi-deletion 6 years ago
Maxim Shishmarev 8677fb15a0 Select multiple messages and bulk deletion 6 years ago
Beaudan Brown f16b032056 Handle sync messages properly for some edge cases, ensure we always have a primaryDevicePubKey, send contact sync message 6 years ago
Maxim Shishmarev 395daf3aba Use Array.includes in place of Array.indexOf 6 years ago
Maxim Shishmarev a2f836c690 Address review comments 6 years ago
Maxim Shishmarev 7c05939f55 Add group admins and the ability to remove members from private groups 6 years ago
Maxim Shishmarev 9f81f67460 Can leave private group chats 6 years ago
Maxim Shishmarev f5e9a870f7 Add support for mentions in private group chats 6 years ago
Maxim Shishmarev cf18572049 Adding new group members; establishing sessions between non-friends 6 years ago
Maxim Shishmarev 0d19b708f9 Creating private group chats between friends 6 years ago
Maxim Shishmarev 1f4af59dad Delete public chat messages locally if not stored on the server 6 years ago
Beaudan Brown e9dc3b531e Simplify auto accept check 6 years ago
Beaudan Brown 653fd06451 Don't await for some background messages 6 years ago
Beaudan Brown 8ccf62ed4e Trigger endSession code if we receive a friend request from a friend 6 years ago
Beaudan Brown cc8277f54d Better variable name and use it in more places 6 years ago
Beaudan Brown 883feb668d The rest of my multidevice work, send messages to all the correct devices and automatic friend request if not friends with a device 6 years ago
Beaudan Campbell-Brown aa66b28ffe
Merge pull request #579 from BeaudanBrown/friends-with-any
Add isFriendsWithAnyDevice and use it in relevant places
6 years ago
Beaudan Brown 76b36845bb Add isFriendsWithAnyDevice and use it in relevant places 6 years ago
Beaudan Brown 08ad913105 Add explicit isSecondary flag to conversation list items so they can remain hidden in the menu after they become friends etc 6 years ago
Beaudan Brown 2f52995e18 Fix the delete messages button to not break the conversation 6 years ago
Beaudan Brown d97eced37b Merge branch 'clearnet' into multi-device 6 years ago
Beaudan Brown a3635216db Enable sending audio recordings 6 years ago