Compare commits

..

441 Commits

Author SHA1 Message Date
Greyson Parrelli
28c280947f Bump version to 7.30.1 2025-01-17 16:09:55 -05:00
Greyson Parrelli
04a193c255 Update translations and other static files. 2025-01-17 16:02:51 -05:00
Greyson Parrelli
0695a01725 Improve backup validation of empty items. 2025-01-17 15:54:42 -05:00
Greyson Parrelli
a943186510 Remove improper clamping of muteUntilMs. 2025-01-17 15:25:26 -05:00
Greyson Parrelli
a74ccdf25e Add backup support for direct story reply revisions. 2025-01-17 15:16:55 -05:00
Greyson Parrelli
960bab4f94 Update backup export to remove storySentTimestamp. 2025-01-17 15:16:43 -05:00
Greyson Parrelli
69c4026f4d Add potential fix for some users in the v191 database migration.
Relates to #13034
2025-01-17 11:20:18 -05:00
Greyson Parrelli
50db945ef1 Bump version to 7.30.0 2025-01-16 16:44:06 -05:00
Greyson Parrelli
ea178eefc7 Update baseline profile. 2025-01-16 16:43:08 -05:00
Greyson Parrelli
f6b839f3ab Update translations and other static files. 2025-01-16 16:37:04 -05:00
Alex Hart
0b24e42448 Improve call tab performance. 2025-01-16 16:24:29 -05:00
Michelle Tang
71c21eeba6 Add date to unlinked dialog. 2025-01-16 16:24:29 -05:00
Alex Hart
5a4c8a6f9a Fix header mode when call is reconnecting. 2025-01-16 16:24:29 -05:00
Michelle Tang
f9ec9ac2fd Fix do not disturb settings for calls. 2025-01-16 16:24:29 -05:00
Greyson Parrelli
1459dbf64d Add backup support for DirectStoryReplyMessages. 2025-01-16 16:24:29 -05:00
Alex Hart
adda6f9ba8 Remove bad instrumentation test. 2025-01-16 16:24:29 -05:00
Greyson Parrelli
681858341a Update to libsignal 0.65.2 2025-01-16 16:24:29 -05:00
Greyson Parrelli
8d6b8f39ce Add backup support for contact nicknames and notes. 2025-01-16 16:24:29 -05:00
Greyson Parrelli
524fb1aa5a Update libsignal to 0.65.1 2025-01-15 15:09:13 -05:00
Cody Henthorne
6a210b4f9d Remove fix group left incorrectly migration job. 2025-01-15 13:47:16 -05:00
Cody Henthorne
e9d80f4379 Fix progress display hiding way before registration navigation.
Fixes #13850
Closes #13898

Co-authored-by: Sagar <sagar.0dev@gmail.com>
2025-01-15 12:47:43 -05:00
Cody Henthorne
93604f53d4 Fix incorrect left group in local state bug. 2025-01-15 11:50:00 -05:00
Greyson Parrelli
8777c1ff89 Add small system for consolidating archive export errors. 2025-01-15 10:17:46 -05:00
Cody Henthorne
039bebb30c Fix incorrect registration challenge handling when requesting verification codes. 2025-01-14 15:53:33 -05:00
Greyson Parrelli
cc3c75c870 Exclude invalid long messages from backups. 2025-01-14 15:27:04 -05:00
Michelle Tang
cdc9d3e07d Add polling for devices. 2025-01-14 12:36:12 -05:00
Cody Henthorne
eff2bf429d Fix country picker reproducible builds bug. 2025-01-14 12:36:12 -05:00
Michelle Tang
f4ed8e29f4 Handle nonretryable errors during link + sync. 2025-01-14 12:36:12 -05:00
Alex Hart
148b40e4ff Introduce additional logging for group call updates. 2025-01-14 12:36:12 -05:00
Greyson Parrelli
54bbe48869 Add app migration for SSRE2 capability. 2025-01-14 12:36:12 -05:00
Michelle Tang
9966bf2fbd Fix cropping on large images. 2025-01-14 12:36:12 -05:00
Sagar
342b11a3ea Story Privacy Setting UI issues
Fixes #13863
Resolves #13892

Co-authored-by: Greyson Parrelli <greyson@signal.org>
2025-01-14 12:36:12 -05:00
Greyson Parrelli
2174db5bbf Remove unused ToggleRow.enabled flag. 2025-01-14 12:36:12 -05:00
Greyson Parrelli
af6518e3de Validate serviceIds in pinned chats. 2025-01-14 12:36:12 -05:00
Michelle Tang
d4c8c16df3 Notify a user when they link a device. 2025-01-13 21:49:50 -05:00
Cody Henthorne
919648b94b Prevent calls crashing due to background restrictions. 2025-01-13 21:49:50 -05:00
Cody Henthorne
a63fd5a584 Fix gv2 left group locally bugs in backup and compose. 2025-01-13 21:49:50 -05:00
Greyson Parrelli
123c282610 Attempt to rebuild the FTS index in DB error handler. 2025-01-13 21:49:50 -05:00
Greyson Parrelli
54ecb0bb53 Improve error handling for serialized job data. 2025-01-13 21:49:50 -05:00
Sagar
dcddab0992 Prevent overlapping contact refreshes.
Fixes #13852
Resolves #13874
2025-01-13 21:49:50 -05:00
Sagar
6d7247ec03 Prevent changing to the same phone number.
Fixes #13864
Resolvse #13883
2025-01-13 21:49:50 -05:00
Terry Schmidt
1de32856e7 Remove comment about checking for easy label.
Resolves #13897
2025-01-13 21:49:50 -05:00
Greyson Parrelli
b65610f060 Fix DatabaseConsistencyCheck SQL normalizer. 2025-01-13 21:49:50 -05:00
Alex Hart
e5e74967dc Claim IAP subscription if we detect a payment token mismatch. 2025-01-13 21:49:50 -05:00
Michelle Tang
fe5de65273 Add ability to cancel a link+sync. 2025-01-13 21:49:50 -05:00
Greyson Parrelli
d473ff6e86 Fix expirationTime for call links. 2025-01-13 21:49:50 -05:00
Greyson Parrelli
7611b2421d Fix test compilation issues. 2025-01-13 21:49:50 -05:00
Greyson Parrelli
6c6e3230bd Enable the SSRE2 capability. 2025-01-13 21:49:50 -05:00
Greyson Parrelli
6487fbe687 Update libsignal to 0.65.0 2025-01-13 21:49:50 -05:00
Cody Henthorne
ef71410eaf Mitigate flaky network by retrying link+sync api calls. 2025-01-13 21:49:49 -05:00
Greyson Parrelli
b983a56dd2 Ensure that backup timestamps are within a certain range. 2025-01-13 21:49:49 -05:00
Greyson Parrelli
7042ce8c5c Ensure that ANR traces are kept within a reasonable size range. 2025-01-13 21:49:49 -05:00
Michelle Tang
84e22789c8 Add wake lock when linking devices. 2025-01-13 21:49:49 -05:00
Alex Hart
23f90e070e Add whoami check for receipt_credentials. 2025-01-13 21:49:49 -05:00
Cody Henthorne
0dbab7ede0 Mitigate PNI editor server bug for group member add updates. 2025-01-13 21:49:49 -05:00
Cody Henthorne
8c3774b3ee Fix 1:1 call unknown state validation failure. 2025-01-13 21:49:49 -05:00
Greyson Parrelli
2da4fc1cd0 Dedupe packs when reading from sticker table. 2025-01-13 21:49:49 -05:00
Greyson Parrelli
465c852e8b Convert StickerTable to kotlin. 2025-01-13 21:49:49 -05:00
Jameson Williams
1509e3ed79 Convert tests from Hamcrest -> AssertK. 2025-01-13 21:49:49 -05:00
Jameson Williams
33c918defd Convert tests to Kotlin, remove Hamcrest.
Resolves #13884
2025-01-13 21:49:49 -05:00
Rainer Matischek
2a2a6e6a0d Update KeepMessageDuration for 1 year to 366 days.
This allows you to see messages that are exactly one year old (like
birthday wishes) as well as accounts for leap year.

Resolves #13889
2025-01-13 21:49:49 -05:00
Cody Henthorne
e969661699 Do not include identity message from self in backup. 2025-01-13 21:49:49 -05:00
Cody Henthorne
d8848a2a80 Fix dangling open cursors in AnalyzeDatabaseJob. 2025-01-13 21:49:49 -05:00
Jim Gustafson
1a0bbbed54 Update to RingRTC v2.49.2 2025-01-13 21:49:49 -05:00
Greyson Parrelli
35a6c1e5c9 Bump version to 7.29.4 2025-01-13 21:48:57 -05:00
Greyson Parrelli
76eca54f1f Update translations and other static files. 2025-01-13 21:48:12 -05:00
Cody Henthorne
71dfbc8bcb Use recommended style for group title search. 2025-01-13 21:12:40 -05:00
Greyson Parrelli
3dee05c4ef Fix review banner background. 2025-01-13 21:11:15 -05:00
Greyson Parrelli
f6a1aca952 Bump version to 7.29.3 2025-01-13 08:24:55 -05:00
Greyson Parrelli
bba20ae0b1 Update baseline profile. 2025-01-13 08:24:30 -05:00
Greyson Parrelli
e376dc9069 Update translations and other static files. 2025-01-10 15:40:29 -05:00
Greyson Parrelli
358bb8a2ec Fix unread filter visibility. 2025-01-10 14:34:00 -05:00
Greyson Parrelli
3f94cdab36 Fix bad checkbox color in help fragment. 2025-01-10 12:37:02 -05:00
Greyson Parrelli
df51702a2c Fix calendar background color. 2025-01-10 12:26:16 -05:00
Greyson Parrelli
24cacad503 Fix text highlight color. 2025-01-10 12:19:14 -05:00
Greyson Parrelli
fd78884635 Fix announcement group text link color.
Ended up reorganizing some theme colors too, but didn't change any.
2025-01-10 12:04:10 -05:00
Greyson Parrelli
81af290a83 Bump version to 7.29.2 2025-01-09 18:04:42 -05:00
Greyson Parrelli
17105978f5 Update baseline profile. 2025-01-09 18:04:42 -05:00
Greyson Parrelli
346000c10d Update translations and other static files. 2025-01-09 18:04:42 -05:00
Greyson Parrelli
e76309f8e1 Fix auth prompt during linked device flow. 2025-01-09 18:04:42 -05:00
Cody Henthorne
d23c6fb41c Fix call camera enable on rotation bug. 2025-01-09 18:00:11 -05:00
Greyson Parrelli
8d8c21f228 Improve message validation. 2025-01-09 15:43:37 -05:00
Greyson Parrelli
b2c09cf00b Revert to androidx-camera 1.3.4 2025-01-09 13:46:08 -05:00
Greyson Parrelli
a39c6f4c23 Bump version to 7.29.1 2025-01-08 13:50:58 -05:00
Greyson Parrelli
e515d72b51 Update baseline profile. 2025-01-08 13:49:19 -05:00
Greyson Parrelli
8116508d82 Update translations and other static files. 2025-01-08 13:44:14 -05:00
Greyson Parrelli
08f91b4583 Fix bug with re-opting into PINs. 2025-01-08 13:32:08 -05:00
Greyson Parrelli
7d98850825 Update aapt2 gradle hash for windows. 2025-01-08 12:44:43 -05:00
Greyson Parrelli
f173e9316f Fix various Material3 theming issues. 2025-01-08 12:27:26 -05:00
Greyson Parrelli
0e890ee03c Revert "Add missing required material3 dialog theme attribute."
This reverts commit 36d8e75eb1.
2025-01-08 12:27:19 -05:00
Greyson Parrelli
1e9bd2be09 Reapply "Update our base themes to avoid crashing MaterialAlertDialog."
This reverts commit d1f47972e7.
2025-01-08 12:27:11 -05:00
Alex Hart
5a9bc49492 Add proper toast message when call link in use. 2025-01-07 17:03:38 -04:00
Greyson Parrelli
d95a002e54 Bump version to 7.29.0 2025-01-07 15:18:11 -05:00
Greyson Parrelli
058bbf71b3 Update baseline profile. 2025-01-07 15:17:41 -05:00
Greyson Parrelli
bab205922e Update translations and other static files. 2025-01-07 15:12:17 -05:00
Alex Hart
8da7ef9a3e Add loading state to toggle switch and enforce when changing call link admin settings. 2025-01-07 15:12:17 -05:00
Greyson Parrelli
90fdcbf7b6 Fix benchmark build. 2025-01-07 15:12:17 -05:00
Greyson Parrelli
a4ca8faf15 Disable the SSRE2 capability for now. 2025-01-07 12:17:19 -05:00
Greyson Parrelli
36d8e75eb1 Add missing required material3 dialog theme attribute. 2025-01-07 12:05:53 -05:00
Greyson Parrelli
d1f47972e7 Revert "Update our base themes to avoid crashing MaterialAlertDialog."
This reverts commit 446c7d6bf3.
2025-01-07 11:30:10 -05:00
Sagar
39a1ae7722 Fix bug showing null string on empty search.
Fixes #13854
Resolves #13878
2025-01-07 11:28:07 -05:00
Michelle Tang
e1d8870160 Stop in-chat notification sounds if notifications are disabled. 2025-01-06 12:42:34 -05:00
Alex Hart
de6b9bc4ef Exclude unregistered group members from invalid collisions check.
Fixes #13866
2025-01-06 13:38:53 -04:00
Greyson Parrelli
0655b6f767 Inline and enable the SSRE2 config. 2025-01-06 12:27:36 -05:00
Greyson Parrelli
6643256d54 Ensure new manifest is saved after rotation. 2025-01-06 12:27:36 -05:00
Michelle Tang
3af3da6b60 Fix proximity sensor for voice notes. 2025-01-06 12:02:13 -05:00
Alex Hart
c5207cb8a6 Ensure filter is not retriggered when formatting.
Fixes #13876
2025-01-06 13:00:31 -04:00
Greyson Parrelli
a504c9dd56 Fix overflow handling in condensed mode. 2025-01-06 11:49:16 -05:00
Greyson Parrelli
62038e83dd Fix text overflow length calculation. 2025-01-06 11:22:29 -05:00
Greyson Parrelli
c3a49766bf Initialize database error handler with application instance. 2025-01-06 10:24:06 -05:00
Sagar
870f20aa78 Fix ability to share text stories.
Fixes #13855
Resolves #13879
2025-01-06 10:24:06 -05:00
Sagar
652e14b302 Fix leaked refreshActiveSubscription disposable. 2025-01-06 11:17:21 -04:00
Michelle Tang
3e91be66df Update string translation comments. 2025-01-03 17:44:26 -05:00
Michelle Tang
5f0cd622cf Fix small gap in call menu. 2025-01-02 11:53:40 -05:00
Greyson Parrelli
b5fe5d2dd5 Capitalize log section title. 2024-12-30 14:15:15 -05:00
Greyson Parrelli
e3636422d4 Add trigger definitions to logs. 2024-12-30 13:38:15 -05:00
Greyson Parrelli
db8968e3b2 Fix typo in sql query. 2024-12-30 13:38:15 -05:00
Michelle Tang
e5fc3485a2 Fix cutoff string in help section. 2024-12-27 14:11:46 -05:00
Greyson Parrelli
18796f52c6 Revert "Improve table display in Spinner."
This reverts commit df96b05863.
2024-12-24 14:52:25 -05:00
Greyson Parrelli
446c7d6bf3 Update our base themes to avoid crashing MaterialAlertDialog. 2024-12-21 12:46:12 -05:00
Greyson Parrelli
7320a66273 Ensure that the V262 database migration runs. 2024-12-21 12:39:11 -05:00
Greyson Parrelli
31897b4c4b Update more libraries. 2024-12-21 12:39:11 -05:00
Alex Hart
71d7238f3b Add .kotlin to gitignore. 2024-12-21 12:39:10 -05:00
Greyson Parrelli
7dc6d4a532 Update compileSdk to 35. 2024-12-21 12:39:10 -05:00
Greyson Parrelli
f20bb98804 Update a bunch of libraries. 2024-12-21 12:39:10 -05:00
Greyson Parrelli
7b101e13fb Upgrade to kotlin 2.1.0 2024-12-21 12:39:10 -05:00
Greyson Parrelli
859eabe3d3 Use more plugin aliases. 2024-12-21 12:39:10 -05:00
Alex Hart
efdc7e266a Add AAPT metadata for witness verification. 2024-12-21 12:39:10 -05:00
Greyson Parrelli
0b965c36f7 Move some things to lib.versions.toml 2024-12-21 12:39:10 -05:00
Alex Hart
c31780050f Isolated tests for OneTimeInAppPaymentRepository. 2024-12-21 12:39:10 -05:00
Greyson Parrelli
e650223487 Upgrade to AGP 8.7.3 2024-12-21 12:39:10 -05:00
Greyson Parrelli
771ba28f6d Upgrade to AGP 8.7.2 2024-12-21 12:39:10 -05:00
Alex Hart
f2b4bd0585 Implement initial support for IAP data. 2024-12-21 12:39:10 -05:00
Greyson Parrelli
f537fa6436 Improve internal backup import UI tool. 2024-12-21 12:39:10 -05:00
Jordan Rose
fa32f399b2 Add internal UI for importing backup with different credentials.
Co-authored-by: Greyson Parrelli <greyson@signal.org>
2024-12-21 12:39:10 -05:00
Greyson Parrelli
0cfda852cf Don't show linked device bottom sheets if you've seen them before. 2024-12-21 12:39:10 -05:00
Greyson Parrelli
0c758ccc1e Add verification metadata for windows. 2024-12-21 12:39:10 -05:00
Alex Hart
8aee19b3dd Isolated tests for RecurringInAppPaymentRepository. 2024-12-21 12:39:10 -05:00
Greyson Parrelli
68d4eafedd Fix dangling call ringers. 2024-12-21 12:39:10 -05:00
Jameson Williams
a96c8867ae Move from AssertJ to AssertK.
Resolves #13841
2024-12-21 12:39:10 -05:00
Cody Henthorne
56d53f0b6a Fix empty profile names during backupv2 export. 2024-12-21 12:39:10 -05:00
Cody Henthorne
5ce24cd9a6 Fix gv1 updates in backupv2. 2024-12-21 12:39:10 -05:00
Jameson Williams
894230f9df Remove Mockito dependency from project.
Resolves #13838
2024-12-21 12:39:10 -05:00
Cody Henthorne
9f181127e6 Treat all groups updates as directionless for backupv2. 2024-12-21 12:39:10 -05:00
Greyson Parrelli
ba79a3e83e Bump version to 7.28.4 2024-12-21 12:37:13 -05:00
Greyson Parrelli
47a5816be8 Translate missing recipients into unknown recipients. 2024-12-21 12:29:32 -05:00
Greyson Parrelli
034e04884c Bump version to 7.28.3 2024-12-19 00:51:07 -05:00
Greyson Parrelli
82feee5af1 Fix bug with ellipsizing on media messages. 2024-12-19 00:50:46 -05:00
Greyson Parrelli
08de11175d Bump version to 7.28.2 2024-12-18 16:19:10 -05:00
Greyson Parrelli
a2529281ac Update translations and other static files. 2024-12-18 16:19:10 -05:00
Greyson Parrelli
16bb4d10d1 Fix large message size calculation to use bytes. 2024-12-18 16:19:10 -05:00
Greyson Parrelli
e434cda40a Bump version to 7.28.1 2024-12-16 15:41:12 -05:00
Greyson Parrelli
24e80480a1 Update translations and other static files. 2024-12-16 15:40:53 -05:00
Cody Henthorne
fc34b60f77 Fix incorrect RRP bugs and reglock state with reregistering. 2024-12-16 14:24:11 -05:00
Greyson Parrelli
0ce75b21ee Fix derivation of RRP in RefreshAttributesJob. 2024-12-16 12:36:57 -05:00
Greyson Parrelli
542374aee0 Bump version to 7.28.0 2024-12-12 12:16:10 -05:00
Greyson Parrelli
56eb969599 Update translations and other static files. 2024-12-12 12:16:10 -05:00
Greyson Parrelli
074b16fa93 Fix delete options in note to self. 2024-12-12 12:16:10 -05:00
Michelle Tang
dadf782bd1 Fix duplicate contacts during story selection. 2024-12-12 12:16:10 -05:00
Greyson Parrelli
010c45da94 Inline some paypal remote configs. 2024-12-12 12:16:10 -05:00
Greyson Parrelli
a93c1bc942 Rotate link+sync flag. 2024-12-12 12:16:10 -05:00
Jameson Williams
6f6d054c90 Fix instrumentation tests.
Resolves #13836
2024-12-12 12:16:10 -05:00
Jameson Williams
34a003c68c Migrate all remaining mockito tests to mockk.
Resolves #13835
2024-12-12 12:16:10 -05:00
Jameson Williams
57eeed33f0 Convert a batch of tests from mockito -> mockk.
Resolves #13832
2024-12-12 12:16:10 -05:00
Greyson Parrelli
8ddbc57c7c Remove some badly-formatted e164's. 2024-12-12 12:16:10 -05:00
Michelle Tang
5c075b018f Update story strings and button. 2024-12-12 12:16:10 -05:00
Cody Henthorne
f2b8d9fb91 Add learn more urls for regv3 flows. 2024-12-12 12:16:10 -05:00
Cody Henthorne
b697f771f1 Add additional error handling in regv3 flows. 2024-12-12 12:16:10 -05:00
Cody Henthorne
2eabf03421 Rotate quick restore QR code and web socket. 2024-12-12 12:16:10 -05:00
Michelle Tang
57502fb4ad Limit wallpaper uploading to media tier. 2024-12-12 12:16:10 -05:00
Michelle Tang
e45a3fb7b5 Close selection bar when nothing is selected. 2024-12-12 12:16:10 -05:00
Michelle Tang
bb2ce44b1f Update restore banners with progress indicators and redirection. 2024-12-12 12:16:10 -05:00
Alex Hart
3eea331e83 Fix bad one-time-payment receipt creation for cancelled iDEAL. 2024-12-12 12:16:10 -05:00
Greyson Parrelli
fa72a1788b Fix export issue with bad edit messages from during development. 2024-12-12 12:16:09 -05:00
Greyson Parrelli
01979b1c78 Fix dangling quote authors. 2024-12-12 12:16:09 -05:00
Greyson Parrelli
3ea9dd5e1d Update the backup playground to be more friendly. 2024-12-12 12:16:09 -05:00
Cody Henthorne
d1bfa6ee9e Add notification profile and chat folder backupv2 proto support. 2024-12-12 12:16:09 -05:00
Cody Henthorne
c91123e8e8 Add thread delete progress logs. 2024-12-09 10:17:02 -05:00
Jameson Williams
c2aceb2bd1 Convert more tests to kotlin.
Resolves #13829
2024-12-09 08:59:13 -05:00
Alex Hart
574d6c51ab Improved progress indicator for backup file upload. 2024-12-09 08:58:15 -05:00
Michelle Tang
a188eb64ab Fix post-transfer emoji search. 2024-12-09 08:58:15 -05:00
Alex Hart
a577018d03 Remove explicit indexed by statement from approximate exportable message count. 2024-12-09 08:58:15 -05:00
Alex Hart
6d5be0b445 Add improved archive upload progress. 2024-12-09 08:58:15 -05:00
Cody Henthorne
981808d074 Update to libsignal 0.64.0 2024-12-09 08:58:15 -05:00
Greyson Parrelli
ca17b50d35 Fix possible backup validation error. 2024-12-09 08:58:15 -05:00
Greyson Parrelli
46c93760b3 Properly escape CSV output in playground. 2024-12-09 08:58:15 -05:00
Michelle Tang
2ec1bde18a Update string translation comments. 2024-12-09 08:58:15 -05:00
Alex Hart
6315c4e2e8 Display descriptive error using payment data instead of generic error. 2024-12-09 08:58:15 -05:00
Alex Hart
64ad33b959 Add InAppPaymentTableTest to verify functionality of update method. 2024-12-09 08:58:15 -05:00
Alex Hart
dce3dca9cc Self-heal payment state transfer if onAdded fails to update as expected. 2024-12-09 08:58:15 -05:00
Greyson Parrelli
f9902bda67 Add a copy button to the SQLite Playground. 2024-12-09 08:58:15 -05:00
Michelle Tang
df5ef06109 Add link+sync error flows. 2024-12-09 08:58:15 -05:00
Cody Henthorne
e1d4566dfd Handle group call creation failure. 2024-12-09 08:58:15 -05:00
Cody Henthorne
faa4208209 Fix thread merge update archive NPE. 2024-12-09 08:58:15 -05:00
Cody Henthorne
8996e3b0a7 Fix system PIP not closing on call end. 2024-12-09 08:58:15 -05:00
Greyson Parrelli
31998f2efb Add additional link+sync logs. 2024-12-09 08:58:15 -05:00
Michelle Tang
a7d7c1da8d Allow restoration over cellular 2024-12-09 08:58:15 -05:00
Alex Hart
0c86ff1f84 Fix hot loop when creating a subscription to remote backups. 2024-12-09 08:58:15 -05:00
Alex Hart
5e10ccc969 Fix backups crash when not signed in to play store. 2024-12-09 08:58:15 -05:00
Alex Hart
07eb323f8c Add log section for backups. 2024-12-09 08:58:15 -05:00
Cody Henthorne
30ad854381 Fix bugs with notification schedules caused by 24xx end times. 2024-12-09 08:58:14 -05:00
Miriam Zimmerman
5cd0062688 Update to RingRTC v2.49.0 2024-12-09 08:58:14 -05:00
andrew-signal
080b79c893 Use LibSignalChatConnection for Authenticated Socket based on Remote Config 2024-12-09 08:58:14 -05:00
Alex Hart
9389f373c6 Reuse generated backup file if it's less than one hour old and enable resumable upload. 2024-12-09 08:58:14 -05:00
Greyson Parrelli
6d415ca85a Fix backup perf issue by doing cleanup inline. 2024-12-09 08:58:14 -05:00
Greyson Parrelli
e47861796e Bump version to 7.27.1 2024-12-06 16:08:08 -05:00
Greyson Parrelli
073c4f7ae1 Update translations and other static files. 2024-12-06 16:07:47 -05:00
Greyson Parrelli
014218782f Fix issue with using registration recovery password. 2024-12-06 15:59:46 -05:00
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
Greyson Parrelli
d11c117e71 Bump version to 7.24.1 2024-11-07 15:19:31 -05:00
Greyson Parrelli
da5fc22ae3 Update translations and other static files. 2024-11-07 15:19:08 -05:00
Greyson Parrelli
5c9338356d Stop marking messages as read after archiving. 2024-11-07 13:58:58 -05:00
Alex Hart
73097f071d Limit call link names to 32 characters. 2024-11-07 12:45:34 -04:00
Alex Hart
03b6b2d591 Move BillingError to core-util. 2024-11-07 11:08:29 -05:00
Greyson Parrelli
1b4a390096 Fix typo in string. 2024-11-07 10:43:55 -05:00
Greyson Parrelli
96600045ab Bump version to 7.24.0 2024-11-06 16:00:27 -05:00
Greyson Parrelli
dfa88b8843 Update translations and other static files. 2024-11-06 15:56:25 -05:00
Greyson Parrelli
b076e8dc49 Convert StorageForcePushJob to kotlin. 2024-11-06 15:44:38 -05:00
Greyson Parrelli
42e523d2d8 Convert StorageSyncJob to kotlin. 2024-11-06 15:44:37 -05:00
Greyson Parrelli
16e36c94de Convert SvrValues to kotlin. 2024-11-06 15:44:37 -05:00
Alex Hart
35b80be8c8 Pass in days since last backup to alert sheet. 2024-11-06 15:44:37 -05:00
Michelle Tang
c85a28af92 Update brand logo. 2024-11-06 15:44:37 -05:00
Cody Henthorne
743e2aaa82 Refactor how archive service access is managed during restore. 2024-11-06 15:44:37 -05:00
Alex Hart
c878da30ae Add new backups category for help fragment. 2024-11-06 15:44:37 -05:00
Alex Hart
f14f7f7478 Update backups bottom sheet data handling. 2024-11-06 15:44:37 -05:00
Michelle Tang
3901c52e45 Prevent chat removal from all chats. 2024-11-06 15:44:37 -05:00
Michelle Tang
39e91ffb6e Fix blur hash for images and videos. 2024-11-06 15:44:37 -05:00
Alex Hart
98590295df Update error strings in alert bottom sheet. 2024-11-06 15:44:37 -05:00
Greyson Parrelli
50af0b0838 Use libsignal validator to verify backups. 2024-11-06 15:44:37 -05:00
Cody Henthorne
f848a78365 Fix use of media credentials for fetching/restoring media related data. 2024-11-06 15:44:37 -05:00
Alex Hart
d7c08690ee Fix color shading on status bar in app settings. 2024-11-06 15:44:37 -05:00
Alex Hart
311b24efbc Stub out a few necessary view model methods. 2024-11-04 13:09:59 -04:00
Greyson Parrelli
e54f101813 Add null checks to some AudioView functions. 2024-11-04 09:54:24 -05:00
Greyson Parrelli
b441888c25 Fix linked device inactive filtering. 2024-11-04 09:40:38 -05:00
Grzegorz Bobryk
87500449a0 Replace System.getProperty('line.separator') with System.lineSeparator().
Resolves #13768
2024-11-04 09:19:47 -05:00
Grzegorz Bobryk
cafbf48783 Move from enum.values() to enum.entries.
Resolves #13767
2024-11-04 09:18:47 -05:00
Grzegorz Bobryk
be92b3cf0a Remove unnecessary force and safe checks.
Resolves #13766
2024-11-04 09:17:30 -05:00
Greyson Parrelli
3a5dc4e731 Fix wallpaper migration getting stuck on malformed files.
Closes #13769
2024-11-04 09:14:46 -05:00
Alex Hart
bdd19f6b47 Replace collectAsState with collectAsStateWithLifecycle. 2024-11-04 09:44:44 -04:00
Alex Hart
ec03b11230 Remove a couple unnecessary backup TODOs. 2024-11-04 09:33:45 -04:00
Alex Hart
19c3075bc6 Replace message-backups TODO with backups. 2024-11-04 09:18:57 -04:00
Greyson Parrelli
4d39679144 Fix handling of split message/media cdn backup credentials. 2024-11-01 16:53:18 -04:00
Michelle Tang
d115835606 Fix various UI bugs for chat folders. 2024-11-01 16:28:45 -04:00
Alex Hart
90ff3d1e32 Fix state restore after activity swipe and launch from notification. 2024-11-01 16:07:25 -04:00
Greyson Parrelli
7e7831cdde Be more specific about which blurhashes to throw out. 2024-11-01 16:07:25 -04:00
Alex Hart
faa6d743c0 Add support for watermarking backup failure sheet. 2024-11-01 16:07:25 -04:00
Michelle Tang
2c3a3f9ea9 Validate sender for quotes. 2024-11-01 16:07:25 -04:00
Jameson Williams
769a92943e Enable nonTransitiveRClass.
Resolves #13757
2024-11-01 16:07:25 -04:00
Jameson Williams
c35242c525 Remove nonFinalResIds=false. 2024-11-01 16:07:25 -04:00
Jameson Williams
f7efe28bb7 Enable BuildConfig through buildFeatures, not gradle.properties. 2024-11-01 16:07:25 -04:00
Oscar Mira
df83611b55 Update lint version to align with AGP.
Resolves #13759
2024-11-01 16:07:25 -04:00
Oscar Mira
8bdcd588a0 Convert lintchecks build.gradle to KTS. 2024-11-01 16:07:25 -04:00
Greyson Parrelli
26b9cea88e Move to separate message and media backup keys. 2024-11-01 16:07:25 -04:00
Greyson Parrelli
22148550dc Update to libsignal 0.60.0 2024-11-01 16:07:25 -04:00
Alex Hart
4282d88191 Add initial flag / watermark system for backup failure UX. 2024-11-01 16:07:25 -04:00
Greyson Parrelli
4446510916 Only show connection warning if not actively connected. 2024-11-01 16:07:25 -04:00
Michelle Tang
3310762970 Add call to action for chat folders. 2024-11-01 16:07:25 -04:00
Greyson Parrelli
0891a161b2 Bump version to 7.23.1 2024-11-01 16:06:19 -04:00
Greyson Parrelli
e03eda54d8 Update translations and other static files. 2024-11-01 16:05:48 -04:00
Greyson Parrelli
a4ba79d949 Fix crash from leftover linked device change. 2024-11-01 10:36:34 -04:00
Michelle Tang
3909c4bc83 Fix typo in folder description. 2024-11-01 10:29:37 -04:00
Greyson Parrelli
7277733432 Improve network reliability. 2024-10-31 20:13:07 -04:00
Greyson Parrelli
d002427b25 Bump version to 7.23.0 2024-10-31 16:03:29 -04:00
Greyson Parrelli
5b3c5395be Update translations and other static files. 2024-10-31 16:02:58 -04:00
Alex Hart
719ae72270 Add MediaNoLongerAvailable wiring. 2024-10-31 15:29:28 -03:00
Cody Henthorne
1a8988f825 Fix incorrect backup passphrase error toast not showing. 2024-10-31 12:33:48 -04:00
Alex Hart
7e93e15a9b Add "Ready to download" state and clear out a few TODOs. 2024-10-31 09:54:58 -03:00
Michelle Tang
21c359f919 Add item animator to chat folders. 2024-10-30 14:41:02 -04:00
Michelle Tang
fe40324599 Update various UI for chat folders. 2024-10-30 13:56:44 -04:00
Alex Hart
ddcb9564bb Add "Backups Subscription not found" states. 2024-10-30 12:13:03 -03:00
Cody Henthorne
d51fe5fe81 Remove unused app settings navigation xml. 2024-10-29 16:21:48 -04:00
adel-signal
47300bbd56 Use v2/calling/relays endpoint. 2024-10-29 15:58:36 -04:00
Jim Gustafson
4220068835 Update to RingRTC v2.48.4 2024-10-29 14:36:34 -04:00
Greyson Parrelli
650956ea0a Improving timestamp logging around retry receipts. 2024-10-29 14:36:34 -04:00
Greyson Parrelli
beff4c1d1d Update ignore list in apkdiff.py 2024-10-29 14:36:34 -04:00
Greyson Parrelli
1ca72543d3 Remove unused webrtc proguard file. 2024-10-29 14:36:34 -04:00
Greyson Parrelli
ead66cdfc0 Migrate linked device status to the SignalStore. 2024-10-29 14:36:34 -04:00
Greyson Parrelli
2cd15ae879 Fix possible crash when colorizing group names
Fixes #13751
2024-10-29 14:36:34 -04:00
Alex Hart
22e774a976 Fix share activity icon tint. 2024-10-29 14:36:34 -04:00
rottenwheel
3d9ce5d07d Remove extra backslash in internal preference summaries.
Resolves #13746
2024-10-29 14:36:34 -04:00
Alex Hart
b979be0cb9 Rewrite App Settings in compose. 2024-10-29 14:36:33 -04:00
Greyson Parrelli
7f3ceea9fe Add initial link+sync support. 2024-10-29 14:36:33 -04:00
Greyson Parrelli
ebca386dcb Improve backup export perf by using better batching. 2024-10-29 14:36:33 -04:00
Alex Hart
ec736afde4 Synchronize backup checks job. 2024-10-29 14:36:33 -04:00
Greyson Parrelli
d72c16e1d4 Bump version to 7.22.2 2024-10-29 14:35:47 -04:00
Greyson Parrelli
bfb8541db7 Update translations and other static files. 2024-10-29 14:35:29 -04:00
Michelle Tang
0b66e9409d Indicate when chats already belong in folder. 2024-10-29 14:14:20 -04:00
Alex Hart
1b9129b4a0 Fix iDEAL subscription authorization state when launching external application. 2024-10-29 15:07:38 -03:00
Greyson Parrelli
4e87422575 Bump version to 7.22.1 2024-10-25 16:21:26 -04:00
Greyson Parrelli
410d19896d Update translations and other static files. 2024-10-25 16:21:00 -04:00
Michelle Tang
83808ed427 Improve various UI for chat folders. 2024-10-25 15:42:05 -04:00
mtang-signal
310c7bd98e Prevent empty name folders. 2024-10-24 14:41:44 -04:00
mtang-signal
0b1b84c4fd Force refresh after deleting folder. 2024-10-24 12:02:03 -04:00
mtang-signal
48daa4fcbf Remove folders from archive. 2024-10-24 10:04:41 -04:00
Greyson Parrelli
d90160dee2 Improve network reliability. 2024-10-23 17:02:11 -04:00
1714 changed files with 85464 additions and 49139 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
.gitignore vendored
View File

@@ -31,3 +31,4 @@ dev.keystore
maps.key
/local/
kls_database.db
.kotlin

View File

@@ -1,5 +1,11 @@
<component name="ProjectCodeStyleConfiguration">
<code_scheme name="Project" version="173">
<option name="OTHER_INDENT_OPTIONS">
<value>
<option name="INDENT_SIZE" value="2" />
<option name="TAB_SIZE" value="2" />
</value>
</option>
<option name="RIGHT_MARGIN" value="240" />
<option name="FORMATTER_TAGS_ENABLED" value="true" />
<option name="SOFT_MARGINS" value="160" />

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

@@ -23,7 +23,7 @@ If you're interested in a life of peace and tranquility, stick with the standard
## Contributing Code
If you're new to the Signal codebase, we recommend going through our issues and picking out a simple bug to fix (check the "easy" label in our issues) in order to get yourself familiar. Also please have a look at the [CONTRIBUTING.md](https://github.com/signalapp/Signal-Android/blob/main/CONTRIBUTING.md), that might answer some of your questions.
If you're new to the Signal codebase, we recommend going through our issues and picking out a simple bug to fix in order to get yourself familiar. Also please have a look at the [CONTRIBUTING.md](https://github.com/signalapp/Signal-Android/blob/main/CONTRIBUTING.md), that might answer some of your questions.
For larger changes and feature ideas, we ask that you propose it on the [unofficial Community Forum](https://community.signalusers.org) for a high-level discussion with the wider community before implementation.

View File

@@ -7,12 +7,11 @@ import java.util.Date
import java.util.Properties
plugins {
id("com.android.application")
id("kotlin-android")
alias(libs.plugins.android.application)
alias(libs.plugins.jetbrains.kotlin.android)
alias(libs.plugins.ktlint)
alias(libs.plugins.compose.compiler)
id("androidx.navigation.safeargs")
id("org.jlleitschuh.gradle.ktlint")
id("org.jetbrains.kotlin.android")
id("app.cash.exhaustive")
id("kotlin-parcelize")
id("com.squareup.wire")
id("translations")
@@ -21,8 +20,8 @@ plugins {
apply(from = "static-ips.gradle.kts")
val canonicalVersionCode = 1477
val canonicalVersionName = "7.22.0"
val canonicalVersionCode = 1503
val canonicalVersionName = "7.30.1"
val currentHotfixVersion = 0
val maxHotfixVersions = 100
@@ -84,7 +83,6 @@ android {
ndkVersion = signalNdkVersion
flavorDimensions += listOf("distribution", "environment")
useLibrary("org.apache.http.legacy")
testBuildType = "instrumentation"
android.bundle.language.enableSplit = false
@@ -163,6 +161,7 @@ android {
}
buildFeatures {
buildConfig = true
viewBinding = true
compose = true
}
@@ -228,6 +227,7 @@ android {
buildConfigField("String", "BUILD_ENVIRONMENT_TYPE", "\"unset\"")
buildConfigField("String", "BUILD_VARIANT_TYPE", "\"unset\"")
buildConfigField("String", "BADGE_STATIC_ROOT", "\"https://updates2.signal.org/static/badges/\"")
buildConfigField("String", "STRIPE_BASE_URL", "\"https://api.stripe.com/v1\"")
buildConfigField("String", "STRIPE_PUBLISHABLE_KEY", "\"pk_live_6cmGZopuTsV8novGgJJW9JpC00vLIgtQ1D\"")
buildConfigField("boolean", "TRACING_ENABLED", "false")
buildConfigField("boolean", "MESSAGE_BACKUP_RESTORE_ENABLED", "false")
@@ -270,7 +270,6 @@ android {
"proguard/proguard-glide.pro",
"proguard/proguard-shortcutbadger.pro",
"proguard/proguard-retrofit.pro",
"proguard/proguard-webrtc.pro",
"proguard/proguard-klinker.pro",
"proguard/proguard-mobilecoin.pro",
"proguard/proguard-retrolambda.pro",
@@ -302,6 +301,7 @@ android {
applicationIdSuffix = ".instrumentation"
buildConfigField("String", "BUILD_VARIANT_TYPE", "\"Instrumentation\"")
buildConfigField("String", "STRIPE_BASE_URL", "\"http://127.0.0.1:8080/stripe\"")
}
create("spinner") {
@@ -542,7 +542,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)
@@ -568,6 +567,7 @@ dependencies {
implementation(libs.dnsjava)
implementation(libs.kotlinx.collections.immutable)
implementation(libs.accompanist.permissions)
implementation(libs.accompanist.drawablepainter)
implementation(libs.kotlin.stdlib.jdk8)
implementation(libs.kotlin.reflect)
implementation(libs.kotlinx.coroutines.play.services)
@@ -589,9 +589,7 @@ dependencies {
}
testImplementation(testLibs.junit.junit)
testImplementation(testLibs.assertj.core)
testImplementation(testLibs.mockito.core)
testImplementation(testLibs.mockito.kotlin)
testImplementation(testLibs.assertk)
testImplementation(testLibs.androidx.test.core)
testImplementation(testLibs.robolectric.robolectric) {
exclude(group = "com.google.protobuf", module = "protobuf-java")
@@ -617,8 +615,7 @@ 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.assertk)
androidTestImplementation(testLibs.mockk.android)
androidTestImplementation(testLibs.square.okhttp.mockserver)
androidTestImplementation(testLibs.diff.utils)

View File

@@ -5,9 +5,8 @@
-dontwarn com.android.support.test.**
-dontwarn sun.reflect.**
-dontwarn sun.misc.**
-dontwarn org.assertj.**
-dontwarn assertk.**
-dontwarn org.hamcrest.**
-dontwarn org.mockito.**
-dontwarn com.squareup.**
-dontobfuscate
-dontobfuscate

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