Agnieszka C
bb61229cef
Fixed deleting notification after deleting conversation ( #637 )
2023-05-20 08:35:03 +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
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
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
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
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
Kevin Cotugno
cdbb16bdc8
Stream json during import fixes #329
2023-03-17 13:32:45 -07: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
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