Commit graph

540 commits

Author SHA1 Message Date
Naveen
69ff590cf0
Migrate to non-transitive R Classes 2023-08-24 20:59:34 +05:30
Naveen
66be224b38
Remove nested apply usage 2023-08-22 15:11:05 +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
0c01e607bb
Migrate from kotlin synthetics to View binding 2023-08-17 15:54:29 +05:30
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
merkost
e244fd5a53 Moved "Importing" toast 2023-07-22 22:54:05 +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ć
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
Tibor Kaputa
9208eedf6b
adding an empty line 2023-07-19 14:52:51 +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ć
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
4d378e819c ImportResult extracted to a separate class and MainActivity cleared 2023-07-18 16:23:04 +10:00
Ensar Sarajčić
857a4f0b93 Implement archive functionality using system API 2023-07-17 16:43:31 +02:00
Ensar Sarajčić
a35edce84a Add support for .txt files for importing 2023-07-15 16:32:33 +02:00
Ensar Sarajčić
a6b97698bf Update mime type and file extension constants for clarity 2023-07-15 16:24:32 +02:00
Ensar Sarajčić
0ad178fddb Rename JSON import constants to better reflect contents 2023-07-15 13:59:58 +02:00
Ensar Sarajčić
e825e44f54 Add support for importing XML exports
This covers importing from Signal and Silence applications export

This closes #519
2023-07-12 12:13:59 +02:00
Ensar Sarajčić
7dbd6c5d9f Add proper strings for archive operations 2023-07-12 10:37:20 +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ć
674a467694 Add support for blocking keywords for incoming messages
This adds support for filtering incoming messages based on
message body by checking if it contains any of the blocked keywords
(case insensitive). Regex and patterns are not supported at the moment.

NOTE: This does not currently support MMS, only SMS.

This closes #33
2023-07-10 14:11:41 +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
Ensar Sarajčić
9ff6c3cbb6 Properly load threads on configuration changes 2023-06-30 10:56:07 +02:00
Ensar Sarajčić
8675de70c2 Handle app locking for threads too 2023-06-30 10:55:30 +02:00
Ensar Sarajčić
ae2e480876 Prevent loading messages before app is unlocked 2023-06-30 10:41:01 +02:00
Ensar Sarajčić
ce76573614 Adjust settings section label color properly 2023-06-30 10:25:45 +02:00
Ensar Sarajčić
143aaece4b Add password protection feature to the app
This closes #446
2023-06-30 09:29:36 +02:00
Tibor Kaputa
dd48fa544e
Merge pull request #651 from yparitcher/history
refresh sms history based on oldest sms loaded, ignoring mms
2023-05-19 22:49:21 +02:00
Tibor Kaputa
abedc2a18a
Merge pull request #642 from rmullin7286/master
Made ThreadActivity launch in singleTop mode and added onNewIntent.
2023-05-18 17:58:35 +02:00
yparitcher
707d7499e3
better method: limit the total of sms+mms to MESSAGES_LIMIT
this causes the sms and mms to load together for a smoother flow
2023-05-10 20:35:12 -04:00
Tibor Kaputa
055c1c7c08
Merge pull request #621 from Anis-cpu-13/fix-messaging-bug
Fix issue where sms_body was not being handled as an alternative to I…
2023-05-10 22:30:49 +02:00
yparitcher
7b5d32e624
refresh sms history based on oldest sms loaded, ignoring mms
all mms are always loaded, the number of messages only concerns sms, so only reference sms to determine the oldest loaded message

this should load all sms messages when there are mms messages in between

Fixes: #535
2023-05-10 15:37:43 -04:00
tibbi
a54155d358 updating commons 2023-05-07 18:50:55 +02:00
Ryan Mullin
41083ef754 Made ThreadActivity launch in singleTop mode and added onNewIntent. 2023-04-25 18:14:24 -07:00