Commit graph

505 commits

Author SHA1 Message Date
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ć
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
Anis-cpu-13
b4ea472884 Fix issue where sms_body was not being handled as an alternative to Intent.EXTRA_TEXT when sending SMS messages. Updated the launchThreadActivity function in NewConversationActivity.kt to handle sms_body as a fallback for message text. 2023-03-27 01:31:05 +02:00
Tibor Kaputa
758d538e64
Merge pull request #589 from Naveen3Singh/improve_compressor
Improve image compression
2023-03-04 20:34:26 +01:00
Naveen
eeb87836e2 Handle temporary threads in conversations details 2023-02-28 19:24:24 +05:30
Naveen
c94b8852cd Avoid resetting conversation name in tmp threads 2023-02-28 19:17:04 +05:30
Naveen
83cdf0f623 Avoid resetting conversation name 2023-02-28 18:58:10 +05:30
Naveen
751fe359e7 Show error toast for attachments larger than MMS limit 2023-02-19 14:37:41 +05:30
Naveen
c931eb0171 Send MMS attachments separately
If the message contains text, it is sent with the last attachment.
2023-02-19 03:03:51 +05:30
tibbi
f65a4a9a8c allowing entering Conversation details at single recipient threads too 2023-02-08 10:12:18 +01:00
Tibor Kaputa
98cf201f0a
Merge pull request #566 from Naveen3Singh/fix_progress_logic
Hide progress bar after loading conversations from telephony
2023-02-01 08:36:03 +01:00
Tibor Kaputa
7429a0c9e5
Update MainActivity.kt 2023-02-01 08:35:40 +01:00
Agnieszka C
795d7c7dc6 Fixed notification not disappearing on resume (#573) 2023-01-21 11:14:54 +01:00
Naveen
b45e6990d7 Revert view id refactor 2023-01-17 02:27:21 +05:30
Naveen
f8bcc74155 Hide progress bar after loading from telephony 2023-01-17 00:18:32 +05:30
Naveen
b68c672be6 Use text color as fab icon color 2023-01-16 18:09:58 +05:30
Naveen
fce31b7bcf Reduce minimum scroll distance to 1 2023-01-15 09:30:31 +05:30
Naveen
bdafa4b847 Change fab bg color 2023-01-15 09:12:30 +05:30
Naveen
37944e8b40 Add helper fab for quick scroll to bottom 2023-01-15 08:43:19 +05:30
Naveen
2d6ff0bc30 Fix scroll-up glitch when new message arrives 2023-01-15 08:42:15 +05:30
tibbi
63dedaa9b7 show a loading progress bar at first app load 2023-01-12 16:18:14 +01:00
Naveen
91899a652c Disable replying to invalid short codes via new conversation activity 2023-01-07 17:33:00 +05:30
Naveen Singh
26533ff52e
Merge branch 'SimpleMobileTools:master' into rewrite_sms 2023-01-06 22:57:24 +05:30
tibbi
c5a880b5f1 adding a helper function to avoid duplication 2023-01-06 17:49:54 +01:00
tibbi
7a558f68f5 fixing a top Search menu related glitch 2023-01-06 17:48:24 +01:00
Naveen
164605e42f Ensure we are on main thread 2023-01-06 20:25:49 +05:30
Naveen
f0c3333a72 Disable replying to non-numeric short codes
Also, break down large thread layout file
2023-01-06 18:32:31 +05:30
Naveen Singh
127d94d86f
Merge branch 'SimpleMobileTools:master' into rewrite_sms 2023-01-04 23:07:24 +05:30
tibbi
b9564e7162 updating commons 2023-01-04 16:04:50 +01:00
Naveen Singh
e9ad798e5e
Merge branch 'SimpleMobileTools:master' into rewrite_sms 2023-01-04 14:46:03 +05:30
tibbi
2be979e740 moving the top search related code to Commons 2023-01-03 23:36:40 +01:00
Naveen Singh
d31feca559
Merge branch 'SimpleMobileTools:master' into rewrite_sms 2023-01-03 21:13:50 +05:30
tibbi
f05fffc206 properly reset search results and placeholders on close 2023-01-03 16:05:28 +01:00
tibbi
be8003718f animate search holder visibility 2023-01-03 15:58:42 +01:00
tibbi
2d6c48cd90 hide the top search menu at scrolling 2023-01-03 15:38:39 +01:00
tibbi
f02348dc6c move some search bar related code to a custom view 2023-01-03 11:50:45 +01:00
Naveen
1f36738be0 Rewrite, move SMS related code into the app 2023-01-03 15:43:14 +05:30