Commit Graph

624 Commits

Author SHA1 Message Date
Inhishonor 6dff95d1e5 fix(compose): Prevent infinite loop on editing scheduled message
For some asinine reason, `state.scheduled` was observed than set with the same value, which was causing an infinite loop. `scheduled` is completely irrelevant to `canSend` anyway, as scheduled is essentially a boolean, and it is handled elsewhere.
2026-04-09 18:19:59 -06:00
Inhishonor b488320022 fix(notif): Stop requestCodes for marking messages from colliding
This was changing the behavior to mark read on notification swipe.
2026-04-09 18:15:48 -06:00
Cian Ormond d59deeb831 refactor(utils): Remove redundant shortcut code 2026-04-02 17:47:44 -06:00
Cian Ormond de6015a478 fix(utils): Check if shortcut limit reached before creating shortcut below API 30
Co-authored-by: Inhishonor <inhishonor@protonmail.com>
2026-04-02 17:47:44 -06:00
Inhishonor e7bb3a3402 refactor(utils): Simplify shortcut generation logic 2026-04-02 17:47:44 -06:00
Inhishonor e9a423b157 refactor(utils): Clean up shortcut code 2026-04-02 17:47:44 -06:00
Cian Ormond 35d170b87d feat(notif): Move persistent notification to its own channel 2026-03-11 10:17:38 -07:00
Inhishonor 400643ff3e chore(about): Update links for the quik-sms organization 2026-03-08 11:57:46 -07:00
Inhishonor fa8e716495 feat(settings): Make About page a separate activity accessible from the drawer 2026-03-08 11:57:46 -07:00
Dale ff83de3380 fix(compose): Handle different intents in provideSharedAttachments
Manage single and multiple URIs without throwing a class cast exception.
2026-03-06 17:07:38 -08:00
Inhishonor 16c495a0a1 compose: Fix sendAsGroup switch not responding on creating conversation 2026-03-03 13:37:30 -08:00
Ben Iofel 434b9d610b cleanup 2026-02-03 01:40:27 -05:00
Ben Iofel 2cdf9f5fc0 Merge remote-tracking branch 'origin/master' into view-bindings-2 2026-01-26 02:25:15 -05:00
octoshrimpy 13e6de7a40 Merge pull request #685 from Inhishonor/message-managment
Move the auto delete old message setting to message management
2026-01-24 08:48:30 -05:00
octoshrimpy d4576c8482 Merge pull request #677 from benwaffle/show-who-sent-emojis
Implement tapping emoji to see who reacted
2026-01-24 08:47:00 -05:00
Inhishonor 8ac0daadc4 Clean up messageUtils code 2026-01-15 19:45:44 -08:00
Inhishonor 50abd37824 Move auto delete old messages to message management
It fits better here and will help cleaning out the settings page
2026-01-15 19:39:15 -08:00
Ben Iofel dfe0094093 remove excessive padding 2026-01-14 01:02:01 -05:00
Ben Iofel a35c27d676 remove ok button 2026-01-14 00:41:02 -05:00
Ben Iofel 625b08d5f8 simplify 2026-01-12 10:45:41 -05:00
Ben Iofel 45a1426319 Implement tapping emoji to see who reacted 2026-01-12 03:49:25 -05:00
Ben Iofel 7c52fedd89 Display all reacted emojis
Not just the most common one
2026-01-12 02:39:03 -05:00
Ben Iofel 109c3c2c0a Use QkBindingViewHolder in single-type adapters
Store ViewBinding in the ViewHolder instead of recreating it via
.bind() on every onBindViewHolder call. This reduces allocations
and simplifies the code.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 02:09:53 -05:00
Ben Iofel 6f3d6cc679 Simplify checkbox access in PreferenceView
Add widget and checkbox properties to PreferenceView, eliminating
repetitive findViewById<QkSwitch>(R.id.checkbox) calls throughout
the codebase.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 02:06:18 -05:00
Ben Iofel 7f984f715e Finish migration to ViewBinding 2026-01-12 01:48:12 -05:00
octoshrimpy 09a9bd136b Merge pull request #672 from Inhishonor/deduplicate-messages
Add a deduplicate message feature
2026-01-11 23:21:33 -05:00
Inhishonor c1d824abbc Add a deduplicate message feature
- Adds a new class of features for message management.
- Adds a manual option to find and delete duplicate messages
- Adds a setting to automatically delete duplicates during sync
- Adds a sha256 hashing function

Co-authored-by: octoshrimpy <octoshrimpy@users.noreply.github.com>
2026-01-11 19:36:52 -08:00
octoshrimpy 41b386c7e5 Merge pull request #662 from Inhishonor/conversation-loading
Fix compose activity infinitely loading
2026-01-11 12:31:40 -05:00
octoshrimpy 6849991120 Merge pull request #648 from Inhishonor/logging-update
Clean up logging
2026-01-11 12:28:16 -05:00
octoshrimpy 6df814b0a0 Merge pull request #647 from Inhishonor/notif-improvements
Improvements to the worker and message notifications
2026-01-11 12:27:57 -05:00
Inhishonor 5687ec1ff7 Add better error handling for conversation loading 2025-12-30 08:34:25 -08:00
Inhishonor 096c7e3c68 Clean up logging 2025-12-20 17:56:05 -08:00
Inhishonor 9588cae1e3 Prevent notifications from alerting on update
This was killing the notification sound on older Android versions.
2025-12-20 14:10:38 -08:00
Inhishonor 260de358a3 Use a new icon for the worker notification 2025-12-20 14:10:38 -08:00
Inhishonor a0e0a8fd32 Make worker notification silent 2025-12-20 14:10:37 -08:00
Inhishonor 33f10e7edd Add a dedicated emoji reaction sync process
Looks better, and provides better UX
2025-12-18 16:50:01 -08:00
octoshrimpy b4bce2c1a9 Merge pull request #625 from Inhishonor/receiving-notification
Add a description to the worker notification
2025-12-12 19:50:56 -05:00
Inhishonor 4bf0aebb04 Clean up icon generation code 2025-12-12 15:10:27 -08:00
Inhishonor 5d10c17ef2 Navigate back to main screen from contacts activity
Before this change, when the back button was pressed, the app would navigate to an empty compose activity.
2025-12-12 15:09:54 -08:00
Inhishonor 29084688d1 Add a description to the worker notification
It wasn't clear why it was there, and was confusing for the end user.
2025-12-12 15:04:11 -08:00
octoshrimpy d949f92ecd Merge pull request #608 from Inhishonor/contact-back
Navigate back to main screen from contacts activity
2025-12-10 14:41:27 -05:00
Inhishonor 38a5daad17 Navigate back to main screen from contacts activity
Before this change, when the back button was pressed, the app would navigate to an empty compose activity.
2025-12-10 11:26:49 -08:00
Inhishonor d823ea3192 Fix crash on loading conversation
The switchMap was causing a crash because it was trying to use conversation as an observable, even though it is not. (caused by c3df5f231f) There is no need for this code, because the whole function is now an observable.
2025-12-07 15:01:29 -08:00
Inhishonor 732c606b12 Rework resend message action on notifications
Uses SendExistingMessage class now and a dedicated broadcast receiver.
2025-12-06 16:44:18 -08:00
Inhishonor 2f860aba36 Merge branch 'master' into upgrade-smsmms-group-individual-send-no-wait-appear-delayed-mms-mms-receive-to-worker-send-ack-mmsc 2025-10-09 18:04:02 -07:00
octoshrimpy 6f5546cd78 Merge pull request #539 from benwaffle/view-bindings
Start migration to view bindings
2025-10-04 09:17:30 -04:00
Ben Iofel e290545fb4 Fix avatar alignment for incoming messages with emojis 2025-10-01 00:57:11 -04:00
Ben Iofel ed63d27511 fix emoji count wrapping 2025-09-13 17:21:16 -04:00
Ben Iofel 3cdaf26317 more migrations 2025-09-05 01:44:06 -04:00
Ben Iofel 90723d80a7 QkRealmAdapter binding support 2025-09-05 00:56:29 -04:00