Commit graph

3131 commits

Author SHA1 Message Date
Mikunj c19733e04a Disable insecure sms option 2019-12-16 09:17:31 +11:00
Mikunj 338149b7a4 Clean up my code. 2019-12-09 13:55:54 +11:00
Mikunj 3d574be931 Clean.
Removed recipient cache as signal already had that.
Removed message cache as it messes with the ui (public chat conversations pop in with all the messages)
2019-12-09 13:52:21 +11:00
Mikunj 12e07bc5bb Merge branch 'dev' into performance 2019-12-04 13:34:54 +11:00
ryanzhao 66d87533d3 add cache for Addresses and Messages.
make multiple insertion into one transaction.
2019-12-04 11:28:12 +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 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
Mikunj ba78fcb9b1 Move device linking logic into LinkedDeviceActivity. 2019-11-20 11:44:44 +11:00
Mikunj 0f5db5aa33 Hook up signal device linking view. 2019-11-20 11:20:45 +11:00
Niels Andriesse 549631848d Clean 2019-11-20 09:17:31 +11:00
gmbnt 0e7c1b1aca
Merge pull request #44 from RyanRory/mention
Mention
2019-11-20 09:14:13 +11:00
Mikunj Varsani 291fb7f7ad Fix display name not being set correctly once we pair with a device. 2019-11-19 09:03:32 +11:00
ryanzhao 2677599953 fix up the crash of mention.
fix up the '@' issue. 2019-11-18 17:10:28 +11:00
Niels Andriesse 8ccfa77ef6 Fix threading 2019-11-18 16:35:57 +11:00
Niels Andriesse 045e4be2f0 Partially undo threading changes 2019-11-18 15:10:40 +11:00