Naveen Singh
ba49803d83
Remove unused import
2025-02-03 11:51:04 +05:30
Naveen Singh
255cacbfd4
Remove unnecessary intent creation
2025-02-03 11:47:35 +05:30
Naveen Singh
23ede234ec
Merge pull request #301 from FossifyOrg/fix_sms_intent_parsing
...
Restore country code removal
2025-02-02 14:16:17 +05:30
Naveen Singh
5f6ec81269
Access db on background thread
...
See https://github.com/FossifyOrg/Messages/issues/287
2025-02-01 20:29:19 +05:30
Naveen Singh
a57bd2e6a9
Restore country code removal
...
See https://github.com/FossifyOrg/Messages/issues/294
2025-02-01 19:35:53 +05:30
Naveen Singh
9d324b4c0a
Fix parsing forwarded text
2025-01-05 11:30:59 +05:30
Naveen Singh
b1d5452459
Clear empty drafts caused by version 1.1.1
...
See https://github.com/FossifyOrg/Messages/issues/274
2025-01-05 04:12:09 +05:30
Naveen Singh
57518b3ab0
Update comment
2025-01-05 03:39:30 +05:30
Naveen Singh
f661e126df
Use in-app db for drafts
...
Closes https://github.com/FossifyOrg/Messages/issues/274
Closes https://github.com/FossifyOrg/Messages/issues/225
2025-01-05 03:32:10 +05:30
Naveen Singh
c560581df3
Fix notification header color in black & white theme
2025-01-04 16:34:46 +05:30
Naveen Singh
f0ef2bfe10
Fix short code check!
...
It was returning true when it should return false
Broke it while trying to fix https://github.com/FossifyOrg/Messages/issues/115
2025-01-04 16:20:29 +05:30
Naveen Singh
b920dbd482
Fix some code style issues
2025-01-04 16:09:45 +05:30
Naveen Singh
68b00e94d9
Minor code improvement
2025-01-04 16:03:26 +05:30
Naveen Singh
2da3ccad82
Don't treat emails as short codes
...
Closes https://github.com/FossifyOrg/Messages/issues/115
2025-01-04 15:52:01 +05:30
Naveen Singh
d4d914abf4
Minor code improvement
2025-01-04 15:51:44 +05:30
Naveen Singh
cfa96a3a53
Fix deprecation and format code
2025-01-04 03:25:04 +05:30
Naveen Singh
f343085703
Clear drafts instead of deleting them
...
Closes https://github.com/FossifyOrg/Messages/issues/13
2025-01-04 03:23:59 +05:30
Naveen Singh
4434d187bc
Improve third party SMS/MMS intent parsing
...
Closes https://github.com/FossifyOrg/Messages/issues/243
Closes https://github.com/FossifyOrg/Messages/issues/217
2025-01-04 03:14:50 +05:30
Naveen Singh
f66aa77831
Show progress indicator when importing/exporting messages
...
One small step towards https://github.com/FossifyOrg/General-Discussion/issues/120
2025-01-04 01:16:49 +05:30
Naveen Singh
5ed8c0aacd
Remove unused methods and format code
2025-01-04 01:14:37 +05:30
Naveen Singh
7eafa793c0
Move variables to the top
2025-01-03 22:11:41 +05:30
Naveen Singh
47620b7aee
Delete unused method
2025-01-03 21:59:58 +05:30
Naveen Singh
d037bfbe5e
Fix typo
2025-01-03 21:49:12 +05:30
Naveen Singh
df4440750d
Format code
2025-01-03 21:48:48 +05:30
Naveen Singh
997f2f49e3
Improve attachment name parsing
...
See https://github.com/FossifyOrg/Messages/issues/261
2025-01-03 20:32:56 +05:30
Naveen Singh
294571e116
Catch exceptions caused by empty or malformed SMIL
...
Closes https://github.com/FossifyOrg/Messages/issues/262
2025-01-03 19:39:07 +05:30
Naveen Singh
545439f353
Add names to call arguments
2025-01-03 19:37:16 +05:30
Naveen Singh
011dc3393e
Merge branch 'master' into pr/import-fix-timestamps
2024-12-27 17:46:11 +05:30
Naveen Singh
43c30eda08
Remove unnecessary check
2024-12-27 17:30:27 +05:30
Tom Levy
3ad36c0021
Fix conversation dates on import
...
When we insert a message, Android's Telephony provider sets the
conversation date to the current time rather than the time of the
message that was inserted.[1] This commit implements a workaround that
fixes the conversation timestamps.
Fixes #146 , #42 .
[1] https://android.googlesource.com/platform/packages/providers/TelephonyProvider/+/android14-release/src/com/android/providers/telephony/MmsSmsDatabaseHelper.java#134
2024-12-27 11:58:41 +00:00
Tom Levy
bfd5450435
Add bulk version of updateLastConversationMessage()
...
In situations where we want to update multiple conversations (e.g.
during import), we can make it faster by only calling
contentResolver.delete() once.
(We still make separate calls to getConversations() because it doesn't
support multiple IDs, and likewise insertOrUpdateConversation()
doesn't support bulk insert.)
2024-12-27 11:58:41 +00:00
Naveen Singh
787f4cb2e1
Clear typed messages for short codes
2024-12-27 16:39:53 +05:30
Naveen Singh
be553f0b10
Use queryCursor extension for deleting drafts
2024-12-27 16:38:55 +05:30
Naveen Singh
6fba0bfdd8
Clear drafts before saving new one
...
This may resolve https://github.com/FossifyOrg/Messages/issues/13
2024-12-27 15:35:19 +05:30
Naveen Singh
7d2b87adc1
Remove support for Android and older versions
...
See https://github.com/orgs/FossifyOrg/discussions/241
2024-12-26 14:09:12 +05:30
Naveen Singh
3f17c2d94c
Setup full screen app lock
...
- Updated commons
2024-12-26 13:16:44 +05:30
Naveen Singh
ebe7e92982
Limit subscription id workaround to Android 14+
2024-12-25 21:47:45 +05:30
Naveen Singh
5683087ca0
Format code
2024-12-25 21:35:29 +05:30
Naveen Singh
025a3a2729
Merge branch 'master' into import_export_keywords
2024-12-25 20:46:51 +05:30
Naveen Singh
c19277a28f
Merge pull request #192 from tom93/pr/fix-subscriptionId-android-14
...
Fix missing messages after import on Android 14 due to subscriptionId
2024-12-25 20:46:28 +05:30
Naveen Singh
9d60c516d0
Merge branch 'master' into fix-deletion
2024-12-25 19:44:32 +05:30
Naveen Singh
188e8f9ea4
Merge branch 'master' into json-streams
2024-12-25 18:10:09 +05:30
Naveen Singh
29520d5a2d
Construct import mime type based on API level
...
Format code.
2024-12-25 18:01:03 +05:30
Naveen Singh
8d306941a0
Merge branch 'master' into fix-import-binary-mime-type
2024-12-25 17:20:44 +05:30
Agnieszka C
48dcb05554
Added sorting blocked keywords ( #256 )
2024-12-08 09:50:49 +01:00
Naveen Singh
15a521df7c
Merge pull request #210 from gardener2/mms-blocking-fix
...
Implemented blocking logic on MMS received
2024-11-29 19:02:16 +05:30
Naveen Singh
826a7d684c
Merge pull request #136 from tom93/fix-export-missing-file-extension
...
Fix missing .json file extension when exporting messages
2024-11-29 18:47:51 +05:30
gardener2
23080debfe
Implemented blocking logic on MMS received, for both unknown numbers and keyword filtering
2024-08-24 17:43:39 -06:00
Tom Levy
3b389c5a3f
Fix missing messages after import on Android 14 due to subscriptionId
...
On Android 14, imported messages are not visible if their
subscriptionId[1] does not correspond to one of the SIMs in the
device. As a workaround, we set subscriptionId to -1 ("unknown") on
all messages during import.
This does mean that when exporting then importing on the same device,
the SIM associations will be lost. But that doesn't seem noticeable.
Credit: SMS Import / Export app,
https://www.github.com/tmo1/sms-ie/issues/128
Fixes #191 .
[1] https://developer.android.com/identity/user-data-ids#mobile-subscription-status
2024-07-15 13:42:36 +00:00
Tom Levy
99cea602c8
Fix deletion of random SMS when trying to update threads
...
Commit 44c540b9 (Fixed updating last message after deleting (#167 ),
2021-09-04) introduced a hack to update the conversation snippet,
however there is a bug in that code: it tries to delete by thread ID,
but the condition is applied to the SMS table, not to the threads
table.[1] So instead of deleting the thread with that ID, it deletes
whichever SMS happens to have that ID.
The fix is to change the condition to an always-false condition, so
that no messages will be deleted. The threads will still get
updated.[2]
Fixes #148 .
[1] https://android.googlesource.com/platform/packages/providers/TelephonyProvider/+/android14-release/src/com/android/providers/telephony/MmsSmsProvider.java#1405
[2] https://android.googlesource.com/platform/packages/providers/TelephonyProvider/+/android14-release/src/com/android/providers/telephony/MmsSmsProvider.java#1409
2024-05-20 01:43:25 +00:00