Commit graph

25 commits

Author SHA1 Message Date
Naveen
d8dadd1f55 Use DiffUtil with thread recyclerview
Also added a progress indicator at the top while fetching older messages
2022-11-17 02:25:36 +05:30
Naveen
16ea540d48 Setup database migrations for scheduled messages 2022-09-27 15:43:10 +05:30
Paul Akhamiogu
46f71c994f Show 2 checks when sms is delivered
- differentiate between sent sms and delivered sms by updating the SmsStatusSentReceiver which updates the type to Telephony.Sms.MESSAGE_TYPE_SENT or Telephony.Sms.MESSAGE_TYPE_FAILED depending on the outcome.
- rename ThreadSuccess to ThreadSent and add a boolean field for the delivery status
- SmsStatusSentReceiver updates the status of the message to Telephony.Sms.STATUS_COMPLETE.
- accommodate for the need to keep track of the status by adding Int field status to the Message class,
- add appropriate database migrations (3 to 4) for the new status field.
- add status to the query for sms in extension function Context.getMessages and Context.getMMS
- add extension function Context.updateMessageStatus to update the status of a message in the database
2021-08-25 16:57:07 +01:00
tibbi
cf75ab71d4 make sure sent messages have proper SIM card associated 2021-01-01 17:04:41 +01:00
tibbi
6405b7431f work with threadIds as Longs, not Ints 2020-12-21 20:01:57 +01:00
tibbi
633f7cf5c0 create a db table for Messages too 2020-12-21 18:02:07 +01:00
tibbi
ceb9896988 changing message id from Int to Long 2020-12-21 12:40:29 +01:00
tibbi
83dcc7423c use proper placeholder avatars at private contacts too 2020-05-18 23:34:27 +02:00
tibbi
dcc98c0a25 properly fetch the SIM card ID at messages 2020-05-13 13:49:12 +02:00
tibbi
bea48aff13 moving some contact display related things into Commons 2020-05-07 15:20:40 +02:00
tibbi
605f9e845a moving some contact related things into Commons 2020-05-06 23:41:12 +02:00
tibbi
7f441218d2 show an avatar at the incoming messages 2020-04-11 22:44:02 +02:00
tibbi
e79818d789 removing some redundant functions 2020-04-11 10:51:48 +02:00
tibbi
d8080848c6 make the contact images more colorful 2020-04-10 23:36:44 +02:00
tibbi
a791b681aa properly mark read MMS messages too, not just SMS 2020-04-10 18:51:47 +02:00
tibbi
500f2bc8fe adding MMS attachments at the Message class 2020-04-09 10:28:38 +02:00
tibbi
fb45d68835 properly set the thread title if it contains no messages 2020-04-08 22:31:15 +02:00
tibbi
156620c917 couple more threading improvements here and there 2020-04-08 22:15:43 +02:00
tibbi
8b37aab610 lets add a Participants field into Message 2020-04-08 20:36:59 +02:00
tibbi
424b77577c removing the Subject of the Messages, doesnt seem to be used 2020-04-08 20:20:54 +02:00
tibbi
2e078af782 send the targeted number at the Thread activity to be used 2020-04-04 15:25:21 +02:00
tibbi
59c5d16f62 adding a DateTime thread view type 2020-04-03 23:07:34 +02:00
tibbi
fc3e72d390 split messages between received and sent 2020-04-03 21:44:18 +02:00
tibbi
960b16c99b fetch the message Thread field too and group by it 2020-04-03 16:33:57 +02:00
tibbi
e6b8db6ad0 renaming SMS to Message in some cases for easier handling 2020-04-03 12:29:57 +02:00