Commit graph

835 commits

Author SHA1 Message Date
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
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
9c5978f50a rely on ContactsHelper from Simple Commons 2023-03-04 09:47:42 +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
a27790ee7c Always refresh thread to reflect sending failure 2023-02-28 14:02:53 +05:30
Naveen
49597a8db3 Add some spacing between attachments and text 2023-02-19 15:17:51 +05:30
Naveen
0b33ec877d Remove index decrement when using until 2023-02-19 14:49:29 +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
Naveen
83ba8ee3f3 Improve image compression
- Approximate quality and compress in one go instead of iterating.
- If compressing doesn't help achieve the required file size limit, keep reducing resolution until the file size is smaller than the max limit.
- Convert PNGs to JPEG for lossy compression when max MMS limit is less than 1MB. This helps avoid tiny pixelated PNG images.
- Removed the abstraction (didn't think it was necessary)
2023-02-16 03:46:41 +05:30
tibbi
9a7d56d0e8 adding a crashfix 2023-02-08 10:22:31 +01:00
tibbi
f65a4a9a8c allowing entering Conversation details at single recipient threads too 2023-02-08 10:12:18 +01:00
tibbi
251d885836 renaming a menu item 2023-02-08 10:08:37 +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
2d3650deb4 Lower limit to 75 for quick loading 2023-01-15 09:12:07 +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
Naveen
e98351c146 Increase first load limit to 100 2023-01-15 08:41:07 +05:30
tibbi
63dedaa9b7 show a loading progress bar at first app load 2023-01-12 16:18:14 +01:00
Naveen
f24c88eac7 Rename variable to msg 2023-01-10 17:32:38 +05:30
Naveen
619898fae9 Remove all braces from when statement 2023-01-10 17:29:16 +05:30
Naveen
b61782bc7b Avoid oneliner 2023-01-10 17:25:25 +05:30
Naveen
ed11a99e59 Show error toast when sending MMS fails 2023-01-10 17:14:51 +05:30
Naveen
61c1e7b6b5 Check result code when updating MMS status
This fixes the issue where attachments are marked sent even when they aren't
2023-01-10 17:01:38 +05:30
Naveen
0095352713 Set PendingIntent when sending MMS 2023-01-10 16:54:55 +05:30
Naveen
a48a160632 Move abstract receiver to receivers package (for now) 2023-01-10 14:46:35 +05:30
Naveen
e59bc1feae Remove length check 2023-01-07 17:33:54 +05:30
Naveen
91899a652c Disable replying to invalid short codes via new conversation activity 2023-01-07 17:33:00 +05:30
Naveen
35a98d4823 Disable replying to invalid short codes via notification 2023-01-07 17:22:32 +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
71e5e06c60 Mark sms sent status failed when any exceptions occur 2023-01-06 19:13:09 +05:30
Naveen
6e6c65ad6a Disable calling non-numeric short codes from main screen 2023-01-06 18:52:34 +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
7665415b87 Remove no longer required logic 2023-01-06 13:41:39 +05:30
Naveen
91e562ab32 Always update SMS sent status
as there's no point in handling error codes if we are not queuing the SMS for retry
2023-01-06 00:19:36 +05:30
Naveen
08ee7ac700 Improve SMS delivery report handling
On some phones, SMS message is marked delivered even though it wasn't really delivered, this should fix such issues. Based on AOSP and Signal app
2023-01-05 23:51:29 +05:30
Naveen Singh
127d94d86f
Merge branch 'SimpleMobileTools:master' into rewrite_sms 2023-01-04 23:07:24 +05:30