Commit graph

939 commits

Author SHA1 Message Date
Naveen
c3fe4d8aca
Add a new line 2023-08-22 15:33:48 +05:30
Naveen
cdcc9e2140
Remove unnecessary comma 2023-08-22 15:12:08 +05:30
Naveen
66be224b38
Remove nested apply usage 2023-08-22 15:11:05 +05:30
Naveen
8bc6659d71
Set drawable size in code 2023-08-22 14:27:40 +05:30
Naveen
fead93ddf7
Remove messageHolderBinding variable 2023-08-22 14:09:04 +05:30
Naveen
8ebcaa3016
Add some new lines 2023-08-22 14:01:17 +05:30
Naveen
dccbc6ce7a
Use View binding in AutoCompleteTextViewAdapter.kt 2023-08-18 17:18:30 +05:30
Naveen
c7a9f44663
Minor code improvement 2023-08-17 16:45:03 +05:30
Naveen
0c01e607bb
Migrate from kotlin synthetics to View binding 2023-08-17 15:54:29 +05:30
Ensar Sarajčić
b85661eb4d Always calculate snippet when reading conversations
This ensures that correct snippet is displayed, because of moving
messages to recycle bin. This must be done for conversations in
recycle bin as well as regular conversations, because both can be
affected, depending on which messages are moved to recycle bin.
2023-07-25 15:38:24 +02:00
Ensar Sarajčić
24756285cc Use recycle bin string for deletion when recycle bin is active 2023-07-25 14:54:32 +02:00
Ensar Sarajčić
450a0c22d1 Merge branch 'master' into feature/451-recycle-bin 2023-07-25 08:08:04 +02:00
Tibor Kaputa
96c8b4b1ec
Merge pull request #707 from esensar/fix/554-duplicate-resent-messages
Prevent duplication of messages on resend
2023-07-24 23:32:25 +02:00
Ensar Sarajčić
dbf582b239 Merge branch 'master' into feature/451-recycle-bin 2023-07-24 14:47:50 +02:00
Ensar Sarajčić
312f5bd0a8 Prevent duplication of messages on resend
This prevents duplication by ensuring that message is just
updated in case of SMS, instead of creating a new entry. In case
of MMS, due to the way it is sent internally, we delete original
message once we get result of the new one.

This closes #554
2023-07-24 11:03:48 +02:00
Tibor Kaputa
deecd78650
minor code style update 2023-07-24 10:55:10 +02:00
merkost
014ac2a4cf Added invalid_file_format toast on XML importing 2023-07-24 13:40:38 +10:00
merkost
e244fd5a53 Moved "Importing" toast 2023-07-22 22:54:05 +10:00
merkost
8c0508b0c1 Refactored message restoring in MessagesImporter 2023-07-22 00:31:24 +10:00
merkost
842368d0f4 Split lines in MessagesReader 2023-07-22 00:14:55 +10:00
merkost
c72dc199aa ExportMessagesDialog code refactoring 2023-07-22 00:10:17 +10:00
Ensar Sarajčić
bcb42d0ff5 Ensure recycle bin is ignored when disabled 2023-07-20 16:34:05 +02:00
Ensar Sarajčić
cc6e9358f6 Ensure recycled messages don't reappear in threads 2023-07-20 16:26:00 +02:00
Ensar Sarajčić
565f991932 Update recycle bin related strings 2023-07-20 16:20:29 +02:00
Ensar Sarajčić
3f06b521bf Add separate screen for recycle bin messages 2023-07-20 16:04:51 +02:00
Ensar Sarajčić
31be5d3d95 Remove empty recycle bin menu item if there are no recycle bin conversations 2023-07-20 14:18:24 +02:00
Ensar Sarajčić
372dbaeaa4 Remove unusude useArchive property 2023-07-20 14:12:38 +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
tibbi
fd65d26f8f updating commons and room 2023-07-19 16:52:20 +02:00
Tibor Kaputa
0c5242df2d
Merge pull request #698 from esensar/feature/177-conversations-archive
Implement archive feature for conversations using system API
2023-07-19 16:40:16 +02:00
Ensar Sarajčić
e86e089dc5 Move thread handling to unarchiveConversation method 2023-07-19 15:31:02 +02:00
Tibor Kaputa
9208eedf6b
adding an empty line 2023-07-19 14:52:51 +02:00
Ensar Sarajčić
e07fbe40a6 Add confirmation for archiving conversations 2023-07-19 10:11:52 +02:00
Ensar Sarajčić
b9b85ea6a7 Remove options menu on ArchivedConversationsActivity when there are no conversations 2023-07-19 10:07:33 +02:00
Wilson
f6b5bbf455 add asking for Exact alarm permission before scheduling a message above Android API S 2023-07-18 16:21:18 -04:00
Ensar Sarajčić
b0141fe93d Add recycle bin list similar to main conversations list 2023-07-18 15:19:30 +02:00
Ensar Sarajčić
d560720ac3 Fix index creation in the migration 2023-07-18 11:45:47 +02: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
merkost
db5decfcd8 Added additional types for txt or xml and moved import logic to Importer 2023-07-18 17:17:52 +10:00
Konstantin Merenkov
321e4f11ff
Merge branch 'master' into export_import_settings 2023-07-18 16:27:09 +10:00
merkost
47866a1c19 Settings activity configured import/export 2023-07-18 16:24:04 +10:00
merkost
679236e3fa MessagesImporter and MessagesReader refactoring 2023-07-18 16:23:46 +10:00
merkost
4d378e819c ImportResult extracted to a separate class and MainActivity cleared 2023-07-18 16:23:04 +10:00
merkost
30b100b62f Dialogs refactoring 2023-07-18 16:22:14 +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ć
222b96e8c5 Remove ApnUtils usage in the app
Using ApnUtils causes crash on newer Android versions (https://github.com/SimpleMobileTools/Simple-SMS-Messenger/pull/683#issuecomment-1637036718)
This reverts this part of changes from https://github.com/SimpleMobileTools/Simple-SMS-Messenger/pull/687, since other
changes have fixed the issue. This part is not as important (required to send reception ACK to MMSC, which is apparently not needed for all carriers)
2023-07-16 16:25:29 +02:00