Commit graph

521 commits

Author SHA1 Message Date
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
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
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