71 Commits

Author SHA1 Message Date
darthpaul
27a9cf4369 Handle cases where sms or mms does not exist in import or export 2021-09-21 15:19:09 +01:00
darthpaul
a5109da19f Merge branch 'master' into feat/export-sms
# Conflicts:
#	app/src/main/kotlin/com/simplemobiletools/smsmessenger/extensions/Context.kt
#	app/src/main/kotlin/com/simplemobiletools/smsmessenger/helpers/Config.kt
#	app/src/main/kotlin/com/simplemobiletools/smsmessenger/helpers/Constants.kt
2021-09-18 22:16:12 +01:00
darthpaul
d78776e288 feat: use models during export, try to update conversation date during import 2021-09-18 21:05:06 +01:00
darthpaul
e10a410788 feat: restore mms 2021-09-18 16:14:58 +01:00
Paul Akhamiogu
9656207135 Import SMS 2021-09-12 18:44:52 +01:00
Paul Akhamiogu
664346e8a9 feat: compress images before sending 2021-09-05 20:45:04 +01:00
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
2990f3be6e adding message Id to search results 2021-02-16 11:34:19 +01:00
tibbi
5c684a5361 show an image at search results too 2021-02-16 10:04:05 +01:00
tibbi
33a8b498f3 show search results in a recyclerview list 2021-02-15 23:23:39 +01:00
tibbi
fbe46a55a8 converting conversations and messages into searchresults 2021-02-15 22:36:48 +01:00
tibbi
a100ddb290 allow clicking the message failed label 2021-01-02 10:25:54 +01:00
tibbi
d3494014a6 improving the messages delivery status 2021-01-01 19:00:40 +01:00
tibbi
cf75ab71d4 make sure sent messages have proper SIM card associated 2021-01-01 17:04:41 +01:00
tibbi
d1616d4997 removing the id field at conversations, use thread_id 2020-12-30 15:53:08 +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
b955678e90 creating a database table for MessageAttachments too 2020-12-21 16:40:48 +01:00
tibbi
0f33d3677b create a db table for attachments 2020-12-21 16:17:33 +01:00
tibbi
4cad413478 store attachment uri as a string 2020-12-21 15:29:10 +01:00
tibbi
ceb9896988 changing message id from Int to Long 2020-12-21 12:40:29 +01:00
tibbi
349ff11957 fix #35, show a tick at successfully sent last messages 2020-08-23 21:43:50 +02:00
tibbi
661798cff4 renaming system_id to thread_id 2020-05-30 20:03:13 +02:00
tibbi
2b3df2719b fix #8, load some cached messages instantly 2020-05-30 18:55:57 +02:00
tibbi
7a7b1aab32 insert fetched conversations in db 2020-05-30 18:23:54 +02:00
tibbi
f638fa06f2 creating a room DB for storing conversations 2020-05-30 18:04:34 +02:00
tibbi
60c994756d make photoUri changeable at the Conversation model 2020-05-20 16:53:38 +02:00
tibbi
83dcc7423c use proper placeholder avatars at private contacts too 2020-05-18 23:34:27 +02:00
tibbi
db90f0f08c check if no message came from a privately stored contact in Simple Contacts 2020-05-18 23:22:27 +02:00
tibbi
8d663b994d allow saving received phone numbers to contacts 2020-05-13 16:43:30 +02:00
tibbi
64bb563ef6 show the SIM card ID at messages 2020-05-13 15:27:25 +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
d98c1abb96 improve contact sorting at New Conversation, prefer names starting with letters 2020-05-03 23:43:09 +02:00
tibbi
f5d3c2ab70 allow toggling SIM cards at sending messages 2020-05-03 22:57:31 +02:00
tibbi
c4e7fc3068 show the unknown attachment filename, if available 2020-04-12 23:25:41 +02:00
tibbi
ba8f14de3b renaming attachment type onto mimetype 2020-04-12 23:17:37 +02:00
tibbi
7c355e9aae determine the message attachments size at fetching 2020-04-12 20:41:31 +02:00
tibbi
81b12dea70 do not allow null Uri at attachments 2020-04-12 19:59:57 +02:00
tibbi
a5d8633593 prepare for handling multiple mms attachments 2020-04-12 18:13:40 +02:00
tibbi
7f441218d2 show an avatar at the incoming messages 2020-04-11 22:44:02 +02:00
tibbi
32d3e0b21a use a different placeholder image at group conversations, not a letter 2020-04-11 20:07:39 +02:00
tibbi
21dd815f2a lets use the new Conversation model at the main screen 2020-04-11 19:41:48 +02:00
tibbi
882b75324d create a Conversations model, separate it from Messages 2020-04-11 19:15:31 +02:00
tibbi
9cf479c496 removing the redundant isOrganization field from Contact model 2020-04-11 17:25:58 +02:00
tibbi
e79818d789 removing some redundant functions 2020-04-11 10:51:48 +02:00
tibbi
b606d9fdfc use the colored letters as placeholders everywhere 2020-04-11 10:23:36 +02:00
tibbi
f96f992203 use a helper function at loading contact thumbnails 2020-04-11 00:05:40 +02:00
tibbi
d8080848c6 make the contact images more colorful 2020-04-10 23:36:44 +02:00