Commit graph

1447 commits

Author SHA1 Message Date
nielsandriesse
2e1a157a8e Fix nested write transaction 2020-04-25 10:20:25 +10:00
nielsandriesse
faa6805dcc Debug 2020-04-24 12:20:52 +10:00
nielsandriesse
1351250c92 Split things according to architecture overview docs 2020-04-24 10:22:55 +10:00
nielsandriesse
19aa2595e8 Clean 2020-04-23 16:53:46 +10:00
nielsandriesse
ceb33e36e4 Separate out remaining bits of Session logic 2020-04-23 16:02:36 +10:00
nielsandriesse
78534616ac Separate out Session message receiving logic 2020-04-23 14:46:44 +10:00
nielsandriesse
5b630b3b49 Separate out Session message sending logic 2020-04-22 16:23:58 +10:00
nielsandriesse
d2dccc8b98 Increase message TTL 2020-04-21 13:40:33 +10:00
nielsandriesse
8672577a8b Clean 2020-04-20 16:53:40 +10:00
nielsandriesse
d0b83a59e7 Add comment & clean 2020-04-15 14:20:02 +10:00
Mikunj
7243dcb48d Fix iOS input being hidden after being removed then added to a group. 2020-04-14 09:54:58 +10:00
Mikunj
1e1459d6d2 Ignore messages from users that are not in a group. 2020-04-09 15:50:12 +10:00
Mikunj
8c26e16ef0 Fix incorrect message being shown when user was removed from the group.
Hide input bar correctly when we leave a group.
2020-04-09 11:42:23 +10:00
gmbnt
37865bab96 Minor refactoring 2020-04-07 09:33:29 +10:00
gmbnt
03c4e4a65c Merge branch 'dev' into push-notifications 2020-04-06 15:32:02 +10:00
ryanzhao
6aec747709 clean 2020-04-06 12:02:55 +10:00
gmbnt
1106ca5eb1 Make logging more useful 2020-03-31 16:34:31 +11:00
ryanzhao
471870d8a5 Merge branch 'dev' of https://github.com/loki-project/session-ios into PN-with-preview 2020-03-30 11:09:55 +11:00
ryanzhao
c8108575a7 skip saving the session record if it is not in the main app 2020-03-30 11:07:00 +11:00
gmbnt
c882381c9e Adjust message TTLs 2020-03-27 15:11:41 +11:00
ryanzhao
48113969c1 Merge branch 'PN-without-preview' of https://github.com/RyanRory/loki-messenger-ios into PN-with-preview 2020-03-26 11:20:30 +11:00
ryanzhao
0e604c1291 Merge branch 'dev' of https://github.com/loki-project/session-ios into PN-with-preview 2020-03-25 13:15:54 +11:00
ryanzhao
a926813b91 Merge branch 'dev' of https://github.com/loki-project/session-ios into PN-without-preview 2020-03-25 11:50:56 +11:00
ryanzhao
2e0ca402b3 modify ttl for typing messages 2020-03-25 11:50:09 +11:00
ryanzhao
ca20f3f979 add a Notification Service Extension for PN with preview 2020-03-24 11:28:53 +11:00
gmbnt
10fb36f4be Notify user of unexpected device link requests 2020-03-23 17:09:59 +11:00
Niels Andriesse
89caa3b8f7 Fix broken check 2020-03-11 10:11:17 +11:00
Niels Andriesse
3c5a9e7bdc Revert "Attempt to fix background crash in a different way"
This reverts commit d039ecd87e.
2020-03-10 16:14:57 +11:00
Niels Andriesse
0697c95426 Fix group conversation layout 2020-03-10 15:02:52 +11:00
Niels Andriesse
94b85e8309 Add comment 2020-03-10 14:08:53 +11:00
Niels Andriesse
c1586ccc42 Improve message status updating 2020-03-10 14:06:58 +11:00
Niels Andriesse
d039ecd87e Attempt to fix background crash in a different way 2020-03-10 13:43:28 +11:00
Ryan ZHAO
9d2cdef750 fix up unlinking 2020-03-04 15:12:22 +11:00
Ryan ZHAO
3490f9a2b3 hide the threads with background friend requests after receiving sync contacts messages on slave device 2020-03-04 14:33:01 +11:00
Ryan ZHAO
9a711a8a61 Merge branch 'dev' of https://github.com/loki-project/loki-messenger-ios into fix-syncing-for-multidevice 2020-03-04 09:26:11 +11:00
Niels Andriesse
4ed1197547 Add comment 2020-03-03 16:26:32 +11:00
gmbnt
3c3eb0d189
Merge pull request #126 from RyanRory/fix-unlink-device
fix unlink device
2020-03-03 12:25:33 +07:00
Ryan ZHAO
c89e1f8fa7 minor fix for syncing groups 2020-03-03 14:31:09 +11:00
Niels Andriesse
1a77ba51cf Move file 2020-02-28 10:18:55 +07:00
Ryan ZHAO
b990420c6f Merge branch 'dev' of https://github.com/loki-project/loki-messenger-ios into sync-open-group 2020-02-28 14:05:36 +11:00
Niels Andriesse
3479fc4333 Reduce code duplication 2020-02-28 09:58:45 +07:00
gmbnt
eebff42412
Merge pull request #104 from RyanRory/sync-closed-group
Closed group functionality and synchronisation
2020-02-28 09:33:30 +07:00
Ryan ZHAO
3f0e616173 fix unlink device 2020-02-26 16:58:37 +11:00
Niels Andriesse
c0dda78e52 Debug 2020-02-25 16:32:05 +07:00
Ryan ZHAO
d53c74ff5b minor fix 2020-02-25 16:19:56 +11:00
Ryan ZHAO
af913305b0 fix typo 2020-02-25 15:47:43 +11:00
Ryan ZHAO
b013c417c3 enable sending sync open group messages 2020-02-25 15:42:38 +11:00
Ryan ZHAO
9afd838ea5 fix the sync message bug after refactoring 2020-02-25 10:34:59 +11:00
Ryan ZHAO
63aafe06a1 Merge branch 'dev' of https://github.com/loki-project/loki-messenger-ios into sync-closed-group 2020-02-21 15:11:20 +11:00
Ryan ZHAO
5c3c00243c send sync messages with 2 contacts and 1 group each time 2020-02-21 15:11:07 +11:00
Niels Andriesse
60569bf4c3 Clean 2020-02-21 10:24:03 +07:00
Ryan ZHAO
abb3f2f9b5 Merge branch 'dev' of https://github.com/loki-project/loki-messenger-ios into pn-fix-attachment-issue 2020-02-20 16:14:23 +11:00
Ryan ZHAO
d6f2f6fee2 fix attachment download 2020-02-20 14:41:16 +11:00
Niels Andriesse
d7256ed0b3 Reduce device link fetching timeout 2020-02-19 11:11:22 +11:00
Niels Andriesse
2461432917 Fix freeze on joining an open group 2020-02-19 11:11:07 +11:00
Ryan ZHAO
87b7bfa0c0 remove updating for admins after a slave device received a group sync message 2020-02-18 14:02:51 +11:00
Ryan ZHAO
be20236a78 Merge branch 'dev' of https://github.com/loki-project/loki-messenger-ios into sync-closed-group 2020-02-17 14:22:23 +11:00
Niels Andriesse
64dc3607d3 Clean 2020-02-17 14:18:01 +11:00
Niels Andriesse
a5b37a631d Merge branch 'dev' into session-reset-fix 2020-02-17 13:56:20 +11:00
Ryan ZHAO
f9abed931b Merge branch 'dev' of https://github.com/loki-project/loki-messenger-ios into sync-closed-group 2020-02-17 13:35:40 +11:00
Ryan ZHAO
7d66fa151c fix admin check method 2020-02-17 13:33:09 +11:00
Mikunj
080b24b282 Handle session adoption correctly 2020-02-17 12:44:31 +11:00
Mikunj
5bb9d135b1 Implement new cipher changes 2020-02-17 12:43:43 +11:00
Mikunj
ff54cc4030 Removed duplicate DiffieHellman and FallbackSessionCipher files 2020-02-17 12:42:47 +11:00
Niels Andriesse
2dde805938 Remove unnecessary assertion 2020-02-17 12:09:47 +11:00
Ryan ZHAO
7bafd94643 check if the linked device is a member of the closed group 2020-02-17 10:59:25 +11:00
Ryan ZHAO
a3cd1995cd update the handler of receiving a sync request for groups 2020-02-17 10:12:40 +11:00
Ryan ZHAO
68bc25a00c Merge branch 'dev' of https://github.com/loki-project/loki-messenger-ios into sync-closed-group 2020-02-17 09:20:25 +11:00
Ryan ZHAO
d5c4939a45 enable leaving a closed group with linked device synced 2020-02-17 09:19:25 +11:00
Niels Andriesse
0c18e82524 Clean up logging & documentation 2020-02-16 08:49:33 +11:00
Niels Andriesse
85083d1969 Clean 2020-02-15 10:01:21 +11:00
Niels Andriesse
bbb999dc83 Fix sealed sender related multi device issues 2020-02-15 08:15:57 +11:00
Ryan ZHAO
171c2341b8 join the group after receiving a group sync message 2020-02-14 14:54:06 +11:00
Ryan ZHAO
6724733387 Merge branch 'dev' of https://github.com/loki-project/loki-messenger-ios into sync-closed-group 2020-02-14 13:47:09 +11:00
Ryan ZHAO
62cc2a399f totally fix the contact sync message issue 2020-02-14 13:46:45 +11:00
Niels Andriesse
8b201f594e Fix occasional hang on startup 2020-02-14 13:21:26 +11:00
Ryan ZHAO
f8489f2459 Merge branch 'dev' of https://github.com/loki-project/loki-messenger-ios into sync-closed-group 2020-02-14 11:37:33 +11:00
Ryan ZHAO
ecf02bbb3e fix sending contact sync messages 2020-02-14 11:37:14 +11:00
Niels Andriesse
c8a265258a Disable Loki News Feed & add missing message action 2020-02-14 11:03:25 +11:00
Niels Andriesse
a586c9db2d Handle clock out of sync issue
Also generally improve error handling
2020-02-14 10:16:53 +11:00
Ryan ZHAO
d5d88c5589 fix the bug when sending the friend request for a contact sync message 2020-02-14 09:30:34 +11:00
Ryan ZHAO
cfe435bcd1 fix group parser 2020-02-13 13:54:20 +11:00
Ryan ZHAO
9e1681558e handle sync message of closed groups 2020-02-12 17:14:52 +11:00
Ryan ZHAO
b5ce94c6ab add group parser 2020-02-12 17:08:27 +11:00
Ryan ZHAO
1a156c604a enable to send the group sync message 2020-02-12 16:31:37 +11:00
Niels Andriesse
e1b5d5443d Make text messaging independent from the file server 2020-02-10 16:37:53 +11:00
Niels Andriesse
cc40862740 Rename LokiStorageAPI → LokiFileServerAPI 2020-02-10 14:40:53 +11:00
Niels Andriesse
76d9c1ad2d Merge branch 'bug-fix-quit-group' of github.com:RyanRory/loki-messenger-ios into dev 2020-02-05 09:27:54 +11:00
Niels Andriesse
323caac764 Fix copy 2020-02-04 17:19:44 +11:00
Ryan ZHAO
e854300ee6 fix the bug when a group member quit the group and other members will see no members in the group 2020-02-04 17:04:00 +11:00
Niels Andriesse
b5dcf4b78e Fix threading 2020-02-04 15:48:17 +11:00
Mikunj
efc2988576 Map any incoming group messages from slave devices to master devices.
Closed groups should only have master devices in them.
2020-02-04 14:24:39 +11:00
Niels Andriesse
25817b8688 Fix merge 2020-02-04 10:53:49 +11:00
Niels Andriesse
4d57676c70 Merge branch 'sealed-sender' of github.com:RyanRory/loki-messenger-ios into dev 2020-02-04 10:48:04 +11:00
Ryan ZHAO
d497d6a1db enable session restore and sync messages with sealed sender 2020-02-03 15:46:58 +11:00
Ryan ZHAO
0ff7b780cc debug: when we clear all data, the sender certificate is not deleted, so just generate a new one each time we send a UD message 2020-02-03 14:19:21 +11:00
Niels Andriesse
c1c04b7ef2 Remove Signal request 2020-02-03 12:59:20 +11:00
Ryan ZHAO
774478a6e2 enable device link message with sealed sender 2020-02-03 11:14:22 +11:00
Ryan ZHAO
fe158de362 hide the source on the envelope 2020-02-03 09:44:11 +11:00
Ryan ZHAO
def2221de8 enable sealed sender 2020-01-31 17:01:29 +11:00