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
89d039ffb0
Clean
2020-03-03 16:28:05 +11:00
gmbnt
bd401549c4
Merge pull request #127 from RyanRory/fix-key-invalid
...
Ensure generated PreKeyBundle is valid
2020-03-03 12:26:46 +07: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
Ryan ZHAO
9f02752164
make sure the PrekeyBundle is valid before send it out
2020-02-28 15:23:02 +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
Ryan ZHAO
a8f61fdb14
WIP fix key invalid
2020-02-28 14:02:26 +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
1c44a65f2c
Fix database handling issues
2020-02-26 09:58:36 +07: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
gmbnt
53528184c3
Merge pull request #118 from RyanRory/pn-fix-attachment-issue
...
Fix background tasks crashing when PN received
2020-02-21 14:15:06 +11:00
Niels Andriesse
a74dbf9a16
Clean
2020-02-21 10:07:28 +07:00
Niels Andriesse
1b3a1b55cc
Merge branch 'dev' into security
2020-02-21 09:56:35 +07:00
Ryan ZHAO
db2e6f8eec
clean
2020-02-21 11:08:16 +11:00
Niels Andriesse
bf54d78b99
Untie profile picture from auth token
2020-02-20 16:59:05 +11: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
26ded1b80a
Clean up notification usage
2020-02-20 13:30:30 +11:00
Niels Andriesse
d99efa1c57
Fix unsafe user defaults usage
2020-02-19 16:45:38 +11:00
Niels Andriesse
74a75d5b8a
Fix proxying bug
2020-02-19 14:10:09 +11:00
Niels Andriesse
8719ea676d
Enforce threading convention
...
All encryption and decryption on the global queue; don't bother for trivial operations
2020-02-19 13:55:58 +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
Niels Andriesse
1d865b4af7
Cherry pick part of #110
2020-02-19 10:00:49 +11:00
Niels Andriesse
f4b614bc81
Increase random snode pool size
2020-02-18 16:11:10 +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
b206f2944e
Merge branch 'dev' of https://github.com/loki-project/loki-messenger-ios into sync-closed-group
2020-02-17 17:08:55 +11:00
Niels Andriesse
59b3491127
Quick fix crash
2020-02-17 16:46:13 +11:00
Niels Andriesse
814d599dcc
Fix duplicate request bug
2020-02-17 15:14:00 +11:00
Ryan ZHAO
807c862078
Merge branch 'dev' of https://github.com/loki-project/loki-messenger-ios into sync-closed-group
2020-02-17 14:51:28 +11:00
Niels Andriesse
595905ebd0
Forward declare LKSessionResetStatus & clean
2020-02-17 14:48:49 +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
6c823ea16e
Merge branch 'dev' of https://github.com/loki-project/loki-messenger-ios into sync-closed-group
2020-02-17 11:28:29 +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
Niels Andriesse
6def911dbc
Enforce file size limit for profile pictures
2020-02-17 10:46:43 +11:00
Niels Andriesse
758f37b886
Proxy profile picture uploads
2020-02-17 10:29:43 +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
41a6308973
hide input tool bar on linked device after leaving a closed group
2020-02-17 10:04:17 +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
12c7fd4313
Merge branch 'dev' of https://github.com/loki-project/loki-messenger-ios into sync-closed-group
2020-02-14 09:31:10 +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
Niels Andriesse
f3a77222ab
Clean
2020-02-13 16:51:07 +11:00
Niels Andriesse
067a31bb79
Reduce device link update interval
2020-02-13 16:40:20 +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
248fb6eeaf
Show activity indicator for proxied file uploads
2020-02-10 16:27:10 +11:00
Niels Andriesse
18670545f9
Implement file size limit
2020-02-10 15:47:15 +11:00
Niels Andriesse
cc40862740
Rename LokiStorageAPI → LokiFileServerAPI
2020-02-10 14:40:53 +11:00
Niels Andriesse
d502aeaa80
Use a dummy auth token instead of no token at all
2020-02-10 14:38:33 +11:00
Niels Andriesse
dfd4340c79
Use file-dev in debug mode
2020-02-10 14:36:52 +11:00
Niels Andriesse
3d29480c29
Don't include an auth token with encrypted file uploads
...
Also refactor a bit
2020-02-10 12:01:23 +11:00
Ryan ZHAO
24f31081d1
support sealed sender (envelopes with no source) for push notification
2020-02-06 16:58:32 +11:00
Niels Andriesse
15cc478654
Add report button for Session Public Chat messages
2020-02-06 14:13:07 +11:00
Niels Andriesse
9434a8364a
Add Session public chat notice
2020-02-06 11:03:13 +11:00
Niels Andriesse
476edc14f1
Remove CallKit
2020-02-06 10:34:13 +11:00
Niels Andriesse
b6003cbf8e
Update file server URL
2020-02-05 10:16:29 +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
Mikunj
ecc40368cb
Fix bug where slave devices were being shown in private group chats
2020-02-04 14:16:21 +11:00
Niels Andriesse
99046145a3
Rename Loki Messenger Updates → Session Updates
2020-02-04 13:03:09 +11:00
Niels Andriesse
c75360f5e3
Fix file server proxying
2020-02-04 12:30:05 +11:00
Niels Andriesse
fa43f2f834
WIP
2020-02-04 11:34: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
Niels Andriesse
37377c32df
Clean
2020-02-03 20:55:42 +11:00
Niels Andriesse
ab2b7528b4
WIP
2020-02-03 20:27:13 +11:00
Niels Andriesse
55344700d7
WIP
2020-02-03 16:50:14 +11:00
Ryan ZHAO
d497d6a1db
enable session restore and sync messages with sealed sender
2020-02-03 15:46:58 +11:00
gmbnt
2c15cd06f5
Merge pull request #81 from loki-project/proxying
...
File Server & RSS Feed Proxying
2020-02-03 14:52:36 +11:00
Niels Andriesse
efeefc4d0e
Fix RSS feed parsing
2020-02-03 14:52:15 +11:00
Niels Andriesse
2dc1a44087
Clean
2020-02-03 14:33:47 +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
e95f91558b
Integrate RSS feed proxy
2020-02-03 14:15:35 +11:00
Niels Andriesse
c1c04b7ef2
Remove Signal request
2020-02-03 12:59:20 +11:00
Niels Andriesse
740f84c466
Debug file server proxying
2020-02-03 12:59:04 +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
Niels Andriesse
bc830c19da
Fix member count bug
2020-02-02 19:08:46 +11:00
Niels Andriesse
5eca023422
Implement RSS feed proxying
2020-02-02 11:47:38 +11:00
Niels Andriesse
51fb4ed21d
Implement file server proxying
2020-02-02 11:33:34 +11:00
Niels Andriesse
cbda28a9a0
Remove analytics & Signal requests
2020-02-01 11:49:34 +11:00
Niels Andriesse
2a8a775b60
Disable link previews by default
2020-02-01 08:24:42 +11:00
Ryan ZHAO
def2221de8
enable sealed sender
2020-01-31 17:01:29 +11:00
Niels Andriesse
f3c36391b9
Remove Mixpanel
2020-01-31 16:02:30 +11:00
Niels Andriesse
ccd2d30f61
Refactor
2020-01-31 09:42:36 +11:00
Niels Andriesse
5b43cbc25a
Remove outdated comments
2020-01-30 20:16:31 +11:00
Niels Andriesse
a41b670bb5
Refactor
2020-01-30 20:09:02 +11:00
Niels Andriesse
64fd89291e
Fix multi device x closed groups
2020-01-30 15:51:46 +11:00
Niels Andriesse
b8f71c5c28
Fix multi device
2020-01-30 14:20:51 +11:00
Niels Andriesse
5de7c452cf
Fix session handling bug
2020-01-30 11:12:11 +11:00
Niels Andriesse
f656a1d4d8
Clean
2020-01-30 09:15:42 +11:00
Niels Andriesse
78ab0d483b
Remove debug code
2020-01-29 14:58:28 +11:00
Niels Andriesse
e8c44937e3
Fix copy
2020-01-29 14:38:52 +11:00
Niels Andriesse
9d833e901a
WIP
2020-01-29 13:32:08 +11:00
Ryan ZHAO
3f43a05df6
enable send UD message
2020-01-29 10:31:57 +11:00
Niels Andriesse
f1a82fde2a
Fix crash
2020-01-29 10:31:43 +11:00
Niels Andriesse
71fe68278d
WIP
2020-01-29 10:18:45 +11:00
Niels Andriesse
7762418ac1
Clean
2020-01-28 15:08:42 +11:00
Niels Andriesse
0f0eba9325
Merge branch 'dev' into group-chats
2020-01-28 14:22:26 +11:00
Niels Andriesse
d3904589e3
Clean
2020-01-28 10:24:03 +11:00
Niels Andriesse
ec457a4a26
Clean
2020-01-24 15:55:07 +11:00
Niels Andriesse
f0e5f0246d
Merge branch 'dev' into proxy
2020-01-24 13:59:51 +11:00
Niels Andriesse
8c18439893
Clean
2020-01-24 13:59:47 +11:00
Niels Andriesse
09b603aba8
Fix comment
2020-01-24 13:19:54 +11:00
gmbnt
2945356222
Merge pull request #74 from RyanRory/message-ordering
...
Message ordering by sender's timestamp
2020-01-24 13:18:30 +11:00
Niels Andriesse
477fbe494d
Fix build
2020-01-24 11:03:45 +11:00
Niels Andriesse
a591adb8f7
Merge branch 'dev' into session-restore
2020-01-24 10:58:41 +11:00
Niels Andriesse
3769f50a21
Fix public chat deletion
2020-01-24 09:48:47 +11:00
Mikunj
8f7ba1407f
Clean.
...
Switched to generating ephemeral key-pair per proxy request.
2020-01-23 10:04:36 +11:00
Mikunj
54c2e793ed
Added LokiSnodeProxy
2020-01-23 09:35:43 +11:00
Mikunj
920520077d
Added public key to LokiAPITarget
2020-01-23 09:25:11 +11:00
Niels Andriesse
213d154472
Fix group chat notifications
2020-01-22 15:32:23 +11:00
Ryan ZHAO
8838dfb430
add admins to group, clean up some code
2020-01-22 14:41:34 +11:00
Ryan ZHAO
efb6295962
update version migrations for new group id for public chats and rss feeds
2020-01-22 10:23:35 +11:00
Niels Andriesse
7cfd43ff6b
Implement group member count, fix QR code scanning & clean
2020-01-22 09:53:29 +11:00
Ryan ZHAO
41d682a802
update group id to sync with android
2020-01-21 17:49:09 +11:00
Ryan ZHAO
fc01b91234
fix the issue of becoming friends automatically
2020-01-20 16:58:38 +11:00
Niels Andriesse
f4ebee2606
Fix release mode linking
2020-01-20 16:00:01 +11:00
Niels Andriesse
7020f2a73e
Hopefully fix threading issue
2020-01-20 15:04:22 +11:00
Niels Andriesse
de2d0ea15e
Don't auto-join public chats
2020-01-20 14:45:37 +11:00
Ryan ZHAO
3752879166
update sesstion request building with the same protocol with desktop and android
2020-01-20 11:32:07 +11:00
Ryan ZHAO
7987b7b4b9
fix crash of nil exception in group chats
2020-01-17 14:13:02 +11:00
Ryan ZHAO
3dc7494b16
Handle session request message for group members
2020-01-17 10:38:16 +11:00
Ryan ZHAO
369b5ddaf2
enable to create a new private chat group
2020-01-15 15:44:31 +11:00
Ryan ZHAO
0df5f857a7
let users know when members are removed
2020-01-14 14:58:22 +11:00
Ryan ZHAO
997b894125
Merge branch 'dev' of https://github.com/loki-project/loki-messenger-ios into private-group-chat
2020-01-14 10:27:06 +11:00
Ryan ZHAO
dc0d6fa1c3
try to add admin
2020-01-14 10:24:12 +11:00
Ryan ZHAO
0c94915a98
change to new ssl hostname for registering toke to our server
2020-01-13 14:03:49 +11:00
Ryan ZHAO
b29096ad21
try to make settings for group chat working
2020-01-13 11:14:49 +11:00
Ryan ZHAO
d9a7dc07ef
Distinguish public chat and rss feed from regular groups
2020-01-10 10:52:47 +11:00
Ryan ZHAO
8d770833ad
Sort the messages by sender's timestamp
2020-01-08 11:23:19 +11:00
Niels Andriesse
86a9e6534e
Clean
2020-01-06 13:16:43 +11:00
Niels Andriesse
d90abd3fe8
Implement conversation settings screen redesign
2019-12-13 11:23:45 +11:00
Niels Andriesse
c0c68f58d9
Implement seed screen
...
Also fix profile picture updating
2019-12-12 13:17:14 +11:00
Niels Andriesse
d05df87dd2
Implement the much anticipated Simon status bar
2019-12-11 16:08:08 +11:00
Mikunj
57db0bd211
Clean
2019-12-10 15:59:20 +11:00
Mikunj
770d8b2f3d
Added session restore message sending
2019-12-10 15:43:18 +11:00
Mikunj
58a260aac5
Show session restore banner
2019-12-10 11:29:32 +11:00
Niels Andriesse
0e9fbb7474
Show profile picture at top of message stack
2019-12-10 11:22:14 +11:00
Mikunj
e38976b082
Store devices that we need to restore session with.
2019-12-10 10:32:53 +11:00
Mikunj
1a684aa470
Reset session upon receiving a friend request from a contact we are friends with.
2019-12-10 09:27:34 +11:00
Mikunj
8a57632ced
Ignore any friend requests that were made before we restored our device.
2019-12-09 16:10:53 +11:00
Mikunj
5301858c09
Updated protobuf
2019-12-09 15:12:50 +11:00
Niels Andriesse
7a049a8739
WIP
2019-12-06 16:42:28 +11:00
Niels Andriesse
9b51cd9b67
Fix typo
2019-12-03 11:13:19 +11:00
Niels Andriesse
976f17a3ec
Fix linking with desktop
2019-12-03 09:58:47 +11:00
Niels Andriesse
9435c6dd1d
Fix contact parsing
2019-12-02 16:06:18 +11:00
Niels Andriesse
7fe2cc7511
Fix crash
2019-12-02 14:56:39 +11:00
Niels Andriesse
ce33d472eb
Clean
2019-12-02 13:10:01 +11:00
Mikunj
2b8e74348a
Clean
2019-12-02 11:01:07 +11:00
Mikunj
b0dfae7974
Fix multi-device profile picture handling.
...
Fixed note to self.
Enabled removal of avatar.
2019-12-02 10:48:12 +11:00
Mikunj
3c3d185bec
Don't send profile in a contact sync message.
...
This is because both android and desktop first check to see if a sent sync message exists before the check for contact sync. This causes contact sync messages to be ignored.
2019-11-29 16:32:53 +11:00
Mikunj
b2a2cd8d20
Update our profile key if our primary device sends a message on the public chat.
2019-11-29 14:37:46 +11:00
Mikunj
1a9ad0062b
Public chat incoming message avatar parsing.
2019-11-29 14:14:02 +11:00
Mikunj
7494393473
Set avatar on public chats.
2019-11-29 13:47:41 +11:00
Mikunj
eafc2afe4a
Attach a profile key if we're friends with a contact.
2019-11-29 13:21:09 +11:00
Mikunj
9cde326254
Correctly handle profile key update from incoming messages.
2019-11-29 11:45:13 +11:00
Niels Andriesse
ba8c3b1859
Debug
2019-11-27 16:26:15 +11:00
Niels Andriesse
4d3954be19
Clean up logging
2019-11-27 15:23:00 +11:00
Niels Andriesse
ad52e854e4
Debug contact syncing
2019-11-27 15:22:39 +11:00
Niels Andriesse
1261be1d08
Quick fix sync transcript duplication
2019-11-27 14:54:45 +11:00