Commit graph

162 commits

Author SHA1 Message Date
Mikunj c19733e04a Disable insecure sms option 2019-12-16 09:17:31 +11:00
Mikunj 33788189dd Distinguish public chat and rss feed from regular groups 2019-12-12 13:01:56 +11:00
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 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
Niels Andriesse 549631848d Clean 2019-11-20 09:17:31 +11:00
ryanzhao 2677599953 fix up the crash of mention.
fix up the '@' issue. 2019-11-18 17:10:28 +11:00
Mikunj d1289ec7bd Refactoring. 2019-11-14 12:00:46 +11:00
Mikunj Varsani a90b0e70f5 Fix conversation input. 2019-11-13 16:05:37 +11:00
Mikunj Varsani 41e0934dd4 Only update thread friend request status on message send if we haven't sent a previous request.
Always send self sync messages to our primary device.
Cache conversation input enabled so that subsequent calls don't cause it to flicker.
2019-11-13 12:28:17 +11:00
Mikunj 039df379cc Fix minor UI 2019-11-12 08:33:54 +11:00
Mikunj 6f2a6f7f94 Sync contact upon accepting friend request 2019-11-06 16:08:34 +11:00
Mikunj 789aa244b5 Use promises instead of blocking the thread. 2019-11-01 14:29:43 +11:00
Mikunj 31ad7a40de Stop main thread from being blocked.
Refactoring.
2019-10-31 11:36:52 +11:00
Mikunj 7ff7c36e27 Cleanup code. 2019-10-30 09:59:11 +11:00
Mikunj 10ec395915 Correctly update UI when an outgoing friend request is accepted from a secondary device. 2019-10-29 12:13:22 +11:00
Mikunj 09f5f50af4 Don't render friend requests if we are already friends with a users linked device. 2019-10-29 10:06:01 +11:00
Mikunj 26800cba82 Send a background message to all devices upon manually accepting a friend request. 2019-10-25 15:21:19 +11:00
Mikunj 98cfd93b97 Enable note to self.
Fix note to self crashing.
2019-10-24 15:38:13 +11:00
Mikunj 24ae0c640b Handle friend requests correctly. 2019-10-24 12:17:58 +11:00
Mikunj 1c1685ae9d Fix multidevice.
Fix authorisation grant not being sent.
2019-10-24 10:30:53 +11:00
Mikunj d58364c9b0 Disable input if we have a pending request to any other linked device and we're not friends with any of them 2019-10-23 15:31:58 +11:00
Mikunj 21e529c6c9 Forward messages from secondary devices to primary device. 2019-10-23 15:31:58 +11:00
Mikunj b12e6b838c Disable attachments on non-friends. 2019-10-18 16:12:49 +11:00
Mikunj fd9f1b712f Get attachment logic to work. 2019-10-18 12:47:44 +11:00
Niels Andriesse a5b543c43c Move add public chat button to home screen 2019-10-15 16:19:00 +11:00
Niels Andriesse c2d4f4b58d Fix mentions bug 2019-10-15 16:07:34 +11:00
Niels Andriesse 65f95839d9 Fix build 2019-10-15 13:51:18 +11:00
Niels Andriesse e423ec8848 Change mentions approach 2019-10-11 16:37:28 +11:00
Niels Andriesse ca9032e109 Quick fix crash 2019-10-11 14:59:13 +11:00
Niels Andriesse 18eb3449ca Debug 2019-10-11 11:42:01 +11:00
Niels Andriesse 7ea349ff00 Mention by display name rather than hex encoded public key 2019-10-11 11:13:34 +11:00
Niels Andriesse 3d78dac65c Ensure that mention behavior is consistent cross-platform 2019-10-10 16:29:58 +11:00
Niels Andriesse f0224f8ec6 Debug 2019-10-10 15:30:34 +11:00
Niels Andriesse 871f629e64 Debug 2019-10-10 15:00:14 +11:00
Niels Andriesse 25f1405512 Show user selection view dynamically 2019-10-10 14:44:08 +11:00
Niels Andriesse 9207e479a6 Implement user selection view 2019-10-10 13:53:02 +11:00
Niels Andriesse 25bd1073b0 Pre-populate user ID cache as needed 2019-10-10 10:39:56 +11:00
Mikunj Varsani c70de8c569
Merge pull request #23 from loki-project/bug-fix
Correctly show quote author name in group chats.
2019-09-30 12:04:57 +10:00
Niels Andriesse 3a257d745b Debug 2019-09-19 14:06:54 +10:00
Niels Andriesse 96dadbaaa8 Handle media message friend requests 2019-09-18 17:33:34 +10:00
Niels Andriesse 6bf90d7d5d Fix crash 2019-09-18 14:49:08 +10:00
Niels Andriesse a78b8a77b6 Clean 2019-09-18 10:00:18 +10:00
Niels Andriesse 74dfac6fd1 Implement GIF sending 2019-09-17 11:46:47 +10:00
Mikunj 28b8d080c4 Correctly show quote author name in group chats. 2019-09-12 11:08:45 +10:00
Niels Andriesse 52b55652c8 Clean 2019-09-12 09:59:15 +10:00
Mikunj caff6e1da4 Fix notification edge case 2019-09-11 09:29:29 +10:00
Niels Andriesse 6341ca0101 Add basic events 2019-09-05 09:38:36 +10:00
Niels Andriesse 517d4e94c5 Clean 2019-08-28 16:07:20 +10:00
Niels Andriesse 386b219076 Disable input bar for RSS feeds 2019-08-28 15:17:43 +10:00
Niels Andriesse eb9537f1c1 Make group chats a bit more future proof 2019-08-09 12:00:01 +10:00
Niels Andriesse 04aa7db499 Use alternative approach for group message sending 2019-08-08 17:24:00 +10:00
Niels Andriesse 1822e87f7c Merge Signal 4.41.0 2019-08-07 16:48:54 +10:00
Niels Andriesse 781a8500df Clean 2019-08-07 15:24:05 +10:00
Niels Andriesse a900c389bc Implement group message sending 2019-08-07 15:13:44 +10:00
Niels Andriesse 7602b973a9 Show loader while accept friend request message is sending 2019-08-07 12:00:12 +10:00
Niels Andriesse 149d4b0181 Disable unwanted menu options 2019-08-06 15:43:47 +10:00
Niels Andriesse a7b49d2ce5 Revert back to old background message strategy 2019-07-26 12:20:55 +10:00
gamabuntan 4374a902be
Merge pull request #2 from loki-project/friend-request-handling
Friend Request Handling V2
2019-07-24 12:49:00 +10:00
Niels Andriesse b3d76bfd28 Clean 2019-07-24 12:48:42 +10:00
Niels Andriesse 0ef0140b0d Update package 2019-07-24 12:30:23 +10:00
Mikunj 1d7cb0d5bb Updated friend request handling. 2019-07-24 12:18:45 +10:00
Niels Andriesse 6d521e4227 Send session reset request acknowledgement if needed 2019-07-22 16:22:40 +10:00
Niels Andriesse 1da6f20f18 Further Lokify UI 2019-07-22 13:08:56 +10:00
Mikunj 61622fbd3d Session reset handling. 2019-07-22 09:38:12 +10:00
Niels Andriesse 8651f20c9b Further Lokify UI 2019-07-19 15:59:51 +10:00
Niels Andriesse 8c054a060e Block input if a friend request is pending 2019-07-19 13:15:17 +10:00
Niels Andriesse daa1248e6c Debug session handling 2019-07-02 11:47:28 +10:00
Niels Andriesse ca370211f8 Resolve TODO 2019-06-28 16:08:27 +10:00
Niels Andriesse e8bece45b9 Fix missing delegate & friend request acceptance 2019-06-28 14:59:25 +10:00
Niels Andriesse 86c765b1c2 Debug friend request logic further 2019-06-28 12:32:23 +10:00
Niels Andriesse 047a98ad63 Disable input bar if a friend request is pending 2019-06-25 11:48:39 +10:00
Niels Andriesse b58fce3a68 Update for core changes & refactor 2019-06-24 14:10:09 +10:00
Niels Andriesse d99a996d0e Finish friend request view & add message friend request status 2019-06-24 11:22:53 +10:00
Niels Andriesse 21e1ece19c Model friend request status as an enum 2019-06-18 09:57:36 +10:00
Mikunj d44081d040 Added database to map thread to loki friend request 2019-06-17 12:17:05 +10:00
Niels Andriesse 25e0213d4b Fix blocked conversation screen 2019-06-07 13:54:50 +10:00
Niels Andriesse bb180ff2d5 Fix build 2019-06-05 16:30:31 +10:00
Niels Andriesse 79927be0c0 Fix name updating 2019-06-05 16:20:11 +10:00
Mikunj 7d33a9cc8f Always send a friend request if we're not friends.
Pass down isFriendRequest to message sender.
2019-06-05 15:53:10 +10:00
Greyson Parrelli 2a644437fb Add sticker support.
No sticker packs are available for use yet, but we now have the
latent ability to send and receive.
2019-05-30 01:08:01 -04:00
Alan Evans 350d1f47d3 Give conversation a standard navigate up button.
* Prevent a failing IDE preview.
2019-05-28 17:36:07 -03:00
Alan Evans 56848fb83d
Replace sgnl.link urls with a more readable url.
* Taken out random string, reverted to single "Let's switch".

#8767
2019-05-23 08:02:15 -03:00
Alan Evans cb78684282
Ensure push groups cannot have isForceSmsSelection set.
Fixes #8807
2019-05-10 12:13:59 -03:00
Greyson Parrelli c0982293bf Fix bug where sticky SMS setting wasn't respected.
Fixes #8783
2019-04-28 11:34:56 -07:00
Greyson Parrelli 4a3c173adb Migrated to new JobManager. 2019-04-15 10:56:26 -04:00
Alan Evans 9c40de5bf1 Save the SMS setting on a per-conversation basis. 2019-04-15 10:13:35 -04:00
Greyson Parrelli bceb9b4972 Fixed quotes not being cleared when forwarding.
Fixes #8748
Fixes #7935
2019-04-09 09:35:47 -04:00
Alan Evans e842f78457
Voice Note Locking.
Limit of 60 minutes, after which it's cancelled.
2019-03-28 15:04:38 -03:00
Greyson Parrelli 94e8303022 Remove dead code from ScribbleHud/Fragment. 2019-03-22 12:47:16 -07:00
Greyson Parrelli 8caaf057e8 Remove unnecessary pre-19 code branches.
Now that our minSdk is 19, we can remove a lot of old code paths that
only ran pre-19.
2019-03-21 11:19:06 -07:00
Moxie Marlinspike a52c295a38 Simplify access to SecureRandom
This shouldn't matter at all, but it's more "correct," and shows
my age less.
2019-03-21 11:19:06 -07:00
Greyson Parrelli 64cf032181 Updated media send UI. 2019-03-18 15:09:56 -07:00
Greyson Parrelli 0a8bbf14a6 Merge camera into send flow. 2019-03-14 16:25:35 -07:00
Alan Evans f010a3ec0d Consistent Recipient to add contact Intent export. 2019-03-12 11:29:59 -03:00
Greyson Parrelli a122bb4899 Created new BlobProvider.
One unified place to create blobs for different lifespans.
2019-03-10 15:18:39 -07:00
Greyson Parrelli 1efb92b913 Fix issue where SMS were sometimes sent as MMS.
Fixes #8664
2019-03-06 08:12:00 -08:00