5522 Commits

Author SHA1 Message Date
Mikunj
b44ff69d8d Fix banner display 2019-12-09 10:39:33 +11:00
Mikunj
97ffea040f Move session restore prompt from message level to conversation level. 2019-12-09 09:15:25 +11:00
Mikunj
0caeb3a109 Handle session restoration. 2019-12-06 11:35:10 +11:00
Mikunj
fd2dc678ea Show custom message on no session message.
Made a no session message an update message.
2019-12-05 15:40:55 +11:00
Mikunj
ba93fdd649 Only show one session reset prompt at a time 2019-12-05 13:18:33 +11:00
Mikunj
e285ede03d Ignore friend request messages before restoration, 2019-12-05 12:10:29 +11:00
Mikunj
12e07bc5bb Merge branch 'dev' into performance 2019-12-04 13:34:54 +11:00
Mikunj
fdba9023fc Fix minor crash. 2019-12-04 13:33:05 +11:00
Mikunj
5e5309d07e Trigger session reset if we got a new friend request from one of our friends. 2019-12-04 12:44:34 +11:00
ryanzhao
66d87533d3 add cache for Addresses and Messages.
make multiple insertion into one transaction.
2019-12-04 11:28:12 +11:00
Niels Andriesse
3bdae214c1 Update version number 1.5.2-beta 2019-12-03 15:14:17 +11:00
Mikunj
a5bf5c0f5d Set profile picture upon joining a public chat. 2019-12-03 15:05:43 +11:00
Niels Andriesse
b5709473d7 Fix crash 2019-12-03 15:03:13 +11:00
Niels Andriesse
790404912c Update version number 1.5.1-beta 2019-12-03 11:50:30 +11:00
gmbnt
d64d34bd25
Merge pull request #50 from loki-project/profile-avatar-setting
Big PR
2019-12-02 15:03:50 +11:00
Niels Andriesse
5a8f0dda9d Merge branch 'profile-avatar-setting' of github.com:loki-project/loki-messenger-android into profile-avatar-setting 2019-12-02 15:03:20 +11:00
Niels Andriesse
f8464a1462 Fix up UI 2019-12-02 15:03:12 +11:00
Mikunj
00856857d7 Fix avatar downloads on public chats. 2019-12-02 15:02:31 +11:00
Mikunj
b4a81bf937 Update create table command because it might exist already. 2019-12-02 13:29:12 +11:00
Mikunj
f92506b7bb Only upload avatar if there was a change. 2019-11-28 15:53:41 +11:00
Mikunj
280d866df3 Public chat avatar handling.
Fix note to self.
2019-11-28 15:26:02 +11:00
Mikunj
0cefac1bce Clean 2019-11-28 11:19:39 +11:00
Mikunj
bef1e5c469 Fix note to self icon not showing correctly. 2019-11-28 11:13:18 +11:00
Mikunj
6e7b21e8b4 Multi-device profile avatar. 2019-11-28 10:51:27 +11:00
Mikunj
9337a1d44a Share profile straight away if you initiate a conversation 2019-11-27 16:10:41 +11:00
Mikunj
a852b019aa Enable profile sharing upon becoming friends with a contact. 2019-11-27 15:25:53 +11:00
Mikunj
88234c26a3 Fix icon in notification. 2019-11-27 13:17:31 +11:00
Mikunj
5038dec3d1 Fix up profile picture display. 2019-11-27 13:17:31 +11:00
Mikunj
ee00241515 Rotate profile key on every new upload.
Only fetch profile if avatar if profile key changed.
2019-11-27 13:17:31 +11:00
Mikunj
7b842d2c1c Added profile downloading. 2019-11-27 13:17:31 +11:00
Mikunj
06f75859fa Removed custom profile avatar url table since signal already has an existing one.
Clean
2019-11-27 13:17:31 +11:00
ryanzhao
5a4b619c9d try to store avatar url locally 2019-11-27 13:17:31 +11:00
Mikunj
439d39e380 Add cache for master secret. This will stop unnecessary database calls. 2019-11-27 13:17:16 +11:00
Mikunj
826142a07b Move loki db writes to background so that decrypt thread doesn't get blocked. 2019-11-27 12:47:53 +11:00
Mikunj
050849d302 Wrapped envelope handing code inside a try-catch. 2019-11-22 15:53:46 +11:00
Mikunj
c25e0fded9 Add timeout to blocking promises.
Don't prematurely store PreKeyBundle from a pairing authorisation.
Don't re-create ids needed for pre-key generation
2019-11-22 15:42:03 +11:00
Mikunj
b650ee6ebc Added QR code scanning. 2019-11-22 12:53:47 +11:00
Mikunj
27c8b45ae3 Show device unlink message on startup. 2019-11-22 10:43:22 +11:00
Mikunj
733ab06e70 Clear database on unpair. 2019-11-22 10:02:02 +11:00
Mikunj
f753dd1ea9 Added a way to clear database. 2019-11-21 16:31:01 +11:00
Mikunj
76ce008063 forgot to use lokiv4 in previous code 2019-11-21 15:37:19 +11:00
Mikunj
3a79e1f215 Handle unpair request flag. 2019-11-21 12:43:33 +11:00
Mikunj
c66786e0f1 Allow users to edit device name. 2019-11-21 10:50:33 +11:00
Mikunj
b61b4c581d Add bottom sheet dialog 2019-11-21 10:32:26 +11:00
Mikunj
d96664cb6a Remove textbox in linking dialog. 2019-11-20 16:22:17 +11:00
Mikunj
c3bda57ac1 Show name and short id in linked device screen. 2019-11-20 15:47:28 +11:00
Mikunj
e72d5502ce Show our device words in preferences if we're a secondary device. 2019-11-20 15:21:54 +11:00
Mikunj
28a04f13af Refactor.
Add text field to authorise dialog.
2019-11-20 14:55:42 +11:00
Mikunj
dc40ff0548 Only update display name from received message if the user is not one of our devices. 2019-11-20 11:59:18 +11:00
Mikunj
8c2d075147 Revert changes made in ApplicationPreferencesActivity. 2019-11-20 11:45:54 +11:00