Cody Henthorne
e796968d19
Add new notification system.
2021-04-14 15:50:40 -04:00
Greyson Parrelli
b053fbc4a7
Use Log.tag where appropriate.
2021-03-31 16:02:32 -03:00
Greyson Parrelli
e068fde8f2
Improve efficiency of bulk receipt processing.
...
If there were N receipts for a single thread, we were previously
updating that thread N times.
This change bundles updates together so we will only update each thread
once after all receipts in a bundle are processed.
2021-03-31 16:02:32 -03:00
Greyson Parrelli
e10284bd13
Remove Trace annotation.
2021-01-06 17:03:20 -04:00
Greyson Parrelli
6826c0ded5
Fix another scenario where search position was off.
2020-12-08 18:10:04 -05:00
Greyson Parrelli
8e93bf9075
Create a core-util module with some common utilities.
2020-12-05 13:44:13 -05:00
Greyson Parrelli
831cd2f297
Trace database methods.
2020-12-05 13:44:13 -05:00
Greyson Parrelli
898d92ba54
Fix issue where remote deletes screwed up jump positions.
...
Fixes #10171
2020-12-05 13:44:13 -05:00
Alex Hart
ce44e3949c
Add new VIEWED item in RecieptMessage enumeration.
...
Also includes necessary Database changes for supporting this as well as View-Once receipt support.
2020-11-25 11:37:13 -04:00
Greyson Parrelli
7e347f5cce
Add support for manual initiation of GV1->GV2 migrations.
2020-11-12 09:52:21 -05:00
Cody Henthorne
696fffb603
Improve mention notifications by only showing alerting notifications once.
2020-11-11 15:29:02 -05:00
Greyson Parrelli
e8f0038c36
Perform bulk receipt processing in a transaction.
2020-11-11 15:29:01 -05:00
Greyson Parrelli
0b77b33902
Add the ability to trace methods in internal builds.
...
Currently only for internal builds. Use the @Trace annotation to trace
methods for viewing in Perfetto.
2020-11-11 15:29:01 -05:00
Greyson Parrelli
12ea88f409
Improve logging around deletions.
2020-11-09 12:18:27 -05:00
Alex Hart
ed17701a0a
Remove look-behind and ding for single voice notes.
2020-11-02 11:50:37 -04:00
Greyson Parrelli
ead64d92a5
Rename Recipient.isLocalNumber() to Recipient.isSelf()
2020-10-22 15:55:18 -03:00
Alex Hart
9a1c869efe
Allow consecutive voice notes to be played as a playlist.
2020-10-15 16:19:17 -04:00
Greyson Parrelli
8f871c2e3a
Don't allow quote-jumps to remote deleted messages.
2020-10-08 10:29:46 -04:00
Greyson Parrelli
9dc33eff3a
Remove thumbnails from the AttachmentDatabase.
...
Glide can do everything for us now, including video thumbnails.
2020-09-23 16:54:38 -04:00
Cody Henthorne
bcd27355f9
Add trim conversations by time option.
2020-09-08 09:47:57 -04:00
Greyson Parrelli
2fd46b196b
Show sticker emoji in notification.
2020-09-03 20:23:26 -04:00
Greyson Parrelli
f29f25822b
Have DatabaseFactory.getMmsDatabase() return MessageDatabase.
2020-08-24 16:40:47 -04:00
Greyson Parrelli
190ca9eddd
Have DatabaseFactory.getSmsDatabase() return MessageDatabase.
...
Slowly moving towards a single interface.
2020-08-24 11:16:41 -03:00
Cody Henthorne
cdc2e74f68
Stop conversations without meaningful messages from showing in list.
2020-08-14 15:54:05 -04:00
Cody Henthorne
02508512d5
Fix incorrect snippet generation by ignoring profile name change messages.
2020-08-14 15:54:05 -04:00
Cody Henthorne
b2d4c5d14b
Add mentions for v2 group chats.
2020-08-06 20:57:50 -04:00
Cody Henthorne
5f9c0c3204
Fix bug with skipping resend message on safety number change.
2020-07-22 22:58:21 -04:00
Greyson Parrelli
545ba80697
Add support for borderless images.
...
Added support for 'borderless' images. Basically images that we'd like to render
as if they were stickers, even though they're not stickers. On iOS, this will be
stuff like memoji and bitmoji. On Android, in my initial pass, I've just added
support for Giphy stickers. However, we can also detect bitmoji and keyboard
stickers in the future. This is kind of a 'best effort' thing, so as long as we
support receiving, we can just add sending support for more things as we go.
2020-07-08 16:51:30 -04:00
Cody Henthorne
bbe003a454
Improve messaging and UX around safety number changes.
2020-06-26 11:10:54 -04:00
Cody Henthorne
5b2a399392
Return to previous scroll position when returning to a conversation.
2020-06-16 19:30:35 -04:00
Cody Henthorne
dc46d88ddd
Provide two ways of listening for thread/message db updates.
2020-06-09 11:52:58 -04:00
Alan Evans
3fec23fd36
Show remaining time on wave form view and cache wave form in database.
2020-06-01 17:43:05 -04:00
Greyson Parrelli
53d122ed55
Fix jumping to last seen position.
2020-05-14 11:22:28 -03:00
Greyson Parrelli
b75088874e
Migrate conversation rendering to the paging library.
2020-05-14 11:22:28 -03:00
Greyson Parrelli
83f6640bd3
Add a more generic system for handling early messages.
2020-04-21 16:09:30 -04:00
Greyson Parrelli
6ecd3b59fd
Add pre-alpha receive support for remote delete.
2020-04-21 16:09:13 -04:00
Greyson Parrelli
f12a9b9ac7
Store the server timestamp for a message.
2020-04-21 13:33:41 -04:00
Ehren Kret
37a35e8f70
Add initial support for send/receive on CDN2.
2020-04-21 13:33:29 -04:00
Greyson Parrelli
d6000af843
Re-use recently-acquired attachment pointers.
2020-04-03 12:19:12 -04:00
Greyson Parrelli
1faf196f82
Implement additional message request improvements.
2020-02-26 17:11:29 -05:00
Alex Hart
9e5f64c431
Improve message requests, add megaphone.
2020-02-26 17:08:27 -05:00
Greyson Parrelli
fadcc606f8
Optimize uploads during media composition.
...
By uploading in advance (when on unmetered connections), media messages
can send almost instantly.
2020-01-24 10:54:38 -05:00
Alan Evans
9ebe920195
Move all files to natural position.
2020-01-06 11:08:30 -05:00