ryanzhao
df1b2d249f
show the threads on secondary device after syncing contacts
2020-05-20 11:06:59 +10:00
nielsandriesse
2cf278f150
Clean
2020-05-19 15:31:59 +10:00
nielsandriesse
d6c24cebb8
Cache device links in memory rather than on disk
2020-05-19 15:28:11 +10:00
ryanzhao
fcdc44d3fa
Merge branch 'dev' of https://github.com/loki-project/session-ios into deadlock-issue-fix
2020-05-19 13:34:56 +10:00
ryanzhao
6e2189b461
fix the issue with cache
2020-05-19 13:34:41 +10:00
nielsandriesse
0b7e44a0dd
Only show GIF metadata warning once
2020-05-19 09:12:41 +10:00
ryanzhao
9ac7159a2f
fix the deadlock issue using the same transaction to write to database in multiple threads
2020-05-18 11:42:16 +10:00
Ryan Tharp
3f1f0f2cfe
update seed nodes
...
Replacing mainnet seed nodes with testnet port with the correct (now-working) correct mainnet port.
Kee wants to replace imaginary.seed due to SSL issues, it was using the IP, I've replaced it with the IP for public.loki.foundation for now.
But when we enable SSL, we'll need hosts. And for the dude having DNS issues with our seeds, we will either need to disable SSL verification or keep an http port open for him
2020-05-11 23:28:47 -07:00
ryanzhao
25251f172d
fix when a close group created, members will receive a session out of sync message
2020-05-11 15:25:17 +10:00
nielsandriesse
6187926685
Add comment
2020-05-09 09:34:09 +10:00
nielsandriesse
238972e695
Debug
2020-05-08 16:03:00 +10:00
nielsandriesse
1e300e3d47
Fix typo
2020-05-08 14:46:14 +10:00
nielsandriesse
0f84a5581a
Fix race condition
2020-05-08 14:38:05 +10:00
nielsandriesse
3e8f79f9f3
Fix race condition
2020-05-08 14:09:44 +10:00
nielsandriesse
6bd8512887
Fix duplicate AFR issue
2020-05-08 12:20:31 +10:00
nielsandriesse
829267916f
Fix multi device closed group message routing bug
2020-05-08 11:55:07 +10:00
nielsandriesse
e89a1a4cc8
Fix closed group leaving
2020-05-08 11:47:46 +10:00
nielsandriesse
def0e9e2f9
Clean
2020-05-08 11:15:53 +10:00
nielsandriesse
e286871791
Merge branch 'dev' into closed-group-fix
2020-05-08 10:58:57 +10:00
nielsandriesse
d7ce594866
Fix open group messaging
2020-05-08 10:05:25 +10:00
Mikunj
cbeb454860
Fix sending messages to our devices in groups.
...
Fix sync messages.
2020-05-08 09:53:16 +10:00
nielsandriesse
3715130524
Avoid deadlock
2020-05-07 15:16:40 +10:00
nielsandriesse
3d2b65fc86
Unbork session reset
2020-05-07 15:16:33 +10:00
nielsandriesse
aeb4f20f02
Handle case where sessions haven't yet been established in a closed group
2020-05-07 14:37:18 +10:00
nielsandriesse
d0abad32f4
Fix missing device link fetch
2020-05-07 13:40:10 +10:00
nielsandriesse
f929f10a7f
Clean
2020-05-07 11:57:55 +10:00
nielsandriesse
e61be12bc1
Slightly improve performance
2020-05-07 11:57:40 +10:00
nielsandriesse
807345868f
Attempt to repair session if needed
2020-05-07 11:57:07 +10:00
nielsandriesse
60cb5b6114
Add missing session request handling
2020-05-07 11:56:35 +10:00
nielsandriesse
f10cc65187
Fix issue where the app doesn't wait for device links to be stored
2020-05-07 09:29:22 +10:00
nielsandriesse
dd69ef236d
Fix device link fetching timeout
2020-05-06 16:31:25 +10:00
nielsandriesse
8df2f2a8b5
Minor refactoring
2020-05-06 15:30:05 +10:00
Mikunj
c2e34fb36e
Fix auto accept friend request condition.
2020-05-06 13:38:07 +10:00
Mikunj
9fc386b803
Fix closed group and contact syncing.
2020-05-06 13:31:52 +10:00
nielsandriesse
5060f82a68
Fix build
2020-05-06 10:35:42 +10:00
nielsandriesse
0a3b1a20cd
Fix closed group session establishment issue
2020-05-06 10:20:29 +10:00
nielsandriesse
aa69fa8fe6
Fix background crash
2020-05-06 10:13:32 +10:00
nielsandriesse
3b35535628
Don't send AFRs to self
2020-05-05 16:49:48 +10:00
nielsandriesse
d845b089e9
Fix friend request UI bug
2020-05-05 16:03:03 +10:00
Niels Andriesse
82c824a7a6
Merge pull request #184 from loki-project/friend-request-fix
...
Friend request fixes
2020-05-05 15:43:37 +10:00
nielsandriesse
62dbbf7d57
Clean
2020-05-05 15:43:05 +10:00
nielsandriesse
b847590ecd
Fix note to self
2020-05-05 15:30:12 +10:00
Mikunj
8fa7f66774
Merge branch 'dev' into friend-request-fix
2020-05-05 14:56:36 +10:00
nielsandriesse
746f3e34bd
Fix display name updating issue
2020-05-05 14:09:32 +10:00
Mikunj
1786569584
Don't send sync message for our own device.
...
Don't send an auto generated friend request to our own device.
2020-05-05 14:02:25 +10:00
nielsandriesse
7fc9678987
Fix display name updating issue
2020-05-05 13:43:26 +10:00
Mikunj
cfb3040b72
Fix test not working because of constructor.
2020-05-05 13:32:08 +10:00
nielsandriesse
2968c3d64a
Fix incorrect order of operations
2020-05-05 13:29:20 +10:00
nielsandriesse
f1dbac0791
Remove redundant code
2020-05-05 13:16:27 +10:00
Mikunj
177c762a2e
Fix updating friend request status when sending message.
2020-05-05 12:43:31 +10:00
nielsandriesse
a2d065f3e6
Debug
2020-05-05 11:49:18 +10:00
nielsandriesse
415d033183
Fix multi device closed group syncing
2020-05-05 11:24:39 +10:00
nielsandriesse
3889c0af39
Fix multi device open group syncing
2020-05-05 11:24:28 +10:00
nielsandriesse
4b595575f6
Fix multi device contact syncing
2020-05-05 11:24:10 +10:00
nielsandriesse
24d70341ed
Clean
2020-05-05 10:32:26 +10:00
nielsandriesse
c545efbe72
Minor refactoring
2020-05-05 10:18:24 +10:00
Mikunj
1111d5c260
Merge branch 'replace-force-hidden' of https://github.com/loki-project/session-ios into replace-force-hidden
2020-05-05 09:51:04 +10:00
Mikunj
0890f65e61
Added isSlaveThread tests.
2020-05-05 09:30:46 +10:00
nielsandriesse
5cc11b9014
Partially fix friend request UI issues
2020-05-05 09:11:43 +10:00
nielsandriesse
2190c98ba1
Fix Swift/Obj-C interop
2020-05-04 16:17:18 +10:00
Mikunj
6fca0779e5
Added Test Utils.
2020-05-04 16:00:23 +10:00
Mikunj
da4a3c3aac
Minor fix
2020-05-04 14:08:11 +10:00
Mikunj
4d0207f20a
Replace isForceHidden with computed isSlaveThread
2020-05-04 14:05:56 +10:00
nielsandriesse
31bfa0888b
Debug
2020-05-04 13:25:38 +10:00
nielsandriesse
f834850317
Debug & avoid write transaction
2020-05-04 11:56:26 +10:00
nielsandriesse
7e0435e009
Debug
2020-05-04 11:38:10 +10:00
nielsandriesse
59344ec41a
Clarify API
2020-05-04 11:06:55 +10:00
nielsandriesse
54cd300878
Maintain consistent indentation
2020-05-04 11:04:02 +10:00
nielsandriesse
8463634a83
Reword comment
2020-05-04 11:01:51 +10:00
nielsandriesse
845de99561
Merge branch 'friend-request-refactor' of github.com:loki-project/loki-messenger-ios into friend-request-refactor
2020-05-04 10:59:41 +10:00
nielsandriesse
76b5b98038
Clean
2020-05-04 10:57:40 +10:00
Mikunj
62a51ee03d
Merge branch 'friend-request-refactor' of https://github.com/loki-project/session-ios into friend-request-refactor
2020-05-04 10:53:05 +10:00
Mikunj
3ed3e00c4c
Review fixes
2020-05-04 10:50:49 +10:00
nielsandriesse
be4c548848
Minor refactoring
2020-05-04 10:48:19 +10:00
nielsandriesse
db037a1320
Merge branch 'friend-request-refactor' of github.com:loki-project/loki-messenger-ios into friend-request-refactor
2020-05-04 10:20:45 +10:00
nielsandriesse
3e0a9db5e0
Handle expired friend requests
2020-05-04 10:18:00 +10:00
Mikunj
e091923850
Merge branch 'friend-request-refactor' of https://github.com/loki-project/session-ios into friend-request-refactor
2020-05-04 10:12:15 +10:00
Mikunj
1adc5ce11e
Finish up migration test.
2020-05-04 10:12:00 +10:00
nielsandriesse
cfb23de141
Merge branch 'friend-request-refactor' of github.com:loki-project/loki-messenger-ios into friend-request-refactor
2020-05-04 09:59:03 +10:00
nielsandriesse
9bcde73d14
Update FriendRequestView for friend request refactor
2020-05-04 09:57:26 +10:00
Mikunj
45a71181d1
Fix up migration.
...
Added migration test.
Fix some tests.
2020-05-04 09:42:02 +10:00
nielsandriesse
0d48031e9c
Clean
2020-05-02 10:28:04 +10:00
nielsandriesse
96331ecdd5
Fix incorrect target & rename file
2020-05-02 10:02:29 +10:00
nielsandriesse
e879334b3b
Clean up documentation
2020-05-02 09:53:47 +10:00
nielsandriesse
34d79210c0
Minor refactoring
2020-05-02 09:48:43 +10:00
nielsandriesse
e60dfe99c5
Clean
2020-05-02 09:21:13 +10:00
nielsandriesse
9611f06e25
Merge branch 'dev' into friend-request-refactor
2020-05-02 08:56:47 +10:00
Mikunj
71297fb4ec
Deprecate friendRequestState on TSMessage.
2020-05-01 13:37:50 +10:00
Mikunj
b1345104da
Remove saveFriendRequestStatus in TSThread.
2020-05-01 13:17:11 +10:00
nielsandriesse
85fe6db572
Clean up device unlinking
2020-05-01 12:52:23 +10:00
Mikunj
25ae8ca3ba
Fix up more tests.
...
Update friend request status in message sender.
2020-05-01 12:28:51 +10:00
nielsandriesse
1a224ee50b
Add more comments
2020-05-01 12:14:17 +10:00
nielsandriesse
ce3ce176b0
Add comment
2020-05-01 12:03:26 +10:00
Mikunj
8fcb61353e
Merge branch 'dev' into friend-request-refactor
2020-05-01 11:00:26 +10:00
Mikunj
7216a33dc8
Don't update friend request logic when generating messages
2020-05-01 10:39:43 +10:00
nielsandriesse
0cd4f15bed
Fix silliness
2020-05-01 10:30:08 +10:00
nielsandriesse
7b221ca86e
Ignore empty display names
2020-05-01 10:26:29 +10:00
Mikunj
d6ff50fac4
Added getFriendRequestUIState and tests.
2020-05-01 10:05:02 +10:00
nielsandriesse
d742d0aeaa
Take into account multi device when counting duplicates
2020-05-01 10:00:10 +10:00
nielsandriesse
bcecf70b3b
Fix slave device friend request status maintenance
2020-05-01 09:59:58 +10:00
nielsandriesse
948d2d5066
Reduce device link fetching timeout
2020-05-01 09:22:10 +10:00
nielsandriesse
d39220575c
Decrease open group deleted messages polling frequency
2020-04-30 16:25:16 +10:00
nielsandriesse
392e63bccc
Capture AFR send failures
2020-04-30 16:24:56 +10:00
Mikunj
9a08bb8d3b
Added declineFriendRequest tests.
2020-04-30 15:55:53 +10:00
nielsandriesse
5f5dfc45ed
Don't spam the console
2020-04-30 15:16:15 +10:00
nielsandriesse
8535a6b530
Improve message fetching performance
2020-04-30 14:16:22 +10:00
nielsandriesse
4fe4ca3d76
Don't show message status bar in note to self
2020-04-30 13:56:31 +10:00
nielsandriesse
57454a8778
Merge branch 'dev' of github.com:loki-project/loki-messenger-ios into dev
2020-04-30 13:29:29 +10:00
nielsandriesse
5dea84e9b0
Don't send auto-generated friend requests for Signal background messages
2020-04-30 13:29:12 +10:00
Mikunj
d63a11b702
Rename function.
2020-04-30 13:24:26 +10:00
nielsandriesse
ab91614558
Add TODO
2020-04-30 13:11:41 +10:00
Mikunj
7caed4f0e5
Added more tests.
2020-04-30 13:04:55 +10:00
nielsandriesse
4098b9638c
Untangle receipts, transcripts & typing indicators logic
2020-04-30 12:23:07 +10:00
Mikunj
8a6b2a2bc2
Move around logic to make functions have less side effects
2020-04-30 11:54:32 +10:00
Mikunj
97e7c76d4a
Added Tests.
2020-04-30 10:59:12 +10:00
nielsandriesse
a2de00feb8
Avoid nested write transaction
2020-04-30 09:06:05 +10:00
nielsandriesse
dd86966111
Clean up docs & fix crash
2020-04-30 08:51:19 +10:00
nielsandriesse
a7f04cb95c
Fix crash
2020-04-29 16:28:14 +10:00
nielsandriesse
fbdab8ccb0
Handle slave device message send failures
2020-04-29 15:59:27 +10:00
Mikunj
4e07810f04
More refactoring.
2020-04-29 15:16:54 +10:00
nielsandriesse
947eecf000
Debug
2020-04-29 14:21:23 +10:00
Mikunj
23188c7e5d
Refactor friend request protocol
2020-04-29 13:56:01 +10:00
nielsandriesse
33e47298ae
Fix multi device bugs
...
Various database handling issues, incorrect friend request status handling on auto-generated friend requests and refactor of the multi device message sending logic
2020-04-29 13:55:17 +10:00
Mikunj
4dcf26b7e7
Added migration.
2020-04-29 13:00:51 +10:00
Mikunj
68a14e95da
Add friend request status collection
2020-04-29 10:21:09 +10:00
nielsandriesse
f0e5a1c1ef
Re-order files
2020-04-29 09:30:18 +10:00
nielsandriesse
bb6f4d8c2c
Clean
2020-04-29 09:11:48 +10:00
nielsandriesse
b0233e4cc0
Minor refactoring
2020-04-29 09:02:45 +10:00
nielsandriesse
d6747ebb14
Resolve TODOs in OWSMessageManager
2020-04-28 16:40:42 +10:00
nielsandriesse
3bcad97629
Fix landing screen clipping bug
2020-04-28 16:15:19 +10:00
nielsandriesse
9ffe36a091
Fix crashes
2020-04-28 16:15:00 +10:00
nielsandriesse
632f66f2ba
Make device link authorization more reliable
2020-04-28 14:14:28 +10:00
nielsandriesse
fbeea62b32
Fix crash
2020-04-28 13:49:03 +10:00
nielsandriesse
a14d93fa04
Add contact sync message handling test
2020-04-28 11:40:02 +10:00
nielsandriesse
7a21c02edc
Clean
2020-04-28 10:21:23 +10:00
nielsandriesse
b206f2dbc9
Fix bug in AFR scenario 1
...
See https://github.com/loki-project/session-protocol-docs/wiki/Auto-Generated-Friend-Requests for more info
2020-04-28 10:21:02 +10:00
nielsandriesse
c758ad1b89
Add multi device friend request acceptance test
2020-04-28 09:18:33 +10:00
nielsandriesse
43866596ba
Minor refactoring
2020-04-27 17:44:57 +10:00
nielsandriesse
d3125c5039
Fix friend request bugs & improve documentation
...
We were attaching the user's profile picture URL to friend request messages, and there was a bug in multi device friend request acceptance
2020-04-27 16:56:45 +10:00
nielsandriesse
8b50cca7bd
Clean
2020-04-25 14:28:34 +10:00
nielsandriesse
383cfead9c
Add Storage utility
2020-04-25 14:06:05 +10:00
nielsandriesse
521a2fcf9d
Remove redundant Signal tests
...
These tests were for features that we'll never use (e.g. phone number related stuff)
2020-04-25 12:35:17 +10:00
nielsandriesse
a65235fd3a
Clean & add documentation
2020-04-25 12:27:17 +10:00
nielsandriesse
2e1a157a8e
Fix nested write transaction
2020-04-25 10:20:25 +10:00
nielsandriesse
2c5b3ecdc1
Fix typo
2020-04-24 12:58:16 +10:00
nielsandriesse
faa6805dcc
Debug
2020-04-24 12:20:52 +10:00
nielsandriesse
7f1be7d428
Debug Swift/Obj-C interop
2020-04-24 12:07:14 +10:00
nielsandriesse
6af71a75d0
Add test files
2020-04-24 11:27:07 +10:00
nielsandriesse
a13b330f94
Separate out Session sync message sending logic
2020-04-24 11:16:55 +10:00
nielsandriesse
1351250c92
Split things according to architecture overview docs
2020-04-24 10:22:55 +10:00