Commit Graph

1900 Commits

Author SHA1 Message Date
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
Tibor Kaputa 7ca11c8427
Merge pull request #682 from esensar/feature/19-message-details
Add message details menu button
2023-07-11 15:25:10 +02:00
Tibor Kaputa aecaff6d6a
updating the slovak translation 2023-07-11 15:24:32 +02:00
Ensar Sarajčić cf7003e3b4 Remove extra spaces in strings files 2023-07-11 15:11:53 +02:00
Ensar Sarajčić 98eb62e1b6 Move message_details_sim to donottranslate 2023-07-11 13:45:15 +02:00
Ensar Sarajčić d27a2f5747 Update Simple-Commons ref 2023-07-11 13:44:50 +02:00
Ensar Sarajčić 3adfdd401e Update dialog to reuse properties dialog from file manager 2023-07-11 11:02:55 +02:00
Ensar Sarajčić 6fef121599 Fix formatting of senders and receivers 2023-07-11 09:55:57 +02:00
Ensar Sarajčić a5d6e7724c Reduce displayed data in message details dialog 2023-07-11 09:49:40 +02:00
Tibor Kaputa b49643562b
updating the slovak translation 2023-07-10 20:19:33 +02:00
Ensar Sarajčić daea2d2e5d Remove unused address and subject from message filter in SmsReceiver 2023-07-10 17:00:32 +02:00
Ensar Sarajčić c1b29646d3 Show SIM in details only if multiple are present 2023-07-10 16:59:36 +02:00
Ensar Sarajčić 45416c07bd Split getReceiverOrSenderPhoneNumbers in MessageDetailsDialog in multiple lines 2023-07-10 16:51:37 +02:00
Ensar Sarajčić 28a19a09ce Use string format instead of concatenation in MessageDetailsDialog 2023-07-10 16:50:17 +02:00
Ensar Sarajčić e4269c8356 Remove needless extra empty line in ThreadAdapter 2023-07-10 16:47:50 +02:00
Ensar Sarajčić bdd506c96e Add message details menu button
Adds a "Properties" menu button in conversation, when one message
is selected, which displays details about the message:
- Type (SMS or MMS)
- Sender phone number (or receiver if it is a sent message)
- Used SIM
- Date sent at
- Date received at (if it is an incoming message)

This closes #19
2023-07-10 16:43:07 +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
Wilson e3bf8541df update last conversation message after replying from notification.
#ISSUE-675
2023-07-07 15:13:23 -04: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
J. Lavoie 4bacfa4fa8
Translated using Weblate (Italian)
Currently translated at 100.0% (81 of 81 strings)

Translation: Simple Mobile Tools/Simple SMS Messenger
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-sms-messenger/it/
2023-06-26 23:03:48 +02:00
J. Lavoie f8982156fa
Translated using Weblate (French)
Currently translated at 100.0% (81 of 81 strings)

Translation: Simple Mobile Tools/Simple SMS Messenger
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-sms-messenger/fr/
2023-06-26 23:03:48 +02:00
Tibor Kaputa 73c12d0db1
removing an empty line 2023-06-26 22:48:13 +02:00
Alier 3a4f54b4be Remove extra translation 2023-06-27 02:40:41 +06:00
Alier a21662baef Update string translation 2023-06-26 16:27:23 +06:00
AAlier 5169539a88 Add missing code 2023-06-24 04:28:35 +06:00
Alier b076da3840 Add Delete Action Button to Sms message 2023-06-24 04:09:35 +06:00
tibbi 220dec1cd5 replacing jcenter with mavenCentral 2023-06-23 11:37:15 +02:00
tibbi 77768c66e0 fix #44, load less messages at conversations by default to speed it up 2023-06-21 12:22:11 +02:00
tibbi 4dfdb39603 adding some margin between conversations 2023-06-12 12:33:10 +02:00
tibbi 1d2443fda3 removing a confusing background at conversations, set it dynamically 2023-06-12 12:20:59 +02:00
tibbi e8d021a662 use nicer effects at long pressing conversations 2023-06-11 21:42:55 +02:00
Milo Ivir 08dd629b8b
Translated using Weblate (Croatian)
Currently translated at 100.0% (81 of 81 strings)

Translation: Simple Mobile Tools/Simple SMS Messenger
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-sms-messenger/hr/
2023-05-28 17:58:30 +02:00
Kryštof Černý ba518ea641
Translated using Weblate (Czech)
Currently translated at 100.0% (81 of 81 strings)

Translation: Simple Mobile Tools/Simple SMS Messenger
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-sms-messenger/cs/
2023-05-28 10:52:00 +02:00
gallegonovato 80428e2658
Translated using Weblate (Spanish)
Currently translated at 100.0% (81 of 81 strings)

Translation: Simple Mobile Tools/Simple SMS Messenger
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-sms-messenger/es/
2023-05-27 08:27:56 +02:00
Tibor Kaputa 063cd2bace
Merge pull request #658 from Aga-C/fix-deleting-notification
Fixed deleting notification after deleting conversation ( #637)
2023-05-24 10:15:05 +02:00
en2sv 3074f28279
Translated using Weblate (Swedish)
Currently translated at 100.0% (81 of 81 strings)

Translation: Simple Mobile Tools/Simple SMS Messenger
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-sms-messenger/sv/
2023-05-22 20:52:27 +02:00
Agnieszka C bb61229cef Fixed deleting notification after deleting conversation ( #637) 2023-05-20 08:35:03 +02:00
tibbi 2bba900eb1 update version to 5.18.2 2023-05-19 22:59:00 +02:00
tibbi 16734aa93d Merge branch 'master' of github.com:SimpleMobileTools/Simple-SMS-Messenger 2023-05-19 22:54:22 +02:00
tibbi 3dadb0ccb8 updating commons and room 2023-05-19 22:54:13 +02:00
tibbi fb96109973 removing some extra margins at importing dialog 2023-05-19 22:53:59 +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
Milo Ivir fcfd0574bb
Translated using Weblate (Croatian)
Currently translated at 100.0% (81 of 81 strings)

Translation: Simple Mobile Tools/Simple SMS Messenger
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-sms-messenger/hr/
2023-05-19 22:48:06 +02:00
Priit Jõerüüt e7bc2c5e6d
Translated using Weblate (Estonian)
Currently translated at 100.0% (81 of 81 strings)

Translation: Simple Mobile Tools/Simple SMS Messenger
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-sms-messenger/et/
2023-05-19 22:48:06 +02:00
Tibor Kaputa e475069c42
autoformatting code 2023-05-19 22:47:21 +02:00
Kevin Cotugno da117ecca4 Fix import for partial exports
The previous implementation assumed that each JSON object would have an
"SMS" key and a "MMS" key, and in that order. This caused an exception
when it tried to read the next NAME token because the next token is
actually the closing bracket of the object. This commit fixes this issue
by checking that the next token is actually a NAME. If it is, we consume
the token and handle it according to its value, which may be either
"sms" or "mms". If it's neither of those, we skip it.

Fixes #646
2023-05-19 07:07:07 -07: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
Tibor Kaputa bfadbb42b5
Merge pull request #654 from spkprs/patch-15
Update strings.xml
2023-05-14 22:24:52 +02:00
spkprs ccb61683ef
Update strings.xml 2023-05-14 18:52:46 +03:00
Sergio Marques dd02f4cf61
Translated using Weblate (Portuguese)
Currently translated at 100.0% (81 of 81 strings)

Translation: Simple Mobile Tools/Simple SMS Messenger
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-sms-messenger/pt/
2023-05-13 23:52:08 +02:00
Josep M. Ferrer a606058ad6
Translated using Weblate (Catalan)
Currently translated at 100.0% (81 of 81 strings)

Translation: Simple Mobile Tools/Simple SMS Messenger
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-sms-messenger/ca/
2023-05-12 21:50:34 +02:00
Rex_sa 1abe0b84ae
Translated using Weblate (Arabic)
Currently translated at 100.0% (81 of 81 strings)

Translation: Simple Mobile Tools/Simple SMS Messenger
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-sms-messenger/ar/
2023-05-12 21:50:33 +02:00
Eric 83397c508b
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (81 of 81 strings)

Translation: Simple Mobile Tools/Simple SMS Messenger
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-sms-messenger/zh_Hans/
2023-05-12 21:50:33 +02:00
Oğuz Ersen 0970c478eb
Translated using Weblate (Turkish)
Currently translated at 100.0% (81 of 81 strings)

Translation: Simple Mobile Tools/Simple SMS Messenger
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-sms-messenger/tr/
2023-05-12 21:50:33 +02:00
solokot ff9a96f32c
Translated using Weblate (Russian)
Currently translated at 100.0% (81 of 81 strings)

Translation: Simple Mobile Tools/Simple SMS Messenger
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-sms-messenger/ru/
2023-05-12 21:50:32 +02:00
Agnieszka C eabacec0b1
Translated using Weblate (Polish)
Currently translated at 100.0% (81 of 81 strings)

Translation: Simple Mobile Tools/Simple SMS Messenger
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-sms-messenger/pl/
2023-05-12 21:50:32 +02:00
Guillaume c66bdbf6c5
Translated using Weblate (Dutch)
Currently translated at 100.0% (81 of 81 strings)

Translation: Simple Mobile Tools/Simple SMS Messenger
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-sms-messenger/nl/
2023-05-12 21:50:32 +02:00
VfBFan 05e4d8e42b
Translated using Weblate (German)
Currently translated at 100.0% (81 of 81 strings)

Translation: Simple Mobile Tools/Simple SMS Messenger
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-sms-messenger/de/
2023-05-12 21:50:31 +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
tibbi 4596ab4475 use the new error string 2023-05-10 22:52:12 +02:00
tibbi 69e448f0a1 adding a new error message 2023-05-10 22:42:22 +02:00
tibbi 83c56c9f00 updating commons 2023-05-10 22:33:14 +02: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
FTno a57f8de092
Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (80 of 80 strings)

Translation: Simple Mobile Tools/Simple SMS Messenger
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-sms-messenger/nb_NO/
2023-05-07 18:51:02 +02:00
FTno 4ca0144219
Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (80 of 80 strings)

Translation: Simple Mobile Tools/Simple SMS Messenger
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-sms-messenger/nb_NO/
2023-05-07 18:51:02 +02:00
en2sv e756fbf9c3
Translated using Weblate (Swedish)
Currently translated at 100.0% (80 of 80 strings)

Translation: Simple Mobile Tools/Simple SMS Messenger
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-sms-messenger/sv/
2023-05-07 18:51:02 +02:00
Slávek Banko 4f140c5754
Translated using Weblate (Czech)
Currently translated at 100.0% (80 of 80 strings)

Translation: Simple Mobile Tools/Simple SMS Messenger
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-sms-messenger/cs/
2023-05-07 18:51:02 +02: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
tibbi 06b435eae6 update version to 5.18.1 2023-03-25 09:13:15 +01:00
tibbi 197da1c7c9 Merge branch 'master' of github.com:SimpleMobileTools/Simple-SMS-Messenger 2023-03-25 09:12:39 +01:00
tibbi 2ff719d2ac update version to 5.18.0 2023-03-25 09:12:22 +01:00
Tibor Kaputa d6f8d58867
Merge pull request #616 from kcotugno/stream-json-decode-on-import
Stream json during import fixes #329
2023-03-25 09:02:56 +01:00
tibbi 587250fd8d updating commons 2023-03-25 08:59:17 +01:00
Naveen Singh 8fb6f9ca83
Merge branch 'SimpleMobileTools:master' into sms_mms_improvements 2023-03-24 05:43:19 -07:00
Kevin Cotugno cdbb16bdc8 Stream json during import fixes #329 2023-03-17 13:32:45 -07:00
Milo Ivir 3f6f301dca
Translated using Weblate (Croatian)
Currently translated at 100.0% (80 of 80 strings)

Translation: Simple Mobile Tools/Simple SMS Messenger
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-sms-messenger/hr/
2023-03-16 15:37:47 +01:00
P.O d686b18ae5
Translated using Weblate (Swedish)
Currently translated at 100.0% (80 of 80 strings)

Translation: Simple Mobile Tools/Simple SMS Messenger
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-sms-messenger/sv/
2023-03-12 18:40:18 +01:00
Eric 160ac78220
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (80 of 80 strings)

Translation: Simple Mobile Tools/Simple SMS Messenger
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-sms-messenger/zh_Hans/
2023-03-09 14:41:42 +01:00
J. Lavoie 4ab858f652
Translated using Weblate (Italian)
Currently translated at 100.0% (80 of 80 strings)

Translation: Simple Mobile Tools/Simple SMS Messenger
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-sms-messenger/it/
2023-03-07 23:41:28 +01:00
J. Lavoie 0198c14e82
Translated using Weblate (French)
Currently translated at 100.0% (80 of 80 strings)

Translation: Simple Mobile Tools/Simple SMS Messenger
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-sms-messenger/fr/
2023-03-07 23:41:28 +01:00
Naveen abb7e66105 Allow sending only-text MMS messages
Fixes regression caused by recent changes in https://github.com/SimpleMobileTools/Simple-SMS-Messenger/pull/589
2023-03-06 14:28:11 +05:30
tibbi 60e2124602 update version to 5.17.5 2023-03-04 23:07:37 +01:00
tibbi 98fc6eb0b4 adding some empty lines 2023-03-04 23:02:51 +01:00
Tibor Kaputa 758d538e64
Merge pull request #589 from Naveen3Singh/improve_compressor
Improve image compression
2023-03-04 20:34:26 +01:00
tibbi 2992d77fad updating Room 2023-03-04 09:49:39 +01:00
tibbi 9c5978f50a rely on ContactsHelper from Simple Commons 2023-03-04 09:47:42 +01:00
Tibor Kaputa c94caef4bb
Merge pull request #604 from Naveen3Singh/rename_conv_fix
Avoid resetting conversation name when new messages are received
2023-03-03 12:33:15 +01:00
Oskari Lavinto d02c9fec7c
Translated using Weblate (Finnish)
Currently translated at 100.0% (80 of 80 strings)

Translation: Simple Mobile Tools/Simple SMS Messenger
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-sms-messenger/fi/
2023-03-03 12:19:33 +01:00
Priit Jõerüüt 1b8d645411
Translated using Weblate (Estonian)
Currently translated at 100.0% (80 of 80 strings)

Translation: Simple Mobile Tools/Simple SMS Messenger
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-sms-messenger/et/
2023-03-03 12:19:33 +01:00
gallegonovato 0e32b63301
Translated using Weblate (Galician)
Currently translated at 100.0% (80 of 80 strings)

Translation: Simple Mobile Tools/Simple SMS Messenger
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-sms-messenger/gl/
2023-03-03 12:19:33 +01:00
Gabriel Camargo ba388a2966
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (80 of 80 strings)

Translation: Simple Mobile Tools/Simple SMS Messenger
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-sms-messenger/pt_BR/
2023-03-03 12:19:33 +01:00