Commit graph

183 commits

Author SHA1 Message Date
tibbi
ed50f8ec31 moving some helper functions from context to settings 2021-11-15 18:03:19 +01:00
tibbi
081c979535 some setting UI tweak, lets show textual values below their labels 2021-11-15 15:21:09 +01:00
tibbi
938ba2b20c removing the file size limit label from the app settings 2021-11-15 14:47:14 +01:00
tibbi
a5dc5c1bb8 removing the lock screen notification visibility label from the settings 2021-11-13 10:26:56 +01:00
tibbi
29c0666243 fetch all drafts at once for better performance 2021-10-18 19:22:06 +02:00
Tibor Kaputa
580fc7d35b
make dialNumber callback nullable for easier reading 2021-10-18 18:36:00 +02:00
Agnieszka C
44547b05d0 Dialing number refactor 2021-10-18 18:19:26 +02:00
Tibor Kaputa
7fae2d8324
Merge branch 'master' into fix/wrong-sender-name 2021-09-24 18:41:38 +02:00
darthpaul
492cbdf13a fix wrong sender name in SMS notification 2021-09-24 14:30:17 +01:00
darthpaul
91d81e3bd8 fix wrong sender name from private contacts
- use SimpleContact.doesHavePhoneNumber to perform comparision between a sender and private contact. SimpleContact.doesHavePhoneNumber does equality check.
2021-09-24 13:57:15 +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
31ad2d1421 Merge remote-tracking branch 'origin/feat/export-sms' into feat/export-sms
# Conflicts:
#	app/src/main/kotlin/com/simplemobiletools/smsmessenger/dialogs/ImportMessagesDialog.kt
#	app/src/main/kotlin/com/simplemobiletools/smsmessenger/helpers/MessagesExporter.kt
#	app/src/main/kotlin/com/simplemobiletools/smsmessenger/helpers/MessagesImporter.kt
#	app/src/main/kotlin/com/simplemobiletools/smsmessenger/helpers/MessagesReader.kt
#	app/src/main/kotlin/com/simplemobiletools/smsmessenger/helpers/MessagesWriter.kt
#	app/src/main/kotlin/com/simplemobiletools/smsmessenger/models/ExportedMessage.kt
#	app/src/main/kotlin/com/simplemobiletools/smsmessenger/models/SmsBackup.kt
2021-09-18 22:11:23 +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
25a3a2f47b Refactor import/export 2021-09-13 22:27:27 +01:00
Paul Akhamiogu
9656207135 Import SMS 2021-09-12 18:44:52 +01:00
Paul Akhamiogu
7f32115afe back up messages 2021-09-12 00:43:00 +01:00
Tibor Kaputa
2aa8e3953b
Merge branch 'master' into add-simple-characters 2021-09-10 10:16:42 +02:00
Tibor Kaputa
7e3696e965
adding an extra space 2021-09-09 23:30:08 +02:00
Agnieszka C
30e7b68c06 Used normalizeString from Commons 2021-09-09 22:41:23 +02:00
Paul Akhamiogu
b52aeda83b Merge branch 'master' into feature/compress-images
# Conflicts:
#	app/src/main/kotlin/com/simplemobiletools/smsmessenger/extensions/Context.kt
2021-09-08 22:07:52 +01:00
Paul Akhamiogu
74c5e4384c Check file size before compression 2021-09-08 21:53:54 +01:00
Agnieszka C
2cac2516f2
Merge branch 'master' into add-simple-characters 2021-09-08 20:08:35 +02:00
Tibor Kaputa
327b7f673a
fixing a compile error + some renaming 2021-09-08 20:00:28 +02:00
Tibor Kaputa
07cd3372d8
Merge branch 'master' into feature/compress-images 2021-09-08 15:47:55 +02:00
Tibor Kaputa
96e25bf855
move mimetype lowercase into the function itself 2021-09-08 15:36:19 +02:00
Agnieszka C
80ffc85ace
Merge branch 'master' into add-simple-characters 2021-09-08 15:13:13 +02:00
Agnieszka C
02a8633ffd
Merge branch 'master' into add-sms-draft 2021-09-08 15:12:05 +02:00
Paul Akhamiogu
b27d3ab795 ref: update copy and make 1MB default MMS file limit 2021-09-07 22:11:33 +01:00
Paul Akhamiogu
c3c2ce4ee3 feat: add settings option to customise the MMS file size limit 2021-09-06 22:25:38 +01:00
Paul Akhamiogu
b317507370 convert image mimetype to lowercase, remove unused imports/tags 2021-09-06 11:13:28 +01:00
Agnieszka C
b212aa49b3 Added removing diacritics (#29) 2021-09-06 10:12:51 +02:00
Paul Akhamiogu
664346e8a9 feat: compress images before sending 2021-09-05 20:45:04 +01:00
Agnieszka C
44c540b961 Fixed updating last message after deleting (#167) 2021-09-04 22:14:22 +02:00
Agnieszka C
7b84ec77fd Added SMS drafts support (#83) 2021-09-03 19:00:23 +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
Tibor Kaputa
f68bc54771
Update Context.kt 2021-08-18 12:45:33 +02:00
Tibor Kaputa
88213f1c39
Merge branch 'master' into fix_108 2021-08-18 12:40:27 +02:00
tibbi
2e3604ab54 updating commons and kotlin 2021-04-14 23:15:34 +02:00
tibbi
db077704f0 do not show the error caught at fetching the contact name and photo 2021-03-22 13:13:34 +01:00
tibbi
0e07117b3a adding some crashfixes 2021-03-15 23:30:56 +01:00
tibbi
26710c572f updating some colors for the white theme 2021-02-15 18:56:12 +01:00
tanvirahmod
17c300be7e Add setting to hide message content in notification 2021-01-05 17:54:56 +06: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
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
733428da38 store received messages in hte local db asap 2020-12-21 22:56:10 +01:00
tibbi
9aba85b967 add handling for local message deleting 2020-12-21 22:00:36 +01:00