Commit graph

457 commits

Author SHA1 Message Date
Audric Ackermann
514eb9ba98
fix pubkey regex for mobile medium groups 2020-09-17 19:46:06 +10:00
Audric Ackermann
215c964fab
fix padding for medium group 2020-09-17 19:36:58 +10:00
Audric Ackermann
8123508b51
fix avatar closed group and pubkey for medium mobile groups 2020-09-17 19:36:46 +10:00
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
2020-09-15 16:42:34 +10:00
Audric Ackermann
cd1a940719
add back Copy Session ID but show it only for user context click 2020-09-15 10:32:16 +10:00
Audric Ackermann
ff1c554e8a
make MediumGroupChatMessage share impl with ClosedGroupChatMessage 2020-09-15 09:40:50 +10:00
Audric Ackermann
04063cd0fb
make medium group pubkey be in bytes rather than str 2020-09-15 09:04:10 +10:00
Audric Ackermann
7054268b14
use source from decoded content and not envelope on ssk 2020-09-14 12:15:22 +10:00
Audric Ackermann
84c7ce006b
fix ctx menu on repeated block/unblock 2020-09-09 11:16:33 +10:00
Audric Ackermann
d3badba681
hide reset session from menu when user is blocked 2020-09-09 10:48:26 +10:00
Audric Ackermann
c34edee180
Merge pull request #1321 from Bilb/use-created-at-server-timestamp
Fixes #1249
2020-09-08 15:15:01 +10:00
Audric Ackermann
1e446b0a81
fix order for open groups message which are out of sync 2020-09-08 09:37:51 +10:00
Audric Ackermann
7501d71542
fix polling logic on network errors #995 2020-09-07 14:17:59 +10:00
Audric Ackermann
0721d469db
increase timeout allowed for joining open group 2020-09-02 15:49:43 +10:00
Audric Ackermann
0e75510e5b
remove ttl unused settings and all translated key 2020-09-01 11:14:59 +10:00
Audric Ackermann
73e2250ca8
add submenu rtl support (disabled for now) 2020-08-31 14:53:17 +10:00
Audric Ackermann
5739d78ada
edit group editing title to match Android 2020-08-18 11:35:58 +10:00
Audric Ackermann
90fac8f75e
show group members => groupmember 2020-08-17 11:44:51 +10:00
Audric Ackermann
70b739d24f
update translation to match android - part 1 2020-08-17 11:36:25 +10:00
Audric Ackermann
ad4c024530
Merge remote-tracking branch 'upstream/clearnet' into make-cheap-translations 2020-08-14 14:31:33 +10:00
Audric Ackermann
13b28e565d
hide copy option for closed group 2020-08-14 11:25:54 +10:00
Audric Ackermann
d108630f22
add a toastUtils file and replace all pushToast calls in ts files 2020-08-14 10:56:22 +10:00
Audric Ackermann
e008dbd0d5
"leave {Closed|Open} Group" => "leave group" 2020-08-14 10:07:47 +10:00
Audric Ackermann
71004f04a2
add a getDeleteMenuItem and hide on open groups as
leave and delete messages does the same in fact
2020-08-13 16:45:11 +10:00
Audric Ackermann
cf3352d0af
add a timeout function to promiseUtils for attemptConnection 2020-08-13 15:30:44 +10:00
Audric Ackermann
3945c6b208
Merge remote-tracking branch 'upstream/clearnet' into react-refactor 2020-08-10 10:51:33 +10:00
Audric Ackermann
58dd064e93
Merge remote-tracking branch 'upstream/clearnet' into fix-integration-tests 2020-08-07 10:00:37 +10:00
Audric Ackermann
3e56eb6133
add beta german translation copy pasted from android 2020-08-05 16:58:36 +10:00
Mikunj
c0fca99485 Disable multi device 2020-08-04 11:23:48 +10:00
Audric Ackermann
933eb73aa1
Merge remote-tracking branch 'upstream/clearnet' into fix-integration-tests 2020-08-03 11:48:00 +10:00
Audric Ackermann
6d65c9cc0a
make sendMessage return -1 on fail rather than false 2020-07-31 11:37:59 +10:00
Audric Ackermann
44349079ab
fix delete of open group messages 2020-07-31 09:49:36 +10:00
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
2020-07-29 15:22:49 +10:00
Audric Ackermann
708a999ff6
fix caption for attachments when they are set 2020-07-29 12:07:06 +10:00
Maxim Shishmarev
d95dfdc04a
Merge pull request #1280 from msgmaxim/medium-group-fixes
Medium group protocol changes
2020-07-28 14:23:58 +10:00
Maxim Shishmarev
db05592400 Address review comments 2020-07-28 12:13:41 +10:00
Audric Ackermann
ad24ad28d6
Merge pull request #1284 from Bilb/fix-ttl-ugly-hack 2020-07-27 16:52:48 +10:00
Audric Ackermann
eb06356b26
Merge pull request #1277 from Bilb/fix-blocklist-handle 2020-07-27 16:52:40 +10:00
Audric Ackermann
8558764768
fix open group integration tests 2020-07-27 11:27:37 +10:00
Audric Ackermann
52cb50f063
make lokiPlainFetch return a SnodeResponse object 2020-07-27 10:59:29 +10:00
Audric Ackermann
38724d0992
filter convos to block sync by getting list from BlockedNumberController 2020-07-27 08:57:44 +10:00
Maxim Shishmarev
f1bc0ffc27 Fix export for file onions 2020-07-24 17:29:43 +10:00
Audric Ackermann
401c37c39e
make standardized menu, use them in ConversationHeader
and ConversationListItem
2020-07-24 16:40:44 +10:00
Audric Ackermann
394030b711
remove getDefaultTTL and use Constants values instead 2020-07-24 15:37:28 +10:00
Audric Ackermann
48edd431da
use constants rather than string for ttl 2020-07-24 15:29:33 +10:00
Audric Ackermann
467f96acac
substract 1 hour for control of ttl message so PN can ignore them 2020-07-24 14:48:56 +10:00
Audric Ackermann
ce6263dc21
share ContextMenu item tests for ConversationListeItem and ConversationHeader 2020-07-24 11:24:37 +10:00
Audric Ackermann
8105f0647a
make a few unit tests quicker by polling more aggressively on results 2020-07-23 16:49:53 +10:00
Audric Ackermann
cd516aab64
lint 2020-07-23 16:29:19 +10:00
Audric Ackermann
3e23039adb
do not sync blocked closed group as mobile is not ready yet 2020-07-23 16:15:34 +10:00
Maxim Shishmarev
cc43555cd2 Merge branch 'clearnet' into medium-group-fixes 2020-07-23 15:39:46 +10:00
Audric Ackermann
d2a4757061
trigger and handle blocked contacts/groups as a list on block/unblock 2020-07-23 10:53:24 +10:00
Maxim Shishmarev
87144336b7 Large refactor of medium groups. Fixes them for multidevice 2020-07-22 17:41:21 +10:00
Vincent
28a0d82ea2 Updating message recieving 2020-07-21 14:43:46 +10:00
Maxim Shishmarev
8f0d59f9b8 Fix not shuffling nodes requested for pubkey 2020-07-20 12:31:56 +10:00
Vincent
3591001ef1 audio component ui 2020-07-16 18:22:09 +10:00
Vincent
c26e20d33f css-loader 2020-07-16 16:39:35 +10:00
Audric Ackermann
c7b5fdf02d
Merge pull request #1246 from Bilb/accept-group-ids-from-mobile 2020-07-15 11:33:02 +10:00
Audric Ackermann
20a286d288
add comments about temporary fix with mobile group pubkeys regex 2020-07-15 11:17:05 +10:00
Audric Ackermann
edc34649a4
Merge pull request #1241 from Bilb/fix-our-profile-picture-change 2020-07-14 13:08:16 +10:00
Audric Ackermann
4e56ad2419
Merge pull request #1244 from Bilb/fix-sending-errors-handling 2020-07-14 13:08:00 +10:00
Audric Ackermann
f491158b3f
add the group id from mobile as valid pubkey key 2020-07-14 12:33:07 +10:00
Audric Ackermann
3fd260b793
enforce type of profileKey and signature on linking messages 2020-07-14 11:27:19 +10:00
Vincent
5216cc2c2e merge clearnet 2020-07-14 11:16:36 +10:00
Vincent
c020eddef6 constants-to-ts 2020-07-14 11:06:26 +10:00
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
2020-07-14 08:55:26 +10:00
Maxim Shishmarev
1d1a62e683 Fix incorrectly syncing medium group chat messages 2020-07-13 18:16:22 +10:00
Vincent
fd746a475a ui polished and ttl constants 2020-07-13 14:08:18 +10:00
Maxim Shishmarev
d747249d4f Merge branch 'clearnet' into revive-medium-groups 2020-07-13 12:44:17 +10:00
Maxim Shishmarev
6351fc1d4c Lint 2020-07-13 12:40:03 +10:00
Maxim Shishmarev
f6223ce5ab Use message queue for medium group chat messages 2020-07-13 12:35:42 +10:00
Vincent
39dea3b1bc Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into blocked-fixes 2020-07-13 11:13:31 +10:00
Vincent
9b07c8fc8e outline-class 2020-07-13 10:09:41 +10:00
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
2020-07-13 09:07:52 +10:00
Maxim Shishmarev
237bd84b35 Fix medium group sending for single device users; protocol changes 2020-07-10 17:59:33 +10:00
Vincent
ca96992a44 Pukbeyified 2020-07-10 11:33:34 +10:00
Vincent
68f2a90f7c pubkeys-in-message-encryptor-init 2020-07-10 11:24:23 +10:00
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.
2020-07-10 10:00:21 +10:00
Maxim Shishmarev
7724df25cc Fix incorrect handling of pow update 2020-07-09 18:11:40 +10:00
Audric Ackermann
f03d66de38
use active_at to show and sync real contacts from contact list 2020-07-09 16:09:30 +10:00
Audric Ackermann
4aa0667686
OpenGroup: get conversation from conversationController rather than appDotNetApi 2020-07-09 10:33:26 +10:00
Audric Ackermann
880e039652
handle grantSignature undefined 2020-07-09 10:28:10 +10:00
Audric Ackermann
7fe188417a
Merge pull request #1227 from Bilb/fix-1.0.9-interoperability
include verb and path on outgoing websocket message
2020-07-09 08:14:33 +10:00
Audric Ackermann
f8aa50546b
include verb and path on outgoing websocket message 2020-07-08 17:59:17 +10:00
Vincent
6cb05c3677 review-fixes 2020-07-08 15:36:59 +10:00
Vincent
4a13b1e6bb attemptConnection-complete 2020-07-08 15:25:18 +10:00
Vincent
baf3050b1d @params 2020-07-08 15:12:52 +10:00
Vincent
3a3d412542 linted 2020-07-08 14:37:25 +10:00
Vincent
e72970fdc7 load-conv-public 2020-07-08 12:14:46 +10:00
Vincent
a005aa8a2e onLoading join 2020-07-08 11:41:30 +10:00
Vincent
b05d2e6725 Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into https-open-group 2020-07-08 11:40:53 +10:00
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)
2020-07-08 11:29:08 +10:00
Vincent
6111cb2d17 server-regex-tighten 2020-07-08 11:20:40 +10:00
Audric Ackermann
696fbd8d7a
address review 2020-07-08 11:14:54 +10:00
Vincent
f6ae5386e9 getting opengroup conversation 2020-07-08 10:59:20 +10:00
Maxim Shishmarev
a2b80a5e68 Address review comments 2020-07-08 10:57:24 +10:00
Vincent
ab966e600a OpenGrop joining 2020-07-08 10:19:51 +10:00
Audric Ackermann
178060e4d2
handle Uint8Array in protobuf.convertToTS() 2020-07-08 09:34:35 +10:00
Maxim Shishmarev
29fe64f5d5 Fix retrieving with pubkey object 2020-07-07 18:33:40 +10:00
Vincent
54209e98a8 propogate join channel erros 2020-07-07 18:20:39 +10:00
Vincent
39b41cb222 joining-open-groups 2020-07-07 17:46:50 +10:00
Maxim Shishmarev
ccc487528d Fix edkey extraction 2020-07-07 15:34:56 +10:00
Vincent
8484b9d3f6 regex-fiddling 2020-07-07 14:30:49 +10:00
Vincent
ea23df2986 OpenGroup strict SSL verification 2020-07-07 14:21:11 +10:00
Audric Ackermann
15b8600e25
fix display name and avatar not being updated when message from secondary 2020-07-07 13:30:25 +10:00
Vincent
bcad497c7f regex-for-http 2020-07-07 13:20:26 +10:00
Maxim Shishmarev
6919f53a45 Move constants to preload.js 2020-07-07 11:05:04 +10:00
Maxim Shishmarev
12f73e23f2 Move onion requests to typescript 2020-07-07 09:57:52 +10:00
Audric Ackermann
ed48818867
include old avatar and expireTimer on groupUpdate 2020-07-06 17:07:55 +10:00
Audric Ackermann
809b4d9461
Merge remote-tracking branch 'upstream/clearnet' into various-closed-group-fixes 2020-07-06 16:21:47 +10:00
Audric Ackermann
235ab0bfb3
create convo for both primary and secondary in receivemessage 2020-07-06 16:08:11 +10:00
Maxim Shishmarev
d5a98b8b47 Remove swarm nodes from conversations 2020-07-06 15:41:52 +10:00
Mikunj
8f82e7a442 Fix multi device pairing 2020-07-06 11:53:52 +10:00
Mikunj
669648d9cb Fix expire timer 2020-07-03 16:38:50 +10:00
Mikunj Varsani
416d5f69c0
Merge pull request #1211 from Mikunj/closed-group-fixes
Closed group fixes
2020-07-03 15:40:06 +10:00
Maxim Shishmarev
6a41aa1d88
Merge pull request #1210 from msgmaxim/fix-some-tests
Stub out swarm polling
2020-07-03 15:18:13 +10:00
Mikunj
2d5230715f Merge branch 'clearnet' into closed-group-fixes 2020-07-03 14:06:12 +10:00
Maxim Shishmarev
9cdb7710ec Stub out swarm polling 2020-07-03 14:01:46 +10:00
Mikunj
c422c9e2ad Lint 2020-07-03 13:59:14 +10:00
Mikunj
fd547941d6 Fix sync message issue 2020-07-03 13:57:08 +10:00
Mikunj
8d11660b13 Fix attachments 2020-07-03 10:08:24 +10:00
Maxim Shishmarev
7e737a3ccd Merge branch 'clearnet' into refactor-polling 2020-07-02 15:57:47 +10:00
Maxim Shishmarev
114f6d083f Fix pubkey comparison 2020-07-02 15:42:36 +10:00
Maxim Shishmarev
7dd9469074 Further improve imports 2020-07-02 15:02:32 +10:00
Audric Ackermann
7c89b291de
Merge pull request #1205 from Bilb/handle-message-sending-events 2020-07-02 05:54:54 +01:00
Maxim Shishmarev
b31b6bb912 Lint 2020-07-02 12:47:31 +10:00
Maxim Shishmarev
255c7ada68 More clean up in message_receiver.js 2020-07-02 12:32:13 +10:00
Maxim Shishmarev
6fcc1f7ae4 Merge branch 'clearnet' into refactor-polling 2020-07-02 12:07:37 +10:00
Audric Ackermann
0474e84b19
fix profileKey sharing and avatar 2020-07-02 09:49:12 +10:00
Maxim Shishmarev
468ad9f71d Add more type annotations 2020-07-01 16:20:54 +10:00
Vincent
d1a77b82ee rm tmp file 2020-07-01 12:55:34 +10:00
Vincent
7498a255a2 utils compatiblity merger 2020-07-01 12:26:49 +10:00
Audric Ackermann
c95bf57b28
Merge remote-tracking branch 'upstream/clearnet' into handle-message-sending-events 2020-07-01 11:44:59 +10:00
Maxim Shishmarev
6295e4206d Clean up imports 2020-07-01 11:23:33 +10:00
Mikunj
7b355dae78 Fix grunt 2020-07-01 08:35:07 +10:00
Maxim Shishmarev
0904e7a8ca Refactor from message polling to content message handling 2020-06-30 18:10:35 +10:00
Mikunj
4a3188bbf9 minor fixes 2020-06-30 16:03:35 +10:00
Mikunj
d4dc8aa2ed remove SyncMessageUtils.from 2020-06-30 15:28:53 +10:00
Mikunj
a972c328c7 Change how sync messages are handled 2020-06-30 14:52:09 +10:00
Mikunj
347a1e5582 Add avatar uploading to attachment utils 2020-06-30 09:38:09 +10:00
Audric Ackermann
c419ff9cd2
include display name in outgoing messages 2020-06-29 15:37:27 +10:00
Mikunj
c589f4a4af Finish hooking up attachments 2020-06-29 14:17:05 +10:00
Mikunj
fbbbadada5 Merge branch 'clearnet' into attachments 2020-06-29 13:14:35 +10:00
Vincent
fadbb37022 Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into utils-tests 2020-06-29 13:14:17 +10:00
Audric Ackermann
5f2990d088
Merge pull request #1197 from Bilb/other-messages-new-sending 2020-06-29 02:34:29 +01:00
Vincent
2d0409f9c8 Merge branch 'gorup-tests' into utils-tests 2020-06-29 09:11:47 +10:00
Vincent
e2e867d5c1 Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into utils-tests 2020-06-29 08:40:10 +10:00
Vincent
a6433fe5dd merge 2020-06-29 08:29:39 +10:00
Mikunj
13811233b6 Add session request expiry checks 2020-06-26 14:36:16 +10:00
Audric Ackermann
9941c12586
finish adding mediumGroupUpdates 2020-06-26 13:53:33 +10:00