Commit graph

18013 commits

Author SHA1 Message Date
Greyson Parrelli
eba5c5ceeb Add support for configuration cache. 2025-03-26 13:59:12 -04:00
Jeffrey Starke
0f72c6face Fix missing toast message after write external storage permission is denied while saving an attachment.
`AttachmentSaver` was missing logic to show a toast message after the user denies `WRITE_EXTERNAL_STORAGE` permission.

#### Changeset
- Add missing toast after write external storage permission is denied.
- Add unit test coverage for `AttachmentSaver` result messages.
- Rename `AttachmentSaver` string resource names so they all have the same prefix.
2025-03-26 13:59:12 -04:00
Alex Hart
b6f98521c8 Implement auto-lower-hand. 2025-03-26 13:59:12 -04:00
Alex Hart
32b710a3ca Rewrite bottom navigation in compose. 2025-03-26 13:59:12 -04:00
Greyson Parrelli
a9ed6b6154 Fix ktlinformat on windows. 2025-03-26 13:59:12 -04:00
Jeffrey Starke
9db5f6ddd2 Use AttachmentSaver to save media preview files to device storage. 2025-03-26 13:59:12 -04:00
Jeffrey Starke
a26377db6c Update MockK to v1.13.17
To get access to the fix for mockk/mockk#939.
2025-03-26 13:59:12 -04:00
Jeffrey Starke
f0bb74a187 Use AttachmentSaver to save image editor files to device storage. 2025-03-26 13:59:12 -04:00
Dipesh Pal
b1ff5dc5ef Preserve search term when refreshing contacts.
Fixes #14051
2025-03-26 13:59:12 -04:00
mosfet80
773b116a83 Update benchmark-libs.versions.toml
Fix cve2020-15250
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-15250
2025-03-26 13:59:12 -04:00
mosfet80
765d1cc8ec Update android.yml
Update libs
Fix node.js<20 deprecation

deprecated by gradle/actions/wrapper-validation.
2025-03-26 13:59:12 -04:00
Greyson Parrelli
fbcf6e11ef Update rules for expiring messages in backupsV2. 2025-03-26 13:59:11 -04:00
andrew-signal
41783368bd Reject invalid TLS proxy configurations. 2025-03-26 13:59:11 -04:00
andrew-signal
9b98337e82 Adjust LibSignalChatConnection.disconnect() so we only transition to DISCONNECTED once. 2025-03-26 13:59:11 -04:00
Greyson Parrelli
7c9cd8964f Update attachment backfill proto. 2025-03-26 13:59:11 -04:00
Cody Henthorne
e2961a3f6f Add auto-fill backup key support. 2025-03-26 13:59:11 -04:00
andrew-signal
2743bec704 Bump to libsignal v0.67.6 2025-03-26 13:59:11 -04:00
Greyson Parrelli
dd1697de41 Improve display and management of backup progress. 2025-03-26 13:59:11 -04:00
Michelle Tang
5b18f05aa8 Add date to linked device notification. 2025-03-26 13:59:11 -04:00
Michelle Tang
a681d06de5 Fix chevron placement for rtl languages. 2025-03-26 13:59:11 -04:00
Cody Henthorne
cef839d300 Add verify AEP screen. 2025-03-26 13:59:11 -04:00
Michelle Tang
82bb18e218 Clean up chat folder records. 2025-03-26 13:59:11 -04:00
Jeffrey Starke
247c5de140 Add .compose and .view subpackages to core-ui module. 2025-03-26 13:59:11 -04:00
Cody Henthorne
8fc358f0a5 Fix incorrect showing of backups enabled bottom sheet on flow exit. 2025-03-26 13:59:11 -04:00
Jim Gustafson
28481e3aab Update to RingRTC v2.50.3 2025-03-26 13:59:11 -04:00
Jeffrey Starke
bf8f603dcf Pause story playback while saving media.
Story playback was previously paused when the context menu is opened, but resumed while saving the media.

With this change, playback will remain paused while saving media, so the user doesn't potentially miss any stories while clicking through the dialogs to save media to their device storage.
2025-03-26 13:59:11 -04:00
Jeffrey Starke
c876c7847e Use AttachmentSaver to save story images. 2025-03-26 13:59:11 -04:00
Jeffrey Starke
293012c219 Add unit test coverage for AttachmentSaver. 2025-03-26 13:59:11 -04:00
Jeffrey Starke
b9dc5cbe4f Consolidate attachment saving logic into unified AttachmentSaver class.
Introduces `AttachmentSaver` to centralize all of the steps needed to save message attachments to the device storage. It handles the entire workflow including: 
- Showing the save to storage warning/confirmation dialog.
- Requesting `WRITE_EXTERNAL_STORAGE` permission.
- Showing/dismissing media save progress.

Goals of this new class:
- Make it easy to save media attachments anywhere with just a few lines of code (and easier to replace the deprecated `SaveAttachmentTask`).
- Ensure all of the necessary steps are consistently performed at each usage site (which wasn't the case before).
- Make it easier to unit test the save attachment logic.
2025-03-26 13:59:11 -04:00
Alex Hart
86afafac31 Clean up imports in InAppPaumentAuthCheckJob. 2025-03-26 13:59:11 -04:00
Alex Hart
05326acadc Fix potential crash if snackbar action is processed when fragment is not attached. 2025-03-26 13:59:11 -04:00
Alex Hart
80fc40bbc2 Do not show outgoing calls in missed call filter. 2025-03-26 13:59:11 -04:00
Milan Stevanovic
f0e6b2944a Eliminate zero-sized samples from contributing to the audio track.
Eliminating unnecessary and potentially counter-productive zero-sized
samples from the audio trak. The Android MP4 multiplexer tends to add
them at the very end of the audio stream. Their presence may negatively
affect the declared audio stream duration, and pose further complications
down the road.

The changes are verified on Samsung A54 (Android 14) device.
2025-03-26 13:59:11 -04:00
Michelle Tang
c1f96e5bd3 Fix conversation header position. 2025-03-26 13:59:11 -04:00
Cody Henthorne
2d9135da93 Add excluded directories to STOPSHIP task. 2025-03-26 13:59:11 -04:00
Cody Henthorne
095ae82483 Convert remote config apis to WebSocket. 2025-03-26 13:59:11 -04:00
Alex Hart
1e866a1e86 Do not create one-time receipt during auth check. 2025-03-26 13:59:11 -04:00
Alex Hart
6f52851222 Update with newBuilder. 2025-03-26 13:59:11 -04:00
Greyson Parrelli
0efccf67b8 Format backup progress numbers. 2025-03-26 13:59:11 -04:00
Greyson Parrelli
e555802636 Add internal settings button to add dummy messages. 2025-03-26 13:59:11 -04:00
Alex Hart
4b3013984e Add unit tests to check for unregistered state. 2025-03-26 13:59:11 -04:00
Alex Hart
5d4fec2e73 Utilize newBuilder instead of copy in unit test. 2025-03-26 13:59:11 -04:00
Greyson Parrelli
1adcfd5abb Add custom STOPSHIP handling. 2025-03-26 13:59:11 -04:00
Greyson Parrelli
3727a8e1df Add internal setting for forcing backup tier. 2025-03-26 13:59:11 -04:00
Alex Hart
ac4db23709 Add test for unregistered user state to InAppPaymentRecurringContextJobTest. 2025-03-26 13:59:11 -04:00
Alex Hart
e3356163bf Fix unit tests missing isRegistered check. 2025-03-26 13:59:11 -04:00
Alex Hart
f6aa324d41 Add unit testing for SharedInAppPaymentPipeline. 2025-03-26 13:59:11 -04:00
Michelle Tang
ca5754cff3 Use standard avatar blur gradient algorithm. 2025-03-26 13:59:11 -04:00
Alex Hart
629f5a3a3d Add several registered checks. 2025-03-26 13:59:11 -04:00
Jim Gustafson
076b47e695 Improve calling reliability with relay server response cache.
Co-authored-by: Cody Henthorne <cody@signal.org>
2025-03-26 13:59:11 -04:00