Commit graph

74 commits

Author SHA1 Message Date
tibbi
36a09ac8cb lets always use the system milliseconds at setting received message time
it.timestampMillis seems to ignore seconds, which can mix up messages
2022-08-24 22:13:24 +02:00
Naveen
cd8b40b3b6 Add safe call operator 2022-08-21 23:48:48 +05:30
Naveen
aeafc7030d Minor code improvements 2022-06-16 19:23:59 +05:30
Pavel Poley
550504a6c2 Merge remote-tracking branch 'origin/master' into fix/sending-glitch 2022-05-31 12:22:20 +03:00
Pavel Poley
2d675ac8be fix sending glitch shown at opening a conversation 2022-05-31 12:12:24 +03:00
Tibor Kaputa
137f0db6f2
fix showing messages from unstored contacts 2022-05-27 18:47:16 +02:00
Mysochenko Yuriy
e1078d4379 update to the latest commons version 2022-05-27 18:12:33 +03:00
Mysochenko Yuriy
f92e19e145 add an option to block messages from unknown numbers 2022-05-26 19:11:17 +03:00
tibbi
f41e1aa18e fix #316, use proper SIM at replying via the top notification 2022-05-23 20:14:51 +02:00
darthpaul
72cbb342a6 handle sending group SMS
- in Context.getMessages, split the sender number by spaces " " to get each contact.
- apply update in the android-smsmms lib - do not pass threadId in Transaction.sendNewMessage
2022-05-01 03:33:47 +01:00
tibbi
fa83697473 lets make those pendingintents mutable 2022-04-12 14:38:29 +02:00
tibbi
bf2f4887ca add the PendingIntent.FLAG_IMMUTABLE flag to PendingIntents 2022-04-12 14:35:02 +02:00
tibbi
45874d13d4 updating commons and target SDK to 31 2022-04-12 09:45:18 +02:00
tibbi
aa495b4251 allow storing unstored numbers from the conversation screen too 2022-03-25 21:07:54 +01:00
tibbi
9052c5183d apply some configs at sending message from anywhere 2022-03-07 10:19:40 +01:00
tibbi
cc04594d31 updating commons 2022-02-07 11:45:59 +01:00
tibbi
591f473a1f updating commons with PhoneNumber containing multiple fields 2022-02-06 22:44:20 +01:00
Agnieszka C
5751eabc16 Added contact photo to notification 2022-01-12 18:23:18 +01:00
tibbi
928246eaea fix #206, solving a glitch with number being shown instead of name 2021-12-25 18:37:47 +01:00
tibbi
5f11714e6f catch exceptions thrown at getting unread conversations 2021-11-13 09:08:55 +01:00
Agnieszka C
d2d291069c Fixed marking as read/unread not refreshing list 2021-09-14 19:03:04 +02:00
Agnieszka C
b212aa49b3 Added removing diacritics (#29) 2021-09-06 10:12:51 +02: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
de54a88b2d catching some exceptions 2021-05-23 17:01:59 +02:00
tibbi
e8a53d06c1 make sure the conversation are properly refreshed when open 2021-04-15 11:58:11 +02:00
tibbi
2e3604ab54 updating commons and kotlin 2021-04-14 23:15:34 +02:00
tibbi
75aac13e1e adding a null check at DirectReplyReceiver 2021-03-22 16:03:34 +01:00
tibbi
6c9d25d16f properly handle sending reply messages through the top notification 2021-03-15 23:10:59 +01:00
tibbi
26710c572f updating some colors for the white theme 2021-02-15 18:56:12 +01:00
tibbi
9412024baa try fixing a glitch with "Sending..." message getting stuck 2021-01-11 10:37:51 +01:00
tibbi
d02df0a1a2 improve message marking after delivery to avoid glitching 2021-01-02 11:24:56 +01:00
tibbi
7554bb1f10 show a notification if a message sending failed 2021-01-01 22:52:23 +01:00
tibbi
ac7d2afbb6 properley update message types in the local db too 2021-01-01 20:13:45 +01:00
tibbi
7fedcbd108 leave mms handling on the system, do not mess with it 2021-01-01 20:02:30 +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
733428da38 store received messages in hte local db asap 2020-12-21 22:56:10 +01:00
tibbi
6405b7431f work with threadIds as Longs, not Ints 2020-12-21 20:01:57 +01:00
tibbi
4cad413478 store attachment uri as a string 2020-12-21 15:29:10 +01:00
tibbi
f66833e9bd complicate the threading at receiving messages a bit more 2020-11-28 22:47:11 +01:00
tibbi
953d521e47 make sure received messages are stored on the background thread 2020-11-03 19:23:49 +01:00
tibbi
4668629b30 really fix crashing at received MMS messages 2020-09-23 14:32:59 +02:00
tibbi
97fabfec1a fix a crash at receiving MMS 2020-09-23 10:08:07 +02:00
tibbi
e3f7d80987 fix a crash at showing received MMS messages 2020-09-22 14:16:05 +02:00
tibbi
2e0d6a877d improving the unread messages counter badge 2020-07-27 22:37:11 +02:00
tibbi
41fb730511 properly handle contacts with multiple phone numbers 2020-07-27 21:53:21 +02:00
tibbi
f4da76a010 fix #21, allow replying directly from the top notification 2020-06-18 18:12:45 +02:00
tibbi
a85eb77d31 fix #47, mark the whole conversation as read with Mark as Read at notification 2020-06-17 21:45:17 +02:00
tibbi
8dd3fc561f mark messages as read in the local db too 2020-05-30 20:29:37 +02:00
tibbi
0db8b202c7 properly add new messages into the local database on receiving 2020-05-30 20:21:27 +02:00