Commit graph

102 commits

Author SHA1 Message Date
Ensar Sarajčić
dbf582b239 Merge branch 'master' into feature/451-recycle-bin 2023-07-24 14:47:50 +02:00
Ensar Sarajčić
b29d664dc4 Merge branch 'master' into feature/451-recycle-bin 2023-07-20 14:12:20 +02:00
merkost
ec6bf55025 Added and refactored xml import support 2023-07-20 13:37:54 +10:00
merkost
05ced83909 Merge branch 'master' into export_import_settings
# Conflicts:
#	app/src/main/res/menu/menu_main.xml
2023-07-20 12:52:42 +10:00
Ensar Sarajčić
555b6ebea3 Add support for recycle bin for messages
This adds support for moving messages to recycle bin instead of
deleting them right away. The feature is not active by default.

This closes #451
2023-07-18 11:34:25 +02:00
Konstantin Merenkov
321e4f11ff
Merge branch 'master' into export_import_settings 2023-07-18 16:27:09 +10:00
merkost
4d378e819c ImportResult extracted to a separate class and MainActivity cleared 2023-07-18 16:23:04 +10:00
merkost
5a8cc0f14d Added BackupType with BackupSerializer 2023-07-18 16:21:44 +10:00
merkost
5363af1071 Added serialization 2023-07-18 12:38:31 +10:00
Ensar Sarajčić
857a4f0b93 Implement archive functionality using system API 2023-07-17 16:43:31 +02:00
Ensar Sarajčić
47861f605d Add support for archiving conversations
Archiving messages currently acts like recycle bin in
Simple Gallery, meaning that after 30 days, conversations
will be deleted permanently. Any updates to the conversation
(new messages) removes it from archive.

This closes #177
2023-07-11 16:52:47 +02:00
Ensar Sarajčić
daf11dc6fd Properly look up participants in MMS group conversations
Application was always picking first participant when tapping on avatars
in conversations. It was also using first participant for MMS notifications.

This stores sender's phone number in the database, so it can be used to look
up correct participant in the list of participants. If matching on number fails,
matching on name is attempted. If both of these fail, it falls back to previous
behavior, which is just picking the first participant.

This may also be connected to #32, but I am not sure, since this should just
be related to behavior when tapping on avatars. Mixing up avatars in the
conversation should be a different issue.

This closes #433, closes #500, closes #384
2023-07-07 10:58:17 +02:00
Naveen
8d283858e1 Add ability to rename group conversations 2022-11-21 02:51:51 +05:30
Naveen
c6d453f5ab Fix typo 2022-11-19 22:04:57 +05:30
Naveen
6cc8277694 Enable stable ids again
now we have stable ids, sorta
2022-11-19 06:08:01 +05:30
Naveen
89f378b973 Minor code consistency change 2022-11-18 01:45:17 +05:30
Naveen
3d9cb5bdac Disable setHasStableIds
because we really don't have stable ids (yet)
2022-11-18 01:00:33 +05:30
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
9bdc8b6f7e Use DiffUtil at conversations screen 2022-11-13 00:38:11 +05:30
Naveen
0eb5b79188 Use original uri as id for attachment selections 2022-11-06 17:15:49 +05:30
Naveen
23643d3198 Add support for sending all types of files 2022-11-02 18:03:35 +05:30
Naveen
203f10618f Prefer last modified time over last message time 2022-10-08 20:50:49 +05:30
Naveen
ee8130c767 Handle conversations with scheduled messages only 2022-09-28 02:05:06 +05:30
Naveen
16ea540d48 Setup database migrations for scheduled messages 2022-09-27 15:43:10 +05:30
Naveen
8dc4687328 Use structured name when formatted name is empty 2022-08-31 17:34:51 +05:30
Naveen
f7c9dfbc8e Remove default argument 2022-08-29 16:35:05 +05:30
Naveen
b6e21507c1 Restructure code 2022-08-29 16:32:04 +05:30
Naveen
4f809426bb Construct name from structured name 2022-08-29 04:16:45 +05:30
Naveen
00d69ad40e Ignore duplicated properties 2022-08-29 03:56:44 +05:30
Naveen
f07abeb54c Add vCard attachment preview 2022-08-29 03:19:50 +05:30
Pavel Poley
86df932ce8 fix scroll position resetting on refresh 2022-06-06 16:18:05 +03:00
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