Commit graph

85 commits

Author SHA1 Message Date
Naveen Singh
cfc16dd886
refactor(settings): remove color customization lock and add thank you button (#498) 2025-08-25 04:03:16 +05:30
Naveen Singh
528a29891d
fix: remove shortcut badger (#484)
* fix: remove shortcut badger
* docs: update changelog

Refs: https://github.com/FossifyOrg/Messages/issues/64, https://github.com/FossifyOrg/Messages/issues/483
2025-08-11 18:48:44 +05:30
Naveen Singh
ce5b35737f
fix: ensure valid column index (#462)
* fix: ensure valid column index

See: https://github.com/FossifyOrg/Messages/issues/461

* refactor: use extension from commons

* docs: update changelog
2025-07-25 16:53:17 +05:30
dependabot[bot]
f6500552ab
chore(deps): bump com.googlecode.ez-vcard:ez-vcard from 0.11.3 to 0.12.1 (#392)
* chore(deps): bump com.googlecode.ez-vcard:ez-vcard from 0.11.3 to 0.12.1

Bumps [com.googlecode.ez-vcard:ez-vcard](https://github.com/mangstadt/ez-vcard) from 0.11.3 to 0.12.1.
- [Commits](https://github.com/mangstadt/ez-vcard/compare/0.11.3...0.12.1)

---
updated-dependencies:
- dependency-name: com.googlecode.ez-vcard:ez-vcard
  dependency-version: 0.12.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: add extension function to format Temporal objects

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Naveen Singh <snaveen935@gmail.com>
2025-07-08 20:00:03 +05:30
Vivien F
857a1fd445
feat: add conversation shortcuts (#280)
* Declare intent filter to open ThreadActivity from shortcut

* Add SimpleContact utilities

* Create the ShortcutHelper class

* update shortcuts on sending message, notification received and when opening thread.

* format code

* Avoid error when getConversations is called from UI thread

* Changed ranking of create new conversation shortcut to 0

* removed exception handling

* Run shortcut registration in background

* Changed shortcut creation and usage report

* do not create shortcut on opening conversation

* optimize imports

* Delete shortcut with conversation

* Show main activity if conversation does not exist

* removed old intent filter

* Specify Fossify thread activity in shortcut's intent

* Avoid dismissing activity if it's a new conversation

* Try to fix private contacts appearing as numbers

* Removed intent sanitizer since activity isn't exported anymore

* Update shortcut label and picture when changing conversation name

* refactor: cleanup code

* refactor: collapse empty tag

---------

Co-authored-by: Naveen Singh <36371707+naveensingh@users.noreply.github.com>
Co-authored-by: Naveen Singh <snaveen935@gmail.com>
2025-06-04 14:15:01 +05:30
dependabot[bot]
826545838a
chore(deps): bump com.google.devtools.ksp from 1.9.25-1.0.20 to 2.1.21-2.0.1 (#412)
* chore(deps): bump com.google.devtools.ksp

Bumps [com.google.devtools.ksp](https://github.com/google/ksp) from 1.9.25-1.0.20 to 2.1.21-2.0.1.
- [Release notes](https://github.com/google/ksp/releases)
- [Commits](https://github.com/google/ksp/compare/1.9.25-1.0.20...2.1.21-2.0.1)

---
updated-dependencies:
- dependency-name: com.google.devtools.ksp
  dependency-version: 2.1.21-2.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix: make value nullable

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Naveen Singh <36371707+naveensingh@users.noreply.github.com>
2025-06-03 15:22:11 +05:30
Naveen Singh
72e5cbac3c
Make conversation screen scrollable
See https://github.com/FossifyOrg/Messages/issues/359
2025-04-01 12:20:43 +05:30
Agnieszka C
f1d9d911d7 Fixed cursor position when opening from background (#349) 2025-03-24 09:17:46 +01:00
Naveen Singh
955c3bf58d
Fix some code style errors 2025-03-24 00:52:26 +05:30
Naveen Singh
948728dba5
End files with new lines 2025-03-24 00:32:39 +05:30
Naveen Singh
8f0cbac572
Minor code improvement 2025-03-23 22:44:01 +05:30
Naveen Singh
6531f9f104
Remove storage permission requirement
It's not necessary for importing/exporting blocked numbers or keywords.

See https://github.com/FossifyOrg/Messages/discussions/309
2025-03-23 20:23:49 +05:30
Naveen Singh
83a7ff0ada
Merge pull request #346 from FossifyOrg/fix_mms_vuln
Limit received MMS message length to 5000
2025-03-22 14:06:26 +05:30
Naveen Singh
74cb8c602c
Merge pull request #345 from FossifyOrg/fix_mms_sender_logic
Apply proper selection when querying MMS sender
2025-03-22 02:13:41 +05:30
Naveen Singh
0f098fc1e1
Fix concurrent modification exception 2025-03-21 02:54:04 +05:30
Naveen Singh
20999d70e5
Limit received MMS message length to 5000
This is to avoid ANRs just in case there are very large text messages in the system (either added on purpose or sent by someone else to trigger ANRs in the user's device)
2025-03-19 09:38:18 +05:30
Naveen Singh
a7c598e47e
Apply proper selection for MMS sender
See https://github.com/FossifyOrg/Messages/issues/344

More info: https://android.googlesource.com/platform/packages/apps/Messaging/+/master/src/com/android/messaging/sms/MmsUtils.java#1673
2025-03-19 06:13:00 +05:30
Naveen Singh
2a9b5b6d85
Merge pull request #322 from tom93/pr/fix-import-binary-mime-type-q
Allow importing binary files on Android 9
2025-03-09 06:33:43 +05:30
Naveen Singh
8fcd792a15
Format some code 2025-03-02 15:48:41 +05:30
Naveen Singh
0a8273f676
Add launchConversationDetails extension 2025-03-02 15:43:46 +05:30
Agnieszka C
3085b51b86 Added conversation details to the conversation list (#336) 2025-03-02 10:30:53 +01:00
Tom Levy
73d736c4cd Allow importing binary files on Android 9
The previous check was off by one version. The workaround needs to be
applied on Android versions up to *and including* Android 9 (Pie), so
it should be applied unless we are on Android >= 10 (Q).
2025-02-14 10:45:49 +00:00
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