Compare commits

..

147 Commits

Author SHA1 Message Date
Greyson Parrelli
6824f09631 Bump version to 7.27.0 2024-12-04 14:28:03 -05:00
Greyson Parrelli
9b13248da6 Update translations and other static files. 2024-12-04 14:27:29 -05:00
Alex Hart
699ddb9890 Better progress messaging. 2024-12-04 14:19:41 -05:00
Cody Henthorne
1315724d52 Add sms provider failed specific messaging during registration. 2024-12-04 14:19:41 -05:00
Michelle Tang
0952afbba1 Add call link strings. 2024-12-04 14:19:41 -05:00
Greyson Parrelli
548da6a09d Update to the latest backup tests. 2024-12-04 14:19:41 -05:00
Cody Henthorne
c12d577e8b Fix GSE crash when attempting to send to non-GV2 groups. 2024-12-04 14:19:41 -05:00
Cody Henthorne
d6f8f8acb3 Fix calls silent ringer bug. 2024-12-04 14:19:41 -05:00
Greyson Parrelli
a3af237397 Inline the deleteSync capability. 2024-12-04 14:19:41 -05:00
Greyson Parrelli
f44d157f9a Inline the expireVersion capability. 2024-12-04 14:19:41 -05:00
Cody Henthorne
e6c5080a07 Handle web socket closed unexpectedly errors more gracefully. 2024-12-04 14:19:41 -05:00
Alex Hart
49e57a3c66 Fix denial dialog for call links. 2024-12-04 14:19:41 -05:00
Cody Henthorne
86d78d2e5d Fix incorrect ACI/PNI storage for revoked invites in group updates. 2024-12-04 14:19:41 -05:00
Michelle Tang
10ae26c924 Use AEP when validating backup. 2024-12-04 14:19:41 -05:00
Greyson Parrelli
a74ae00bb4 Add some more link+sync logs. 2024-12-04 14:19:40 -05:00
Greyson Parrelli
bbd6643733 Update most of the backup integration tests. 2024-12-04 14:19:40 -05:00
Jameson Williams
7b0df17d9a Convert more tests to kotlin.
Resolves #13825
2024-12-04 14:19:40 -05:00
Alex Hart
9fa6d4774d Ensure updateMessageRequestAcceptedState runs on main thread. 2024-12-04 14:19:40 -05:00
Alex Hart
d6be14a95f Split remote user check for group vs individual calls. 2024-12-04 14:19:40 -05:00
Michelle Tang
3c086f347e Add validation error UI. 2024-12-04 14:19:40 -05:00
Michelle Tang
756262c1fe Center call link button. 2024-12-04 14:19:40 -05:00
Michelle Tang
6cf6ae8f5f Use EmojiTextView for chat folder names. 2024-12-04 14:19:40 -05:00
Michelle Tang
cd7184332f Allow group removal shortcut in chat folders. 2024-12-04 14:19:40 -05:00
Michelle Tang
8e5640cffc Fix lost voice notes on orientation change. 2024-12-04 14:19:40 -05:00
Cody Henthorne
fd80df68d8 Fix empty username backupv2 export. 2024-12-04 14:19:40 -05:00
Jameson Williams
d28fa304c8 Kotlin-ize some more tests.
Resolves #13813
2024-12-04 14:19:40 -05:00
Cody Henthorne
39b4484887 Use calling service type for calls. 2024-12-04 14:19:40 -05:00
Oscar Mira
10d394f39e Inject SignalWebSocket into IncomingMessageObserver.
Resolves #13820
2024-12-04 14:19:40 -05:00
Cody Henthorne
0913b84657 Verify group ids on peer-to-peer group changes. 2024-12-04 14:19:40 -05:00
Greyson Parrelli
878900c09c Remove some unnecessary call tab requeries. 2024-12-04 14:19:40 -05:00
Greyson Parrelli
4b21e6a39f Improve storage service diff logging. 2024-12-04 14:19:40 -05:00
Cody Henthorne
8a2ac4b8dc Update GV2 spinner transformer to for group updates in message extras. 2024-12-04 14:19:40 -05:00
Cody Henthorne
84cb0d357b Fix export bugs causing validation errors. 2024-12-04 14:19:40 -05:00
Michelle Tang
3e699a132b Allow renaming of linked device. 2024-12-04 14:19:40 -05:00
Michelle Tang
ce69c5f7da Update linked devices strings. 2024-12-04 14:19:40 -05:00
Greyson Parrelli
1f91ed4274 Add an internal sqlite playground. 2024-12-04 14:19:40 -05:00
Cody Henthorne
263ea37a9e Update to libsignal 0.63.0 2024-11-25 10:25:11 -05:00
Cody Henthorne
f42bd0f374 Flesh out restore paths for regv3. 2024-11-25 09:56:53 -05:00
andrew-signal
9833101cd1 Use ChatListener to get connection interrupted event from libsignal; clear connection state when received 2024-11-23 18:15:14 -05:00
Michelle Tang
0356b01866 Fix icon gradient. 2024-11-22 16:09:24 -08:00
Alex Hart
f311a25c58 Fix multiple activity finish after donation. 2024-11-22 16:09:32 -04:00
bepaald
36c47e8346 Rebuild FTS index in V242_MessageFullTextSearchEmojiSupportV2.
Resolves #13810
2024-11-22 13:47:56 -05:00
bepaald
b09d433d5b Rebuild FTS index in V239_MessageFullTextSearchEmojiSupport. 2024-11-22 13:47:56 -05:00
bepaald
2d0e503b48 Fix creating message_fts table during database migration.
Fixes #13034
Fixes #13506
2024-11-22 13:35:01 -05:00
Cody Henthorne
a2330f443a Use AEP for regv3 flows. 2024-11-22 13:35:01 -05:00
Cody Henthorne
7d24bff134 Add unit test for RegistrationUtil. 2024-11-22 13:35:01 -05:00
Alex Hart
34eef0bf5c Add sgnl://ideal support to app deeplinks. 2024-11-22 13:35:01 -05:00
Alex Hart
c7f226b5cc Remove orphaned attachments when creating a new backup. 2024-11-22 13:35:01 -05:00
Alex Hart
bae86d127f Add "your media will be deleted today" mechanism based off last checkin time and media TTL. 2024-11-22 13:35:01 -05:00
Jim Gustafson
f16827d9ec Force relays only if remote user is not a 'Signal Connection'. 2024-11-22 13:35:01 -05:00
Greyson Parrelli
767261152a Potential fix for a backup validation error. 2024-11-22 13:35:00 -05:00
Alex Hart
91b411abb5 Add new rules to log scrubber. 2024-11-22 13:35:00 -05:00
Greyson Parrelli
b7464ffca9 Update backup integration tests. 2024-11-22 13:35:00 -05:00
Greyson Parrelli
f5a68aa7ae Bump version to 7.26.1 2024-11-22 13:32:49 -05:00
Greyson Parrelli
ae1543169d Update translations and other static files. 2024-11-22 13:32:22 -05:00
Greyson Parrelli
abb9919ba1 Add support for the new Benin phone format. 2024-11-22 12:40:39 -05:00
Greyson Parrelli
06aa9b5171 Use the correct link device flag. 2024-11-22 12:28:15 -05:00
Oscar Mira
440fc18063 Import correct InvalidKeyException in LinkDeviceRepository.
Resolves #13808
2024-11-22 11:07:43 -05:00
Greyson Parrelli
98b3b0cd11 Update libphonenumber to 8.13.50 2024-11-22 10:53:58 -05:00
Greyson Parrelli
f2c3713ae3 Bump version to 7.26.0 2024-11-21 10:52:21 -05:00
Greyson Parrelli
168efb122d Update translations and other static files. 2024-11-21 10:52:02 -05:00
Alex Hart
9e1f184994 Allow stories to be embedded with link previews that do not have titles. 2024-11-21 10:36:09 -05:00
Greyson Parrelli
c5674a37b5 Improve error reporting in storage service playground. 2024-11-21 10:36:09 -05:00
Alex Hart
59fc650761 Utilize fixed test address for mockwebserver. 2024-11-21 10:36:09 -05:00
Greyson Parrelli
88549ab10d Update backup string (digit -> character). 2024-11-21 10:36:09 -05:00
Greyson Parrelli
59403e7da8 Added a Storage Service Playground screen. 2024-11-21 10:36:09 -05:00
Greyson Parrelli
1b2c0db693 Introduce AEP and SSRE2. 2024-11-21 10:36:09 -05:00
andrew-signal
1401256ffd Make LibSignalChatConnection Only Use Each ChatService Once 2024-11-21 10:36:09 -05:00
Jameson Williams
040d05a0a6 Remove BaseUnitTest.java
Resolves #13804
2024-11-21 10:36:09 -05:00
Jameson Williams
cf24b22de9 Remove junit.framework
Resolves #13805
2024-11-21 10:36:09 -05:00
Joy
ae46a3ab62 Update bug_report.yaml
Resolves #13803
2024-11-21 10:36:09 -05:00
Greyson Parrelli
115954ef40 Rotate the link+sync flag. 2024-11-21 10:36:09 -05:00
Cody Henthorne
2f4577531d Remove mockito usage from android tests. 2024-11-21 10:36:09 -05:00
Michelle Tang
75f4fed9ce Update link+sync ui. 2024-11-21 10:36:09 -05:00
Michelle Tang
66f851e92a Fix link+sync uploads. 2024-11-21 10:36:09 -05:00
Greyson Parrelli
00e749834f Sync the MediaRootBackupKey during linking. 2024-11-21 10:36:09 -05:00
Alex Hart
cc87da13db Add deletion method to ArchiveApi. 2024-11-21 10:36:09 -05:00
Alex Konradi
f25a2f79ce Remove redundant zkcCredential=true 2024-11-21 10:36:09 -05:00
Greyson Parrelli
a71359a14d Change the JobDatabase to use a different error handler.
Relates to #13762
2024-11-21 10:36:09 -05:00
Alex Hart
6ff31b950d Implement checkin job for backups. 2024-11-21 10:36:09 -05:00
Greyson Parrelli
ae37001949 Convert InternalValues to kotlin. 2024-11-21 10:36:09 -05:00
Alex Hart
5f67bd9725 Display proper error when call link deletion fails due to call link being in use. 2024-11-21 10:36:09 -05:00
Alex Hart
a9c37a9668 Prevent displaying AppSettings content until self is non-null. 2024-11-21 10:36:09 -05:00
Jameson Williams
f5db6b6c91 Switch to using toml version catalogs.
Resolves #13792
2024-11-21 10:36:09 -05:00
Jameson Williams
cee44fcc93 Convert some Java tests to Kotlin.
Resolves #13792
2024-11-21 10:36:09 -05:00
Jameson Williams
9e49dd1270 Remove unreachable dependencies from verification-metadata.xml
I did this by clearing the components entries:

perl -i -0777 -pe 's/<components>.*?<\/components>//gs'  gradle/verification-metadata.xml

And then regenerating them:

./gradlew --write-verification-metadata sha256 qa --rerun-tasks

Resolves #13791
2024-11-21 10:36:09 -05:00
Jameson Williams
3eb1f68eb6 Resolve some gradle 8 deprecations.
Resolves #13788
2024-11-21 10:36:09 -05:00
Cody Henthorne
d5a2e1361b Fix restore/transfer string typos. 2024-11-21 10:36:09 -05:00
andrew-signal
fe782eb729 Hardcode auto-provisioning in Gradle to off. 2024-11-21 10:36:09 -05:00
Alex Hart
7f1a866e79 Detect storage space issues during restore. 2024-11-21 10:36:09 -05:00
Greyson Parrelli
b4472833b8 Include unregistered users in blocked sync message. 2024-11-21 10:36:09 -05:00
Cody Henthorne
0f4caa3dc1 Update to actions/upload-artifact v4. 2024-11-21 10:36:09 -05:00
Alex Hart
f3254f99db Add copy for paid-tier-pending dialog. 2024-11-21 10:36:09 -05:00
Alex Hart
02ecc19112 Add backup specific strings for token redemption error. 2024-11-21 10:36:09 -05:00
Greyson Parrelli
c6368a3166 Add a .tool-versions to indicate which version of java should be used. 2024-11-21 10:36:09 -05:00
Alex Hart
6de7e0cb50 Normalize receipt labeling. 2024-11-21 10:36:09 -05:00
Alex Hart
61f91d6b83 Add MediaTTL to subscriptions configuration and wire in. 2024-11-21 10:36:09 -05:00
andrew-signal
bf3012bd8a Update libsignal-net integration to match libsignal v0.62.0. 2024-11-21 10:36:09 -05:00
Alex Hart
e82dfea93c Remove old donation jobs. 2024-11-21 10:36:09 -05:00
Greyson Parrelli
ed1348c20d Bump version to 7.25.2 2024-11-21 10:33:49 -05:00
Alex Hart
af44985071 Fix bad active state check for subscriptions. 2024-11-21 10:33:17 -05:00
Greyson Parrelli
49eb80b440 Bump version to 7.25.1 2024-11-20 20:02:17 -05:00
Greyson Parrelli
5680098f45 Update translations and other static files. 2024-11-20 20:01:46 -05:00
Greyson Parrelli
03b1ffe415 Add extra catch to adding system contact links. 2024-11-20 19:49:02 -05:00
Cody Henthorne
8b2d17c5c8 Fix mark registration complete flag. 2024-11-20 19:44:00 -05:00
Greyson Parrelli
9b36c62ba3 Bump version to 7.25.0 2024-11-13 22:44:25 -05:00
Greyson Parrelli
aacf5e510c Update translations and other static files. 2024-11-13 22:43:59 -05:00
Greyson Parrelli
236b292e67 Fix icon scaling. 2024-11-13 22:23:34 -05:00
andrew-signal
67dc29a549 Fix CI by bumping heap size to 12GB. 2024-11-13 22:09:18 -05:00
John Carlson
94faa3f15c Remove Apache http client dependency.
Resolves #13786
2024-11-13 21:54:15 -05:00
Waldir Pimenta
f1b05fd1c4 Fix typo in prompt to navigate to settings.
Resolves #13779
2024-11-13 21:52:34 -05:00
andrew-signal
c6c7df2dd1 Improve documentation around code formatting and dependencies. 2024-11-13 21:46:55 -05:00
Cody Henthorne
75f0d3363b Add user restore method selection plumbing to old device. 2024-11-13 21:46:55 -05:00
Greyson Parrelli
b6bb3928e7 Convert SignalStorageManifest to kotlin. 2024-11-13 21:46:55 -05:00
Greyson Parrelli
7dd1fc09c0 The rest of the storage service unwrapping. 2024-11-13 21:46:55 -05:00
Greyson Parrelli
8746f483c0 Convert SignalStorageCipher and keys to kotlin. 2024-11-13 21:46:55 -05:00
Greyson Parrelli
2ebf668db4 Convert StorageServiceValues to kotlin. 2024-11-13 21:46:55 -05:00
Alex Hart
5930a8133a Filter out cancelled subscriptions in 'isInProgress' check 2024-11-13 21:46:55 -05:00
Alex Hart
39a5bc21dd Update method by which we check for remote device count. 2024-11-13 21:46:55 -05:00
Greyson Parrelli
a44c18d13f Convert MultiDeviceKeysUpdateJob to kotlin. 2024-11-13 21:46:55 -05:00
Greyson Parrelli
281a939338 Remove some unused device linking code. 2024-11-13 21:46:55 -05:00
Alex Hart
44f0d504cf Disable billing api on staging. 2024-11-13 21:46:55 -05:00
Greyson Parrelli
e0100184ff Convert StorageAccountRestoreJob to kotlin. 2024-11-13 21:46:55 -05:00
Alex Hart
86fa90aee7 Fix about row color in app settings. 2024-11-13 21:46:55 -05:00
Alex Hart
6053c4aac5 Include call link count when determining total content count of calls tab. 2024-11-13 21:46:55 -05:00
Greyson Parrelli
58d9127ae4 Fix image-editor build. 2024-11-13 21:46:55 -05:00
Greyson Parrelli
dcdfe0b762 Simplify SignalStorageRecord. 2024-11-13 21:46:55 -05:00
Greyson Parrelli
ae37c4019f Remove cruft around SignalAccountRecord. 2024-11-13 21:46:55 -05:00
Michelle Tang
5e8318d63f Fix theme transitions in chats. 2024-11-13 21:46:55 -05:00
Alex Hart
3235982f17 Wire in endOfPeriod time. 2024-11-13 21:46:55 -05:00
Alex Hart
b39eff67a6 Pass in the end-of-period value to the media backups are off alert fragment. 2024-11-08 15:03:14 -04:00
Michelle Tang
aa99a456d2 Fix disabled media send button. 2024-11-08 14:01:16 -05:00
Michelle Tang
ea38376c3a Fix extraneous incremental chunk sizes. 2024-11-08 11:16:00 -05:00
Alex Hart
ed24fd0c4b Utilize re-entrant locking for in app payments instead of synchronized blocks. 2024-11-08 11:16:00 -05:00
Greyson Parrelli
a79b4c3ba0 Convert StorageSyncModels to kotlin. 2024-11-08 11:16:00 -05:00
Greyson Parrelli
89767cc260 Convert StoryDistributionListRecordProcessor to kotlin. 2024-11-08 11:16:00 -05:00
Greyson Parrelli
befb433999 Convert GroupV2RecordProcessor to kotlin. 2024-11-08 11:16:00 -05:00
Greyson Parrelli
d5f68130fe Convert GroupV1RecordProcessor to kotlin. 2024-11-08 11:16:00 -05:00
Greyson Parrelli
0f8580c398 Convert AccountRecordProcessor to kotlin. 2024-11-08 11:16:00 -05:00
Greyson Parrelli
4273d9e3d7 Convert StorageSyncHelper to kotlin. 2024-11-08 11:16:00 -05:00
Cody Henthorne
927871b0dc Convert RegistrationValues to kotlin. 2024-11-08 11:16:00 -05:00
Alex Hart
445b7ef76f Add support for upgrades from warning sheet. 2024-11-08 11:16:00 -05:00
Alex Hart
7f1d59f40a Add utility method to get amount of free space available to device data partition. 2024-11-08 11:16:00 -05:00
Cody Henthorne
22c4e2d084 Update registration for new restore flows. 2024-11-08 11:16:00 -05:00
Greyson Parrelli
aad2624bd5 Bump version to 7.24.2 2024-11-08 10:34:39 -05:00
Greyson Parrelli
b2a444ea75 Update translations and other static files. 2024-11-08 10:33:37 -05:00
Michelle Tang
2c842ae385 Fix attachment crashes.
Fixes #13776
2024-11-08 09:23:49 -05:00
1042 changed files with 38507 additions and 26271 deletions

View File

@@ -15,7 +15,7 @@ body:
id: guidelines
attributes:
label: "Guidelines"
description: "Search issues here: https://github.com/signalapp/Signal-Android/issues"
description: "Search issues here: https://github.com/signalapp/Signal-Android/issues/?q=is%3Aissue+"
options:
- label: I have searched searched open and closed issues for duplicates
required: true

View File

@@ -5,8 +5,7 @@ on:
push:
branches:
- 'main'
- '4.**'
- '5.**'
- '7.**'
permissions:
contents: read # to fetch code (actions/checkout)
@@ -36,7 +35,7 @@ jobs:
- name: Archive reports for failed build
if: ${{ failure() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: reports
path: '*/build/reports'

View File

@@ -83,7 +83,7 @@ jobs:
issue-number: ${{ github.event.pull_request.number }}
token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: diffuse-output
path: ${{ steps.diffuse.outputs.diff-file }}

1
.tool-versions Normal file
View File

@@ -0,0 +1 @@
java 17.0.2

View File

@@ -63,6 +63,8 @@ You will need to [sign our CLA](https://signal.org/cla/) before your pull reques
### Follow the Code Style Guidelines
Ensure that your code adheres to the [Code Style Guidelines](https://github.com/signalapp/Signal-Android/wiki/Code-Style-Guidelines) before submitting a pull request.
You can run `./gradlew format` to automatically check conformance with some of these guidelines.
### Submit finished and well-tested pull requests
Please do not submit pull requests that are still a work in progress. Pull requests should be thoroughly tested and ready to merge before they are submitted.

View File

@@ -21,8 +21,8 @@ plugins {
apply(from = "static-ips.gradle.kts")
val canonicalVersionCode = 1483
val canonicalVersionName = "7.24.1"
val canonicalVersionCode = 1490
val canonicalVersionName = "7.27.0"
val currentHotfixVersion = 0
val maxHotfixVersions = 100
@@ -84,7 +84,6 @@ android {
ndkVersion = signalNdkVersion
flavorDimensions += listOf("distribution", "environment")
useLibrary("org.apache.http.legacy")
testBuildType = "instrumentation"
android.bundle.language.enableSplit = false
@@ -542,7 +541,6 @@ dependencies {
implementation(libs.signal.ringrtc)
implementation(libs.leolin.shortcutbadger)
implementation(libs.emilsjolander.stickylistheaders)
implementation(libs.apache.httpclient.android)
implementation(libs.glide.glide)
implementation(libs.roundedimageview)
implementation(libs.materialish.progress)
@@ -618,8 +616,6 @@ dependencies {
androidTestImplementation(testLibs.androidx.test.core)
androidTestImplementation(testLibs.androidx.test.core.ktx)
androidTestImplementation(testLibs.androidx.test.ext.junit.ktx)
androidTestImplementation(testLibs.mockito.android)
androidTestImplementation(testLibs.mockito.kotlin)
androidTestImplementation(testLibs.mockk.android)
androidTestImplementation(testLibs.square.okhttp.mockserver)
androidTestImplementation(testLibs.diff.utils)

Some files were not shown because too many files have changed in this diff Show More