Commit Graph

1691 Commits (41107150532b1f1b3c91c0a865ec07e1ef0c4f7e)

Author SHA1 Message Date
Maxim Shishmarev d95dfdc04a
Merge pull request #1280 from msgmaxim/medium-group-fixes
Medium group protocol changes
5 years ago
Audric Ackermann 5f47c42038
when pulling public message, use the MultiDeviceProtocol to check
if this message is coming from us rather than checking the cached values
5 years ago
Maxim Shishmarev db05592400 Address review comments 5 years ago
Audric Ackermann 720bb54bc1
move add_contacts_test open_group_test and registration_test to ts 5 years ago
Audric Ackermann 592c31dfc0
fix tslint issues with spectron includes 5 years ago
Audric Ackermann a983085cbd
move page-objects to .ts files 5 years ago
Audric Ackermann a853d27b28
disable multi device link and show warnings placeholder 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 ffbba2480f
hide blocking option from UI for blocking groups 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
Maxim Shishmarev 8f0d59f9b8 Fix not shuffling nodes requested for pubkey 5 years ago
Audric Ackermann ae6db8640a
Merge pull request #1273 from Bilb/fix-showing-secondary-conversation-sync 5 years ago
Audric Ackermann dd3080d9fe
mark conversation as secondary on message synced when needed 5 years ago
Audric Ackermann a17edd0ce9
enable back delivery Receipt and read receipt message 5 years ago
Mikunj Varsani f2668571c2
Merge pull request #1252 from Bilb/drop-auto-fr-messages
drop auto fr messages 'Please Accept... '
5 years ago
Audric Ackermann b04a64da8c
mark secondary devices as secondary from the right primary key 5 years ago
Mikunj 9e14615cd2 Remove RSS Feeds 5 years ago
Audric Ackermann 9a5c73af3c
do not update loki display name is given string is '' onContactSync 5 years ago
Audric Ackermann ba7241b2cb
contactSync: mark conversation as secondary when they are 5 years ago
Audric Ackermann 3775a9ef05
drop empty synced message (or autoFR) 5 years ago
Audric Ackermann 9df0a79fb9
remove blockedNumber.js 5 years ago
Audric Ackermann e6e179b45b
Merge branch 'clearnet' into drop-auto-fr-messages 5 years ago
Audric Ackermann 0c8e34a78e
remove envelope from cache if sentMessage is empty 5 years ago
Audric Ackermann 17cae3937d
drop synced message with the autoFR content 5 years ago
Audric Ackermann 598d6d1010
drop auto fr messages 'Please Accept... ' 5 years ago
Audric Ackermann b34470c215
Merge pull request #1250 from Bilb/sync-blocked-numbers 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 a121dd6694
show block/unblock option for closed group on contextmenu 5 years ago
Audric Ackermann fc5af07363
update UI when user blocks a group 5 years ago
Audric Ackermann 1b35f132e3
fix test 5 years ago
Audric Ackermann 45cdbcbb2f
handle sync of blocked contact/groups as sync events 5 years ago
Audric Ackermann 66697bc235
remove unused addBlockedGroup function since we moved to controller
for blocked group
5 years ago
Audric Ackermann 8d544a9d87
make redux store update on block/unblock 5 years ago
Vincent 055856d9ac note-for-reenabling-sessionsettings 5 years ago
Vincent a67e67d13c Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into ui-polish 5 years ago
Vincent 95c5a881e1 rebuild-ui 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
Vincent 9d6a24d802 rm-uipolishmergre 5 years ago
Vincent 07096e5b09 Merge branch 'ts-constants' into ui-polish 5 years ago
Vincent 7896671df0 fixup-tests 5 years ago
Audric Ackermann d2e7462627
unregister to change events for avatarUpdates on ActionPanel 5 years ago
Audric Ackermann 5eb2f35c45
remove toast on link request when the linking screen is opened 5 years ago
Audric Ackermann 3fd260b793
enforce type of profileKey and signature on linking messages 5 years ago
Vincent 1a150f96c4 merged w ts-constants 5 years ago
Vincent 5216cc2c2e merge clearnet 5 years ago
Vincent c020eddef6 constants-to-ts 5 years ago
Maxim Shishmarev c843da0e94
Merge pull request #1238 from msgmaxim/revive-medium-groups
Fix medium group sending for single device users; protocol changes
5 years ago
Maxim Shishmarev 9b2f11b860 Use stub instead of replace 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
Audric Ackermann 53433261d9
remove outgoing_message.js and everything related to it 5 years ago
Maxim Shishmarev 3faa4f71f3 Fix unit tests 5 years ago
Vincent f8cd997b13 constants-to-ts 5 years ago
Audric Ackermann 948e32fbf7
update our top left avatar on avatar changes
when our primary device updates the avatar, we wait for a sync message
to know about this update.
Once this message comes in, it updates the avatar on the conversation,
but nothing refresh the ActionPanel component.

This commit makes sure we listen for changes on our conversation to
trigger this refresh.
5 years ago
Vincent 506b55bfe2 session-id-editable 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
Audric Ackermann 91f2632cda
Merge pull request #1239 from Bilb/fix-closed-gorup-updates-with-1.0.9 5 years ago
Audric Ackermann 6ec5f1921c
Merge pull request #1237 from Bilb/close-panel-one-open-group-joined
close overlay when open group is joined
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
Audric Ackermann c7daf55a65
close overlay when open group is joined 5 years ago
Audric Ackermann 4c108b470b
hide ourdevices when creating a closed group 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
Audric Ackermann 4381d0135f
Merge pull request #1231 from Bilb/fix-open-groups-ui 5 years ago
Maxim Shishmarev 7724df25cc Fix incorrect handling of pow update 5 years ago
Audric Ackermann d92bf6febf
Merge pull request #1229 from Bilb/fix-open-groups-ui
* fix sync of closed groups
* fix showing of contacts and closed groups after sync
* create closed group: only show direct conversations 
* handle message sending events for open groups
5 years ago
Audric Ackermann aa635e9cd3
trigger opengroup sync when joining an open group 5 years ago
Audric Ackermann b502fcc3f9
clean code and add comments 5 years ago
Audric Ackermann 8019bce372
make the 'OK' button green on putting an alias for linked device 5 years ago
Audric Ackermann f03d66de38
use active_at to show and sync real contacts from contact list 5 years ago
Mikunj f48e10fccd Fix profile keys not being decoded properly 5 years ago
Audric Ackermann adb7234b43
exclude empty timestamp conversation from contacts list 5 years ago
Audric Ackermann c8241f47e6
CreateClosedGroup: only show direct conversations
Also use the conversation display name when available
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 d8df91fa15
use the groupId as conversation id to create a conversation when this is a group 5 years ago
Audric Ackermann 126f18278f
handle message sent success for opengroups events correctly 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 32bf5cd83f
Merge pull request #1225 from vincentbavitz/https-open-group 5 years ago
Audric Ackermann 3fa54c3ef9
Merge pull request #1226 from Bilb/various-closed-group-fixes 5 years ago
Audric Ackermann f8aa50546b
include verb and path on outgoing websocket message 5 years ago
Vincent 4574407b41 finally-clause 5 years ago
Vincent 8b8510cf71 finally-clause 5 years ago
Audric Ackermann 8432d01488
minor ui improvements (button color and place) 5 years ago
Vincent 6cb05c3677 review-fixes 5 years ago
Audric Ackermann db1a133c25
drop an expiretimer message with the same timer already on use 5 years ago
Vincent 4a13b1e6bb attemptConnection-complete 5 years ago
Vincent baf3050b1d @params 5 years ago
Vincent 3a3d412542 linted 5 years ago
Vincent 3bc7d95d47 closed-group-contacts-redux 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 bd67040086
handle empty group id after decoding and set it to null 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 ae35626b35
Merge pull request #1221 from msgmaxim/ts-onion-requests
Move onion requests to typescript
5 years ago
Mikunj Varsani f11e0f2cd0
Merge pull request #1222 from Mikunj/blocking
Fix up Blocking
5 years ago
Maxim Shishmarev ccc487528d Fix edkey extraction 5 years ago
Mikunj f008a8b3ef Always block the primary device instead of all devices.
Added isBlockedAsync function.
5 years ago
Mikunj 2a1afa9fe7 Forgot checking for our own devices 5 years ago
Mikunj 3159baebfa Fix case where blocked user adds a new linked device. 5 years ago
Audric Ackermann 0366f29473
fix expiretimer on closed groups message showing on session conversation 5 years ago
Vincent 8484b9d3f6 regex-fiddling 5 years ago
Vincent ea23df2986 OpenGroup strict SSL verification 5 years ago
Audric Ackermann a02aa75f1f
Merge remote-tracking branch 'upstream/clearnet' into various-closed-group-fixes 5 years ago
Mikunj 1b93a210bc Comments 5 years ago
Audric Ackermann bfd19af04d
use MultiDeviceProtocol.isOurDevice when possible 5 years ago
Audric Ackermann 15b8600e25
fix display name and avatar not being updated when message from secondary 5 years ago
Vincent 5b68ea69f7 revert activeAt position 5 years ago
Vincent bcad497c7f regex-for-http 5 years ago
Vincent e7569a569c fix-unicode-windows-error 5 years ago
Mikunj 95f1e34b6b Update tests 5 years ago
Mikunj 8c3943094d Add tests 5 years ago
Maxim Shishmarev 6919f53a45 Move constants to preload.js 5 years ago
Mikunj aa75205bbd Move BlockedNumberController to ts 5 years ago
Vincent 5a2b91d572 Merge branch 'various-closed-group-fixes' of https://github.com/Bilb/loki-messenger into closed-group-fixes 5 years ago