Commit Graph

769 Commits

Author SHA1 Message Date
gavine99 ec2d256875 remove some old commented-out, test code and one small refactor 2025-04-03 10:41:22 +11:00
octoshrimpy 8f615f5fd1 Merge pull request #401 from gavine99/fix-check-for-stt-available
fix bug in speech recogniser available check
2025-04-02 09:01:29 -04:00
gavine99 aad5d2fedc added missing manifest query intent for SpeechRecognizer.isRecognitionAvailable() call
made stt button only become visible if stt service is available regardless of settings value
2025-04-01 10:42:46 +11:00
gavine99 2c2c8e90a2 use emoji2-bundled version for compatibility with non playstore/gsm os'
emoji2 compat library to 1.4.0 (required compilesdk upgrade to 34)
make qkedittext use appcompatedittext for emoji compatibility
fix small incompatibilities introduced by new library versions
2025-04-01 10:02:34 +11:00
gavine99 7d743a5969 remove deprecated androidx.emoji-appcompat - see https://developer.android.com/develop/ui/views/text-and-emoji/emoji-compat 2025-04-01 07:07:05 +11:00
gavine99 bbdc6ceb8e upgrade to androidx.appcompat 1.6.1 2025-04-01 07:07:05 +11:00
gavine99 d2074c13d3 fix bug in speech recogniser available check 2025-03-31 16:32:01 +11:00
gavine99 7681b9ffdb changes to make emoji-only recognition faster. old regex method was so slow that os would anr the process. 2025-03-31 11:33:18 +11:00
gavine99 8356008b88 limit bubble display of text to 5000 chars.
add instruction status message when bubble char limit exceeded.
add share text feature.
make copy and share text menu options only available when there is text in selected messages.
new FileProvider to share messages text files out of app's cache dir.
add message subject to copy messages text feature.
a lot of refactoring of MessagesAdapter class.
add new FileUtils class.
convert file logging to use new FileUtils class.
change MediaRecorder to use new FileUtils class.
housekeeping worker now cleans messages text cache files.
housekeeping worker now checks cache files older than 2 hours before deleting.
2025-03-29 04:56:14 +11:00
octoshrimpy 669932ef0e Merge pull request #392 from gavine99/fix-deselect-race-condition-on-main-activity-block
fix race condition when using block menu item on main activity
2025-03-28 11:58:42 -04:00
octoshrimpy 8a3ca0077f Merge pull request #391 from gavine99/anr-when-receiving-a-text-380
move sms receive code path to a worker model to avoid anr on message receive
2025-03-28 11:58:24 -04:00
gavine99 8f7b422494 fix a race condition in the main activity where selection was being cleared before block dialog had the list of selected convos 2025-03-28 18:16:37 +11:00
gavine99 be1896e53f implement new receivesms worker.
modify sms receive interactor to be used by new worker and add more logging.
create custom workfactory that supports injection into workers.
modify housekeeping worker to use injection.
2025-03-28 16:27:20 +11:00
octoshrimpy bbfa9ae4fd Merge pull request #362 from wiggleforlife/feat/dpad
Improve d-pad support
2025-03-27 11:09:25 -04:00
octoshrimpy 66163fa17b Merge pull request #383 from Inhishonor/screenshots_disable
Added a setting to disable screenshots.
2025-03-27 10:33:19 -04:00
inhishonor e1d81a9c02 Added setting to disable screenshots 2025-03-26 16:27:26 -07:00
Cian Ormond 6bd4af8738 Focus message box after sending a message (pt 2) 2025-03-26 11:03:21 -07:00
gavine99 f76fd8f292 fix internal file logging to work on all sdk versions 2025-03-19 14:40:19 +11:00
gavine99 3de169452a significant speed up for convo activity toggle (de)select all - particularly for large numbers of messages. also for copy text menu item on convo screen 2025-03-17 19:51:20 +11:00
Cian Ormond fc87254993 Focus inbox list item on drawer open 2025-03-15 23:52:22 -07:00
octoshrimpy 1ed10e2013 Merge pull request #361 from gavine99/crash-when-opening-amr-voice-message-321
fix mediametadataretriever using autocloseable interface crash on api <= 29
2025-03-15 20:17:34 -04:00
gavine99 c093435c06 fix mediametadataretriever using autocloseable interface crash on api <= 29. also update audio title background tint alpha to use extension func 2025-03-16 10:52:34 +11:00
octoshrimpy 592bc4bb15 Merge pull request #354 from gavine99/selected-text-colour-is-too-static-248
ui - change compose activity bubble text selection colors
2025-03-15 17:45:02 -04:00
octoshrimpy 71c5aa4ce7 Merge pull request #356 from gavine99/duplicate-drafts-for-first-member-of-group-messages-187
do not save draft text when adding new recipients to group convo
2025-03-15 17:39:38 -04:00
octoshrimpy 727cd34dc5 Merge pull request #353 from gavine99/cant-see-atatch-menu-options-336
ui changes to make attach menu properly visible in dark (and light) theme
2025-03-15 17:37:34 -04:00
octoshrimpy 1aee6f02c6 Merge pull request #345 from gavine99/send-to-multiple-addresses-doesn't-start-new-conversations
fix new conversation not created for non-send-as-group multi-recipient message
2025-03-15 17:36:59 -04:00
octoshrimpy 0d6a8635d0 Merge pull request #352 from gavine99/call-most-recent-msg-sender-59
dial last non-me party in a group convo
2025-03-15 17:36:27 -04:00
gavine99 404a27c612 change to not save sms body input text as draft between adding new recipients to sms on compose screen 2025-03-13 19:43:39 +11:00
gavine99 7d77690245 change text selection handle and background colors in compose screen bubbles to ensure they always have a high(ish) contrast to bubble colours and to match with theme color 2025-03-13 14:40:31 +11:00
gavine99 0cf67a136f made background shade darker on compose activity (when attach menu and when audio record). changed attach menu items to match back and fore theme of attach button. fixed bug of attach button being touchable when audio record panel visible 2025-03-13 12:33:03 +11:00
gavine99 32c11f74be Merge remote-tracking branch 'origin/send-to-multiple-addresses-doesn't-start-new-conversations' into send-to-multiple-addresses-doesn't-start-new-conversations
# Conflicts:
#	presentation/src/main/java/com/moez/QKSMS/feature/compose/ComposeViewModel.kt
2025-03-13 10:12:11 +11:00
gavine99 714a3337f2 fix no creation of a new conversation when no existing conversation to member of a multi-recipient sms not sent as group 2025-03-13 10:08:03 +11:00
gavine99 74a639cf40 change to start dial of last non-me recipient in a conversation in compose, qkreply and main-activity-swipe call actions 2025-03-13 09:39:02 +11:00
gavine99 fa8accd9e2 fix no creation of a new conversation when no existing conversation to member of a multi-recipient sms not sent as group 2025-03-12 18:52:26 +11:00
gavine99 cdcb2f274b fix setting haserror (which is a bit misused to finish() the compose activity) when sending from a new convo as group. also fix associated bug that was sending sms to individual recipients in 'send as group mode' when send as group pref was saved as true 2025-03-12 14:14:30 +11:00
octoshrimpy 28001d4e99 Merge pull request #331 from gavine99/floating-answer-written-backwards-322
fix circular update of message text and db conversation in qkreply
2025-03-11 15:15:51 -04:00
octoshrimpy b9b5af95c3 Merge pull request #327 from gavine99/share-screenshot-includes-text-fix
fix for handling sms:1234566?body=xyz style uris starting compose activity
2025-03-11 15:14:58 -04:00
gavine99 ea82e167ec fix circular update of message and db conversation in qkreply causing cursor return to start of edit box 2025-03-06 20:03:15 +11:00
gavine99 052f106683 fix to handle sms:12345678?body=hello%20there style intent data uri for compose activity start 2025-03-06 13:59:03 +11:00
octoshrimpy 95f186823e Merge pull request #305 from gavine99/hide-extra-controls-on-cant-reply-304-and-299
bug fix remove extraneous controls on compose (sim and mic) when no reply possible
2025-02-23 16:14:26 -05:00
octoshrimpy 0af6abd548 Merge pull request #302 from Inhishonor/error-no-stt
Check to see if STT provider is available and if not abort process.
2025-02-23 16:14:03 -05:00
Inhishonor 2b94ad5da3 Remove message on startup.
Removed message on startup, as it is acting unreliably, and is annoying to the user.
2025-02-21 17:18:41 -08:00
Inhishonor 1f89648824 Fix only default STT provider appearing.
Changed code to use Speech Recognizer instead of Package Manager, this allowed to check for all STT, not just default.
Also switched to using try/catch instead of if/else,
2025-02-21 16:50:59 -08:00
Inhishonor cda502a767 Update Comments 2025-02-21 13:42:45 -08:00
Inhishonor 332f58ceb2 Display Toast on Startup, and on STT clicked.
Moved the check on STT provider to only display toast if there is no provider.
Disabled STT button when there is no provider.
2025-02-21 13:36:39 -08:00
Inhishonor e4cb42089b Clean up code, add strings.
Cleaned up comments.
Added a getString, to extra.prompt, so that it will be easier to implement in the future.
2025-02-21 10:43:19 -08:00
Inhishonor 4c32d1280a Fix deprecations/wrap STT code in if block.
Rebase code with master branch.
Add SDK conditional to check for package manager.
Wrap `onCreate` in an if block that checks if Speech Recognition is even possible.
2025-02-21 10:30:32 -08:00
gavine99 7bef2f66a6 upgrade glide library to v4.16.0 (latest non release candidate version at this time) 2025-02-21 15:18:59 +11:00
Inhishonor 45b96f5375 Fix errors in drag and drop functionality.
Add import to use package manager.
2025-02-20 17:20:16 -08:00
gavine99 2237f14cef remove extraneous controls (sim and mic) when no reply-able senders in compose 2025-02-21 07:07:39 +11:00