Commit Graph

474 Commits

Author SHA1 Message Date
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
octoshrimpy 4cbf3bdc4d Merge pull request #303 from gavine99/scheduled-message-save-attachments-locally-295
Scheduled message save attachments locally 295
2025-02-20 10:34:48 -05:00
gavine99 2706a558b7 changes to save scheduled message attachment data in app local dir so external delete of attachment file doesn't result in it being unable to be found when sending message 2025-02-20 20:41:49 +11:00
Inhishonor 0ab8808d26 Update ComposeActivity.kt
Removed duplicate code.
2025-02-19 14:49:47 -08:00
Inhishonor 686cfc83f6 Test stt rebase (#11)
* Update build-on-pull.yml

Update's versions.

* Update build-on-pull.yml

Update Versions and add code to add the signing keys to the build.

* Update build-on-pull.yml

* Fixes the size of the icon.png.

* Update build-on-pull.yml

Fixes the formatting of the keystore injections.

* Update build-on-pull.yml

Changes it to only set up a NoAnalyticsDebug.

* Update build-on-pull.yml

Remove --stacktrace.

* attachment context menu for save, share, forward and open externally
remove share icons from audio and file attachment types
add forward and open externally to gallery menu so it matches attachment context menu
new icon/button for resend message

* Update build-and-release.yml

* Update build-on-pull.yml

* Update PR-deploy.yml

* Update build-and-release.yml

* Update PR-deploy.yml

* fix npe when setting out icons in messagesadapter when in message

* Update strings.xml

Change to "Leave A Star".

* new setting to show/hide new stt button - defaults to 'show' to enable discovery by user. move compose stt feature from double-tap compose entry box to new button on compose activity

* change tools view to 'on' for messageList

* changes to ingest all attachments in a standard manner. does not change user-facing functionality

* changes to make the speed-to-text button drag-and-dropable

* rebased to latest master

* changes to fix non-reset media player re-use crash

* manual update to fix my rebase merge

* changes to record audio for audio message from bluetooth sco device (ie bluetooth headset or earbuds) if connected at time of record

* changes to fix a bug that appeared to be a race condition between deleting mms parts (attachments) and removing the message data from the realm db when deleting a message. there could be attempts to access part data that no longer exists. protected where the access was being attempted.

* Update compose.xml

Fixed showing the copy text details, rather than message details.

* changes to enable a delete/clear menu icon on compose screen when there is message contents to clear - ie a schedule set, text input or attachments added

* changed to reset all necessary state, regardless of editingMode, in clearCurrentMessageIntent handler

* changes to make scheduled messages activity ui compliant with the rest of the app message listing activities. now allows sending and deleting multiple scheduled messages at once

* fixed title of send now confirm dialog

---------

Co-authored-by: octoshrimpy <octoshrimpy@users.noreply.github.com>
Co-authored-by: gavine99 <github@xymail.tk>
2025-02-19 14:25:15 -08:00
Inhishonor 7a9b34a37f Added necessary strings. 2025-02-19 13:49:28 -08:00
Inhishonor 556d36ce07 Add error message to double tap function as well. 2025-02-19 13:36:55 -08:00
Inhishonor 3bbbc686d7 Add code to check if there is a STT provider on device. 2025-02-19 13:29:29 -08:00
gavine99 1986f76356 changes to allow editing of scheduled messages 2025-02-20 08:16:53 +11:00
gavine99 ff5bafb00c fixed title of send now confirm dialog 2025-02-19 19:04:55 +11:00
gavine99 d7c5b1b71e changes to make scheduled messages activity ui compliant with the rest of the app message listing activities. now allows sending and deleting multiple scheduled messages at once 2025-02-19 18:51:36 +11:00
gavine99 302dadd077 changed to reset all necessary state, regardless of editingMode, in clearCurrentMessageIntent handler 2025-02-19 13:32:35 +11:00
gavine99 a8b02459c4 changes to enable a delete/clear menu icon on compose screen when there is message contents to clear - ie a schedule set, text input or attachments added 2025-02-19 12:40:43 +11:00
octoshrimpy 3195328dcf Merge pull request #290 from gavine99/bluetooth-input-to-record-audio-msg
use bluetooth sco source device, if available, to record audio
2025-02-18 08:35:17 -05:00
gavine99 31b38ec70e changes to fix a bug that appeared to be a race condition between deleting mms parts (attachments) and removing the message data from the realm db when deleting a message. there could be attempts to access part data that no longer exists. protected where the access was being attempted. 2025-02-18 21:49:58 +11:00
gavine99 8f644515ac changes to record audio for audio message from bluetooth sco device (ie bluetooth headset or earbuds) if connected at time of record 2025-02-18 21:31:51 +11:00
gavine99 dc5e0c1c5d manual update to fix my rebase merge 2025-02-17 20:50:16 +11:00
gavine99 756d39d3e1 changes to fix non-reset media player re-use crash 2025-02-17 20:41:49 +11:00
gavine99 94019f5e7a rebased to latest master 2025-02-17 20:41:11 +11:00
octoshrimpy 0f6c2fb694 Merge pull request #281 from gavine99/stt-option-and-new-button-244
Stt option and new button 244
2025-02-15 21:59:53 -05:00
gavine99 989d790626 changes to make the speed-to-text button drag-and-dropable 2025-02-15 11:01:47 +11:00
gavine99 72bf6b4ae4 changes to ingest all attachments in a standard manner. does not change user-facing functionality 2025-02-13 13:16:10 +11:00
gavine99 51a0576ce0 new setting to show/hide new stt button - defaults to 'show' to enable discovery by user. move compose stt feature from double-tap compose entry box to new button on compose activity 2025-02-12 14:35:17 +11:00
gavine99 7a4cb07ceb fix npe when setting out icons in messagesadapter when in message 2025-02-11 06:09:36 +11:00
gavine99 b41c9f7103 attachment context menu for save, share, forward and open externally
remove share icons from audio and file attachment types
add forward and open externally to gallery menu so it matches attachment context menu
new icon/button for resend message
2025-02-10 22:08:39 +11:00
octoshrimpy eeea87490d Merge pull request #254 from gavine99/mms-attachment-share-242
fixes for mms attachment view/share is suboptimal (#242) and other small fixups
2025-02-06 17:00:37 -07:00
gavine99 55a8937501 changes to gracefully handle a failure to get contact attachment data from provider 2025-02-06 11:47:30 +11:00
gavine99 53a634135f fix crashing bug attaching contact card 2025-02-05 13:28:39 +11:00
gavine99 042bbe80a1 changed to not save message attachments
to media store when sharing.
fixed using wrong attachment class for vcards (use lowercase on both sides of attachment mime type comparison)
added share button to audio attachment preview
removed old fileprovider that was never used
added content provider to provide mms attachments to external activities using a filename - not mms part id - so they can be saved externally with a proper name
fix bug when re-using attachment viewholder that has previously had text
fixed bug of image attachments always being named 'image' rather than their filename
 added share button to generic file attachment type in compose message list and removed onclick handler for viewing
2025-02-03 19:58:40 +11:00
gavine99 fbd1094b2b fixed bug that was a hangover from the original code that made message links only clickable once 2025-02-02 21:31:01 +11:00
gavine99 d7514d65b6 changes to add a new setting that allows user to choose to allow all message links, block all message links (including in notifications), or ask via a dialog box whether the user wishes to proceed 2025-02-02 21:23:01 +11:00
gavine99 44b3e201e9 Merge branch 'master' into scheduled-messages-click-doesnt-schedule-18
# Conflicts:
#	presentation/src/main/java/com/moez/QKSMS/common/Navigator.kt
2025-02-01 21:24:10 +11:00
gavine99 6f2d47bcd7 changes to enter the compose screen in 'scheduling' mode when launched from the scheduling activity. causes message scheduling to shown be shown after contact is chosen 2025-02-01 21:18:59 +11:00
gavine99 b0f6491650 attach missed checkin file Navigator.kt - only has a parameter rename 2025-01-30 06:34:49 +11:00
gavine99 34d535633d fix only images attached to forwarded messages 2025-01-30 06:11:53 +11:00
octoshrimpy 2f2cc80199 Merge pull request #240 from gavine99/fix_take_a_photo_permission
bug fix of 'take a photo' not working
2025-01-29 08:36:44 -07:00
gavine99 a4b0db56ca removed runtime check for WRITE_EXTERNAL_STORAGE at 'take a phot' time which is not required for taking a photo 2025-01-29 14:28:52 +11:00
gavine99 c7e58990f4 Merge branch 'octoshrimpy:master' into send_immediately_35 2025-01-29 12:33:00 +11:00
octoshrimpy 81eb310959 Merge pull request #234 from gavine99/silent_notifications_for_unknown_numbers_60
silent notifications if no recipients are a contact
2025-01-28 08:02:01 -07:00
gavine99 cd55051a17 Merge remote-tracking branch 'origin/send_immediately_35' into send_immediately_35
# Conflicts:
#	presentation/src/main/java/com/moez/QKSMS/feature/compose/MessagesAdapter.kt
#	presentation/src/main/res/layout/message_list_item_out.xml
2025-01-28 16:58:52 +11:00
gavine99 61087d0d50 rebased to master.
moved send now button to rhs.
changed send now button long press to short/normal press
2025-01-28 16:38:00 +11:00
gavine99 43b8e70a12 added a 'send now' button to delay sent sms. user can now long press 'send now' to send a delayed message immediately 2025-01-28 16:03:14 +11:00