Commit graph

6468 commits

Author SHA1 Message Date
sachaaaaa
bd9a900a1b Prevent instantiating a new BulkEdit react component with every click 2019-11-14 17:07:52 +11:00
Beaudan Campbell-Brown
b42a8aab1f
Typo
Co-Authored-By: sachaaaaa <40749766+sachaaaaa@users.noreply.github.com>
2019-11-14 15:48:11 +11:00
Ryan Tharp
cad9a89636 verifyUserObjectDeviceMap removed notFoundHandler from prototype/reduced branching depth/returns users pub keys not found 2019-11-13 16:47:40 -08:00
Ryan Tharp
60cefc7fe1 improve comments 2019-11-13 16:33:09 -08:00
Mikunj
6817d82b00 Upgrade electron-notarize 2019-11-14 11:28:47 +11:00
sachaaaaa
2b6bd7e04a
Merge pull request #612 from sachaaaaa/timeout_fix
Fix recurring memory leak in mentions
2019-11-14 09:58:59 +11:00
sachaaaaa
4514c7b104
Merge pull request #615 from sachaaaaa/mainheader_stuff
mainheader: call setstate only when needed for clipboard
2019-11-14 09:58:28 +11:00
Ryan Tharp
0b05753fec use renamed getUsers 2019-11-13 13:10:06 -08:00
Ryan Tharp
1a59ef5f92 rename getUsersAnnotations => getUsers 2019-11-13 13:09:38 -08:00
Ryan Tharp
eab53e158e Merge branch 'multi-device' of https://github.com/loki-project/loki-messenger into multidevice-publicchat 2019-11-13 12:59:05 -08:00
sachaaaaa
ffd1667964 mainheader: call setstate only when needed for clipboard 2019-11-13 17:32:08 +11:00
sachaaaaa
12f03f90f3
Merge pull request #614 from sachaaaaa/reduce_logging_noise
Dial the logging down a notch
2019-11-13 17:12:16 +11:00
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 2019-11-13 17:01:21 +11:00
sachaaaaa
006f817faa make linter happy 2019-11-13 16:51:58 +11:00
sachaaaaa
b7b2776340 Address review 2019-11-13 16:18:09 +11:00
sachaaaaa
c9e3757381 dial the logging down a notch 2019-11-13 16:15:27 +11:00
sachaaaaa
2c1375e42a Fix recurring memory leak in mentions 2019-11-13 15:52:17 +11:00
Beaudan Brown
24a687c106 Throttle the refreshing of device mappings to once every minute 2019-11-13 13:34:27 +11:00
Beaudan Brown
030264c689 Fix misuse of getAllDevicePubKeysForPrimaryPubKey and rename some vars 2019-11-13 12:39:42 +11:00
Beaudan Brown
bce18b7ae6 Revert change so we are always friends with our secondary devices, check validSyncSender from primary pubkey rather than ourNumber 2019-11-13 12:36:23 +11:00
Beaudan Brown
74045d58d7 Use Int32 for the contact list buffer 2019-11-13 12:36:18 +11:00
Beaudan Brown
8c79800cee Use oninput for secondary devices names and allow for consecutive pairings without closing the dialog 2019-11-12 16:40:15 +11:00
Beaudan Campbell-Brown
6611a10855
Merge pull request #590 from BeaudanBrown/session-reset-on-fr
Session reset on fr
2019-11-12 14:24:46 +11:00
Beaudan Campbell-Brown
deedcc1d64
Merge pull request #606 from BeaudanBrown/contact-sync
[multi-device]Contact syncing
2019-11-12 14:14:54 +11:00
Beaudan Brown
b7dd4257d6 Disable microphone button when you have disabled permissions 2019-11-12 09:53:31 +11:00
Beaudan Brown
1c022856b1 Address review 2019-11-12 09:28:30 +11:00
Maxim Shishmarev
8ed72aabc2
Merge pull request #592 from msgmaxim/select-messages
Select multiple messages and bulk deletion
2019-11-11 15:42:32 +11:00
sachaaaaa
b4295918da
Merge pull request #609 from sachaaaaa/fix_status_contact_sync
[multi-device] Fix contact status in createContactSyncProtoMessage
2019-11-11 14:53:59 +11:00
sachaaaaa
843c5b5ebc Fix contact status in createContactSyncProtoMessage 2019-11-11 11:36:23 +11:00
Beaudan Brown
370dee5abb Ensure we have the correct apis and listeners during the pairing process. Catch upnp error. Remove redundant friend requests 2019-11-08 14:29:24 +11:00
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 2019-11-08 11:00:32 +11:00
Beaudan Brown
332cd30052 Send contact sync message when becoming friends with contact and auto accept/send friend requests when receiving contact sync 2019-11-07 14:12:37 +11:00
sachaaaaa
5529deb019
Merge pull request #602 from sachaaaaa/unpairing_device
[multi-device] Allow unpairing device
2019-11-07 13:37:17 +11:00
Beaudan Campbell-Brown
e83d0f6635
Merge pull request #605 from Mikunj/mnemonic-word-fix
Use first 3 mnemonic words instead of the last 3 when displaying secret words.
2019-11-07 11:31:56 +11:00
Mikunj
f61de2cf8e Use first 3 mnemonic words instead of the last 3. 2019-11-07 10:07:47 +11:00
Beaudan Campbell-Brown
e88aca57f2
Merge pull request #603 from sachaaaaa/Fix_secondary_nickname
[multi-device] Fix secondary nickname
2019-11-06 16:22:40 +11:00
Beaudan Campbell-Brown
0f74a002df
Merge pull request #601 from BeaudanBrown/sync-messages
[multi-device] Sync messages
2019-11-06 16:22:06 +11:00
Beaudan Brown
15c07ea7df Sync secondary devices again but handle the receiving of them properly 2019-11-06 16:09:38 +11:00
sachaaaaa
86168ef870 lower case variable 2019-11-06 15:41:39 +11:00
Mikunj
f87c9d2222 Fix up numbers in pairing type. 2019-11-06 15:22:32 +11:00
Beaudan Campbell-Brown
f80e86ce74
Merge pull request #604 from BeaudanBrown/throttle-auto-fr
Throttle automated friend requests + bugfix
2019-11-06 15:14:27 +11:00
Maxim Shishmarev
027e17f7d0 Reset multi selection when conversation is deleted/changed 2019-11-06 15:03:56 +11:00
sachaaaaa
3f52b9df93 Make unpairing a toggle-able feature (enable with window.lokiFeatureFlags.multiDeviceUnpairing = true) 2019-11-06 14:54:23 +11:00
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 2019-11-06 14:28:13 +11:00
Beaudan Brown
41fdcef695 Ensure that we can't miss the apisReady event and only listen for single emit 2019-11-06 14:21:56 +11:00
Maxim Shishmarev
7c96990119 Correctly handle server errors in multi-deletion 2019-11-06 13:22:21 +11:00
sachaaaaa
cd2c4b993a lint 2019-11-06 13:22:01 +11:00
sachaaaaa
dc626ec4d0 use primary device pubkey when setting nickname 2019-11-06 13:07:29 +11:00
sachaaaaa
9ab3626149 Fix italic tags showing up 2019-11-06 11:01:41 +11:00
sachaaaaa
497f42165a Allow unpairing device 2019-11-06 10:52:34 +11:00