Commit Graph
16457 Commits
Author SHA1 Message Date
Greyson ParrelliandCody Henthorne fbcf6e11ef Update rules for expiring messages in backupsV2. 2025-03-26 13:59:11 -04:00
andrew-signalandCody Henthorne 41783368bd Reject invalid TLS proxy configurations. 2025-03-26 13:59:11 -04:00
andrew-signalandCody Henthorne 9b98337e82 Adjust LibSignalChatConnection.disconnect() so we only transition to DISCONNECTED once. 2025-03-26 13:59:11 -04:00
Greyson ParrelliandCody Henthorne 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-signalandCody Henthorne 2743bec704 Bump to libsignal v0.67.6 2025-03-26 13:59:11 -04:00
Greyson ParrelliandCody Henthorne dd1697de41 Improve display and management of backup progress. 2025-03-26 13:59:11 -04:00
Michelle TangandCody Henthorne 5b18f05aa8 Add date to linked device notification. 2025-03-26 13:59:11 -04:00
Michelle TangandCody Henthorne 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 TangandCody Henthorne 82bb18e218 Clean up chat folder records. 2025-03-26 13:59:11 -04:00
Jeffrey StarkeandCody Henthorne 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 GustafsonandCody Henthorne 28481e3aab Update to RingRTC v2.50.3 2025-03-26 13:59:11 -04:00
Jeffrey StarkeandCody Henthorne 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 StarkeandCody Henthorne c876c7847e Use AttachmentSaver to save story images. 2025-03-26 13:59:11 -04:00
Jeffrey StarkeandCody Henthorne 293012c219 Add unit test coverage for AttachmentSaver. 2025-03-26 13:59:11 -04:00
Jeffrey StarkeandCody Henthorne 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 HartandCody Henthorne 86afafac31 Clean up imports in InAppPaumentAuthCheckJob. 2025-03-26 13:59:11 -04:00
Alex HartandCody Henthorne 05326acadc Fix potential crash if snackbar action is processed when fragment is not attached. 2025-03-26 13:59:11 -04:00
Alex HartandCody Henthorne 80fc40bbc2 Do not show outgoing calls in missed call filter. 2025-03-26 13:59:11 -04:00
Milan StevanovicandCody Henthorne 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 TangandCody Henthorne 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 HartandCody Henthorne 1e866a1e86 Do not create one-time receipt during auth check. 2025-03-26 13:59:11 -04:00
Alex HartandCody Henthorne 6f52851222 Update with newBuilder. 2025-03-26 13:59:11 -04:00
Greyson ParrelliandCody Henthorne 0efccf67b8 Format backup progress numbers. 2025-03-26 13:59:11 -04:00
Greyson ParrelliandCody Henthorne e555802636 Add internal settings button to add dummy messages. 2025-03-26 13:59:11 -04:00
Alex HartandCody Henthorne 4b3013984e Add unit tests to check for unregistered state. 2025-03-26 13:59:11 -04:00
Alex HartandCody Henthorne 5d4fec2e73 Utilize newBuilder instead of copy in unit test. 2025-03-26 13:59:11 -04:00
Greyson ParrelliandCody Henthorne 1adcfd5abb Add custom STOPSHIP handling. 2025-03-26 13:59:11 -04:00
Greyson ParrelliandCody Henthorne 3727a8e1df Add internal setting for forcing backup tier. 2025-03-26 13:59:11 -04:00
Alex HartandCody Henthorne ac4db23709 Add test for unregistered user state to InAppPaymentRecurringContextJobTest. 2025-03-26 13:59:11 -04:00
Alex HartandCody Henthorne e3356163bf Fix unit tests missing isRegistered check. 2025-03-26 13:59:11 -04:00
Alex HartandCody Henthorne f6aa324d41 Add unit testing for SharedInAppPaymentPipeline. 2025-03-26 13:59:11 -04:00
Michelle TangandCody Henthorne ca5754cff3 Use standard avatar blur gradient algorithm. 2025-03-26 13:59:11 -04:00
Alex HartandCody Henthorne 629f5a3a3d Add several registered checks. 2025-03-26 13:59:11 -04:00
Jim GustafsonandCody Henthorne 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
Alex HartandCody Henthorne 92a28f7103 Ensure payment is in proper state before popping external iDEAL authorization. 2025-03-26 13:59:11 -04:00
andrew-signalandCody Henthorne 2a767c1e18 Fix races causing flakes in LibSignalChatConnectionTest. 2025-03-26 13:59:11 -04:00
Cody Henthorne d3f622478f Convert remaining profile apis to use WebSockets and remove REST fallback. 2025-03-26 13:59:11 -04:00
Cody Henthorne c66819449d Convert provisioning and certificate endpoints to WebSocket and finalize attachments. 2025-03-26 13:59:11 -04:00
Cody Henthorne aeec3a6f7e Convert prekey requests to WebSocket. 2025-03-26 13:59:11 -04:00
Michelle TangandCody Henthorne da3fc408f8 Update conversation header with group members. 2025-03-26 13:59:11 -04:00
Cody Henthorne 41e0f2193a Convert SVR and GV2 auth requests to WebSocket. 2025-03-26 13:59:11 -04:00
Cody Henthorne 9e9a47f0da Convert WebSocket messaging apis to NetworkResult. 2025-03-26 13:59:11 -04:00
Cody Henthorne 7108d350e6 Fix spoiler rendering in story captions. 2025-03-26 13:59:11 -04:00
Cody Henthorne e9ae40e749 Fix draft lost bug when leaving media send flow. 2025-03-26 13:59:11 -04:00
Alex HartandCody Henthorne 7cc4677120 Migrate paypal and stripe interactions to durable background jobs. 2025-03-26 13:59:11 -04:00