Compare commits

...

4322 Commits

Author SHA1 Message Date
jeffrey-signal
6d5bb65c19 Bump version to 7.63.2 2025-10-31 18:23:31 -04:00
jeffrey-signal
501f3466a2 Update translations and other static files. 2025-10-31 17:52:54 -04:00
jeffrey-signal
84c713c2f7 Fix bottom chrome visibility in landscape split-screen with bottom nav. 2025-10-31 17:48:18 -04:00
Michelle Tang
303c2ea14a Adding UI polish for polls. 2025-10-31 17:48:18 -04:00
Alex Hart
109f651681 Remove custom WindowSizeClass and just depend on Material Adaptive WindowSizeClass.
Co-authored-by: jeffrey-signal <jeffrey@signal.org>
2025-10-31 17:48:18 -04:00
Greyson Parrelli
95c9776b4d Fix query selection crash during backup. 2025-10-31 17:48:18 -04:00
jeffrey-signal
89e6479021 Bump version to 7.63.1 2025-10-30 17:40:15 -04:00
jeffrey-signal
e6cb2a9273 Update translations and other static files. 2025-10-30 17:16:23 -04:00
Cody Henthorne
636f6a338e Use better check for websocket can connect check. 2025-10-30 14:47:17 -04:00
Alex Hart
41ba3383b2 Make navigation rail adaptive for small medium screens. 2025-10-30 15:15:11 -03:00
Alex Hart
9095ddaf19 Fix hijacking of navigation bar color when opening emoji keyboard. 2025-10-30 13:44:44 -03:00
Alex Hart
b4802c4bf6 Wait for global layout before animating in bottom action bar. 2025-10-30 13:13:19 -03:00
Alex Hart
eb72b88a16 Add better handling for pane dragging during search. 2025-10-29 16:46:29 -03:00
jeffrey-signal
be933648b2 Bump version to 7.63.0 2025-10-29 14:46:49 -04:00
jeffrey-signal
d4588d738f Update translations and other static files. 2025-10-29 14:42:50 -04:00
Michelle Tang
f4cca5ecc1 Bump protocol version number for polls. 2025-10-29 14:33:52 -04:00
Alex Hart
605b85455b Fix action mode back handling in conversation fragment. 2025-10-29 14:33:52 -04:00
Michelle Tang
18c7dbca08 Update vote logic for poll percentages. 2025-10-29 14:33:52 -04:00
Alex Hart
55040091af Convert private story settings fragment to compose. 2025-10-29 14:33:52 -04:00
Alex Hart
24c8501985 Report first render to main activity within nav hosts. 2025-10-29 14:33:52 -04:00
Cody Henthorne
5f5e0963e1 Prevent wallpaper archive thumbnail generation. 2025-10-29 14:33:52 -04:00
Cody Henthorne
4a163167e0 Fix OOM during backup export. 2025-10-29 14:33:52 -04:00
Cody Henthorne
e690c54f7c Fail gracefully when crash occurs during backup restore. 2025-10-29 14:33:52 -04:00
Alex Hart
1a39119c2b Fix list action mode exit on back. 2025-10-29 14:33:52 -04:00
Alex Hart
3cd86182db Update support logic for large screens. 2025-10-29 14:33:52 -04:00
Alex Hart
c89a3a2bf9 Increment largeScreenUI feature flag. 2025-10-29 14:33:52 -04:00
Cody Henthorne
908ca124f1 Clear recipient remap cache on restore. 2025-10-29 14:33:52 -04:00
Greyson Parrelli
5640e9c9b8 Show deprecation notice for API 21. 2025-10-29 14:33:52 -04:00
Alex Hart
6d84ea984d Preserve pane expansion state across window size class changes. 2025-10-29 14:33:52 -04:00
Michelle Tang
47201f4955 Add various backup fixes for polls. 2025-10-29 14:33:51 -04:00
Alex Hart
3f5a4ebf7b Utilize edgeToEdge instead of fullscreen helper. 2025-10-29 14:33:51 -04:00
Alex Hart
e0d56bfadf Reimplement conversation action mode to not use system actionmode. 2025-10-29 14:33:51 -04:00
Cody Henthorne
b9e0d9978b Delete attachment transfer files after restore or download. 2025-10-29 14:33:51 -04:00
Greyson Parrelli
ec76372e4d Fix potential thread conflict in backup import. 2025-10-29 14:33:51 -04:00
Cody Henthorne
fd902159ee Remove mock web server and prevent libsignal from connecting for android tests. 2025-10-29 14:33:51 -04:00
Michelle Tang
f16405fabf Add read support for binary service ids. 2025-10-29 14:33:51 -04:00
Alex Hart
bf4aa9cae9 Fix story shared element transition on foldables. 2025-10-29 14:33:51 -04:00
Alex Hart
ae8b8bbe7c AppScaffold Animation Performance impromements. 2025-10-29 14:33:51 -04:00
Alex Hart
443463aca8 Set pane role when we move to a fullscreen anchor. 2025-10-29 14:33:51 -04:00
Cody Henthorne
b300c911d7 Fix incorrect attachment archive state after changing remote key after upload. 2025-10-29 14:33:51 -04:00
Greyson Parrelli
6196fb4f44 Show toast when ignoring backup enable megaphone. 2025-10-29 14:33:51 -04:00
Greyson Parrelli
4ecd3ec052 Add more safety checks to e164 conversion in backup export. 2025-10-29 14:33:51 -04:00
Greyson Parrelli
b10a57de63 Temporarily disable 7 day backup warning. 2025-10-29 14:33:51 -04:00
Greyson Parrelli
3c27a690fd Address validation error around calls with invalid ringers. 2025-10-29 14:33:51 -04:00
Cody Henthorne
dcbd4a3fc4 Fix long text rendering as attachment bug. 2025-10-29 14:33:50 -04:00
Alex Hart
043b7b0a3d Fix two pane layout positioning and sizing. 2025-10-29 14:33:50 -04:00
Alex Hart
1862dded65 Fix NPE when slide URI is null. 2025-10-29 14:33:50 -04:00
Alex Hart
75a53974a4 Fix update of windowsizeclass. 2025-10-29 14:33:50 -04:00
Alex Hart
21138b9190 Set initial anchor index. 2025-10-29 14:33:50 -04:00
Alex Hart
8fbfc40ed5 Utilize an effect to initialize the current anchor. 2025-10-29 14:33:50 -04:00
Alex Hart
63ab448a27 Fix logo color and sizing in empty screen. 2025-10-29 14:33:50 -04:00
Alex Hart
d88c8baa83 Fix tap areas in stories viewer. 2025-10-29 14:33:50 -04:00
Greyson Parrelli
8d931391db Improve backup import resilience for duplicate messages. 2025-10-29 14:33:50 -04:00
andrew-signal
19afd5c0e6 Optimize padding block size based on real world experience. 2025-10-29 14:33:50 -04:00
Alex Hart
5a9c546dac Increase extended partition width to 24dp. 2025-10-29 14:33:50 -04:00
Greyson Parrelli
e288b8b429 Do not attempt to re-upload known-bad backup files. 2025-10-29 14:33:50 -04:00
Alex Hart
9ddc914cac Fix collapsed keyboard inset. 2025-10-29 14:33:50 -04:00
Greyson Parrelli
17e7b1735f Fix validation error with chat folder export. 2025-10-29 14:33:49 -04:00
Greyson Parrelli
0b27c42e89 Update archive processors with consistent naming scheme. 2025-10-29 14:33:49 -04:00
Greyson Parrelli
b15b50798a Fix quoting file-only messages. 2025-10-29 14:33:49 -04:00
Alex Hart
7b7b6a32ee Deselect active item when in full-screen pane. 2025-10-29 14:33:49 -04:00
Greyson Parrelli
4fc516c84f Fix screenshot protection on details screen.
Fixes #14397
2025-10-29 14:33:49 -04:00
Cody Henthorne
76e92f29b9 Fix call requests to a PNI. 2025-10-29 14:33:49 -04:00
Greyson Parrelli
55617c18f0 Fix color of caption button. 2025-10-29 14:33:49 -04:00
Greyson Parrelli
ef05f33f08 Suppor tmore pasted image types. 2025-10-29 14:33:49 -04:00
Greyson Parrelli
c25ce2bcdd Fix bug related to in-memory jobs not being prioritized properly. 2025-10-29 14:33:49 -04:00
andrew-signal
9ed921f58c Bump to libsignal v0.85.1 2025-10-29 14:33:49 -04:00
Greyson Parrelli
56a4ccb96d Fix time pattern matching for emoji search.
Fixes #14391
2025-10-29 14:33:49 -04:00
Greyson Parrelli
a8e65619d9 Downgrade warning log during backup creation. 2025-10-29 14:33:49 -04:00
Greyson Parrelli
123b88e032 Validate attachment key size. 2025-10-29 14:33:49 -04:00
Alex Hart
c268625f52 Ignore call to visibility if there's no view. 2025-10-29 14:33:49 -04:00
Alex Hart
74f9f39656 Do not update status bar or nav bar coloring if large screen support is enabled. 2025-10-29 14:33:49 -04:00
Alex Hart
9ddc600972 Ignore message backups checkout activity tests. 2025-10-29 14:33:49 -04:00
jeffrey-signal
d903bcf2b1 Enable split pane UI for create group screen. 2025-10-29 14:33:48 -04:00
jeffrey-signal
19558c5325 Create group v2 - Implement navigation to group details screen. 2025-10-29 14:24:38 -04:00
Alex Hart
9d545412a5 Update local inapppayment cancelation state to match that of the activesubscription when we discover it. 2025-10-29 14:24:38 -04:00
jeffrey-signal
7301dda5d1 Bump version to 7.62.3 2025-10-29 14:12:41 -04:00
jeffrey-signal
c88c565af3 Update translations and other static files. 2025-10-29 14:04:31 -04:00
jeffrey-signal
f932ea9f1f Fix AppScaffold content window insets. 2025-10-29 13:21:07 -04:00
Cody Henthorne
77e2d58dea Fix manual restore from remote flow. 2025-10-29 13:03:14 -04:00
jeffrey-signal
d261f3ebf5 Bump version to 7.62.2 2025-10-27 20:29:00 -04:00
jeffrey-signal
9f69ffbb88 Update translations and other static files. 2025-10-27 20:28:36 -04:00
jeffrey-signal
ab781cab8a Fix AppScaffold content window insets. 2025-10-27 20:16:21 -04:00
jeffrey-signal
6d843a9725 Bump version to 7.62.1 2025-10-27 19:10:31 -04:00
jeffrey-signal
a387d63b77 Update translations and other static files. 2025-10-27 18:52:42 -04:00
jeffrey-signal
37544aa8b7 Enable edge to edge for new conversation and create group screens. 2025-10-27 17:59:05 -04:00
jeffrey-signal
963a72a660 Convert ContactFilterView to compose. 2025-10-27 17:58:19 -04:00
Greyson Parrelli
c316381159 Bump version to 7.62.0 2025-10-22 16:05:59 -04:00
Greyson Parrelli
3c44d90da7 Update translations and other static files. 2025-10-22 16:05:26 -04:00
Cody Henthorne
90201a464d Fix invalid navigation to remote restore activity post registration. 2025-10-22 15:59:48 -04:00
Greyson Parrelli
5f8eaa4f1c Update reproducible build script to handle acceptable resource differences.
Fixes #13565
2025-10-22 15:53:09 -04:00
jeffrey-signal
d6446d2954 Add split-pane UI for create group screen. 2025-10-22 15:53:09 -04:00
Alex Hart
d763baa270 Fix margin on call log item. 2025-10-22 15:53:09 -04:00
Cody Henthorne
ea70d68ecc Fix incorrect navigation to RestoreActivty after app cold start. 2025-10-22 15:53:09 -04:00
Kanake
26cb17e25c Fix browser not opening in certain contexts.
Fixes #14368
Resolves #14388
2025-10-22 15:53:09 -04:00
Kanake
602fc8c6e7 Fix RTL issue with phone number in settings.
Fixes #14239
Resolves #14387
2025-10-22 15:53:09 -04:00
Alex Hart
e4fd7a6aee Persist stored vertical insets between activity restarts. 2025-10-22 15:53:09 -04:00
Alex Hart
12cb74bc05 Fix e2e test. 2025-10-22 15:53:09 -04:00
Alex Hart
0266de3532 Update dark colors for reaction overaly. 2025-10-22 15:53:09 -04:00
Jeffrey Starke
e235ce52e5 Standardize internal UI state property naming. 2025-10-22 15:53:09 -04:00
Alex Hart
d4c266561f Add "fake" chat list bitmap to fake transition. 2025-10-22 15:53:09 -04:00
jeffrey-signal
bd25447a8f Make optional RecipientPicker callbacks opt-in by splitting into smaller interfaces. 2025-10-22 15:53:09 -04:00
jeffrey-signal
2c435ef751 Disable password manager suggestions on new conversation search box. 2025-10-22 15:53:09 -04:00
Michelle Tang
96310ba1d0 Fix chat folder creation in large font sizes. 2025-10-22 15:53:09 -04:00
Michelle Tang
869eada21c Update recovery key education sheet. 2025-10-22 15:53:09 -04:00
Michelle Tang
1d13a62088 Fix read more button on stories. 2025-10-22 15:53:09 -04:00
Alex Hart
43bb32e64b Display back button when the conversation pane is expanded. 2025-10-22 15:53:09 -04:00
Alex Hart
f38262c0ab Add initial Call Quality UX. 2025-10-22 15:53:09 -04:00
Alex Hart
6e0bfa2cee Fixes for reaction overlay. 2025-10-22 15:53:09 -04:00
Alex Hart
07d270a82d Remove deprecated view model factory. 2025-10-22 15:53:09 -04:00
Alex Hart
1b2e80d2c8 Fix crash when opening archived chats. 2025-10-22 15:53:09 -04:00
Alex Hart
329389bb41 Utilize fixed rounded corner sheet for recipients fragment. 2025-10-22 15:53:09 -04:00
Alex Hart
c8f801da83 Allow detail content to slide with pane as we remove it. 2025-10-20 13:04:54 -03:00
Alex Hart
20f0764c68 Fix pane anchor for detail only offset. 2025-10-20 12:15:03 -03:00
Alex Hart
10f17a1bba Clear keyboard focus when entering multiselect mode. 2025-10-20 11:32:11 -03:00
Alex Hart
c2b02ea07c Ensure multiselect restarts as necessary on call log fragment. 2025-10-20 11:24:03 -03:00
Alex Hart
81e8ebe839 Do not hide navigation rail when performing multi-select in conversation list. 2025-10-20 11:13:01 -03:00
Alex Hart
d665856a7c Utilize height size class when dealing with landscape orientations. 2025-10-20 10:11:29 -03:00
Michelle Tang
1544cb81d5 Update UI when viewing votes. 2025-10-17 19:46:42 -04:00
Michelle Tang
e4abc6d256 Adding various poll UI updates. 2025-10-17 19:46:42 -04:00
Alex Hart
7901cad90b Show sheet for validation error. 2025-10-17 19:46:42 -04:00
Jim Gustafson
ea5a84b3dd Update to RingRTC v2.59.2 2025-10-17 19:46:42 -04:00
jeffrey-signal
9d0422a898 Enable split pane UI for new conversation screen. 2025-10-17 19:46:42 -04:00
jeffrey-signal
4fd4792dd8 New conversation v2 - Implement remaining functionality. 2025-10-17 19:46:42 -04:00
Alex Hart
802f980c6f Add CallQualitySurvey proto. 2025-10-17 19:46:42 -04:00
Alex Hart
435be7c63d Fix auto-expansion of panes on click. 2025-10-17 19:46:42 -04:00
jeffrey-signal
e2b57b55d6 Add snackbar host to AppScaffold. 2025-10-17 19:46:42 -04:00
Michelle Tang
b3f74d37e1 Add poll icon when quoting a poll. 2025-10-17 19:46:42 -04:00
Michelle Tang
91b70038e6 Add ability to cancel a pending vote. 2025-10-17 19:46:42 -04:00
Cody Henthorne
08eca9ac27 Prevent invalid profile keys from being processed for storage service. 2025-10-17 19:46:42 -04:00
Cody Henthorne
55916f31aa Only consider backup5 for link and sync. 2025-10-17 19:46:42 -04:00
Cody Henthorne
b9abe9c119 Bump version to 7.61.3 2025-10-17 19:46:08 -04:00
Cody Henthorne
cb1605bf23 Update translations and other static files. 2025-10-17 19:43:34 -04:00
Alex Hart
dcc533ef49 Remove body of migration 293. 2025-10-17 19:35:41 -04:00
Cody Henthorne
cdafe47c9a Bump version to 7.61.2 2025-10-16 16:34:33 -04:00
Cody Henthorne
365ad54f10 Update translations and other static files. 2025-10-16 16:34:25 -04:00
Cody Henthorne
ded8c99ce2 Attempt to fix sqlexception in migrations. 2025-10-16 16:23:46 -04:00
Cody Henthorne
b1d7da5320 Bump version to 7.61.1 2025-10-16 15:56:11 -04:00
Cody Henthorne
467fa11a17 Update translations and other static files. 2025-10-16 15:55:27 -04:00
Cody Henthorne
3346497a25 Fix crash importing recipients without identifiers. 2025-10-16 15:49:02 -04:00
Cody Henthorne
6ea0e176c9 Bump version to 7.61.0 2025-10-15 15:39:04 -04:00
Cody Henthorne
8ea443cde1 Update translations and other static files. 2025-10-15 15:33:51 -04:00
Alex Hart
c2d0d80b9f Fix flickering footer when inlining causes 1-2px change in width. 2025-10-15 15:26:34 -04:00
Alex Hart
cbe72307a0 Add proper selection state support to Chats and Calls tabs. 2025-10-15 15:26:34 -04:00
Alex Hart
e57b47ec82 Fix NoSuchMessageException when loading stories. 2025-10-15 15:26:34 -04:00
Alex Hart
518bf04e1d Filter attachments except for LONG_TEXT when receiving an EditMessage. 2025-10-15 15:26:34 -04:00
Cody Henthorne
a430e9b3d3 Enable link device UX for nightly builds. 2025-10-15 15:26:34 -04:00
Cody Henthorne
75ce72ee83 Fix set archive transfer state race for duplicate attachments. 2025-10-15 15:26:34 -04:00
jeffrey-signal
5d60ab35de New conversation v2 - Add support for find by username/phone/contacts and group creation. 2025-10-15 15:26:34 -04:00
Alex Hart
33f9369883 Fix inline search display on landscape orientations. 2025-10-15 15:26:34 -04:00
Alex Hart
7d1abf0f7c Fix automated tests for message backups checkout flow. 2025-10-15 15:26:34 -04:00
Alex Hart
17d1061204 Utilize pointerIndex instead of a pointerId for motion events.
Fixes #14290
2025-10-15 15:26:34 -04:00
Alex Hart
feb37eea2d Fix BioRecipientState if recipient does not have an e164. 2025-10-15 15:26:34 -04:00
Alex Hart
6bde2fd20a Fix improper media selection after deletion. 2025-10-15 15:26:34 -04:00
Cody Henthorne
7b25cc399d Implement skip restore on the iOS to android failure screen. 2025-10-15 15:26:34 -04:00
Michelle Tang
525175f04a Add polls to backups. 2025-10-15 15:26:34 -04:00
Cody Henthorne
a2aabeaad2 Fix duplicate messages during backup import causing unique constraint failure bug. 2025-10-15 15:26:34 -04:00
Taha Murtaza Ali
cdfcdcc3b7 Utilize proper theme color. 2025-10-15 15:26:34 -04:00
jeffrey-signal
56244ad873 Add default style for dropdown menu item text. 2025-10-15 15:26:34 -04:00
andrew-signal
e6399517ee Update manifest to reflect constrained satellite network support.
Co-authored-by: Avanish Subbiah <subbiah@purdue.edu>
2025-10-15 15:26:34 -04:00
andrew-signal
1c3223f551 Bump to libsignal v0.84.0 2025-10-15 15:26:34 -04:00
Jordan Rose
f4f2976907 Remove redundant IdentityKeyUtil helper. 2025-10-15 15:26:34 -04:00
Jeffrey Starke
76f65198bb Fix sticker management top app bar menu padding. 2025-10-15 15:26:34 -04:00
Alex Hart
971bcf4f41 Utilize snapshotFlow to fix insets. 2025-10-15 15:26:34 -04:00
jeffrey-signal
b49074a786 New Conversation v2 - Fix find by username/phone options disappearing after rotation. 2025-10-15 15:26:34 -04:00
andrew-signal
eea89d3b62 Add helper to catch/wrap exceptions that originate inside runWithUnauthChatConnection. 2025-10-15 15:26:34 -04:00
Alex Hart
3f7b73cf5e Require ACI for ReadMessage sender field. 2025-10-15 15:26:33 -04:00
Alex Hart
cbc547d322 Fix ANR when trying to load a message composed of 10,000 random emoji. 2025-10-15 15:26:33 -04:00
Alex Hart
c9a59a7417 Fix ANR when trying to load a message composed of 10,000 random emoji. 2025-10-15 15:26:33 -04:00
Cody Henthorne
f8eaa96412 Fix blocking bugs for internal link and sync testing. 2025-10-15 15:26:33 -04:00
Cody Henthorne
33a7f55fa3 Bump version to 7.60.2 2025-10-15 15:13:06 -04:00
Cody Henthorne
7cbee2e5f4 Update translations and other static files. 2025-10-15 15:12:49 -04:00
Cody Henthorne
56725f0f5c Fix crash with missing last_resort_key_tuple table. 2025-10-15 14:21:41 -04:00
Michelle Tang
7b6c2fa729 Check for self before getting polls. 2025-10-15 13:30:02 -04:00
Alex Hart
7b34dc75b3 Bump version to 7.60.1 2025-10-09 17:32:05 -03:00
Alex Hart
8d3d86372f Update translations and other static files. 2025-10-09 17:05:00 -03:00
Michelle Tang
7de9218b80 Put poll receive support behind feature flag. 2025-10-09 16:33:44 -03:00
Cody Henthorne
f9ddba5aed Fix duplicate e164 short codes cleanup bug. 2025-10-09 15:00:06 -04:00
Cody Henthorne
9ab1996f4a Include last backup proto size in size calculation. 2025-10-09 11:35:22 -04:00
Alex Hart
c7666626a1 Bump version to 7.60.0 2025-10-08 16:26:38 -03:00
Alex Hart
9a6c869bb5 Update translations and other static files. 2025-10-08 16:21:53 -03:00
Jeffrey Starke
ac86140133 Rename AppScaffold detailContent/listContent to primaryContent/secondaryContent. 2025-10-08 16:15:28 -03:00
jeffrey-signal
534756c833 Add split pane UI for new conversation screen. 2025-10-08 16:15:28 -03:00
Cody Henthorne
0f35eb7f7b Fix bad state when in restore flow and become unregistered. 2025-10-08 16:15:28 -03:00
Cody Henthorne
a5cca5b0fd Reset backup id on zk verification failure during restore attempts. 2025-10-08 16:15:28 -03:00
Michelle Tang
6e8f982e7b Process notification profiles before accounts during storage sync. 2025-10-08 16:15:28 -03:00
Michelle Tang
a14517fceb Update vote result color. 2025-10-08 16:15:28 -03:00
Alex Hart
fe17e01ff5 Fix improper filename on sent media items. 2025-10-08 16:15:28 -03:00
Cody Henthorne
585fb3eea8 Fix window insets for pixel 10 devices. 2025-10-08 16:15:28 -03:00
Alex Hart
3e07834c20 Log out windowsizeclass. 2025-10-06 13:13:11 -03:00
Alex Hart
14cc0f12a6 Fix BackupSubscriptionCheckJob tests. 2025-10-03 15:31:20 -04:00
Alex Hart
1d403d3dee Implement AppScaffold back-gesture. 2025-10-03 15:31:20 -04:00
gram-signal
d36a4232be Bump libsignal to v0.83.0 2025-10-03 15:31:20 -04:00
Jim Gustafson
5b8750a84f Update to RingRTC v2.59.0 2025-10-03 15:31:20 -04:00
Michelle Tang
0323cb5d98 Bump version to 7.59.1 2025-10-03 15:25:44 -04:00
Michelle Tang
f4369f90e0 Update translations and other static files. 2025-10-03 15:20:37 -04:00
Cody Henthorne
8b19cbb603 Show correct dialog when validating AEP after registration. 2025-10-03 15:17:10 -04:00
Alex Hart
aa3a797e19 Drop UNIQUE constraint from table column. 2025-10-03 15:41:29 -03:00
Cody Henthorne
827ceafffb Show skip restore warning. 2025-10-03 14:13:15 -04:00
Michelle Tang
cf1afb739f Bump version to 7.59.0 2025-10-02 13:17:59 -04:00
Michelle Tang
b9fe377afd Update translations and other static files. 2025-10-02 13:11:22 -04:00
Michelle Tang
a381697949 Update button color when viewing votes. 2025-10-02 12:56:04 -04:00
Michelle Tang
2d87078495 Show character count when creating a poll. 2025-10-02 12:56:04 -04:00
Alex Hart
1b9695cb98 Reject last-use kyber key sets that we've seen before. 2025-10-02 12:56:04 -04:00
Cody Henthorne
5324290fab Dedupe attachment downloads for matching attachments and fix size calculations. 2025-10-02 12:56:04 -04:00
Michelle Tang
b8e4ffb5ae Release polls behind feature flag. 2025-10-02 12:56:04 -04:00
Cody Henthorne
67a693107e Fix bad data for users that rotated their recovery key. 2025-10-02 12:56:04 -04:00
andrew-signal
e08b86cda6 Bump to libsignal v0.82.1 2025-10-02 12:56:04 -04:00
Michelle Tang
92bab9fb20 Drop duplicate name error when editing profiles. 2025-10-02 12:56:04 -04:00
Michelle Tang
e7502f08ce Clear etag on internal only config refresh. 2025-10-02 12:56:04 -04:00
Alex Hart
3a530022fc Add additional dialog checks. 2025-10-02 12:56:04 -04:00
jeffrey-signal
2c8144b32f Add more compose preview annotations. 2025-10-02 12:56:04 -04:00
Alex Hart
87535a917a Fully check result code when processing purchase results. 2025-10-02 12:56:04 -04:00
Alex Hart
76448f5426 Apply missing callback for entering remote backups settings fragment. 2025-10-02 12:56:04 -04:00
Alex Hart
019df97a22 Add proper gesture when user navigates to or from a conversation. 2025-10-02 12:56:04 -04:00
Cody Henthorne
51897bb74f Fix outgoing disappearing message export oddity check. 2025-10-02 12:56:04 -04:00
jeffrey-signal
5f3b4056e9 Fix incorrect nav bar colors on registration screens for Android 8.1 and newer. 2025-10-02 12:56:04 -04:00
Jeffrey Starke
73a3c21716 Media review - Fix alignment of recipient name and arrow. 2025-10-02 12:56:04 -04:00
jeffrey-signal
a37209d8ba Prevent infinite archive attachment reconciliation attempts after server storage quota disagreement. 2025-10-02 12:56:04 -04:00
andrew-signal
415021eedf Bump to libsignal v0.82.0 2025-10-02 12:56:04 -04:00
Alex Hart
ea6d512cc8 Do not reroute to main activity if launching in a bubble. 2025-10-02 12:56:04 -04:00
Alex Hart
fba6673907 Eliminate dependency material icons core. 2025-10-02 12:56:04 -04:00
jeffrey-signal
faba4682ed Fix indeterminate progress dialog animation. 2025-10-02 12:56:04 -04:00
Jeffrey Starke
71b92f03bc Fix DonationsService ServiceResponse to use exception body instead of message. 2025-10-02 12:56:04 -04:00
Alex Hart
d4a1cb0bfb Upgrade compose to latest stable. 2025-10-02 12:56:04 -04:00
Alex Hart
e16ca2b2d2 Several navhost behavioural updates to ensure the right pane is displayed at the right time. 2025-10-02 12:56:04 -04:00
Michelle Tang
77e678e05c Bump version to 7.58.2 2025-10-02 12:53:42 -04:00
Michelle Tang
efe0e3b816 Update translations and other static files. 2025-10-02 12:49:37 -04:00
andrew-signal
6c497e131a Remove android.libsignalWebSocketEnabled flag and always use LibSignalChatConnection. 2025-09-30 19:22:47 -04:00
Michelle Tang
ccb8c1b1b9 Bump version to 7.58.1 2025-09-29 16:18:06 -04:00
Michelle Tang
4aa965144d Update translations and other static files. 2025-09-29 16:09:49 -04:00
Cody Henthorne
786bcc3da7 Fix header case bugs in status code errors. 2025-09-26 12:54:18 -04:00
Cody Henthorne
4447b29e6c Fix upload to archive running while not on wifi. 2025-09-25 13:27:07 -04:00
Jeffrey Starke
3ebbb94a1a Bump version to 7.58.0 2025-09-24 16:39:40 -04:00
Jeffrey Starke
64a7cdafa8 Update translations and other static files. 2025-09-24 16:37:04 -04:00
Cody Henthorne
c3350c0bb0 Clear credentials in pre-restore state. 2025-09-24 16:29:57 -04:00
Cody Henthorne
e2be1e0c79 Prevent IMO from running before registration. 2025-09-24 16:29:57 -04:00
Alex Hart
228a993237 Ignore PNI messages for everything except server delivery receipts. 2025-09-24 16:29:57 -04:00
Alex Hart
04923487c4 Ignore mismatch state if FREE tier user has GPB sub.
Co-authored-by: jeffrey-signal <jeffrey@signal.org>
2025-09-24 16:29:57 -04:00
Alex Hart
9777aa411c Remove transitions from base NavHost. 2025-09-24 16:29:57 -04:00
Alex Hart
d0c1e93b3c Do not display a price if it's been zeroed. 2025-09-24 16:29:57 -04:00
Alex Hart
9b517a14cb Remove separate controllers and consolidate logic. 2025-09-24 16:29:57 -04:00
Alex Hart
369085e162 Add new log sections to backups. 2025-09-24 16:29:57 -04:00
Alex Hart
93815a0504 Add checks to skip check job if we have a pending or pre-pending transaction. 2025-09-24 16:29:57 -04:00
Alex Hart
b88097a6ae Utilize keepLonger throughout BillingApiImpl. 2025-09-24 16:29:57 -04:00
Alex Hart
120cc9c521 Fix padding on button when we have a current tier. 2025-09-24 16:29:57 -04:00
Cody Henthorne
58304a0fb6 Fix RTL ByteSize rendering. 2025-09-24 16:29:57 -04:00
Cody Henthorne
6e867d678c Fix de related crash and bug. 2025-09-24 16:29:57 -04:00
Cody Henthorne
8b2f58e0e7 Remove hard coded message backups remote config. 2025-09-24 16:29:57 -04:00
Cody Henthorne
6976ac7d44 Move v3 classes to base registration package. 2025-09-24 16:29:57 -04:00
Cody Henthorne
8dc2077ad0 Remove regv2. 2025-09-24 16:29:57 -04:00
jeffrey-signal
52fa86046b Fix backups UI scaling issues. 2025-09-24 16:29:57 -04:00
Alex Hart
3352ebaa06 Move large screen check to wrapper. 2025-09-24 16:29:57 -04:00
Cody Henthorne
cbfdc4b57a Improve free tier UX around media. 2025-09-24 16:29:57 -04:00
Greyson Parrelli
c5753b96ff Update BackupMediaSnapshot to be based on attachments in backup frames. 2025-09-24 16:29:57 -04:00
Alex Hart
f39ad24cc1 Increase desired width increment to aleviate situations where certain text would still flow to multiple lines. 2025-09-24 16:29:57 -04:00
Greyson Parrelli
6b6877bae7 Update username link logo.
Resolves #14258
2025-09-24 16:29:57 -04:00
andrew-signal
930254da7b Bump to libsignal v0.81.1. 2025-09-24 16:29:56 -04:00
Alex Hart
3df2fa53e8 Don't exit multiselect mode when swapping screens. 2025-09-24 16:29:56 -04:00
Alex Hart
c901639ce8 Add lint detection for System.out.println add kotlin.io.println usage. 2025-09-24 16:29:56 -04:00
Alex Hart
9e1cec7a60 Fix anchor offset when search or action mode is entered. 2025-09-24 16:29:56 -04:00
Alex Hart
9269c66d1e Add remote config support for large screen UI. 2025-09-24 16:29:56 -04:00
Alex Hart
fd999be41a Add new navigation and pane support. 2025-09-24 16:29:56 -04:00
Alex Hart
146a5f5701 Remove ParcelableGroupId. 2025-09-23 20:21:30 -04:00
Alex Hart
d49ef1dd7d Convert RecipientId to Kotlin. 2025-09-23 20:21:30 -04:00
Greyson Parrelli
49c5fead39 Catch ZK validation error in profile fetch. 2025-09-23 20:21:30 -04:00
Greyson Parrelli
9c705f3a45 Remove unnecessary SMS entrypoint.
Fixes #14213
2025-09-23 20:21:30 -04:00
Alex Hart
bea204ab82 Convert GroupId to Kotlin. 2025-09-23 20:21:29 -04:00
Jeffrey Starke
9350438866 Bump version to 7.57.2 2025-09-23 20:00:39 -04:00
Jeffrey Starke
4d827adc8b Update translations and other static files. 2025-09-23 19:50:47 -04:00
Cody Henthorne
9f839b75fb Improve restore error messaging and actual available restore method options. 2025-09-23 14:32:11 -04:00
Alex Hart
c0482e8247 Ensure api availability is properly loaded in checkout flow. 2025-09-23 15:12:37 -03:00
Greyson Parrelli
17f27f45fc Bump version to 7.57.1 2025-09-18 10:36:19 -04:00
Greyson Parrelli
2401e33222 Update translations and other static files. 2025-09-18 10:35:53 -04:00
Greyson Parrelli
4345179a1d Fix replying to non-media. 2025-09-18 10:10:56 -04:00
Greyson Parrelli
5aa6fc78ee Bump version to 7.57.0 2025-09-17 14:37:30 -04:00
Greyson Parrelli
e0a86ead58 Update translations and other static files. 2025-09-17 14:36:54 -04:00
Alex Hart
169d0fa964 Convert Media to kotlin. 2025-09-17 14:21:43 -04:00
Greyson Parrelli
c5397bc7d2 Fix potential crash in story send.
Fixes #14331
2025-09-17 14:21:43 -04:00
Greyson Parrelli
43f6e0ad8e Fix restore error string formatting. 2025-09-17 14:21:43 -04:00
Alex Hart
736811393f Upgrade Kotlin, AGP, Gradle versions and bring in kotlinx-serialization for use with navigation-compose. 2025-09-17 14:21:43 -04:00
andrew-signal
957ddc82b5 Switch lookupUsernameHash to use libsignal's typed API wrapper. 2025-09-17 14:21:43 -04:00
andrew-signal
16d6e98355 Pass all android.libsignal.* prefixed remote configs down automatically. 2025-09-17 14:21:43 -04:00
Alex Hart
2a90809ba3 Add Billing API and Google API availability error dialogs. 2025-09-17 14:21:43 -04:00
andrew-signal
0713a88ddb Bump to libsignal v0.81.0 2025-09-17 14:21:43 -04:00
Greyson Parrelli
c78b47fbe3 Make max envelope size remote configurable. 2025-09-17 14:21:43 -04:00
jeffrey-signal
5807cbc9e9 Disable autofill for PIN entry fields. 2025-09-17 14:21:43 -04:00
Cody Henthorne
6d90330e86 Improve restore complete dialog for old device. 2025-09-17 14:21:43 -04:00
Michelle Tang
862bab55af Add more logging around notification profile overrides. 2025-09-17 14:21:43 -04:00
jeffrey-signal
7235a3730c Fix crash when opening the change number registration lock screen. 2025-09-17 14:21:43 -04:00
jeffrey-signal
c24993960d Fix inconsistent default PIN keyboard type. 2025-09-17 14:21:43 -04:00
Greyson Parrelli
7f429dc769 Bring back proper archive delete reconciliation. 2025-09-17 14:21:43 -04:00
Michelle Tang
a575626abb Add logging around overrides in notification profiles. 2025-09-17 14:21:43 -04:00
moiseev-signal
0b71b1837c Upgrade to libsignal 0.80.3 and add a new trust root for sealed sender. 2025-09-17 14:21:43 -04:00
jeffrey-signal
f0df1b99e5 Always include english translations for emoji search.
Updates the `emoji_search` table by including English emoji labels alongside existing localized labels, enabling users to search for emojis in both their preferred language and English.
2025-09-17 14:21:43 -04:00
Alex Hart
23b7ea90a1 Add fixes for primary choice when returning to chats. 2025-09-17 14:21:43 -04:00
Alex Hart
53a6b0c719 Fix navigator to ensure we don't end up with a weird backstack. 2025-09-17 14:21:43 -04:00
Alex Hart
bf3135b2d0 Fix various issues in main activity display. 2025-09-17 14:21:43 -04:00
Alex Hart
897461b594 Expand the detail anchor if we select a conversation while the list is maximized. 2025-09-17 14:21:43 -04:00
Alex Hart
63800306a0 Pre-seed navigation when intent is processed before navigator is set. 2025-09-17 14:21:43 -04:00
Greyson Parrelli
b649b8c943 Hide some error states for unregistered users. 2025-09-17 14:21:42 -04:00
andrew-signal
2c0aa40c61 Disable vector drawable rasterization in donations library. 2025-09-17 14:21:42 -04:00
Alex Hart
2eb4f650d8 Convert NotificationsSettingsFragment to compose. 2025-09-17 14:21:42 -04:00
Ehren Kret
7af811eb3f Accept legacy call links. 2025-09-17 14:21:42 -04:00
Alex Hart
d7f43c436e Mark decision state during instrumentation testing. 2025-09-17 14:21:42 -04:00
Cody Henthorne
2792b9e676 Add prompt to re-enable local backups post restore. 2025-09-17 14:21:42 -04:00
Cody Henthorne
bdf2ef5a05 Allow for multiple captchas to be solved during registration. 2025-09-17 14:21:42 -04:00
Alex Hart
23b5a3dcb0 Start conversion from Fragment Nav Framework to utilizing a centralized AppSettingsRouter. 2025-09-17 14:21:42 -04:00
Alex Hart
909ea6b925 Add MainActivity scaffold anchoring. 2025-09-17 14:21:42 -04:00
Greyson Parrelli
a5922c31b1 Fix debuglog spacing. 2025-09-17 14:21:42 -04:00
Greyson Parrelli
d8758bcc4e Add data seeding playground. 2025-09-17 14:21:42 -04:00
Jim Gustafson
f88181cc82 Update to RingRTC v2.57.1 2025-09-17 14:21:42 -04:00
Michelle Tang
c3f1036686 Always fetch remote configs on app update. 2025-09-17 14:21:42 -04:00
Greyson Parrelli
96292cd4a1 Bump version to 7.56.9 2025-09-17 14:20:05 -04:00
Greyson Parrelli
81f6035027 Update translations and other static files. 2025-09-17 14:03:43 -04:00
Greyson Parrelli
52005cf62c Fix bug when replying with a voice note. 2025-09-17 13:30:02 -04:00
Greyson Parrelli
f5effa5be9 Bump version to 7.56.8 2025-09-16 10:48:51 -04:00
Greyson Parrelli
cae7906f04 Mark some archive logs as keep longer. 2025-09-16 10:48:29 -04:00
Greyson Parrelli
7ea8cc6b0a Fix database migrations post-backup-restore. 2025-09-16 09:44:49 -04:00
Greyson Parrelli
8669a3d6e0 Bump version to 7.56.7 2025-09-15 20:42:16 -04:00
Greyson Parrelli
cb3bc91865 Update translations and other static files. 2025-09-15 20:41:54 -04:00
Cody Henthorne
1a0c4b8135 Fix crash with media restore progress banner. 2025-09-15 20:33:58 -04:00
Cody Henthorne
6a456a288d Fix signal backup daily schedule bug. 2025-09-15 20:33:58 -04:00
Cody Henthorne
901a81fb74 Add edit proxy ability to quick restore flow. 2025-09-15 20:33:58 -04:00
Cody Henthorne
b1b99855b2 Improve understanding of last signal backup time in main backup settings screen. 2025-09-15 12:51:41 -04:00
Alex Hart
c6f0b4cf83 Remove frequency row. 2025-09-15 13:20:29 -03:00
Cody Henthorne
1a5dede780 Bump version to 7.56.6 2025-09-12 15:35:19 -04:00
Cody Henthorne
2c8b1c6acb Update translations and other static files. 2025-09-12 15:29:44 -04:00
Greyson Parrelli
d7da56b82f Temporarily disable reconciliation deletes. 2025-09-12 15:21:27 -04:00
Cody Henthorne
d9cfdd1b32 Update backups all set bottom sheet. 2025-09-12 15:21:27 -04:00
Greyson Parrelli
b3b3a4bebf Put invisible marker for keepLonger logs to improve log viewing. 2025-09-12 15:21:27 -04:00
Greyson Parrelli
9021883baa Improve debug logging for reconciliation. 2025-09-12 15:21:27 -04:00
Cody Henthorne
c19017f037 Update svr as part of remote restore. 2025-09-12 14:54:35 -04:00
Alex Hart
bff40ff60b If subscription will cancel at end of period, then show the cancelled state. 2025-09-12 12:24:57 -03:00
Greyson Parrelli
299445d5f9 Fix query for enqueuing thumbnail jobs. 2025-09-12 10:50:19 -04:00
Alex Hart
b2e3d7ba20 Move pending payment check above subscription checks. 2025-09-12 11:17:47 -03:00
Greyson Parrelli
60df7502ee Fix configuration. 2025-09-11 15:49:19 -04:00
Cody Henthorne
28ea4dbc16 Fix stale backup time on backup setting screen. 2025-09-11 15:32:36 -04:00
Cody Henthorne
c4d9942f0e Fix crash when remote key is missing but not null. 2025-09-11 15:14:36 -04:00
Greyson Parrelli
3e50d2318f Try to fix phone numbers if we hit a dupe recipient during archive export. 2025-09-11 13:55:53 -04:00
Greyson Parrelli
040881e5a6 Fix a chat update validation error. 2025-09-11 11:37:27 -04:00
Cody Henthorne
681234ace3 Make failure to trigger backup id a warning log. 2025-09-11 11:00:52 -04:00
Greyson Parrelli
98e9694b35 Support backup4 and backup5 capabilities for linked devices. 2025-09-11 10:44:38 -04:00
andrew-signal
95c46b9d82 Bump libsignal to v0.80.2 2025-09-11 10:04:26 -04:00
andrew-signal
76dfa5d7fe Bump libsignal to v0.80.1 2025-09-11 10:03:42 -04:00
Cody Henthorne
b39d562d56 Include last proto size in internal settion of backups settings. 2025-09-10 16:28:53 -04:00
Cody Henthorne
148cf63a92 Fix bugs around showing 0 bytes for backup size. 2025-09-10 16:05:12 -04:00
Greyson Parrelli
c155b4e025 Update legacy app icons. 2025-09-10 15:54:54 -04:00
Greyson Parrelli
90ae9e1636 Reduce max envelope size for internal users. 2025-09-10 15:33:10 -04:00
jeffrey-signal
79ee14826d Disable keyboard suggestions when typing PIN.
Converts `PinKeyboardType` to Kotlin and introduces methods to consistently configure PIN entry fields throughout the app, including a fix to disable keyboard suggestions.
2025-09-10 14:20:46 -04:00
Greyson Parrelli
179bb6e1da Add mitigation for mentions with unknown recipients.
Relates to #14310
2025-09-10 14:17:23 -04:00
Greyson Parrelli
c393d65ce6 Do not include scheduled messages in the archive. 2025-09-10 14:16:36 -04:00
Alex Hart
eeb8164c18 Always display paid tier but stick a dialog in front of it for non-GPS devices. 2025-09-10 15:12:35 -03:00
Cody Henthorne
ea772cbf55 Fix reglock setting incorrect during backup restore. 2025-09-10 12:57:25 -04:00
Cody Henthorne
dd67398a70 Fix upload media progress bar not showing after backup create. 2025-09-10 11:49:38 -04:00
Greyson Parrelli
d44bed0379 Fix archive handling of mixed error send statuses, add more tests. 2025-09-10 11:42:43 -04:00
Greyson Parrelli
236c79bfbb Update beta labeling string. 2025-09-10 10:22:54 -04:00
Cody Henthorne
7dfee7e315 Bump version to 7.56.5 2025-09-09 16:50:31 -04:00
Cody Henthorne
6600849cc4 Update translations and other static files. 2025-09-09 16:31:03 -04:00
Cody Henthorne
c4255157ac Fix benchmark test. 2025-09-09 16:23:22 -04:00
Cody Henthorne
3bb6a0a560 Fix daily backups being incorrectly scheduled for multiple days away. 2025-09-09 15:55:11 -04:00
Greyson Parrelli
a05d5ff5e6 Fix some issues with BackupMediaSnapshots. 2025-09-09 15:12:02 -04:00
Alex Hart
da6ad2b629 Add fallback biometric handling for older api versions. 2025-09-09 12:48:49 -03:00
Cody Henthorne
09a05c9f4c Fix dangling progress state prior to progress status determination. 2025-09-09 11:48:15 -04:00
Greyson Parrelli
57319d3189 Perform additional APNG validations.
Special thank you to Stanislav Fort of Aisle Research (stanislav.fort@aisle.com)
for finding this issue, bringing it to our attention, and offering a solution!
2025-09-09 11:45:04 -04:00
Alex Hart
40ba967192 Don't fail backup redemption pipeline after 24hrs. 2025-09-09 11:46:59 -03:00
Greyson Parrelli
3c7534f7fa Add some job logging improvements. 2025-09-09 10:38:02 -04:00
Greyson Parrelli
79ec47f901 Fix archive tests around optimize storage. 2025-09-08 16:21:57 -04:00
Greyson Parrelli
6108b5ab77 Another attempt to fix validation errors around invalid long text attachments. 2025-09-08 16:18:21 -04:00
Michelle Tang
49417bdf9d Update edit text fields for pins. 2025-09-08 14:28:04 -04:00
Alex Hart
d2fcb191b6 Add new text label for when backups are off. 2025-09-08 14:59:59 -03:00
Alex Hart
dca876e40d Don't mark deletion failure if we are in an IDLE state. 2025-09-08 14:50:12 -03:00
Alex Hart
5e35c209c2 Fix backup state observation and expand logging. 2025-09-08 14:29:46 -03:00
Greyson Parrelli
22382bc8a3 Keep some message backup logs for longer. 2025-09-08 13:22:27 -04:00
Greyson Parrelli
bf9e75d983 Ensure that permanent thumbnail failures can be properly marked as such. 2025-09-08 11:05:06 -04:00
Greyson Parrelli
f96e29c9c9 Fix thumbnail query in debug attachment stats. 2025-09-08 11:05:06 -04:00
Greyson Parrelli
0bf2f9aca7 Add extra buttons to the Backup Playground. 2025-09-08 11:05:06 -04:00
Greyson Parrelli
2ba427e3dd Do not attempt archive restore when data hash is null. 2025-09-08 11:05:06 -04:00
Greyson Parrelli
624ae32a0e Bump version to 7.56.4 2025-09-06 00:02:21 -04:00
Greyson Parrelli
1339c44892 Fix potential crash when backing up attachment. 2025-09-05 23:38:57 -04:00
Greyson Parrelli
8499402831 Remove unnecessary BackupSubscriptionJob tests cases. 2025-09-05 19:37:38 -04:00
Greyson Parrelli
4df6b87c13 Fix attachment table archive eligibility tests. 2025-09-05 19:33:50 -04:00
Greyson Parrelli
7d16e857d4 Fix unit tests around quote deduping. 2025-09-05 16:56:52 -04:00
Greyson Parrelli
a6c215801b Delay the first archive reconciliation. 2025-09-05 16:42:07 -04:00
andrew-signal
b3a9b92717 Bump libsignal to v0.80.0 2025-09-05 16:14:56 -04:00
Alex Hart
071496e0c1 Bump version to 7.56.2 2025-09-05 16:23:00 -03:00
Alex Hart
af36b9adbd Update translations and other static files. 2025-09-05 16:22:42 -03:00
Greyson Parrelli
630f998ea4 Add some better debug info around backup state. 2025-09-05 15:00:00 -04:00
Greyson Parrelli
9058f7ed55 Ignore invalid long text attachment pointers. 2025-09-05 14:31:14 -04:00
Alex Hart
0dac6344ab Access configuration via cache layer when evaluating state. 2025-09-05 14:44:49 -03:00
Greyson Parrelli
8adb16912f Update string describing backup frequency. 2025-09-05 11:02:25 -04:00
Alex Hart
21868878cf Bump version to 7.56.1 2025-09-05 10:42:15 -03:00
Alex Hart
51e0142f10 Update translations and other static files. 2025-09-05 10:42:03 -03:00
Alex Hart
e8e851dbe0 Remove billing factory override from website variant. 2025-09-05 10:23:26 -03:00
Greyson Parrelli
8809b8f77c Bump version to 7.56.0 2025-09-04 17:00:43 -04:00
Greyson Parrelli
f8aa3644aa Update translations and other static files. 2025-09-04 17:00:20 -04:00
Greyson Parrelli
e1e41b6f7f Revert "Add logging when registration can't be completed."
This reverts commit 2c47cd2422.
2025-09-04 17:00:20 -04:00
jeffrey-signal
b1f067536b Disable saving PIN to password manager.
We haven't found a reliable way to make the auto-fill framework differentiate between the PIN and backup key, so we are disabling prompts to save Signal PINs to password managers to avoid accidentally overwriting a saved backup key with a PIN value.

Co-authored-by: Michelle Tang <mtang@signal.org>
2025-09-04 17:00:20 -04:00
Cody Henthorne
217a6187c2 Add run restore media job to internal settings. 2025-09-04 17:00:20 -04:00
Cody Henthorne
1d1f0c0b3a Fix wallpaper attachments not being restored. 2025-09-04 17:00:20 -04:00
Greyson Parrelli
ba3c30f768 Enable Signal Secure Backups for external users. 2025-09-04 17:00:20 -04:00
Greyson Parrelli
bc85552ded Fix possible crash during restore. 2025-09-04 16:35:06 -04:00
Greyson Parrelli
ccf1be2359 Add failsafe for clearing abandoned backup progress. 2025-09-04 16:35:06 -04:00
Greyson Parrelli
0d3727f08b Handle thumbnail generation failing more gracefully. 2025-09-04 16:35:06 -04:00
Cody Henthorne
94b464e37c Call mark registration complete in more places. 2025-09-04 16:35:06 -04:00
Greyson Parrelli
ca2cc722d4 Add separate column to track archive thumbnail status. 2025-09-04 16:35:06 -04:00
Alex Hart
2c47cd2422 Add logging when registration can't be completed. 2025-09-04 16:35:06 -04:00
Greyson Parrelli
1c9d68a932 Fix thumbnail job precondition. 2025-09-04 16:35:06 -04:00
Greyson Parrelli
807d10837b Do not include view-once or long text in the media snapshot table. 2025-09-04 16:35:06 -04:00
Cody Henthorne
6e5c569f7e Update various registration related logs as keep-longer. 2025-09-04 16:35:06 -04:00
Greyson Parrelli
4179592ae7 Disable the 'optimize storage' feature for production users. 2025-09-04 16:35:06 -04:00
Cody Henthorne
1f40c7ab7e Improve archive restore progress tracking and UX. 2025-09-04 16:35:06 -04:00
Greyson Parrelli
89a0541574 Ensure we don't archive thumbnails or stories. 2025-09-04 16:35:06 -04:00
Greyson Parrelli
5294bd8a1a Show 'calculating' while loading backup size. 2025-09-04 16:35:06 -04:00
Alex Hart
2d9c572c01 Fix several backup related problems. 2025-09-04 16:35:06 -04:00
Greyson Parrelli
8520108bb2 Limit quote bodies to 2kib on export. 2025-09-04 16:35:06 -04:00
Greyson Parrelli
2572dac8a7 Remove backup frequency setting. 2025-09-04 16:35:06 -04:00
andrew-signal
54b31514ba Bump libsignal to v0.79.1 2025-09-04 16:35:06 -04:00
Greyson Parrelli
1166b99d01 Add backupVersion to RegistrationProvisioning.proto 2025-09-04 16:35:06 -04:00
Greyson Parrelli
b44cd5d4c4 Clear some tooltips after restore, remove some legacy ones entirely. 2025-09-04 16:35:06 -04:00
Greyson Parrelli
08a8c56d5c Only allow archive tier overrides on staging. 2025-09-04 16:35:05 -04:00
Michelle Tang
33645c302b Update backup related strings. 2025-09-04 16:35:05 -04:00
Greyson Parrelli
a7ac138ea3 Add quote reconstruction job for free-tier restores. 2025-09-04 16:35:05 -04:00
Greyson Parrelli
06b85cc3cb Improve quote deletion, remove file deletes from transactions. 2025-09-04 16:35:05 -04:00
Greyson Parrelli
662404d335 Migrate quotes to have a separate quoteTargetContentType. 2025-09-04 16:35:05 -04:00
Greyson Parrelli
631b51baf2 Add a migration to generate thumbnails for existing quotes. 2025-09-04 16:35:05 -04:00
Greyson Parrelli
c29d77d4a5 Do not generate archive thumbnails for quotes. 2025-09-04 16:35:05 -04:00
Greyson Parrelli
d4c1c39179 Generate thumbnails for quote attachments. 2025-09-04 16:35:05 -04:00
Greyson Parrelli
71dd1d9d8b Add backstop for ensuring attachment archive jobs are enqueued. 2025-09-04 16:35:05 -04:00
Michelle Tang
3b715bc461 Catch foreground service not allowed exceptions. 2025-09-04 16:35:05 -04:00
Greyson Parrelli
712616e569 Do not prompt prod users to enable backups. 2025-09-04 16:35:05 -04:00
Michelle Tang
c18cb6a926 Set remote fetch time for remote config v2. 2025-09-04 16:35:05 -04:00
Greyson Parrelli
b975e2ed69 Ensure that memory-only jobs do not get lost due to cache eviction. 2025-09-04 16:35:05 -04:00
Greyson Parrelli
b87a060251 Use more sensible numberings for JobRunner ids. 2025-09-04 16:35:05 -04:00
Greyson Parrelli
c493fc1c4c Fix name of thread dump log sections. 2025-09-04 16:35:05 -04:00
Alex Hart
e083076e40 Add additional information to entitlement level log-line of context job. 2025-09-04 16:35:05 -04:00
Greyson Parrelli
a5c4c3b54a Small JobManager tweaks to scale more often and improve debugging info. 2025-09-04 16:35:05 -04:00
Cody Henthorne
3bcfb5ab61 Fix received stickers for installed packs without a data_hash_end. 2025-08-28 12:04:43 -04:00
Cody Henthorne
8ce17e3e2d Remove set pin after aep reg megaphone. 2025-08-28 11:30:23 -04:00
Greyson Parrelli
460b097a71 Ensure that all SignalValues are having the correct overrides called. 2025-08-28 09:50:02 -04:00
Michelle Tang
8e9dc78957 Bump version to 7.55.0 2025-08-27 16:09:44 -04:00
Michelle Tang
1ee5d32322 Update translations and other static files. 2025-08-27 15:59:54 -04:00
Michelle Tang
42905b5bb8 Remove phantom restore media notification. 2025-08-27 15:55:18 -04:00
Cody Henthorne
b8c25a4d78 Re-enable large image loading. 2025-08-27 15:55:18 -04:00
Cody Henthorne
cdbe2c1c71 Revert "Disable all fixes for large image loading."
This reverts commit a16ac3394c.
2025-08-27 15:55:18 -04:00
Michelle Tang
d4f08e6d46 Update unsupported message UI. 2025-08-27 15:55:18 -04:00
Michelle Tang
8322bf3ecc Choose manual profile over scheduled profile if active. 2025-08-27 15:55:18 -04:00
Cody Henthorne
21363f085e Add sticker specific restore flow and fix archive related sticker bugs. 2025-08-27 15:55:18 -04:00
Greyson Parrelli
9903a664d4 Allow NEEDS_RESTORE attachments to be considered as 'couldBeOnArchiveCdn'. 2025-08-27 15:55:18 -04:00
Greyson Parrelli
1a1ddbfa39 Add additional logging around JobRunners. 2025-08-27 15:55:18 -04:00
Greyson Parrelli
23bbe704ab Add a reserved runner for attachment operations. 2025-08-27 15:55:18 -04:00
Greyson Parrelli
0dda3d54c9 Add SendDeliveryReceiptJob to the reserved runner. 2025-08-27 15:55:18 -04:00
Greyson Parrelli
dde1d9b2c8 Ensure that debuglog search queries are escaped.
Thank you to Aref Alotaibi <arefalotaibi.cs@gmail.com> for discovering
and reporting this issue!
2025-08-27 15:55:18 -04:00
Cody Henthorne
7bb0b513e8 Don't set archive states when importing from no-media backup. 2025-08-27 15:55:18 -04:00
Greyson Parrelli
2046b44fce Clear incrementalMac if we discover it's bad during playback. 2025-08-27 15:55:18 -04:00
Alex Hart
45c64f825d Migrate DataAndStorageFragment to compose. 2025-08-27 15:55:18 -04:00
Jim Gustafson
94ed0650dc Calling: Remove unnecessary hangups 2025-08-27 15:55:18 -04:00
Cody Henthorne
0d390769d4 Add key reuse to create keys operation in backup job. 2025-08-27 15:55:18 -04:00
Alex Hart
2872020c1f Convert ChatsSettings screen to compose. 2025-08-27 15:55:18 -04:00
Michelle Tang
8723fd9a24 Check remaining attachment size before launching service. 2025-08-27 15:55:18 -04:00
Greyson Parrelli
9a9661149b Run unit tests in parallel. 2025-08-27 15:55:18 -04:00
Michelle Tang
5dfbfccc08 Add media restore tier to debuglogs. 2025-08-27 15:55:18 -04:00
Alex Hart
a344618c63 Update logging of timestamps in Remote Backups section. 2025-08-27 15:55:18 -04:00
Alex Hart
24b93fb517 Fix IAP insertion timestamp. 2025-08-27 15:55:18 -04:00
Greyson Parrelli
f052b1fd90 Ignore expensive AttachmentCipherTests.
They can take up to 15 seconds to run, and they've already proven
their usefulness. We can un-ignore them temporarily if we ever need
to make changes.
2025-08-27 15:55:18 -04:00
Greyson Parrelli
a234896438 Ensure that we clear incrementalMac's that will be invalidated during archive. 2025-08-27 15:55:18 -04:00
Alex Hart
bed718347c Fix navigation bar gap when opening keyboard in split pane view. 2025-08-27 15:55:18 -04:00
Cody Henthorne
53f2049c48 Use same cipher version for registration and linking provisioning messages. 2025-08-27 15:55:18 -04:00
andrew-signal
00d425356d Bump to libsignal v0.79.0 2025-08-27 15:55:18 -04:00
Cody Henthorne
6c42ce411b Add JUnit-based database consistency test. 2025-08-27 15:55:18 -04:00
Alex Hart
1833248c96 Don't bother with the empty item if we are on the new calling UI. 2025-08-27 15:55:18 -04:00
Cody Henthorne
f5b1857866 Fix various attachment reuse bugs causing archive issues. 2025-08-27 15:55:18 -04:00
Alex Hart
114524adc6 Add support for resizing pane on main activity. 2025-08-25 18:01:22 -04:00
Michelle Tang
47fb0deca4 Add foreground service when restoring backup media. 2025-08-25 18:01:22 -04:00
Michelle Tang
98f4baa7b2 Bump version to 7.54.1 2025-08-25 16:27:56 -04:00
Michelle Tang
e051939adb Update translations and other static files. 2025-08-25 16:24:12 -04:00
Cody Henthorne
a16ac3394c Disable all fixes for large image loading. 2025-08-25 14:49:44 -04:00
Jeffrey Starke
62fdf3d1aa Bump version to 7.54.0 2025-08-21 15:09:51 -04:00
Jeffrey Starke
9969b10c02 Update baseline profile. 2025-08-21 15:06:08 -04:00
Jeffrey Starke
ac656e4cb5 Update translations and other static files. 2025-08-21 15:01:36 -04:00
Greyson Parrelli
b3d2e31bae Add dynamic scaling to our JobRunner system. 2025-08-21 14:52:34 -04:00
Alex Hart
c117082f23 Update self-pip placement in compose screen. 2025-08-21 14:52:34 -04:00
Alex Hart
3c02ff0894 Fix background corners on Foldables / Tablet layout. 2025-08-21 14:52:34 -04:00
gram-signal
e917d39a8e Add 'spqr' capability to uploaded AppCapabilities. 2025-08-21 14:52:34 -04:00
Alex Hart
38bb15ed44 Fix participant overflow sizing on tablets. 2025-08-21 14:52:34 -04:00
Alex Hart
2db87c36a3 Convert AppearanceSettingsFragment to compose. 2025-08-21 14:52:34 -04:00
Alex Hart
92d31ee6ff Convert AppUpdatesSettingsFragment to compose. 2025-08-21 14:52:34 -04:00
Alex Hart
d92286297f Convert AdvancedPrivacySettingsFragment to compose. 2025-08-21 14:52:34 -04:00
Michelle Tang
7d35cf1374 Use remote config v2. 2025-08-21 14:52:34 -04:00
Alex Hart
dcce8ea35a Convert AccountSettingsFragment from DSL to Compose. 2025-08-21 14:52:34 -04:00
Alex Hart
71c34e17eb Various backup strings updates. 2025-08-21 14:52:34 -04:00
Alex Hart
ecddf34083 Convert AddAllowedMembersFragment to compose. 2025-08-21 14:52:34 -04:00
Michelle Tang
958dde0f6e Fix bugs for chat folders in storage sync. 2025-08-21 14:52:34 -04:00
Greyson Parrelli
d636ef8ec9 Add debug logging for attachment restore speeds. 2025-08-21 14:52:34 -04:00
Greyson Parrelli
eb4abf2a9e Allow RestoreAttachmentJob to be retried multiple times. 2025-08-21 14:52:34 -04:00
Jordan Rose
3a06f604fd Remove direct uses of libsignal internals 2025-08-21 14:52:34 -04:00
Alex Hart
8992ed047d Remove restriction on proximity lock in landscape calling. 2025-08-21 14:52:34 -04:00
Greyson Parrelli
dfdadc9d7a Update SVRB error handling. 2025-08-21 14:52:34 -04:00
Greyson Parrelli
03c6094ea3 Bump libsignal to v0.78.2 2025-08-21 14:52:34 -04:00
Rishabh Bhatia
ccd36f199a Fixes a significant memory leak in the sticker keyboard, which caused UI lag and system slowdowns, particularly on lower-end devices.
Closes signalapp/Signal-Android#14283
Fixes signalapp/Signal-Android#13770
2025-08-21 14:52:34 -04:00
Alex Hart
7c7f2ff2aa Fix unresponsiveness of calling screen when in landscape. 2025-08-21 14:52:33 -04:00
jeffrey-signal
47508495ed Improve organization of glide packages.
Generic image processing classes were scattered alongside Signal-specific Glide code across multiple packages: `org.signal.glide`, `org.thoughtcrime.securesms.glide` and `org.thoughtcrime.securesms.mms`.

This change provides a clearer separation of concerns:
- `org.signal.glide` contains generic image loading components
- `org.thoughtcrime.securesms.glide` contains Signal-specific Glide integrations
- Feature-specific loaders are moved to their respective domain packages (e.g. `.badges`, `.contacts`)
2025-08-21 14:52:33 -04:00
Greyson Parrelli
cc43add7af Add in extra check for serviceId in send job. 2025-08-21 14:52:33 -04:00
Jim Gustafson
19b3d6d1d3 Update to RingRTC v2.57.0 2025-08-21 14:52:33 -04:00
Greyson Parrelli
1c7f6a68e4 Inline deleteSync and SSREv2 capabilities. 2025-08-21 14:52:33 -04:00
Greyson Parrelli
8df8cdf28d Fix potential crash in notification message generation. 2025-08-21 14:52:33 -04:00
Alex Hart
dd01cd15ca Fix full-screen mode for compose call screen. 2025-08-21 14:52:33 -04:00
Alex Hart
1e2b1a8b78 Fix state restoration when switching between inner and outer screens. 2025-08-21 14:52:33 -04:00
Cody Henthorne
734aa485ce Fix restore progress bar not clearing after cancel. 2025-08-21 14:52:33 -04:00
Cody Henthorne
2b56e00e89 Prevent potential deadlock when canceling jobs. 2025-08-21 14:52:33 -04:00
Greyson Parrelli
6f051ce4c2 Add progress log for dummy message inserts. 2025-08-21 14:52:33 -04:00
Alex Hart
f7bd2ee020 Upgrade compose to BOM 2025.08.00 2025-08-21 14:52:33 -04:00
Greyson Parrelli
a542b65f51 Add support for OutgoingMessageDetails.dateReceived. 2025-08-21 14:52:33 -04:00
Greyson Parrelli
4c59a746a5 Update to latest backup tests. 2025-08-21 14:52:33 -04:00
Greyson Parrelli
73ad6221a6 Add performance metrics for archive uploads. 2025-08-21 14:52:33 -04:00
Cody Henthorne
9ccdbb8e40 Rotate profile key when learning of a block by a linked device. 2025-08-21 14:52:33 -04:00
jeffrey-signal
cd26929d39 Prevent password managers from overwriting backup key with Signal PIN.
Adding a hidden username field provides additional context for the autofill service, so it knows the username associated with the confirmed PIN should be "Signal PIN" rather than "Signal backup key".
2025-08-21 14:52:33 -04:00
Cody Henthorne
d7714a2067 Do not archive view-once media. 2025-08-21 14:52:33 -04:00
Alex Hart
1056e79361 Enable edgeToEdge support for compose CallScreen. 2025-08-21 14:52:33 -04:00
Alex Hart
515f3dd43f Add proper picture in picture support to compose CallScreen component. 2025-08-21 14:52:33 -04:00
Jeffrey Starke
affe97a060 Bump version to 7.53.4 2025-08-21 14:50:05 -04:00
Jeffrey Starke
ad57b7a2db Update baseline profile. 2025-08-21 12:42:06 -04:00
Jeffrey Starke
91cd4641f2 Update translations and other static files. 2025-08-21 12:37:41 -04:00
Jeffrey Starke
f919961cb2 StreamFactoryApngDecoder handles PNG types. 2025-08-21 12:18:49 -04:00
Jeffrey Starke
9dd1f0d17d Bump version to 7.53.3 2025-08-19 20:39:21 -04:00
Jeffrey Starke
286ad3873f Update baseline profile. 2025-08-19 20:37:05 -04:00
Jeffrey Starke
748b94e6ba Update translations and other static files. 2025-08-19 20:33:30 -04:00
jeffrey-signal
d983538122 Fix broken animations for some sticker packs.
Makes a few tweaks to the APNG handling to make sure images of that type are properly identified and decoded by the StreamFactoryApngDecoder.
2025-08-19 20:12:25 -04:00
Jeffrey Starke
50ed455717 Bump version to 7.53.2 2025-08-18 19:41:09 -04:00
Jeffrey Starke
f23622d498 Update baseline profile. 2025-08-18 19:35:48 -04:00
Jeffrey Starke
625941e2e2 Update translations and other static files. 2025-08-18 19:32:30 -04:00
jeffrey-signal
a2444ffa69 Fix GIF animations.
`StreamBitmapDecoder` was handling GIF images and rendering them as static bitmaps. This change fixes that by adding a `StreamBitmapDecoder` wrapper that returns `handles=false` for images of type GIF and APNG, to enable `StreamFactoryGifDecoder` to decode GIF images.

- Resolves signalapp/Signal-Android#14300
2025-08-18 18:19:29 -04:00
Greyson Parrelli
ff708eb4ee Bump version to 7.53.1 2025-08-15 16:22:02 -04:00
Greyson Parrelli
4f3f48aa2f Update baseline profile. 2025-08-15 16:21:37 -04:00
Greyson Parrelli
b93937e866 Avoid flashing white when opening debuglog in dark theme. 2025-08-15 09:44:53 -04:00
Greyson Parrelli
0ed4785935 Detect priority-related unsatisfiable dependencies in jobs. 2025-08-14 16:56:10 -04:00
Greyson Parrelli
939dcc9295 Jump to search result while typing in debuglog viewer. 2025-08-14 16:11:19 -04:00
Greyson Parrelli
0d596af187 Hide mobile context menu in debug log viewer. 2025-08-14 15:54:05 -04:00
Greyson Parrelli
1944b5c61e Bump version to 7.53.0 2025-08-13 23:24:12 -04:00
Greyson Parrelli
b823e0a9af Update baseline profile. 2025-08-13 23:24:12 -04:00
Greyson Parrelli
117baf7b65 Update translations and other static files. 2025-08-13 23:24:12 -04:00
Greyson Parrelli
33f7fdedfa Fix race condition where not all logs would be added to the viewer. 2025-08-13 23:24:11 -04:00
Greyson Parrelli
a34ccd8ce7 Ensure uploaded logs match debug log viewer. 2025-08-13 21:44:24 -04:00
Cody Henthorne
fc1cd6d262 Fix edit message import data bugs. 2025-08-13 21:44:24 -04:00
Alex Hart
859bb02c86 Implement BackupSubscriptionCheckJob integration tests. 2025-08-13 21:44:24 -04:00
Alex Hart
638f718d7c Rework MainActivity navigation to properly suppor empty state. 2025-08-13 21:44:24 -04:00
Alex Hart
58d2fbc94e Fix proximity locking during voice calls. 2025-08-13 12:39:02 -03:00
Cody Henthorne
0bbbee645d Improve link device good citizenship with backups. 2025-08-12 14:33:47 -04:00
Greyson Parrelli
2190a4a58d Fix issue where we could enqueue unsatisfiable jobs during registration. 2025-08-12 13:00:35 -04:00
Michelle Tang
b1feffa627 Sync deletion of profiles with storage service. 2025-08-12 10:36:34 -04:00
Cody Henthorne
150e98bbc1 Fix attachment reconciliation bugs stemming from incorrect base64 encoded remote_key. 2025-08-12 09:57:29 -04:00
jeffrey-signal
709ff90d35 Fix PNG animations.
Adds an `InputStreamFactory` APNG decoder so images animate correctly when loaded via the new `DecryptableUriStreamLoader`.
2025-08-12 09:56:46 -04:00
Michelle Tang
ee657cb075 Fix notification profile override crash. 2025-08-11 15:55:06 -04:00
Greyson Parrelli
86ef32cd4c Do not load entire log into memory. 2025-08-11 13:02:13 -04:00
Alex Hart
2988e22612 Add logging when we display different alert sheets via the delegate. 2025-08-11 13:02:13 -04:00
Michelle Tang
be41c2e8cb Remove old manual overrides for notification profiles. 2025-08-11 13:02:13 -04:00
Greyson Parrelli
f518862dc3 Add debug info for archive upload progress. 2025-08-11 13:02:13 -04:00
Greyson Parrelli
3995608fd8 Fix a race condition with debuglogs viewing. 2025-08-11 13:02:13 -04:00
Alex Hart
9f7a78bf3c Update remote backup size display to indicate loading while accessing data. 2025-08-11 13:02:13 -04:00
Greyson Parrelli
71a588da39 Do not retry thumbnails on terminal status codes. 2025-08-11 13:02:13 -04:00
Greyson Parrelli
17b42f76a2 Ensure long text is excluded from pending archive size calculation. 2025-08-11 13:02:13 -04:00
lisa-signal
5e8d72e19e Fix potential ANR in debug log viewer. 2025-08-11 13:02:13 -04:00
Alex Hart
308f4c817f Perform zk check in check job. 2025-08-11 13:02:13 -04:00
lisa-signal
75df8c0e2a Allow back button to remove debug log filter. 2025-08-11 13:02:13 -04:00
jeffrey-signal
1edc94d5ad Dynamically calculate Glide stream mark limit based on device memory.
Replaces the hardcoded `InputStreamRewinder.MARK_READ_LIMIT` with a value that is calculated dynamically based on the device's RAM (scaling the mark read limit linearly between 5 to 8 MB).

A larger limit will avoid unnecessary fail & retries on high-end devices and improve performance.
2025-08-11 13:02:13 -04:00
lisa-signal
c0f826808b Add filter by log level feature in debug log screen. 2025-08-11 13:02:13 -04:00
Alex Hart
e93f889115 BackupDeleteJob integration tests. 2025-08-11 13:02:13 -04:00
Alex Hart
995215be2a Skip media restoration if we're on the free tier. 2025-08-11 13:02:13 -04:00
jeffrey-signal
784a64c353 Fix large image file loading failures.
Replaces `DecryptableStreamUriLoader` with `DecryptableUriStreamLoader`, which addresses `InvalidMarkException` errors that were occurring when loading large image files with Glide. This new model loader provides a more robust approach via multiple fallback mechanisms to try to recover gracefully from errors related to displaying large images.
2025-08-11 13:02:13 -04:00
Greyson Parrelli
a549fff6fa Add parallelization options for archive attachment restoration. 2025-08-11 13:02:13 -04:00
Greyson Parrelli
7b88b07170 Increase parallelization of attachment archive uploads. 2025-08-11 13:02:12 -04:00
Greyson Parrelli
3273787a05 Do not make all instrumentation tests internal users. 2025-08-11 13:02:12 -04:00
Cody Henthorne
27ddc97ea4 Use server rereg flag to show post reg restore flows. 2025-08-11 13:02:12 -04:00
Greyson Parrelli
f255160c4a Default the number of JobRunners to 8. 2025-08-11 13:02:12 -04:00
Greyson Parrelli
7cf170ab3d Fix debug tool to insert messages with attachments. 2025-08-11 13:02:12 -04:00
Cody Henthorne
8e6664f41c Fix backup instrumentation tests. 2025-08-11 13:02:12 -04:00
Michelle Tang
2ced30b557 Add notification profile size to local metrics. 2025-08-11 13:02:12 -04:00
Greyson Parrelli
1a531548e8 Ensure various log database indexes are used. 2025-08-11 13:02:12 -04:00
Alex Bakon
d0b53f21bd Use correct index when deleting old log lines. 2025-08-11 13:02:12 -04:00
Greyson Parrelli
3772df146a Bump version to 7.52.2 2025-08-11 12:59:34 -04:00
Greyson Parrelli
9a1a6e5c5d Update translations and other static files. 2025-08-11 12:59:12 -04:00
emir-signal
c4c9fd9f65 Make epoch optional in backups and storage service. 2025-08-11 12:40:40 -04:00
Cody Henthorne
47faefaff7 Bump version to 7.52.1 2025-08-08 12:51:46 -04:00
Cody Henthorne
a09cd7a432 Update baseline profile. 2025-08-08 12:46:37 -04:00
Cody Henthorne
9d69a123d9 Update translations and other static files. 2025-08-08 12:41:15 -04:00
andrew-signal
afcc13c8be Bump libsignal to v0.78.1. 2025-08-07 09:45:06 -04:00
Cody Henthorne
4339187ab6 Bump version to 7.52.0 2025-08-06 16:16:00 -04:00
Cody Henthorne
453781cd6d Update translations and other static files. 2025-08-06 16:04:06 -04:00
andrew-signal
303174c864 Add remote config to split libsignal-net support for standard vs proxied. 2025-08-06 15:51:27 -04:00
Cody Henthorne
95ff2886cd Add more linked device checks to various jobs. 2025-08-06 15:50:16 -04:00
Alex Hart
0df5ec458b Utilize the correct method for converting signal service amount to fiat money. 2025-08-06 15:50:16 -04:00
jeffrey-signal
7d35e685b2 Add Glide Downsampler. 2025-08-06 15:50:16 -04:00
Cody Henthorne
7ca1ac4efb Add rudimentary link+sync support. 2025-08-06 15:50:16 -04:00
Alex Hart
1a68b8768d Fix redemption error details. 2025-08-06 15:50:16 -04:00
Alex Hart
53a80589e3 Add Out of Remote Storage sheet. 2025-08-06 15:50:16 -04:00
Verryx-02
50d809029e Save media attachments to Signal subdirectories.
Closes #14277
2025-08-06 15:50:16 -04:00
Michelle Tang
eb7012b7ae Remove plaintext device creation timestamp. 2025-08-06 15:50:16 -04:00
Greyson Parrelli
9dcc704a9e Add specific registration error cases for SVRB. 2025-08-06 15:50:16 -04:00
Jordan Rose
0726c29528 Swap between two log buffers to save on copying 2025-08-06 15:50:16 -04:00
Jordan Rose
7074684474 Avoid reallocation inserting logs into database 2025-08-06 15:50:16 -04:00
lisa-signal
57454a2661 Add filter functionality to debug log screen. 2025-08-06 15:50:16 -04:00
Cody Henthorne
f8b18b6ea9 Add missing unmockk calls in various unit tests. 2025-08-06 15:50:16 -04:00
Greyson Parrelli
949bc8fb95 Add additional logging around JobManager memory state. 2025-08-06 15:50:14 -04:00
Cody Henthorne
6379f9f453 Cancel may have messages notification from FcmJobService. 2025-08-06 15:49:25 -04:00
Greyson Parrelli
26df14124b Make our loggers singletons. 2025-08-06 15:49:22 -04:00
Greyson Parrelli
ec7a2f734a Update to latest backup tests. 2025-08-06 15:48:22 -04:00
Sagar
418ce68a97 Add unit tests for FindByViewModel.
Closes #14145
2025-08-06 15:48:22 -04:00
Greyson Parrelli
92e1f68c6d Remove legacy attachment fields from Backup.proto 2025-08-05 11:00:54 -04:00
Greyson Parrelli
5aeca1deb1 Add initial SVRB support. 2025-08-05 11:00:54 -04:00
Cody Henthorne
f6ab408fc8 Add developer only crude link device UX. 2025-08-05 11:00:54 -04:00
Cody Henthorne
e29abdea91 Add device linking infrastructure. 2025-08-05 11:00:54 -04:00
Cody Henthorne
e6e869e074 Fix identity key update failure when profile key verification failed. 2025-08-05 11:00:54 -04:00
Alex Hart
a60f3a26fb Disable current tier from being selected. 2025-08-05 11:00:54 -04:00
lisa-signal
5e0aa830bf Add search functionality to debug log screen. 2025-08-05 11:00:54 -04:00
Alex Hart
962375e422 Clear auth credentials post restore and when a user disables backups. 2025-08-05 11:00:54 -04:00
Cody Henthorne
9fd9760264 Bump version to 7.51.2 2025-08-05 10:55:46 -04:00
Cody Henthorne
d2a9d201dd Update baseline profile. 2025-08-05 10:49:20 -04:00
Cody Henthorne
35c6392d16 Update translations and other static files. 2025-08-05 10:39:30 -04:00
Michelle Tang
87af103012 Add additional foreground service timeout check. 2025-08-05 10:20:20 -04:00
Alex Hart
2ace1e75e1 Bump version to 7.51.1 2025-08-02 20:55:46 -03:00
Alex Hart
8e6408a90c Update translations and other static files. 2025-08-02 20:50:50 -03:00
Alex Hart
386744fa72 Fix crash when launching app for non-internal users. 2025-08-02 20:46:43 -03:00
Greyson Parrelli
aebda41fdc Fix long message sends in groups. 2025-08-01 10:29:59 -04:00
Alex Hart
68fa3b5f95 Bump version to 7.51.0 2025-07-31 15:21:46 -03:00
Alex Hart
4b6940e2ef Update translations and other static files. 2025-07-31 15:18:21 -03:00
Michelle Tang
d0d44ed7ce Update target SDK to 35. 2025-07-31 13:55:48 -04:00
Alex Hart
87a694c87c Implement io-free state update and fallback mechanism for backups state. 2025-07-31 14:16:56 -03:00
Alex Hart
bdeb5aa96a Retry deletion job on verification failure. 2025-07-31 13:11:36 -03:00
jeffrey-signal
b37bbcaaa5 Convert DecryptableUri to Kotlin. 2025-07-31 08:29:54 -04:00
lisa-signal
02420fce2a View debug log screen through WebView through a module. 2025-07-30 14:47:50 -04:00
Alex Hart
1f243bca74 Add job after registration to try to redeem subscription data. 2025-07-30 13:26:06 -03:00
Greyson Parrelli
65e114e55f Handle 400 errors for message backup uploads. 2025-07-30 11:51:48 -04:00
Greyson Parrelli
9204c9a1b8 Fix handling of resumable upload errors in archive uploads. 2025-07-30 11:46:54 -04:00
Greyson Parrelli
1ee606de9e Register backupIds for all users. 2025-07-30 10:55:53 -04:00
Greyson Parrelli
90c381f0ba Rotate MRBK when rotating AEP. 2025-07-30 09:59:16 -04:00
andrew-signal
faecbf5ea9 Bump libsignal to v0.77.1 2025-07-30 09:58:02 -04:00
andrew-signal
e87946141e Add debug logging for network capabilities. 2025-07-29 12:01:36 -04:00
Alex Hart
b8300f373d Polish various bits of backups UI. 2025-07-29 11:09:53 -03:00
Alex Hart
ab458a5bb8 Add several state presentation fixes in the delete / enable cycle. 2025-07-28 15:31:18 -03:00
Alex Hart
d3030e143b Fix E2E happy path tests for backups. 2025-07-28 12:18:17 -03:00
Greyson Parrelli
42ee5267c9 Ensure that contact cursors used for size calculations are closed. 2025-07-25 14:26:22 -04:00
Greyson Parrelli
149ee5ad36 Fix bug where editing the message body pauses video playback. 2025-07-25 14:21:28 -04:00
Greyson Parrelli
6af3f2ce42 Do not upload long text attachments to the archive. 2025-07-25 13:30:45 -04:00
Greyson Parrelli
7295787e08 Fix and update archive tests. 2025-07-25 13:04:31 -04:00
Cody Henthorne
3b028d49a5 Initial pass to properly check multi-device environment in various spots. 2025-07-25 12:19:59 -04:00
Alex Hart
e458a5fdb3 Add check for proper backup entitlement level. 2025-07-25 13:09:07 -03:00
Greyson Parrelli
00e740ee14 Add migration to fix FREE tier setting. 2025-07-25 12:08:51 -04:00
Greyson Parrelli
e8bea19927 Rename /v2/backup to /v2/svr. 2025-07-25 11:33:33 -04:00
Alex Hart
53ee0648c0 Fix backups deletion pipeline. 2025-07-25 11:02:47 -04:00
Jim Gustafson
3bb2ab3a0c Update to RingRTC v2.56.0 2025-07-25 11:02:47 -04:00
Greyson Parrelli
759a746e46 Mark some archive reconciliation logs as keepLonger. 2025-07-25 11:02:47 -04:00
Cody Henthorne
7499bd77b4 Clean up GSE usage and remove combined-UAK fallback for multi-recipient send. 2025-07-25 11:02:47 -04:00
Alex Hart
99fb70c20c Remove unused string. 2025-07-25 11:02:46 -04:00
Cody Henthorne
2da3ac5b20 Update link device provisioning proto. 2025-07-25 11:02:46 -04:00
Alex Hart
5a1bb0c231 Filter subscriber record from backup data if user is on the free tier to avoid validation error. 2025-07-25 11:02:46 -04:00
Michelle Tang
dac649ceed Bump version to 7.50.1 2025-07-25 10:26:57 -04:00
Michelle Tang
8785a9f591 Update translations and other static files. 2025-07-25 10:20:08 -04:00
lisa-signal
3cbb2ffd3f Revert using WebView for debug log screen. 2025-07-24 12:27:01 -04:00
Greyson Parrelli
a249fbb38f Migrate to new SVR2 enclave. 2025-07-24 12:13:13 -04:00
Greyson Parrelli
a19cdc923c Bump libsignal-client to v0.76.7 2025-07-24 12:12:58 -04:00
Michelle Tang
109715e64c Bump version to 7.50.0 2025-07-23 15:38:12 -04:00
Michelle Tang
502ef7da7d Update translations and other static files. 2025-07-23 15:28:25 -04:00
Alex Hart
b9cd128b1b Fix shadowed variable warning. 2025-07-23 15:22:26 -04:00
Alex Hart
dd79348b6a Update how our check job handles mismatched tokens. 2025-07-23 15:22:26 -04:00
Michelle Tang
8a61f464ab Fix cut off linking text. 2025-07-23 15:22:26 -04:00
Alex Hart
8ed34fb4a0 Increase log coverage for processing backup refresh and credential submission. 2025-07-23 15:22:26 -04:00
Alex Hart
16776ad843 Filter messages that will expire within 24hrs from including attachments in backups. 2025-07-23 15:22:26 -04:00
Cody Henthorne
635aa8791f Respect rate limit in send jobs. 2025-07-23 15:22:26 -04:00
Cody Henthorne
d1c02ac454 Add server message to group patch exception. 2025-07-23 15:22:26 -04:00
Greyson Parrelli
eca75ca3fb Include backup size when fetching archive upload form. 2025-07-21 13:02:42 -04:00
Alex Hart
b95a3a2554 Don't show x on complete. 2025-07-21 13:33:28 -03:00
Henry Holtzman
bf4b09bdc4 Update to MobileCoin enclave measurements. 2025-07-21 08:20:05 -04:00
jeffrey-signal
8a057168ae Improve conversation scroll performance.
Fixes a performance bottleneck in `ConversationFragment` caused by expensive calculations in `ConversationItemDecorations.hasHeader()`. This method is invoked in `RecyclerView.ItemDecoration.getItemOffsets()`, which runs on every layout pass and happens frequently during scrolling.

The most expensive calculation in `hasHeader()` is `toEpochDay()`. That method calls `Long.toLocalDate()`, which clones a `TimeZone` object on each call. Upon opening one conversation (without scrolling), I observed that `toEpochDay()` was called over 1000 times in less than a second, rapidly allocating memory and causing garbage collection pressure that potentially leads to ANRs.

We only need to calculate `hasHeader()` once for each conversation element, so caching the result of that method will eliminate the unnecessary calculations and improve the memory usage of `ConversationFragment`.
2025-07-18 16:36:17 -04:00
Greyson Parrelli
1cef53d82e Truncate message length based on utf8-byte size. 2025-07-18 16:27:41 -04:00
Alex Hart
84c6719d03 Attempt to heal if we have everything we need but no entitlement. 2025-07-18 16:58:24 -03:00
Cody Henthorne
e0df5e6df0 Exclude disappearing attachments from archive size estimation. 2025-07-18 15:57:35 -04:00
Michelle Tang
eae0b43858 Generalize device authentication education sheet for backups. 2025-07-18 13:03:49 -04:00
Alex Hart
b188c45cd9 Do not include view-once media in regular message backups. 2025-07-18 12:10:11 -03:00
Alex Hart
36de1284c7 Allow user to rotate AEP. 2025-07-18 10:36:49 -03:00
Greyson Parrelli
a9455b95ac Inline long text attachments into backup files. 2025-07-17 16:50:22 -04:00
Miriam Zimmerman
6553c416f8 Revert attempts to fix broken camera issue 2025-07-17 15:30:06 -04:00
Jim Gustafson
b0d89ccc97 Update to RingRTC v2.55.0 2025-07-17 14:53:06 -04:00
Alex Hart
a6761127ac Do not refresh on concurrent matching upload states. 2025-07-17 13:49:00 -03:00
Alex Hart
7918c3dabd Add log lines for state refresh. 2025-07-17 13:47:06 -03:00
Michelle Tang
85ff27d830 Fix missing chat folder crash. 2025-07-16 14:34:50 -04:00
Cody Henthorne
8ee80b0d27 Fix backup message job cancel and start bugs. 2025-07-16 14:21:59 -04:00
Michelle Tang
141faf3fb6 Avoid uploading story-only media to backups. 2025-07-16 13:10:32 -04:00
lisa-signal
559539dc3b Create search functionality for debug log page. 2025-07-16 12:42:36 -04:00
Greyson Parrelli
ded98c0d50 Fix rules for link+syncing expiring messages. 2025-07-16 12:42:36 -04:00
Greyson Parrelli
4b75b9f1d6 Improve reconciliation task to reduce possible churn. 2025-07-16 12:42:36 -04:00
Greyson Parrelli
cfa96f4737 Remove internal-only crash during archive status reset. 2025-07-16 12:42:36 -04:00
Cody Henthorne
2148eb8760 Prevent IMO retries when network unavailable. 2025-07-16 12:42:36 -04:00
Cody Henthorne
269d5752c4 Fix add 1000 messages copy/paste error during compose conversion. 2025-07-16 12:42:36 -04:00
Cody Henthorne
9180917b7c Adjust domain scrubbing. 2025-07-16 12:42:36 -04:00
Cody Henthorne
1a1e1ea631 Select first backup subscription if selection is unavailable. 2025-07-16 12:42:36 -04:00
Greyson Parrelli
015a34f8d6 Only enqueue attachment archive syncing jobs if the user backs up media. 2025-07-16 12:42:36 -04:00
Greyson Parrelli
e6aed8534a Use libsignal for deriving thumbnail transit keys. 2025-07-16 12:42:36 -04:00
AnonAlly
f7d14c77b1 Migrate ChangeNumberFragment to compose. 2025-07-16 12:42:36 -04:00
Greyson Parrelli
3c07a731c4 Add additional checks for serviceId during sending flow. 2025-07-16 12:42:36 -04:00
Alex Hart
049e9460a0 Ensure we are restoring media per spec with full media and thumbnail rules. 2025-07-16 12:42:36 -04:00
jeffrey-signal
1137bbd8a5 Fix missing prompt to save PIN to password manager on Android < 14.
On Android versions older than 14, users were not prompted to save their PIN to their device password manager due to an autofill session conflict.

The `CreateSvrPinFragment.input` field triggered an autofill session, so when `ConfirmSvrPinFragment` later attempted to save the PIN using `CredentialManager`, the system incorrectly assumed the credential had already been saved by autofill and skipped the save prompt.
2025-07-16 12:42:36 -04:00
lisa-signal
24360a41ff Change debug log from RecyclerView to WebView. 2025-07-16 12:42:36 -04:00
Alex Hart
b45fb28dbe Wire in NetworkResult for Types. 2025-07-16 12:42:36 -04:00
Michelle Tang
7753aadbf0 Adjust turn on backups megaphone schedule. 2025-07-16 12:42:36 -04:00
Michelle Tang
359f473b59 Add verify key megaphone. 2025-07-16 12:42:35 -04:00
FineFindus
c6afa17330 Preserve text when toggling view once.
Fixes an issue, where the written text would be lost if a user toggled view
once in the `AddMessageDialogFragment`. This is unexpected, as when toggling
view once from the `MediaReviewFragment` the previously written text is
preserved.
2025-07-16 12:42:35 -04:00
Alex Hart
11d6234d91 Do not run subscription check if override is set. 2025-07-16 12:42:35 -04:00
Jeffrey Starke
dbd79cd0a5 Bump version to 7.49.1 2025-07-15 18:08:38 -04:00
Jeffrey Starke
70698c7b23 Update baseline profile. 2025-07-15 18:04:23 -04:00
Jeffrey Starke
ffd57ca591 Update translations and other static files. 2025-07-15 18:00:57 -04:00
Jeffrey Starke
00781e34f8 Update translations and other static files. 2025-07-15 17:51:03 -04:00
Michelle Tang
661fc9dd9e Add check before running backup jobs. 2025-07-15 17:45:30 -04:00
gram-signal
0dbfdaa4a6 Use non-global remote config for usePqRatchet. 2025-07-11 11:48:42 -07:00
Alex Hart
c41d7c672d Bump version to 7.49.0 2025-07-10 09:26:25 -03:00
Alex Hart
43f11015c4 Update translations and other static files. 2025-07-10 09:20:40 -03:00
Alex Hart
f0335f0385 Print active session count while attempting APK Upgrade. 2025-07-10 09:12:48 -03:00
jeffrey-signal
a88394ffe4 Fix crash when attempting to clear pending GlideImage loads.
Hold a reference to the Glide RequestManager instead of creating a new instance when attempting to clear pending loads and free resources for the target.
2025-07-10 09:12:48 -03:00
Alex Hart
e6ca41c0f9 Avoid crash when not connected to the network. 2025-07-10 09:12:48 -03:00
jeffrey-signal
6d58e89c18 Prompt to save PIN to device password manager.
Fixes an issue where the system auto-fill could overwrite the Signal backup key saved to the device password manager with the Signal PIN. The PIN confirmation screen now explicitly uses `CredentialManager` to save the `Signal PIN` under a separate username from the `Signal Backups` key, allowing both credentials to be stored and auto-filled correctly.

- Add `com.google.android.libraries.identity.googleid` dependency so `CredentialManager` works on Android < 14.
- Prompt to save Signal PIN to credential manager after PIN is created/edited.
2025-07-10 09:12:48 -03:00
jeffrey-signal
ef874c4091 Show settings button in backup key save error dialog only when password manager settings are accessible.
To prevent crashes when the "go to settings" button is clicked in the backup key save to password manager error dialog, the "go to settings" button will only be displayed in cases where the intent resolves successfully.
2025-07-10 09:12:48 -03:00
Michelle Tang
177504a897 Fix database consistency test. 2025-07-10 09:12:48 -03:00
Michelle Tang
7d7c6c5130 Ensure story attachment data is deleted after expiration. 2025-07-10 09:12:48 -03:00
emir-signal
b42dcece48 Add support for call link epochs. 2025-07-10 09:12:48 -03:00
Greyson Parrelli
5d0f71e02c Fix duplicate numbers, remove shortcodes entirely. 2025-07-10 09:12:48 -03:00
Alex Hart
1ba34bb685 Remove trailing space from backup key transform. 2025-07-10 09:12:48 -03:00
adel-signal
06fda21143 Update to ringrtc 2.54.0 2025-07-10 09:12:48 -03:00
Alex Hart
06f90c73a9 Add view settings button to backup settings screen. 2025-07-10 09:12:48 -03:00
Cody Henthorne
5ce5326721 Migrate away from placeholder revision to support exporting pending approval groups. 2025-07-10 09:12:48 -03:00
Greyson Parrelli
dc8e93a9d3 Add additional debug info for the backups alpha. 2025-07-10 09:12:48 -03:00
Abdullah Emad
869b5aa3d5 Highlight all the message search matches.
It is expected that when a user search for a message, that all the
matches within the same messages are highlighted (if there are more than
one match) not just the first match. This is also consistent with how
the search in the desktop app is implemented.

Resolves #13960
2025-07-10 09:12:48 -03:00
Cody Henthorne
dfdb8f699a Fix group update item bugs caused by backup support changes. 2025-07-10 09:12:48 -03:00
Cody Henthorne
347005bec6 Fix benchmark test setup. 2025-07-10 09:12:48 -03:00
Alex Hart
a88fcd6e0b Close all previous activities when launching into the main activitiy from restore backups. 2025-07-10 09:12:48 -03:00
Alex Hart
943c1b0ac3 Bump version to 7.48.1 2025-07-10 09:11:15 -03:00
Alex Hart
4c604475e5 Update translations and other static files. 2025-07-10 09:10:32 -03:00
andrew-signal
a384bf5e35 Add REST fallback to RemoteConfig fetch. 2025-07-03 13:34:52 -04:00
Greyson Parrelli
45d8dbc35c Bump version to 7.48.0 2025-07-02 16:03:33 -04:00
Greyson Parrelli
78e6aa3021 Update translations and other static files. 2025-07-02 15:51:31 -04:00
Cody Henthorne
8b094de4bd Fix wrapping long buttons on registrationv3 screens. 2025-07-02 15:35:33 -04:00
Cody Henthorne
253c8ff2ff Fix db test leak warning. 2025-07-02 15:16:11 -04:00
Cody Henthorne
437b1a3d98 Restore timestamp instead of tier during manual registration remote backup restore flow. 2025-07-02 11:24:36 -04:00
andrew-signal
ec8bb17bff Rotate libsignal-net remote config flag name in anticipation of scale up. 2025-07-02 09:45:13 -04:00
andrew-signal
1bddd2815a Bump libsignal to v0.76.3. 2025-07-02 09:44:49 -04:00
Greyson Parrelli
f68c344c4b Clean up additional data when viewing view-once messages. 2025-07-01 17:00:49 -04:00
Greyson Parrelli
82fd8cf282 Fix lint. 2025-07-01 16:25:29 -04:00
Cody Henthorne
f540886bb8 Attempt to resend pending messages if job creation failed. 2025-07-01 13:02:03 -04:00
gram-signal
173983a1ab Use RemoteConfig for UsePqRatchet.
Co-authored-by: Greyson Parrelli <greyson@signal.org>
2025-07-01 13:02:03 -04:00
Greyson Parrelli
f6b74ad2a0 Replace MissingAddressError with more specific variants. 2025-07-01 13:02:03 -04:00
Greyson Parrelli
9317491321 Fix androidTest issue with deviceId generation. 2025-07-01 13:02:03 -04:00
Jordan Rose
1ce6aacec6 Add link preview support for raw images. 2025-07-01 13:02:03 -04:00
lisa-signal
3b0878f493 Prevent system from displaying -1 other groups in common when there is 0 group in common. 2025-07-01 13:02:03 -04:00
andrew-signal
b98e09aedd Revert "Rotate libsignal-net remote config." 2025-07-01 13:02:03 -04:00
Alex Hart
1732567128 Hide optimize storage if billing not available. 2025-07-01 13:02:03 -04:00
Alex Hart
64f854c29d Flow beta tag to next row if there isn't enough room. 2025-07-01 13:02:02 -04:00
jeffrey-signal
fdf1238905 Improve backup key password manager save error handling.
- Add "go to settings" button to missing credential manager error dialog.
- Add handling for disabled password manager save prompt on Android API <= 33.
2025-07-01 13:02:02 -04:00
andrew-signal
0a17cd1c99 Rotate libsignal-net remote config. 2025-07-01 13:02:02 -04:00
Alex Hart
f1ac2282ff Ensure proper thread snippet restore. 2025-07-01 13:02:02 -04:00
Alex Hart
7a0b7c045e Only display failure sheet if there is actually a failure reported. 2025-07-01 13:02:02 -04:00
Alex Hart
9725d98c4a Hide paragraph if not during manual restore. 2025-07-01 13:02:02 -04:00
Greyson Parrelli
68d3103e4c Bump version to 7.47.2 2025-07-01 13:01:42 -04:00
Greyson Parrelli
6064943b47 Update translations and other static files. 2025-07-01 13:00:31 -04:00
Cody Henthorne
6aab622c96 Fix edit messages showing as new notifications bug. 2025-07-01 12:57:44 -04:00
Greyson Parrelli
939f2f82b1 Fix crash when skipping in BetterCipherInputStream. 2025-07-01 12:50:16 -04:00
Greyson Parrelli
516b505059 Fix crash with missing sessions.
We were excluding prekey bundles if they were missing EC prekeys, but
that's a valid state to be in -- those aren't required, and we shouldn't
have been excluding them.
2025-07-01 12:49:31 -04:00
Cody Henthorne
4b9cac43a8 Bump version to 7.47.1 2025-06-26 15:25:02 -04:00
Cody Henthorne
25669fae4f Update translations and other static files. 2025-06-26 15:14:03 -04:00
Greyson Parrelli
fdd9e07918 Add internal tool to reset sender key state. 2025-06-26 15:07:39 -04:00
Greyson Parrelli
0f16be81b0 Bump libsignal to 0.76.0 2025-06-26 15:07:39 -04:00
Alex Hart
bc10cd0d03 Add check for <= 0 time duration for Never case. 2025-06-26 14:26:18 -03:00
Alex Hart
c75cafd5f5 Add click handling to choose backup type learn more. 2025-06-26 14:14:28 -03:00
Cody Henthorne
0947d5b7b5 Fix deadlock/ANR in IncomingMessageObserver and SignalWebSOcket. 2025-06-26 10:32:16 -04:00
Cody Henthorne
5126b76214 Bump version to 7.47.0 2025-06-25 16:33:26 -04:00
Cody Henthorne
5e6d69b6fb Update baseline profile. 2025-06-25 16:26:36 -04:00
Cody Henthorne
3381d37086 Update translations and other static files. 2025-06-25 16:21:32 -04:00
Greyson Parrelli
1c596490c9 Add link+sync support for the backup4 capability. 2025-06-25 16:14:32 -04:00
Cody Henthorne
a043b4e573 Try to run IncomingMessageObserver more aggressively. 2025-06-25 16:14:32 -04:00
Greyson Parrelli
c0340be3ce Fix archive thumbnail decryption. 2025-06-25 16:14:32 -04:00
Greyson Parrelli
b1063f69f9 Remove archive_transfer_file column. 2025-06-25 16:14:32 -04:00
Greyson Parrelli
03dc014c08 Add the backup alpha build flavor. 2025-06-25 16:14:32 -04:00
Greyson Parrelli
7b7e153281 Populate legacy locatorInfo fields. 2025-06-25 16:14:32 -04:00
Greyson Parrelli
ec5452744d Allow normal attachments to be validated with plaintextHashes. 2025-06-25 16:14:32 -04:00
Greyson Parrelli
607b83d65b Validate plaintext hashes for archived attachments. 2025-06-25 16:14:31 -04:00
Greyson Parrelli
38c8f852bf Do most of the proto and database groundwork for the new mediaName. 2025-06-25 16:14:31 -04:00
Alex Hart
e705495638 Add 30 day reminder for manual backups.
Co-authored-by: Michelle Tang <mtang@signal.org>
2025-06-25 16:14:31 -04:00
Alex Hart
82531630c7 Add megaphone to prompt user to enable backups. 2025-06-25 16:14:31 -04:00
Alex Hart
322a9cd97a Suppress backup messaging if device is unregistered. 2025-06-25 09:47:59 -03:00
Alex Hart
63f038873b Add module dependency verification entries to support AS Narwhal stable release. 2025-06-25 09:45:55 -03:00
jeffrey-signal
143b8a6356 Fix crash when saving backup key to credential manager on Android 13 and earlier. 2025-06-24 17:03:20 -04:00
Alex Hart
6e0faee30f Remove launchMode from MainActivity. 2025-06-24 14:22:43 -03:00
Alex Hart
ccc4acdef9 Prevent "Free" tier from being upgraded in the background. 2025-06-24 11:11:32 -03:00
Cody Henthorne
1719122f5e Move restore messages out of durable job. 2025-06-24 08:49:31 -04:00
Greyson Parrelli
93161aa425 Only delete archived media from CDN 3. 2025-06-23 15:57:36 -04:00
Cody Henthorne
a181b35e8d Remove notification state cleanup based on displayed notifications. 2025-06-23 15:57:36 -04:00
jeffrey-signal
79de5f733f Prevent backup from being triggered while a restore is in progress. 2025-06-23 15:57:36 -04:00
Alex Hart
18f7a88d66 Add support filter after backup export failure. 2025-06-23 15:57:36 -04:00
jeffrey-signal
eeae9579d9 Fix progress bar stuck at 100% after successful backup restore. 2025-06-23 15:57:36 -04:00
jeffrey-signal
3b9dec5d42 Reset backup restore state after media restoration completes.
Fixes an issue where the SignalStore.backup.restoreState is never updated from RESTORING_MEDIA after completion of the media restoration.
2025-06-23 15:57:35 -04:00
andrew-signal
bbec0f5f48 Stop STOPPED typing indicator timers on message send. 2025-06-23 15:57:35 -04:00
Cody Henthorne
2723ea7975 Bump version to 7.46.1 2025-06-23 15:55:36 -04:00
Cody Henthorne
550ad7b56c Update baseline profile. 2025-06-23 15:47:24 -04:00
Cody Henthorne
3e4364ede7 Update translations and other static files. 2025-06-23 15:40:59 -04:00
Greyson Parrelli
abbcdbc6b9 Fix bug where network sink would sometimes be closed early. 2025-06-23 12:05:51 -04:00
Michelle Tang
c3ba07e5d7 Bump version to 7.46.0 2025-06-18 17:04:58 -04:00
Michelle Tang
1d239f7b56 Update translations and other static files. 2025-06-18 16:49:19 -04:00
Michelle Tang
f21edf7e3c Adjust iDEAL string. 2025-06-18 16:45:42 -04:00
Cody Henthorne
be45bdb562 Fix legacy restore options in new restore flows. 2025-06-18 16:45:42 -04:00
Michelle Tang
3ea2c01c15 Fix alignment in group title. 2025-06-18 16:45:42 -04:00
Michelle Tang
c75a6c9715 Sync backup tier to account record. 2025-06-18 16:45:42 -04:00
Alex Hart
fc1ed8934c Add custom 404 retry logic. 2025-06-18 16:45:42 -04:00
Cody Henthorne
5f603cd57a Improve message notification determination. 2025-06-18 16:45:42 -04:00
lisa-signal
b826352ce7 Add deprecation notification when build expires. 2025-06-18 16:45:42 -04:00
Greyson Parrelli
4f6a5de227 Refactor AttachmentCipherInputStream. 2025-06-18 16:45:41 -04:00
Cody Henthorne
9798f5cc7c Fix contact receive desugar crash on Android 6. 2025-06-18 16:45:41 -04:00
Miriam Zimmerman
5fd4ac0a06 Add logging to debug flipping from broken camera 2025-06-18 16:45:41 -04:00
Greyson Parrelli
ee0ee98cb6 Convert AttachmentCipherInputStream to kotlin. 2025-06-18 16:45:41 -04:00
Greyson Parrelli
2e79e257a3 Convert AttachmentCipherOutputStream to kotlin. 2025-06-17 16:26:20 -04:00
Greyson Parrelli
381c0e186f Move some cipher finalization into close() instead of flush(). 2025-06-17 16:26:20 -04:00
Michelle Tang
2c752ab5ba Avoid uploading onboarding story media during restore. 2025-06-17 16:26:20 -04:00
Alex Hart
b35b1db4bc Add wiring and notification for out of remote space error. 2025-06-17 16:26:20 -04:00
lisa-signal
fed6a0db5e Add enable contact permission banner when adding members to groups. 2025-06-17 16:26:20 -04:00
lisa-signal
e4d34c1cb6 Show verified safety number users in New Chat selection screen. 2025-06-17 16:26:20 -04:00
Greyson Parrelli
3571e22a79 Use different icon for 'fetching messages'.
Relates to #12904
2025-06-17 16:26:20 -04:00
Cody Henthorne
f051ec43d4 Update okhttp mockserver to 5.0.0-alpha.16 2025-06-17 16:26:20 -04:00
lisa-signal
f3857ed933 Prevent notification sound when voice recording. 2025-06-17 16:26:20 -04:00
lisa-signal
e7140a14a3 Show credit card input as LTR even for RTL languages. 2025-06-17 16:26:20 -04:00
Alex Hart
76e8695000 Convert AdvancedPinPreferencesFragment to compose. 2025-06-17 16:26:20 -04:00
lisa-signal
e62f14b6d3 Don't keep screen on for voice calls. 2025-06-17 16:26:20 -04:00
Alex Hart
c0dfe9bd53 Utilize ImageVector instead of Painter in SettingsScaffold. 2025-06-17 16:26:20 -04:00
Alex Hart
297c712c0f Change re-enable button color to Tonal. 2025-06-17 16:26:20 -04:00
lisa-signal
2f514622e0 Prevent trailing whitespace from being considered an edit. 2025-06-17 16:26:20 -04:00
Alex Hart
e6ea66f9c5 Add proper turn off backups string for paid tier. 2025-06-17 16:26:20 -04:00
Alex Hart
a5ff92b831 Add additional backup screen states. 2025-06-17 16:26:20 -04:00
Cody Henthorne
9bde632c6d Keep screen on and hold wake lock during important parts of backup restore. 2025-06-17 16:26:20 -04:00
Alex Hart
88f17e29aa Improve display of backup details when upload is in progress. 2025-06-17 16:26:19 -04:00
jeffrey-signal
eb620374e2 Fix resource leaks when uploading backup attachments. 2025-06-17 16:26:19 -04:00
Alex Hart
4a1baa75a8 Do not check if purchase was within last month. 2025-06-17 16:26:19 -04:00
jeffrey-signal
0ab77e159d Update notification message for large backup attachment uploads. 2025-06-17 16:26:19 -04:00
Alex Hart
a5496c692f Allow different accounts on same Google account to subscribe to backups. 2025-06-17 16:26:19 -04:00
Alex Hart
5c61832d82 Use now for watermarking. 2025-06-17 16:26:19 -04:00
Michelle Tang
f82b5eb72d Bump version to 7.45.3 2025-06-17 15:31:15 -04:00
Michelle Tang
f4d482c6ee Update translations and other static files. 2025-06-17 15:27:35 -04:00
Cody Henthorne
3c4f27f3f4 Fix profile fetch debounce bug when profile key changes. 2025-06-17 14:38:25 -04:00
Michelle Tang
01c106fd3e Bump version to 7.45.2 2025-06-16 12:53:57 -04:00
Michelle Tang
1e46c23cb9 Update translations and other static files. 2025-06-16 12:45:06 -04:00
Cody Henthorne
f245fc2b57 Force okhttp usage regardless of remote config. 2025-06-16 10:08:59 -04:00
Cody Henthorne
f9ea7be65f Bump version to 7.45.1 2025-06-13 15:30:10 -04:00
Cody Henthorne
96033c701b Update baseline profile. 2025-06-13 15:19:09 -04:00
Cody Henthorne
d42a276bc2 Update translations and other static files. 2025-06-13 15:14:11 -04:00
Cody Henthorne
5ff795b25d Bump to okhttp 5.0.0-alpha.16 2025-06-13 12:35:07 -04:00
Cody Henthorne
ca6a7baace Revert "Do not send app level keep-alives for unauth WebSocket."
This reverts commit 54a2628797.
2025-06-13 11:30:09 -04:00
Cody Henthorne
4df6f89fcf Fix potential crash in RemoteDeleteSendJob. 2025-06-12 10:54:18 -04:00
Greyson Parrelli
f4af90d3c5 Bump version to 7.45.0 2025-06-11 12:59:42 -04:00
Greyson Parrelli
09fd22d5c6 Update baseline profile. 2025-06-11 12:59:16 -04:00
Greyson Parrelli
e72c78be68 Update translations and other static files. 2025-06-11 12:49:13 -04:00
jeffrey-signal
cd18db613a Upload large backup attachments using a foreground service. 2025-06-11 12:02:23 -04:00
Greyson Parrelli
f8d8558cdb Convert AttachmentCipherTest to kotlin. 2025-06-11 11:58:40 -04:00
Michelle Tang
a46e1a451f Add foreign key reference to notification profile members. 2025-06-11 10:40:13 -04:00
Greyson Parrelli
f80d5d54ca Log inserted messageIds. 2025-06-10 16:51:57 -04:00
Cody Henthorne
2394972620 Add archive state indicator to media chat items. 2025-06-10 15:24:18 -04:00
Greyson Parrelli
536b599449 Remove deprecated PNI initialization job. 2025-06-10 14:35:48 -04:00
Alex Hart
9361acd72f Add check before setting downgrade flag. 2025-06-10 14:33:09 -03:00
Alex Hart
c4da61cd93 Add backup alert fragment tag to prevent concurrent opens. 2025-06-10 14:06:05 -03:00
Alex Hart
faa12bf377 Do not run subscription check if backups are disabled. 2025-06-10 13:51:50 -03:00
Alex Hart
8446c8d60f Show entire create backup sheet. 2025-06-10 13:44:33 -03:00
lisa-signal
844d511b72 Update edit message timestamp. 2025-06-10 12:14:42 -04:00
Cody Henthorne
178c468436 Prevent viewing backup key when unregistered. 2025-06-10 11:04:01 -04:00
Cody Henthorne
fa9229779e Fix copy for no backup key bottom sheet. 2025-06-10 10:53:30 -04:00
Cody Henthorne
38adb519e3 Improve speed/feedback of final steps of backup restore. 2025-06-10 10:32:45 -04:00
Alex Hart
37c3578329 Fix crash when accessing backup settings without being logged into Google. 2025-06-10 11:32:31 -03:00
Alex Hart
0c98439070 Add proper media ttl to restore screen. 2025-06-10 11:29:35 -03:00
Greyson Parrelli
5fe114c0eb Update archiveReconciliationSyncInterval to use global config. 2025-06-10 08:23:56 -04:00
Alex Hart
3588d646d2 Don't skip cancelled google purchase when checking subscription state in check job. 2025-06-09 20:21:06 -04:00
Alex Hart
dd5941b884 Add UX for out of remote storage space error presentation. 2025-06-09 20:21:06 -04:00
Alex Hart
1424dd6892 Add new dialog and sheet for handling offloaded media after a subscription is canceled or expires. 2025-06-09 20:21:06 -04:00
Cody Henthorne
18b5354944 Fix backup receipt crash. 2025-06-09 20:21:06 -04:00
Michelle Tang
bf4049d002 Fix lint. 2025-06-09 20:21:06 -04:00
Michelle Tang
59b747ee63 Add insufficient storage error message to link+sync. 2025-06-09 20:21:06 -04:00
Michelle Tang
e0726ce62f Fix missing profile avatars on restore. 2025-06-09 20:21:06 -04:00
Greyson Parrelli
828fa238c5 Update optimize media threshold to 7 days. 2025-06-09 20:21:06 -04:00
Greyson Parrelli
c8f389028e Ensure that we have the latest recipient copy after refreshing serviceIds.
Fixes #14163
2025-06-09 20:21:06 -04:00
lisa-signal
e2c32c1172 Fix multiselect to make in memory messages unselectable. 2025-06-09 20:21:06 -04:00
Michelle Tang
d20abec813 Update remove from group copy. 2025-06-09 20:21:06 -04:00
Greyson Parrelli
6edfcfdc4e Properly order attachment archive copies. 2025-06-09 20:21:06 -04:00
Greyson Parrelli
9860b990e5 Split archive deletes and reconciliations into separate jobs. 2025-06-09 20:21:06 -04:00
Greyson Parrelli
e7115a3a71 Switch the snapshot table to use incrementing versions. 2025-06-09 20:21:06 -04:00
lisa-signal
8c1e221afd Fix chat folder test. 2025-06-09 20:21:06 -04:00
lisa-signal
64ddc24720 Add test case for folder without chat. 2025-06-09 20:21:06 -04:00
Alex Hart
f9ee222d5d Add logging to check purchase information on RemoteBackupsSettings screen. 2025-06-09 20:21:06 -04:00
Alex Hart
23d8969015 Allow staging users to utilize internal backup switch. 2025-06-09 20:21:06 -04:00
Cody Henthorne
882a11c420 Calculate remote backup media quota usage locally. 2025-06-09 20:21:06 -04:00
Cody Henthorne
efa9dd6ec3 Fix path escaping issues.
Acknowledgment to Mouad & Ostorlab team for bringing this to our attention.
2025-06-09 20:21:06 -04:00
gram-signal
2767e298c4 API changes associated with update to libsignal 0.74.0 2025-06-09 20:21:06 -04:00
Michelle Tang
cc7b26d342 Fix read calls being shown as unread in backups. 2025-06-09 20:21:06 -04:00
jeffrey-signal
bf0c9ec1c7 Fix story reactions rendering improperly after restoring a backup. 2025-06-09 20:21:06 -04:00
Jim Gustafson
a9475ef153 Update to RingRTC v2.53.0 2025-06-09 20:21:05 -04:00
Michelle Tang
6b6980811b Use config to determine deletion lifespan in storage service. 2025-06-09 20:21:05 -04:00
Cody Henthorne
df2e88eaac Reset backup auth credentials on verification failure. 2025-06-09 20:21:05 -04:00
Alex Hart
297bca4c0f Fix archive export tests. 2025-06-09 20:21:05 -04:00
Alex Hart
b40c7d0e06 Add crossfade to action-mode toolbar. 2025-06-09 20:21:05 -04:00
Greyson Parrelli
9f54de8b39 Bump version to 7.44.2 2025-06-09 20:19:31 -04:00
Greyson Parrelli
976d3670c9 Update translations and other static files. 2025-06-09 20:19:00 -04:00
Greyson Parrelli
ef797f6ed8 Fix possible crash in story send. 2025-06-09 20:08:47 -04:00
Michelle Tang
59cc8c636d Ignore non-existing recipients in notification profiles storage sync. 2025-06-09 14:59:28 -04:00
Cody Henthorne
e147d4762d Bump version to 7.44.1 2025-06-06 13:57:51 -04:00
Cody Henthorne
d3b7219352 Update baseline profile. 2025-06-06 13:33:50 -04:00
Cody Henthorne
6abf55dc55 Update translations and other static files. 2025-06-06 13:29:01 -04:00
andrew-signal
7bd52e661d Refactor LibSignalChatConnection to use an explicit queue sendRequest handling while CONNECTING. 2025-06-06 08:14:20 -04:00
Cody Henthorne
89944d778b Bump version to 7.44.0 2025-06-04 15:42:03 -04:00
Cody Henthorne
357f82809a Update baseline profile. 2025-06-04 15:34:00 -04:00
Cody Henthorne
4222c70b4a Update translations and other static files. 2025-06-04 15:28:35 -04:00
lisa-signal
a66031cfce Fix chat folder to not show mute option if there isn't any chat. 2025-06-04 15:17:37 -04:00
Alex Hart
cf0dfdceb1 Display resume over cellular only if awaiting wifi. 2025-06-04 15:17:37 -04:00
Cody Henthorne
26b6019b28 Add internal backup stats tab. 2025-06-04 15:17:37 -04:00
Cody Henthorne
be4af1d560 Use dynamic quality and webp for archive thumbnail generation. 2025-06-04 15:17:37 -04:00
Michelle Tang
e3ee3d3dba Add notification profiles to storage service. 2025-06-04 15:17:37 -04:00
lisa-signal
07d961fc09 Fix cut off string in stories. 2025-06-04 15:17:37 -04:00
andrew-signal
7bcb3fa4d9 Make .tool-versions more specific. 2025-06-04 15:17:37 -04:00
Alex Hart
5e07e428c0 Fix instrumentation tests for message backups checkout flow. 2025-06-04 15:17:37 -04:00
Alex Hart
a85b8c49d9 Rework billing client integration. 2025-06-04 15:17:37 -04:00
Alex Hart
c3dcdd2010 Check network tier on export. 2025-06-04 15:17:37 -04:00
lisa-signal
74d9195d94 Fix action mode to use our own action mode toolbar instead of the built in androidx one. 2025-06-04 15:17:37 -04:00
lisa-signal
4db60ac63f Fix select all count in conversation list to be accurate. 2025-06-04 15:17:37 -04:00
jeffrey-signal
17bfb118d8 Update missing password manager dialog copy.
Updates the copy of the dialog that shows when attempting to save a backup key, but there is no credential manager configured on the device that supports saving passwords.
2025-06-04 15:17:37 -04:00
Alex Hart
d6dd2cc633 Polish backup type selection UI. 2025-06-04 15:17:37 -04:00
Alex Hart
dd2e219272 Add additional method tracing. 2025-06-04 15:17:37 -04:00
Alex Hart
88ec96bf2d Ensure connection status logs are kept for monitoring in debug logs. 2025-06-04 15:17:37 -04:00
Alex Hart
e17a4c80b2 Various UI polish items for backups. 2025-06-04 15:17:37 -04:00
Alex Hart
c0f3189a5b Add restore type check and download specific messaging. 2025-06-04 15:17:36 -04:00
Alex Hart
ac9f6c0b4a Fix spelling error. 2025-06-04 15:17:36 -04:00
Alex Hart
5903551cdb When we move to awaiting download state, display dialog. 2025-06-04 15:17:36 -04:00
Cody Henthorne
54a2628797 Do not send app level keep-alives for unauth WebSocket. 2025-06-04 15:17:36 -04:00
Cody Henthorne
0f2a066a30 Increase WebSocket idle delayed disconnect timings. 2025-06-04 15:17:36 -04:00
Alex Hart
2ff0df9ef6 Add skip dialog for during deletion. 2025-06-04 15:17:36 -04:00
Alex Hart
ad652dbaf2 Backup delete resub flow state fix. 2025-06-04 15:17:36 -04:00
lisa-signal
109d37c0d2 Fix audio duck due to MP4 gif. 2025-06-04 15:17:36 -04:00
jeffrey-signal
015fc9be2c Add ability to save remote backup key to device password manager.
Co-authored-by: Cody Henthorne <cody@signal.org>
2025-06-04 15:17:36 -04:00
Alex Hart
7616ec1fd2 Add rememberRecipientField composable function for reading live recipient fields. 2025-06-04 15:17:36 -04:00
Alex Hart
df170dac32 Polish deletion UX. 2025-06-04 15:17:36 -04:00
andrew-signal
ccce37d023 Bump to libsignal v0.73.2; revert ProGuard workaround. 2025-06-04 15:17:36 -04:00
Cody Henthorne
13ddd067ef Update to latest backup protos; Bump to libsignal v0.73.1 2025-06-04 15:17:36 -04:00
Miriam Zimmerman
340b94f849 Improve handling of missing camera during calls. 2025-06-04 15:17:36 -04:00
Greyson Parrelli
faf0b630c1 Move profile fetches to ProfileApi. 2025-06-04 15:17:36 -04:00
Cody Henthorne
b2f1867787 Exclude remote megaphones from local backups. 2025-06-04 15:17:36 -04:00
Greyson Parrelli
3bd4e39093 Add more backup cancellation checks. 2025-06-04 15:17:36 -04:00
Alex Hart
98e06081af Fix advanced pin settings routing. 2025-06-04 15:17:36 -04:00
Alex Hart
0d51faf618 Fix rendering after rotation. 2025-06-04 15:17:36 -04:00
Cody Henthorne
21e53e360e Remove Media tab from backup playground. 2025-06-04 15:17:36 -04:00
andrew-signal
9083359b33 Silence noisy double stack trace when a LibSignalChatConnection connect() is canceled. 2025-05-29 11:57:30 -04:00
Cody Henthorne
7b30ac1524 Fix various archive related attachment bugs.
Co-authored-by: Greyson Parrelli <greyson@signal.org>
2025-05-29 11:34:09 -04:00
andrew-signal
4b41d7afaa Only fetch profiles if we haven't fetched them in the last five minutes. 2025-05-29 11:00:15 -04:00
Alex Hart
38a9452de0 Cache product pricing for 24hrs. 2025-05-29 11:10:23 -03:00
Alex Hart
1bd638be46 Allow badge to update in toolbar when user changes their featured badge. 2025-05-28 16:26:39 -03:00
Cody Henthorne
e912bf3bc8 Attempt to fix reproducible build issue caused by EditProxyFragment. 2025-05-28 14:52:25 -04:00
Greyson Parrelli
13d7bc54d3 Re-run the e164 formatting application migration. 2025-05-28 13:33:58 -04:00
Greyson Parrelli
5bdf10b1bd Fix crash in storage sync validation. 2025-05-28 12:26:16 -04:00
Alex Hart
6a40f4a4f4 Perform backup deletion in a durable job. 2025-05-28 13:07:09 -03:00
lisa-signal
8900721064 Fix scheduled message logo from Signal logo to Calendar logo. 2025-05-28 09:59:53 -04:00
lisa-signal
7738e6bc9a Fix backtrack symbol to change from ic_arrow_left_24 to symbol_arrow_start_24. 2025-05-28 09:39:12 -04:00
Alex Hart
7c7833263a Fix possible crash in conversation activity. 2025-05-27 14:33:47 -03:00
Alex Hart
96d6a0e68d Launch checkout flow on renew press. 2025-05-27 13:20:08 -03:00
Greyson Parrelli
7c04b56a32 Fix validation errors around bad e164s in SSE's and merge events. 2025-05-27 10:29:13 -04:00
Jim Gustafson
5009e86d56 Update to RingRTC v2.52.3 2025-05-27 10:03:11 -04:00
Alex Hart
daa3e5d95a Convert InternalConversationSettings to compose. 2025-05-27 10:48:34 -03:00
Michelle Tang
6879778f4b Fix missing avatars in notifications. 2025-05-22 14:32:11 -04:00
Jeffrey Starke
de12691cfe Add new sticker pack preview screen.
Adds a new jetpack compose and kotlin implementation of the sticker pack preview screen, which will soon replace `StickerPackPreviewActivity.java` and `StickerPackPreviewViewModel.java`.
2025-05-22 11:23:23 -04:00
lisa-signal
dce883bcf5 Fix clear filter position. 2025-05-22 11:23:23 -04:00
Michelle Tang
be02c1bc0a Update editorconfig with new ktlint rules. 2025-05-22 11:23:23 -04:00
Cody Henthorne
52c7a9a214 Add copy media backup id to backup playground. 2025-05-22 11:23:23 -04:00
Alex Bakon
ea0b8fc594 Remove unused code. 2025-05-22 11:23:23 -04:00
Jeffrey Starke
15aa941436 Limit delete archived media requests to 1000 items at a time.
Fixes an error that occurs when attempting to delete all archived media caused by exceeding the API's 1000 item limit.
2025-05-22 11:23:23 -04:00
Alex Hart
8e92ddbd53 Fix skipping subsequent call links. 2025-05-21 15:49:20 -04:00
Michelle Tang
23669c3c37 Bump version to 7.43.1 2025-05-21 15:20:18 -04:00
Michelle Tang
ea970c1936 Update translations and other static files. 2025-05-21 15:17:26 -04:00
Cody Henthorne
52ffe4408d Fix NoSuchMethodError on CompletableFuture crash. 2025-05-21 15:14:03 -04:00
Michelle Tang
b753990ee3 Bump version to 7.43.0 2025-05-21 12:20:12 -04:00
Michelle Tang
9642e19d53 Update translations and other static files. 2025-05-21 12:02:05 -04:00
Michelle Tang
7dc4cb4ce7 Ensure default chat folder exists. 2025-05-21 11:33:13 -04:00
andrew-signal
4f6bedf323 Rotate key for libsignalWebSocket RemoteConfig. 2025-05-21 11:28:08 -04:00
Cody Henthorne
ca16d0e6f8 Fix decryption errors post remote restore. 2025-05-21 09:24:33 -04:00
Cody Henthorne
690b171d57 Default remote backups to daily. 2025-05-21 08:58:17 -04:00
Alex Bakon
2254b7f680 Remove unused CdsiSocket class. 2025-05-21 07:49:04 -04:00
andrew-signal
a6540880c9 Cancel chatConnectionFuture when we get disconnect() while CONNECTING. 2025-05-21 07:43:18 -04:00
andrew-signal
e7e59d9481 Bump to libsignal v0.73.0 2025-05-21 07:41:02 -04:00
lisa-signal
b5b71c6464 Fix ability to remove link preview without changing message text. 2025-05-20 15:47:07 -04:00
lisa-signal
437a1755ce Fixed color of Get started text. 2025-05-20 15:33:19 -04:00
Cody Henthorne
14dbaa7d05 Prevent safety number changes during quick restore flow. 2025-05-20 15:14:29 -04:00
Alex Hart
58e462de06 Fix scrolling highlight on backups checkout page. 2025-05-20 16:10:43 -03:00
Alex Hart
b6b6f7a527 Allow free tier subscription if Google Play Billing is not available. 2025-05-20 16:09:43 -03:00
Alex Hart
09e47dba3a Add support for cancelling an in-progress archive upload.
Co-authored-by: Jeffrey Starke <jeffrey@signal.org>
2025-05-20 15:46:24 -03:00
Cody Henthorne
3751052697 Force new auth WebSocket during various IMO recovery flows. 2025-05-20 14:42:54 -04:00
Cody Henthorne
da639d086f Attempt to fix duplicate e164s due to short codes. 2025-05-19 14:45:34 -04:00
Sagar
59a9a38c1f Fix country code filtering by removing "+" prefix handling.
Closes #14137
2025-05-19 14:45:34 -04:00
Alex Hart
dd634343d7 Change button size on backups management screen. 2025-05-19 14:45:34 -04:00
Alex Hart
7ee1b1386b Backups ui polish. 2025-05-19 14:45:34 -04:00
Alex Hart
0e4c09224c Ensure all billing states are emitted. 2025-05-19 14:45:34 -04:00
Alex Hart
fc5aae34f3 Add cancellation support and renew support for canceled subscriptions. 2025-05-19 14:45:34 -04:00
Alex Hart
1aa2c85edd Fix alignment of progress spinner when waiting for network.: 2025-05-19 14:45:34 -04:00
Alex Hart
a6bfeebb24 Add UI for when the user's grace period expires or while they are in the grace period. 2025-05-19 14:45:34 -04:00
Alex Bakon
5e9824a180 Update test client prekey usage to include kyber keys. 2025-05-19 14:45:34 -04:00
Cody Henthorne
3644466263 Bump version to 7.42.2 2025-05-19 14:44:07 -04:00
Cody Henthorne
e9b43e7c25 Update baseline profile. 2025-05-19 14:43:05 -04:00
Cody Henthorne
e9e53d6d84 Update translations and other static files. 2025-05-19 14:38:15 -04:00
Cody Henthorne
03f2feb335 Fix megaphone missing asset crash. 2025-05-19 14:31:48 -04:00
Cody Henthorne
3b657ea7bd Bump version to 7.42.1 2025-05-16 13:32:56 -04:00
Cody Henthorne
2635ffcbc9 Update baseline profile. 2025-05-16 13:29:24 -04:00
Cody Henthorne
927c079cc4 Update translations and other static files. 2025-05-16 13:23:44 -04:00
Cody Henthorne
a2f7afcb68 Detect and recycle WebSockets stuck in connecting state. 2025-05-16 13:13:32 -04:00
Alex Hart
b6c033b075 Fix timer updating on chats list. 2025-05-15 13:52:18 -03:00
Jeffrey Starke
31d0b81624 Sticker Management v2 - Exit multi select mode after all items are deselected.
To match the behavior of the conversations and messages screens.
2025-05-15 11:08:08 -04:00
Cody Henthorne
96ece3f424 Allow REST fallback via remote config. 2025-05-15 10:52:36 -04:00
Alex Hart
2bc9926d97 Fix crash when backing out of archive. 2025-05-15 11:40:00 -03:00
Alex Hart
f1537cb8a9 Fix rationale dialog height on small devices. 2025-05-15 11:30:23 -03:00
andrew-signal
af8dee9c38 Bump to libsignal v0.71.1 2025-05-15 10:28:45 -04:00
Cody Henthorne
39f78273c0 Async start network and message retrieval. 2025-05-15 09:22:46 -04:00
Michelle Tang
d66a0f618d Bump version to 7.42.0 2025-05-14 17:35:09 -04:00
Michelle Tang
497a8188fd Update translations and other static files. 2025-05-14 17:20:57 -04:00
Jeffrey Starke
f3a475d0c8 Sticker management v2 – Improve list animations and state transitions.
- Uninstall selected packs in a single database transaction to avoid UI flickering.
- Add section header keys to prevent them from animating wildly while scrolling.
2025-05-14 17:10:41 -04:00
Michelle Tang
8b828677de Rotate libsignal net config flag. 2025-05-14 16:43:17 -04:00
Alex Hart
a050b37f3a Remove bank selection from iDEAL. 2025-05-14 16:43:17 -04:00
Doug Melton
c865ed0cdc Improve handling of 12/24 hour timestamps on configuration change.
This fixes an edge case seen on ConversationFragment, where if the
device time format is switched between 12/24 hour format while the app
is running, the old time format will still be displayed when the app
is resumed.

This is due to a design flaw in `DateTimeFormatter.ofLocalizedTime`,
where the time format is statically cached and not updated upon
configuration change. The `LocalTime.formatHours()` extension method
was updated to no longer rely on the misbehaving `ofLocalTime` method.

In addition, `ConversationMessaageComputeWorkers.recomputeFormattedDate`
was designed to skip recomputing non-relative timestamps. This works
in most cases but not this specific edge case. A `force: Boolean` flag
was added to force all items to be updated. And the `force = true` flag
was passed upon `onResume` of the fragment.

Closes #14121
2025-05-14 16:43:17 -04:00
Alex Hart
918b792d83 Fix filter display when returning to conversation list from another tab. 2025-05-14 16:43:17 -04:00
Alex Hart
28ecb37103 Add additional logging for stopped processing. 2025-05-14 16:43:17 -04:00
Alex Hart
7c43462771 Disconnect groupCall object when network is unavailable. 2025-05-14 16:43:17 -04:00
Cody Henthorne
7e00739240 Remove MMS related encryption error messaging. 2025-05-14 16:43:17 -04:00
Cody Henthorne
feae417af5 Flag username for restore on re-register. 2025-05-14 16:43:17 -04:00
Michelle Tang
e5d55418ac Restore chat colors after backup. 2025-05-14 16:43:17 -04:00
Cody Henthorne
5d8e0e370d Fix pnp settings not properly syncing or dynamically updating. 2025-05-14 16:43:17 -04:00
Michelle Tang
e2bffd0fd3 Fix mentions being displayed as obj. 2025-05-14 16:43:17 -04:00
Alex Hart
8d2979d8ce Fix camera rotation / phone orientation syncing. 2025-05-14 16:43:17 -04:00
Jeffrey Starke
288eda5bb1 Add support for animated images to GlideImage.
Our GlideImage implementation doesn't support animated images, because it loads them as bitmaps and therefore only displays the first image frame as a static image. This change works around that issue by having GlideImage wrap an ImageView to handle cases where we need to display animated images.
2025-05-14 16:43:17 -04:00
Cody Henthorne
fb111619d7 Downgrade notify of key warning to info. 2025-05-14 16:43:17 -04:00
Alex Hart
fb68f3fed1 Work around off-by-one error causing thin line to display when it shouldn't. 2025-05-14 16:43:17 -04:00
Alex Hart
791f1677fa Update RecyclerView to 1.4.0 2025-05-14 16:43:17 -04:00
Alex Hart
632b76081a Fix tab scroll-to-top on click. 2025-05-14 16:43:16 -04:00
Alex Hart
a474666ea7 Hide create call link button while in multiselect mode. 2025-05-14 16:43:16 -04:00
Greyson Parrelli
b3c9ec9691 Migrate to new SVR2 enclave.
Co-authored-by: Cody Henthorne <cody@signal.org>
2025-05-14 16:43:16 -04:00
Cody Henthorne
778db277c8 Update retrieve profile job. 2025-05-14 16:43:16 -04:00
Michelle Tang
1800507604 Add beta label to backups. 2025-05-14 16:43:16 -04:00
Alex Hart
b0aee1db05 Add proper title to expiration sheet. 2025-05-14 16:43:16 -04:00
Alex Hart
919cbbd7ca Use dispatch queue and join to ensure single-threaded requests. 2025-05-14 16:43:16 -04:00
Cody Henthorne
93403a0d2c Implement stop/resume media restore and update restore over cellular. 2025-05-14 16:43:16 -04:00
Jeffrey Starke
9867fa3f50 Add round checkbox composable.
Adds `RoundCheckbox` composable, which is styled to match the appearance of the other view checkboxes used in the app.
2025-05-14 16:43:16 -04:00
Michelle Tang
b79ec79644 Fix backups not being scheduled. 2025-05-14 16:43:16 -04:00
Cody Henthorne
961e9fd4b9 Fix shortcut update job crash for old installs without an aci. 2025-05-14 16:43:16 -04:00
Alex Hart
6d04c8ba42 Remove MainListHostFragment and rescope list vms to the activity. 2025-05-14 16:43:16 -04:00
andrew-signal
bc94a92f68 Remove pendingResponses; libsignal-net now completes futures with disconnectReason. 2025-05-14 16:43:16 -04:00
andrew-signal
9b9888565b Bump to libsignal v0.71.0. 2025-05-14 16:43:16 -04:00
Alex Hart
a2a3dd28ee Remove activity override in favour of alias down the road. 2025-05-14 16:43:16 -04:00
Jeffrey Starke
844dec06b1 Delete old/unused sticker management v1 code.
Deletes the old code related to sticker management v1 and removes the v2 prefix from the new classes.
2025-05-14 16:43:16 -04:00
Sagar
5306a9dd7a Fix system emoji not showing in video call reactions. 2025-05-14 16:43:16 -04:00
Sagar
cdd595432b Update header on recipient change. 2025-05-14 16:43:00 -04:00
Alex Hart
fabec719ab Prevent multiple activity instances and fix strange launch behavior. 2025-05-06 17:58:48 -04:00
Jeffrey Starke
04c14a82be Sticker management v2 - Implement remaining functionality.
- Fix bottom action bar shadow clipping during visibility animations.
- Show snackbar after installing/uninstalling sticker packs.
- Navigate to sticker preview on row click.
- Add top app bar menu to enable multi-select mode.
- Start StickerManagementActivityV2 instead of the old StickerManagementActivity
2025-05-06 17:58:48 -04:00
Sagar
51851fa5fe Fix crash for leave gv1. 2025-05-06 17:58:48 -04:00
Jeffrey Starke
3c77a3d7aa Sticker management v2 - Implement multi-delete. 2025-05-06 17:58:48 -04:00
andrew-signal
7c9bab421a Pass down RemoteConfig for TLS minimum version enforcement to libsignal. 2025-05-06 17:58:48 -04:00
Michelle Tang
9d1960f065 Clear aep from clipboard after 60 seconds. 2025-05-06 17:58:48 -04:00
Sagar
ae4c0d1242 Add paging for getArchivedRecipients. 2025-05-06 17:58:48 -04:00
Alex Hart
df3396633b Add nav spacing to action bar in compact mode. 2025-05-06 17:58:48 -04:00
Michelle Tang
9aea264305 Fix backup dialog color. 2025-05-06 17:58:48 -04:00
Michelle Tang
866c232045 Convert InviteActivity to a fragment. 2025-05-06 17:58:48 -04:00
Alex Hart
524ffd9d79 Save search query to savedinstancestate. 2025-05-06 17:58:48 -04:00
Alex Hart
46ca979e59 Fix navigation bar offset. 2025-05-06 17:58:48 -04:00
Jeffrey Starke
c8bfc88bed Sticker management v2 - Implement multi-select. 2025-05-06 17:58:48 -04:00
Sagar
030678b029 Fix UI update on non-UI thread exception. 2025-05-06 17:58:48 -04:00
Sagar
e4b99e5cef Reapply query after contact refresh. 2025-05-06 17:58:48 -04:00
andrew-signal
367c0d0a8d Rotate libsignal-net trial RemoteConfig. 2025-05-06 17:58:48 -04:00
Sagar
6dfe3b9c33 Fix color resource linking in SignalSymbols. 2025-05-06 17:58:48 -04:00
Michelle Tang
3aa4e75ef3 Remove wrapped fragments from settings. 2025-05-06 17:58:48 -04:00
Jim Gustafson
570a475229 Add new remote config support for calling audio configuration. 2025-05-06 17:58:48 -04:00
Cody Henthorne
2421bbdabb Fix invalid constraint handling sql when calling update. 2025-05-06 17:58:48 -04:00
Sagar
39756fd0d4 Avoid recording empty voice messages during an ongoing call. 2025-05-06 17:58:48 -04:00
Sagar
7a69c96746 Add accessibility label on buttons. 2025-05-06 17:58:48 -04:00
Sagar
f0acc39829 Hide camera toggle button in PIP mode. 2025-05-06 17:58:48 -04:00
Sagar
a27daddb70 Fix media player incorrect state when switching videos in album. 2025-05-06 17:58:48 -04:00
Jeffrey Starke
fd47d28026 Sticker management v2 - Implement context menus.
Adds the context menus that appear when long pressing available or installed sticker pack list items.
2025-05-06 17:58:48 -04:00
Jeffrey Starke
fe853f7b65 Add missing long press haptic feedback to composables.
As recommended by https://developer.android.com/develop/ui/compose/touch-input/pointer-input/tap-and-press

> As a best practice, you should include haptic feedback when the user long-presses elements.
2025-05-06 17:58:48 -04:00
Cody Henthorne
c89fbbe49f Fix unread count asserts in read sync tests. 2025-05-06 17:58:48 -04:00
Cody Henthorne
5453f101ff Fix BackupRestoreMediaJob not correctly paging through attachments. 2025-05-06 17:58:48 -04:00
Cody Henthorne
87cbe305f0 Support accounts without pins in AEP restore flows. 2025-05-06 17:58:48 -04:00
Jeffrey Starke
b298cb6f89 Prevent sending sticker attachments with a blank contentType. 2025-05-06 17:58:48 -04:00
Sagar
65e1ffaed4 Do not play a media item if it was deleted. 2025-05-06 17:58:47 -04:00
Sagar
43b5cb0641 Fix crash when leaving group. 2025-05-06 17:58:47 -04:00
Greyson Parrelli
f73d929feb Add additional CDN reconciliations to BackupMediaSnapshotSyncJob.
Co-authored-by: Cody Henthorne <cody@signal.org>
2025-05-06 17:58:47 -04:00
andrew-signal
85647f1258 Bump to libsignal v0.70.1 2025-05-06 17:58:47 -04:00
Sagar
9164668b8b Duck and recover external audio on video play. 2025-05-06 17:58:47 -04:00
Sagar
76aaf22429 Duck and recover external audio on voice note play. 2025-05-06 17:58:47 -04:00
Miriam Zimmerman
3d7162cdd3 Implement remote mute receive; Update to RingRTC v2.52.0
Co-authored-by: Alex Hart <alex@signal.org>
Co-authored-by: Cody Henthorne <cody@signal.org>
2025-05-06 17:58:47 -04:00
Alex Hart
ed9a945f05 Fix issue where a test user could have a tier but no subscriber. 2025-05-06 17:58:47 -04:00
Cody Henthorne
f8d7c27583 Bump version to 7.41.3 2025-05-06 17:58:08 -04:00
Cody Henthorne
4e1072b8da Update baseline profile. 2025-05-06 16:53:06 -04:00
Cody Henthorne
057715226f Update translations and other static files. 2025-05-06 16:48:07 -04:00
Cody Henthorne
0f8fdda884 Revert "Remove message send REST fallback."
This reverts commit 7bdfec77ca.
2025-05-06 16:39:43 -04:00
Michelle Tang
393b88fb1f Bump version to 7.41.2 2025-04-30 15:55:00 -04:00
Michelle Tang
639c3ef883 Update translations and other static files. 2025-04-30 15:44:25 -04:00
Sagar
ad4142db1a Fix class cast crash for banners. 2025-04-30 15:38:41 -04:00
Cody Henthorne
5182987735 Fix cds crash by translating libsignal-net CDS protocol exception to IOException. 2025-04-30 15:37:47 -04:00
Michelle Tang
7f5bfc210b Fix story text previews. 2025-04-30 15:25:14 -04:00
Michelle Tang
daf87915d6 Bump version to 7.41.1 2025-04-28 16:49:36 -04:00
Michelle Tang
06996540cd Update translations and other static files. 2025-04-28 16:43:54 -04:00
andrew-signal
58ad3c746a Don't call single.onError with IOException in LibSignalChatConnection::sendRequest. 2025-04-28 12:46:52 -06:00
Sagar
a7ebe41570 Fix MediaSelectionViewModel crash. 2025-04-28 19:30:58 +05:30
Michelle Tang
b6cc702107 Add more logging for chat folders during storage sync. 2025-04-25 16:11:21 -04:00
Greyson Parrelli
9163c0ca4d Improve envelope timestamp validation. 2025-04-24 16:45:26 -04:00
Cody Henthorne
18290c1301 Bump version to 7.41.0 2025-04-24 16:15:11 -04:00
Cody Henthorne
347abe14ae Update baseline profile. 2025-04-24 16:09:51 -04:00
Cody Henthorne
eba55755ff Update translations and other static files. 2025-04-24 16:04:38 -04:00
Michelle Tang
7043558657 Add fixes for streamable videos. 2025-04-24 15:55:40 -04:00
Alex Hart
3aefd3bdc6 Prevent search state from clearing if user did not send a message. 2025-04-24 15:55:40 -04:00
Sagar
d6eb675fd0 Trim text before performing username search. 2025-04-24 15:55:40 -04:00
Alex Hart
ae90b2ecd9 Add support for conversation intent routing to MainActivity. 2025-04-24 15:55:39 -04:00
Jeffrey Starke
9d593bcaff Fix chat folders flickering during drag and drop.
Fixes the UI flickering that occurs when reordering chat folders. The issue was caused by the ViewModel updating the database each time a list item position changes when we were already updating list order in the UI state manually at the same time.
2025-04-24 15:55:39 -04:00
Jeffrey Starke
62ed823e42 Sticker management v2 - Implement drag and drop.
Adds the ability to use drag and drop to rearrange installed sticker packs.
2025-04-24 15:55:39 -04:00
Cody Henthorne
a53479e50d Do not process messages while pending restore decision. 2025-04-24 15:55:39 -04:00
Cody Henthorne
91140c41fd Revert "Depend on libsignal-net's connection backoff instead of duplicating at app-level."
This reverts commit 1aed82d5b7.
2025-04-24 15:55:39 -04:00
Cody Henthorne
68f567b0b7 Fix a few random crashes when using libsignal-net. 2025-04-24 15:55:39 -04:00
Cody Henthorne
501e169210 Make e164 formatter more leinent with + prefix. 2025-04-24 15:55:39 -04:00
Greyson Parrelli
09b818b048 Limit work that happens in LiveRecipientCache lock. 2025-04-24 15:55:39 -04:00
Sagar
7b3897cac6 Fix incorrect span indices for normalised search text. 2025-04-24 15:55:39 -04:00
Alex Hart
64239962fc Implement activated state for conversation list items. 2025-04-24 15:55:39 -04:00
Alex Hart
dac3a332d7 Remove main-thread usage of Recipient.self. 2025-04-24 15:55:39 -04:00
Sagar
83bbcd0618 Avoid message click listeners in Scheduled messages sheet. 2025-04-24 15:55:39 -04:00
andrew-signal
c7c0374c11 Add remote config for libsignal-net rollout. 2025-04-24 15:55:39 -04:00
Sagar
847f3bf08c Pause and play video correctly on TimeBar scrub drag. 2025-04-24 15:55:39 -04:00
Cody Henthorne
d02c610237 Fix unreads for new unread count scheme. 2025-04-24 15:55:39 -04:00
Cody Henthorne
8007045ca8 Convert change number back to WebSocket. 2025-04-24 15:55:39 -04:00
Sagar
901b4b469d Show correct time for Story view item. 2025-04-24 15:55:39 -04:00
Sagar
fa50696815 Ensure story viewed list in proper alphabetical order. 2025-04-24 15:55:39 -04:00
Alex Hart
be035456f7 Ensures chat folder is remembered when we leave page. 2025-04-24 15:55:39 -04:00
Sagar
252a4afa79 Update banner message for debug log. 2025-04-24 15:55:39 -04:00
Sagar
f5f56536bc Fix unread count for edited messages.
Co-authored-by: Cody Henthorne <cody@signal.org>
2025-04-24 15:55:39 -04:00
Michelle Tang
9e89d688f1 Send error message after cancelling a link+sync. 2025-04-24 15:55:39 -04:00
Sagar
2bb94089f7 Move to quoted message on quote preview click. 2025-04-24 15:55:39 -04:00
Jeffrey Starke
3fc386d4a3 Add StickerPackId and StickerPackKey value classes. 2025-04-24 15:55:39 -04:00
Sagar
3779dfd290 Open keyboard for a Draft message. 2025-04-24 15:55:39 -04:00
Jeffrey Starke
a5f766a333 Sticker management v2 - Implement sticker pack installation.
Adds the ability to install sticker packs using `StickerManagementActivityV2`.

When the install button is clicked, it will morph into an indeterminate progress bar, which will then animate into a checkmark once the installation completes successfully. Then a couple seconds later, the sticker pack row will be removed from the available sticker packs list.
2025-04-24 15:55:39 -04:00
Sagar
9f40bfc645 Replace glyphs in group update messages. 2025-04-24 15:55:39 -04:00
Greyson Parrelli
919f03522a Upgrade to mobilecoin to 6.1.2 for 16kb alignment. 2025-04-24 15:55:39 -04:00
Cody Henthorne
8aa6d0bbca Include AEP in link device provisioning message. 2025-04-24 15:55:39 -04:00
Cody Henthorne
4304ae2a96 Add notification profile id for backupsv2. 2025-04-24 15:55:39 -04:00
Sagar
b4a9189068 Add close icon in search toolbar. 2025-04-24 15:55:39 -04:00
Greyson Parrelli
ec6448bd1b Address possible invalid e164's in storage service splits. 2025-04-24 15:55:39 -04:00
Greyson Parrelli
8c5811581e Add additional logging around storage batch sizes. 2025-04-24 15:55:39 -04:00
Greyson Parrelli
4b4d3d33b1 Add additional safeguards around storage sync types. 2025-04-24 15:55:39 -04:00
Jeffrey Starke
dd6c39f7eb Update TransferProgressIndicator to support indeterminate progress.
Showing exact progress for sticker pack downloads is more complicated than necessary. This PR updates `TransferProgressIndicator` to support displaying indeterminate progress.

#### Changeset
- Display indeterminate progress when installing a sticker pack.
- Remove cancel button from `AvailableStickerPackRow`.
- Decrease progress indicator size to match updated design.
2025-04-24 15:55:39 -04:00
Sagar
b246e62504 Avoid setting blank folder name. 2025-04-24 15:55:39 -04:00
Sagar
ba08399d35 Add accessibility labels for MainToolbar. 2025-04-24 15:55:39 -04:00
Sagar
3f1bb7eac7 Improve choose chats save button enabled state. 2025-04-24 15:55:39 -04:00
Greyson Parrelli
a2a10fb0c1 Filter out bad E164s from GV1 groups. 2025-04-24 15:55:39 -04:00
Greyson Parrelli
e45eabc714 Convert avatar migration to just be a force push. 2025-04-24 15:55:39 -04:00
Alex Hart
138dae0484 Align pin reminder skip behavior with iOS. 2025-04-24 15:55:39 -04:00
Alex Hart
893725e304 Dynamic split pane support via internal setting. 2025-04-24 15:55:39 -04:00
Jeffrey Starke
2cfe321274 Convert StickerManagementRepository to kotlin.
Converts `StickerManagementRepository` to kotlin, so `getStickerPacks()` can return a `Flow` that emits updates after the database is changed.

This change simplifies the implementation of `StickerManagmentViewModelV2`, since `StickerManagementRepository.getStickerPacks()` will now automatically register and unregister the database observer.
2025-04-24 15:55:39 -04:00
Sagar
050dcb3eb1 Show correct message for empty archived screen. 2025-04-24 15:55:39 -04:00
Alex Hart
6ce01c6b0e Return an empty list instead of crashing when calling participantAcis. 2025-04-24 15:55:39 -04:00
Sagar
d2f44fee87 Avoid opening Media preview for not sent media. 2025-04-24 15:55:39 -04:00
Sagar
1228da8665 Fix transfer controls logic for checking isUpload. 2025-04-24 15:55:39 -04:00
Sagar
479632d6a8 Fix message info screen updates. 2025-04-24 15:55:39 -04:00
Greyson Parrelli
619d2997f6 Add additional local metrics around storage service writes/reads. 2025-04-24 15:55:39 -04:00
Alex Hart
c5e795b176 Wire up nav rail fabs and fix animation playing on leaving a tab. 2025-04-24 15:55:39 -04:00
andrew-signal
8b7b184224 Tweak Network.transformAndSetRemoteConfig to match changes to libsignal's RemoteConfig spec. 2025-04-24 15:55:39 -04:00
Jeffrey Starke
48d26beb77 Add TransferProgressIndicator composable.
Adds a composable version of `TransferProgressView`.
2025-04-24 15:55:39 -04:00
Jeffrey Starke
3d1895500c Sticker management v2 - Display available and installed stickers. 2025-04-24 15:55:39 -04:00
Alex Hart
e442c27555 Separate sheet that requires payment flow. 2025-04-24 15:55:39 -04:00
Alex Hart
c3d61bece1 Add MainContentLayoutData object and proper scaffolding directive. 2025-04-24 15:55:39 -04:00
Alex Hart
49853b2cca Move background color selection into theme. 2025-04-24 15:55:39 -04:00
Sagar
cd838c4bee Fix Video call screen bottom sheet weird animation and height. 2025-04-24 15:55:39 -04:00
Greyson Parrelli
2e50699a2d Make system keyboard sticker detection more reliable. 2025-04-24 15:55:39 -04:00
Michelle Tang
fe97c969ae Ensure keystore operations happen on the same thread. 2025-04-24 15:55:39 -04:00
Alex Hart
c70a8d48a8 Hide keyboard when navigating back to chat list via toolbar. 2025-04-24 15:55:39 -04:00
Alex Hart
322ea97377 Add logging to BackupsSettingsViewModel to help track down data loading race. 2025-04-24 15:55:39 -04:00
Sagar
e3a402394f Avoid message failed notification when bubble thread is visible. 2025-04-24 15:55:39 -04:00
Sagar
16b4b3b6b7 Fix SearchView loosing focus. 2025-04-24 15:55:39 -04:00
Jim Gustafson
cd98ccbf00 Update to RingRTC v2.50.6 2025-04-24 15:55:39 -04:00
Sagar
eecb18b436 Add correct dialog message while blocking group. 2025-04-24 15:55:39 -04:00
Sagar
d13a803dcd Fix resend button visibility logic. 2025-04-24 15:55:39 -04:00
Alex Hart
bd03f21cdf Allow specification of whether we utilize windowTypes to lay out inset guidelines. 2025-04-24 15:55:39 -04:00
Alex Hart
b46d891183 Dialog color fixes. 2025-04-24 15:55:38 -04:00
Alex Hart
54191433e0 Remove ConversationTabs* and migrate to MainActivity. 2025-04-24 15:55:38 -04:00
Sagar
462fcdce16 Add glyph icons and SignalSymbol methods. 2025-04-24 15:55:38 -04:00
Greyson Parrelli
f68bb2dc88 Add storage service optimization to avoid manifest reads. 2025-04-24 15:55:38 -04:00
andrew-signal
fe70637140 Bump to libsignal v0.70.0 2025-04-24 15:55:38 -04:00
Greyson Parrelli
1028d293a0 Temporarily remove bad assertion in MessageBackupsFlowViewModel. 2025-04-24 15:55:38 -04:00
andrew-signal
74c6e76808 Add system HTTP proxy support to libsignal-net.
Co-authored-by: Cody Henthorne <cody@signal.org>
2025-04-24 15:55:38 -04:00
Greyson Parrelli
8e880fe117 Fix another syncing crash when no archived media exists. 2025-04-24 15:55:38 -04:00
Greyson Parrelli
6525662071 Fix syncing crash when no archived media exists. 2025-04-24 15:55:38 -04:00
Alex Hart
94d07f7012 Decouple InlineQueryViewModelV2 instance from activity, parent to fragment instead. 2025-04-24 15:55:38 -04:00
Sagar
e3297ab593 Add accessibility labels for GIF categories and correct emoji labels. 2025-04-24 15:55:38 -04:00
Sagar
3ff7f89ef6 Support hiding image caption with press and hold. 2025-04-24 15:55:38 -04:00
Sagar
ac1165c8fd Avoid blocking yourself. 2025-04-24 15:55:38 -04:00
Sagar
69153cf339 Support drag multi-selection for media gallery. 2025-04-16 11:22:23 -03:00
Sagar
852541c361 Avoid setting blank custom story name. 2025-04-16 11:22:23 -03:00
Sagar
399a613c25 Avoid sending blank story. 2025-04-16 11:22:23 -03:00
Sagar
003c1082a9 Avoid setting blank group names. 2025-04-16 11:22:23 -03:00
Jeffrey Starke
885588db86 Create new sticker management screen with tabbed interface.
Adds a skeleton implementation of `StickerManagementActivityV2`. This new activity is not currently connected to anything, but once complete it will replace `StickerManagementActivity`.
2025-04-16 11:22:23 -03:00
Milan Stevanovic
90a356b29d Fix incorrect embedded druation in certain MP4 files.
The root cause:
- some MP4 files come with H.264/H.265 streams which explicitly
  state their timescale. In such cases, it is wise that MP4 muxer
  adopts these values
- unfortunately, the recent trend has been that such values coming
  from video stream SPS (vui_parameters/timing info) are exorbitantly
  high - instead of being FPS *1000, they tend to be FPS * 100,000,000
- when trying to express the duration of the movie, the MP4 muxer
  normally tries to find the adequate timescale value which will
  fit both audio and video timescaling domains. The most suitable
  approach is that the LCM (least common multiplier) value is taken
  which mathematically will be the least disruptive.

HOWEVER:
- in cases when video and timescale numeric values are mutually 'odd',
  say 30*100,000,000 and 44100, the LCM ends up being a huge number,
  which outgrows the 32-bit storage capacity granted by the ISO MP4
  spec (MVHD box).

Problem solution:
1) identifying when the LCM timescale exceeds 32-bit storage space
2) scaling down its value by nearest larger 10X factor, which will
   guarantee its value fitting the 32-bit space. Given the afore
   mentioned video timescale factors, dividing by 10X is harmless
3) rescaling the duration 64-bit value based on the new timescale
2025-04-16 11:22:23 -03:00
Greyson Parrelli
597623d23a Update conscrypt to 2.5.3 2025-04-16 11:22:23 -03:00
Greyson Parrelli
2028afc941 Update aesgcmprovider to 0.0.4 2025-04-16 11:22:23 -03:00
Greyson Parrelli
915580ddd3 Enable backups v2 for internal users. 2025-04-16 11:22:23 -03:00
Greyson Parrelli
9432cca14a Fix some media not appearing in the gallery picker.
Works around the glide issue by using the straight URI when possible,
which allows glide to not have to keep a buffer. However, as soon as you
select it, it'll be an encrypted file, and we'll run into this same
issue where glide needs to keep a buffer for the input stream.

Related to #11014
2025-04-16 11:22:23 -03:00
Sagar
4e07ac0300 Fix InputAwareLayout incorrectly overriding height in bubble mode. 2025-04-16 11:22:23 -03:00
Sagar
ad21c349cd Update quote icon for scheduled send. 2025-04-16 11:22:23 -03:00
Greyson Parrelli
383da335d8 Do not send sync messages if we have no linked devices. 2025-04-16 11:22:23 -03:00
Jim Gustafson
ebdffc171e Update to RingRTC v2.50.5 2025-04-16 11:22:23 -03:00
Cody Henthorne
721b70b7b7 Fallback to local reglock data if available when registering a previously verified session. 2025-04-16 11:22:23 -03:00
Greyson Parrelli
556bcda58a Bump version to 7.40.2 2025-04-15 17:20:29 -04:00
Greyson Parrelli
4cb5bd9edd Fix potential bad state with change numbers. 2025-04-15 17:20:29 -04:00
Cody Henthorne
193f6460b0 Convert change number back to REST. 2025-04-15 17:05:19 -04:00
Alex Hart
f8d8c8af2d Add internal preference for large screen UI. 2025-04-15 15:29:37 -03:00
Alex Hart
efac6990c8 Apply display cutout for chat list. 2025-04-15 15:24:09 -03:00
Alex Hart
250ac481c8 Move cancel and retry to bg thread. 2025-04-15 13:15:16 -03:00
Michelle Tang
44bfa514a5 Fix member count description. 2025-04-15 11:05:58 -04:00
Alex Hart
74cedf99d8 Fix snackbar vertical offset on archive screen. 2025-04-15 11:33:11 -03:00
Alex Hart
4c81c321be Utilize root window insets for grabbing system bar sizes. 2025-04-15 11:14:16 -03:00
Alex Hart
d00fbcd886 Fix snackbar dismissal. 2025-04-15 10:25:47 -03:00
Alex Hart
416f80e745 Fix bad assumption about attachment count in validator. 2025-04-15 10:14:54 -03:00
Michelle Tang
6805826472 Bump version to 7.40.1 2025-04-11 11:03:55 -04:00
Michelle Tang
ce5d234186 Update translations and other static files. 2025-04-11 10:57:41 -04:00
Michelle Tang
c95c6e6ef0 Schedule storage sync job for add/remove from folder. 2025-04-11 10:49:33 -04:00
Cody Henthorne
904f8da8af Update settings for unregistered state. 2025-04-11 08:34:10 -04:00
Alex Hart
645e9bf16a Allow back press to return from archive to converation list. 2025-04-10 14:26:35 -03:00
Alex Hart
35235509ca Prevent wallpaper mode from overwriting navbar color. 2025-04-10 14:12:04 -03:00
Michelle Tang
021330a25d Fix adding to chats for chat folders. 2025-04-10 12:47:13 -04:00
Alex Hart
6613d5fccb Fix nav bar spacing and coloring. 2025-04-10 13:10:37 -03:00
Alex Hart
9d6e7560f0 Fix touch target for app toolbar avatar. 2025-04-10 12:14:18 -03:00
Alex Hart
09e36e0ed8 Fix 3 button nav styling. 2025-04-10 11:47:40 -03:00
Alex Hart
8dde5ccd2e Fix padding below toolbar in search mode with chat folders enabled. 2025-04-10 10:13:23 -03:00
Alex Hart
f1ed2156e3 Prevent scaffold from being used if we do not have flag enabled. 2025-04-10 10:00:58 -03:00
Michelle Tang
40b9a60f6c Bump version to 7.40.0 2025-04-09 16:54:03 -04:00
Michelle Tang
59a135a1db Update translations and other static files. 2025-04-09 16:53:42 -04:00
Michelle Tang
0123c17e7e Remove unnecessary boolean return for conversations. 2025-04-09 15:51:10 -04:00
Cody Henthorne
ac36eeb84d Use unauth WebSocket after quick restore for transfer mode decision. 2025-04-09 15:29:55 -04:00
Alex Hart
143b2b5bd5 Move live state into if statement for AvatarImage. 2025-04-09 15:29:54 -04:00
Michelle Tang
6006c047d8 Remove old deleted folders from storage service. 2025-04-09 15:29:54 -04:00
Alex Hart
94d5fe3e43 Fix how navigation bar colors are set and interacted with in MainActivity. 2025-04-09 15:29:54 -04:00
Alex Hart
e0ba8a1d60 Fix color issue on call toast popup. 2025-04-09 15:29:54 -04:00
Alex Hart
2f8b0ff3a8 Set corner radius of nav bar icons to half height. 2025-04-09 15:29:54 -04:00
Greyson Parrelli
4700846fad Align the libnative-utils to 16kb pages. 2025-04-09 15:29:54 -04:00
Greyson Parrelli
6ddf2ab5f8 Update to NDK r28 for 16kb page support. 2025-04-09 15:29:54 -04:00
Alex Hart
545a26ff04 Fix conversation nav bar click. 2025-04-09 15:29:54 -04:00
Sagar
f0f6b80f43 Prevent child clickable in message selection state. 2025-04-09 15:29:54 -04:00
Alex Hart
0227af199b Clear window insets listener when view is detached from window. 2025-04-09 15:29:54 -04:00
Alex Hart
970f5f2480 Add progress dialog support to bottom snackbar. 2025-04-09 15:29:54 -04:00
Sagar
13d0d25f77 Notify conversations for deleted stories. 2025-04-09 15:29:54 -04:00
Alex Hart
b64f3a48bf Add proper adaptive material app scaffolding. 2025-04-09 15:29:54 -04:00
Sagar
86ea3e8572 Fix thumbPositon jitter while editing video. 2025-04-09 15:29:54 -04:00
andrew-signal
f15a67c8b2 Remove outdated config check affecting proximity lock behavior during calling. 2025-04-09 15:29:54 -04:00
Alex Hart
659ae75a20 Fix content width shrinking megaphones. 2025-04-09 15:29:54 -04:00
Sagar
0d686b2f44 Fix Image expanded caption scroll to top. 2025-04-09 15:29:54 -04:00
andrew-signal
0d611cf4c9 Bump libsignal to v0.69.1. 2025-04-09 15:29:54 -04:00
Sagar
6afeb45f43 Remove duplicate error handling in MediaSelection. 2025-04-09 15:29:54 -04:00
Alex Hart
d81616d23c Prevent conversation re-launch on reconfiguration of screen. 2025-04-09 15:29:54 -04:00
Sagar
6ea63f3e34 Avoid sending blank replies and do not clear input when sending reactions. 2025-04-09 15:29:54 -04:00
Sagar
af52765821 Support opening scheduled document files. 2025-04-09 15:29:54 -04:00
Cody Henthorne
acbab9e736 Allow long text to be sent via notification replies. 2025-04-09 15:29:54 -04:00
Alex Hart
5bce2884a7 Add predictive back gesture support to MainActivity. 2025-04-09 15:29:52 -04:00
Alex Hart
b92998be13 Fix image loading for megaphones. 2025-04-09 15:27:46 -04:00
Michelle Tang
1339929de4 Update chat folder tests. 2025-04-09 15:27:46 -04:00
Alex Hart
b0cd27e203 Add compose megaphone stuff to MainBottomChrome composable. 2025-04-09 15:27:46 -04:00
Sagar
65e7c4c053 Support zoom for avatar preview. 2025-04-09 15:27:46 -04:00
Sagar
8d8519b52e Linkify story captions. 2025-04-09 15:27:46 -04:00
Sagar
9c95cfd64b Fix donation pills UI for large Font and other UI improvements. 2025-04-09 15:27:46 -04:00
Sagar
b0a903b17d Make FABs stack scrollable for small height in landscape mode. 2025-04-09 15:27:46 -04:00
Alex Hart
855b315067 Reimplement megaphone UI in compose. 2025-04-09 15:27:46 -04:00
Jeffrey Starke
aa7b61ecb1 Consolidate duplicated logic to retrieve groups in common.
Merges all of these into GroupsInCommonRepository:
- ConversationSettingsRepository.getGroupsInCommon()
- CallLinkIncomingRequestRepository.getGroupsInCommon()
- ContactSearchPagedDataSourceRepository.getGroupsInCommon()
- ReviewUtil.getGroupsInCommonCount()
- AboutSheetRepository.getGroupsInCommonCount()
2025-04-09 15:27:46 -04:00
Alex Hart
c9795141df Pass InAppPayments around by ID instead of passing the entire object. 2025-04-09 15:27:46 -04:00
andrew-signal
1aed82d5b7 Depend on libsignal-net's connection backoff instead of duplicating at app-level. 2025-04-09 15:27:46 -04:00
Michelle Tang
752ed93b6f Update blocked string for groups. 2025-04-09 15:27:46 -04:00
Ciphreon
de3088f706 Show "declined" for declined voice and video calls instead of "missed".
Closes #14081
Fixes #14080
2025-04-09 15:27:46 -04:00
Jeffrey Starke
2608e9165c Fix group member review avatar and "other groups in common" copy. (#4813)
- Fixes `ReviewBannerView` erroneously using the note to self icon instead of the current user's profile photo.
- Fixes the "other groups in common" copy, which was missing the word "other".
2025-04-09 15:27:46 -04:00
Cody Henthorne
1e0e165eaf Fix decryptionDrained flag if race for WebSocket state emission is lost. 2025-04-09 15:27:46 -04:00
Michelle Tang
eff90aaa64 Fix job checks when syncing folders with storage service id. 2025-04-09 15:27:46 -04:00
Jeffrey Starke
77078e1844 Add the ability to navigate to conversations by tapping groups in common rows. 2025-04-09 15:27:46 -04:00
Michelle Tang
5929021166 Fix null storageIds in chat folder crash. 2025-04-09 15:27:46 -04:00
andrew-signal
8317e2e055 Correct RemoteConfig to enable libsignalWebSocket for nightly builds. 2025-04-09 15:27:46 -04:00
Michelle Tang
eb1cf8d62f Add chat folder support to storage service. 2025-04-09 15:27:46 -04:00
Cody Henthorne
f6ecb572b1 Fix lint for IAP test and main toolbar. 2025-04-09 15:27:46 -04:00
Alex Bakon
8b9fc30b97 Migrate calls to deprecated libsignal methods. 2025-04-09 15:27:46 -04:00
Sagar
d65954c26f Improve AvatarImage to update on recipient changes. 2025-04-09 15:27:46 -04:00
Cody Henthorne
8a0e260061 Re-migrate delete account to WebSocket. 2025-04-09 15:27:46 -04:00
Jeffrey Starke
bb608dbfa7 Fix missing timestamps on undownloaded media messages. 2025-04-09 15:27:46 -04:00
Michelle Tang
ec5a7e1e48 Prevent recipient hot loop on main thread. 2025-04-09 15:27:46 -04:00
Sagar
6251dad6e0 Update MyStoryItem on profile change. 2025-04-09 15:27:46 -04:00
Sagar
3982f5a4db Remove prefix before username aci fetch. 2025-04-09 15:27:46 -04:00
Sagar
a8f8760a11 Support scroll for call link screens. 2025-04-09 15:27:46 -04:00
Sagar
fb571ffdbf fixup! Update profile initials after name change. 2025-04-09 15:27:46 -04:00
Sagar
dc2956d05b Update quoteIds for edited message and ignore stale messages in isQuoted. 2025-04-09 15:27:46 -04:00
Jeffrey Starke
85b19bfe23 Fix incorrectly oriented back navigation icons for top app bar RTL layouts.
Replace `symbol_arrow_left_24` with `symbol_arrow_start_24` (which has auto-mirroring enabled) for top app bar navigation back icons to properly support RTL layouts.
2025-04-09 15:27:46 -04:00
andrew-signal
5b04107447 Update to and integrate with libsignal v0.69.0. 2025-04-09 15:27:46 -04:00
Cody Henthorne
7a5790a6ce Attempt to reclaim username in more places during/after registration. 2025-04-09 15:27:46 -04:00
Jeffrey Starke
9d3f4ffa08 Add groups in common screen.
Adds a new screen to show which groups the user has in common with another user.
2025-04-09 15:27:46 -04:00
Sagar
bc2d4a0415 Fix badge bottomsheet color and scrolling. 2025-04-09 15:27:46 -04:00
Alex Hart
cc346351f7 Use state to support back pressed callback. 2025-04-09 15:27:46 -04:00
Cody Henthorne
fcc6032ee0 Generalize preventing WebSocket from connecting in various app states. 2025-04-09 15:27:46 -04:00
Cody Henthorne
ecb040ce98 Convert donations apis to WebSocket. 2025-04-09 15:27:46 -04:00
Sagar
2f9692a1a0 Prevent wrong closing animation for stories. 2025-04-09 15:27:46 -04:00
Sagar
042ab95738 Fix EmojiView scroll in bottomsheet. 2025-04-09 15:27:45 -04:00
Sagar
13be8d511c Focus on correct textfield when adding a description. 2025-04-09 15:27:45 -04:00
Cody Henthorne
7bdfec77ca Remove message send REST fallback. 2025-04-09 15:27:45 -04:00
Alex Hart
bc176b8c50 Fix application crash when failing to download backup types. 2025-04-09 15:27:45 -04:00
Alex Hart
68c0307b73 Upgrade compose bom to latest stable. 2025-04-09 15:27:45 -04:00
Michelle Tang
bc3d533b5f Bump version to 7.39.4 2025-04-09 14:49:18 -04:00
Michelle Tang
84bbac22cb Update translations and other static files. 2025-04-09 14:43:52 -04:00
Alex Hart
4d6c620f51 Sync toolbar state in tabs fragment. 2025-04-09 15:20:58 -03:00
Michelle Tang
fa7d19e474 Bump version to 7.39.3 2025-04-07 15:18:56 -04:00
Michelle Tang
3a7f9a1985 Update translations and other static files. 2025-04-07 15:11:49 -04:00
Sagar
e8ff5b19f9 Fix video remainingTime calculation. 2025-04-07 12:44:05 -04:00
Alex Hart
05701fde00 Fade in fabs after search is closed. 2025-04-07 13:12:40 -03:00
Alex Hart
94d1669363 Fix lineheight. 2025-04-07 12:54:55 -03:00
Greyson Parrelli
7f42f358a5 Bump version to 7.39.2 2025-04-03 21:48:29 -04:00
Greyson Parrelli
e9c3209322 Update baseline profile. 2025-04-03 21:48:29 -04:00
Greyson Parrelli
006a01b7f2 Update translations and other static files. 2025-04-03 21:48:29 -04:00
Alex Hart
9ddd24566d Fix action mode status bar coloring. 2025-04-03 21:48:29 -04:00
Alex Hart
a3166a8c73 Fix toolbar coloring behavior. 2025-04-03 21:48:29 -04:00
Alex Hart
117c2ad5dd Fix crash coming back from archive fragment. 2025-04-03 12:37:13 -03:00
Alex Hart
5e156c8576 Fix action mode rendering. 2025-04-03 12:21:59 -03:00
Michelle Tang
a073785407 Update system default language when switching. 2025-04-02 15:39:54 -04:00
Alex Hart
45ea0c0c97 Fix errant toolbar method. 2025-04-02 11:41:31 -03:00
Greyson Parrelli
43dcaacdaf Bump version to 7.39.1 2025-04-01 18:34:05 -04:00
Greyson Parrelli
aa89cd3d6c Update translations and other static files. 2025-04-01 18:33:46 -04:00
Greyson Parrelli
137ebd27eb Update to libsignal v0.68.1 2025-04-01 18:28:32 -04:00
Alex Hart
6323cd0fd4 Inline flag to enable auto-lower-hand for everyone. 2025-04-01 12:54:14 -03:00
Alex Hart
62305c6910 Fix content color in search field. 2025-04-01 12:15:02 -03:00
Alex Hart
681d38611d Hide stories if feature is disabled. 2025-04-01 12:10:09 -03:00
Alex Hart
38dedae8dd Fix navigation bar lottie animation duration. 2025-04-01 12:03:11 -03:00
Greyson Parrelli
ac39821841 Bump version to 7.39.0 2025-03-31 15:36:17 -04:00
Greyson Parrelli
50aef6c3bc Update baseline profile. 2025-03-31 15:28:52 -04:00
Greyson Parrelli
ad67d931df Update translations and other static files. 2025-03-31 14:59:06 -04:00
Greyson Parrelli
c9308f05ca Disable the configuration cache (for now). 2025-03-31 14:46:59 -04:00
Sagar
d1ba4fa19f Update profile initials after name change. 2025-03-31 14:44:13 -04:00
Sagar
48f8ebd0a8 Prevent showing Empty MediaPreview screen and avoid Camera/Gallery Stack. 2025-03-31 14:44:13 -04:00
Sagar
5237568bec Fix buttons weight distribution in QualitySelectorBottomSheet. 2025-03-31 14:44:13 -04:00
Alex Hart
49fcf08331 Move toolbar into main activity composable. 2025-03-31 14:44:13 -04:00
Sagar
23af6e2bf9 Improve Media Player current and remaining time logic. 2025-03-31 14:44:13 -04:00
Cody Henthorne
eb44dd4318 Provide retry UX for tier restore network failures. 2025-03-31 14:44:13 -04:00
Greyson Parrelli
9b527f7c6c Add additional validations around quote authors during export. 2025-03-31 14:44:13 -04:00
Sagar
1f95e0dd39 Hide scheduled media from conversation settings. 2025-03-31 14:44:13 -04:00
Sagar
02ee1c794b Fix play console crash reports. 2025-03-31 14:44:13 -04:00
Sagar
63c00e638d Fix witness verification for windows. 2025-03-31 14:44:13 -04:00
Greyson Parrelli
a421b5c6bb Add extra validation around shared contact backups. 2025-03-31 14:44:13 -04:00
Greyson Parrelli
42e7f5f4fc Do not allow invalid thread merge events in backups. 2025-03-31 14:44:13 -04:00
Michelle Tang
cffba71186 Add language support for Belarusian. 2025-03-31 14:44:13 -04:00
Alex Hart
10141717bd Add adaptive-layout and adaptive-navigation libraries. 2025-03-31 14:44:13 -04:00
Alex Hart
eb190f5f00 Remove ConversationListTabs enum. 2025-03-31 14:44:13 -04:00
Greyson Parrelli
0b315220ee Quiet excessive warnings. 2025-03-31 14:44:13 -04:00
Alex Hart
2b94489721 Fix witness verifications for OSX. 2025-03-31 14:44:13 -04:00
Alex Hart
7fe4816087 Add compose bottom chrome. 2025-03-31 14:44:13 -04:00
Greyson Parrelli
80bc2bdc89 Fix some lint errors. 2025-03-31 14:44:06 -04:00
Greyson Parrelli
8a2e15b76b Update to gradle 8.9.0 2025-03-31 14:44:06 -04:00
Alex Hart
c31c75d189 Temporary fix for notification profile icon. 2025-03-31 14:44:06 -04:00
Greyson Parrelli
17216316f6 Dynamically compute MediaName and MediaId. 2025-03-31 14:44:06 -04:00
Alex Hart
f1985cf506 Reimplement main activity toolbars in compose. 2025-03-31 14:44:06 -04:00
Michelle Tang
5f7ce0d96d Fix wrong language being selected for system default. 2025-03-31 14:44:06 -04:00
andrew-signal
88fd8fb36b Add handling for AppExpiredConnection in LibSignalChatConnection:connect.
Co-authored-by: Cody Henthorne <cody@signal.org>
2025-03-31 14:44:06 -04:00
andrew-signal
defe94c4fa Update to libsignal v0.68.0 2025-03-31 14:44:06 -04:00
andrew-signal
2a8be22160 Enable libsgnal-net for all nightly builds. 2025-03-31 14:44:06 -04:00
Greyson Parrelli
f48a13afc0 Fix handling of missing files during archive upload. 2025-03-31 14:44:06 -04:00
Greyson Parrelli
d1accfff82 Fixed internal setting behavior for forcing backup type. 2025-03-28 10:34:39 -04:00
Cody Henthorne
d87b313fb3 Only allow ACI auth for websocket at this time. 2025-03-28 10:30:05 -04:00
Cody Henthorne
ca8aa78705 Catch additional CDS exceptions to prevent crash. 2025-03-28 10:03:42 -04:00
Sagar
b5987feab3 Fix DateTime conversions for search datePicker. 2025-03-28 19:33:01 +05:30
Sagar
36c50d7dde Reset player position when video is finished. 2025-03-28 19:26:00 +05:30
Cody Henthorne
dea73e808c Fix pinned chat ordering sent to storage service. 2025-03-28 09:49:33 -04:00
Sagar
6847e0e4da Update conversation list for scheduled group message. 2025-03-28 00:10:59 +05:30
Alex Hart
ca82a99b9a Do not disable camera if undergoing a configuration change. 2025-03-27 14:43:32 -03:00
Greyson Parrelli
944e861594 Temporarily ignore flaky network test. 2025-03-27 13:27:44 -04:00
Greyson Parrelli
b5da07762c Fix unit of retry-after header. 2025-03-27 13:13:19 -04:00
Sagar
ad6c89bc01 Add support to dynamically update Recipient data in group settings. 2025-03-27 22:02:20 +05:30
Sagar
6b86a33f2a Support stop download and upload for documents. 2025-03-27 21:53:04 +05:30
Greyson Parrelli
bde791e03e Make the stopship task more reliable. 2025-03-27 10:25:34 -04:00
Sagar
857306d7a3 Update blur face button state on clear all while image editing. 2025-03-27 00:43:46 +05:30
Sagar
8f5f1b8906 Update dim button state on reset wallpaper. 2025-03-27 00:42:19 +05:30
Alex Hart
0358631029 Add ability to Self-heal SEPA bug. 2025-03-26 16:11:49 -03:00
Sagar
de54ff304d Improve byteCountEstimate calculation for videos. 2025-03-26 13:59:12 -04:00
Cody Henthorne
03614b32e4 Fix missing thumbnail background color. 2025-03-26 13:59:12 -04:00
Alex Hart
c0113436a2 Fix instrumentation tests for payments. 2025-03-26 13:59:12 -04:00
Tito
71a44e1ebd Update README.md copyright.
Closes #14060
2025-03-26 13:59:12 -04:00
Greyson Parrelli
c4131bb440 Inline the attachment backfill flag. 2025-03-26 13:59:12 -04:00
Jeffrey Starke
0dfe71ca8f Fix crash when changing username on Android API < 24.
Basically, the crash was caused by using `Collections.unmodifiableList()`, which creates an `UnmodifiableCollection` wrapper around the original `List`.

That `UnmodifiableCollection` wrapper contains methods that return `java.util.stream.Stream` – which was added in Java 8, but can be used on Android API < 24 through [desugaring](https://developer.android.com/studio/write/java8-support-table). 

_However_, it appears that when Jackson is using reflection to serialize `ReserveUsernameRequest`, it examines all of the methods of that class. This results in a `java.lang.NoClassDefFoundError: java.util.stream.Stream`, because the reflection is looking at the actual runtime `UnmodifiableCollection` class and not desugared code.

As far as I can tell, that behavior is unavoidable and the only way to avoid this issue is to avoid using `Collections.unmodifiableList()` in classes that are serialized by Jackson on Android API < 24.
2025-03-26 13:59:12 -04:00
Sagar
dc66da0667 Fix BubbleBanner dismiss click listener. 2025-03-26 13:59:12 -04:00
Cody Henthorne
e3044b3c97 Update restore complete banner ux. 2025-03-26 13:59:12 -04:00
Cody Henthorne
dd205e31a9 Fix incorrect state by Cycling restore decision state key. 2025-03-26 13:59:12 -04:00
Jeffrey Starke
0ef627b864 Use AttachmentSaver to save media overview files to device storage. 2025-03-26 13:59:12 -04:00
Sagar
18328079c8 Support dynamically updating common groups in recipient settings. 2025-03-26 13:59:12 -04:00
Sagar
114d9f21ed Support scroll for Scheduled Message dialog sheets. 2025-03-26 13:59:12 -04:00
Greyson Parrelli
7fa1403cff Fix nightly-url logic. 2025-03-26 13:59:12 -04:00
Alex Hart
276285ebef Replace main activity xml with AppScaffold. 2025-03-26 13:59:12 -04:00
Greyson Parrelli
8053d567f2 Update lint-baseline.xml 2025-03-26 13:59:12 -04:00
andrew-signal
9c48e669ee Remove unneeded test timeout. 2025-03-26 13:59:12 -04:00
Cody Henthorne
75e24ff7d5 Add and use special monospace typeface for AEP. 2025-03-26 13:59:12 -04:00
Sagar
e88db06c8b Add "Tap to remove" option for emoji in ReactionsBottomSheet. 2025-03-26 13:59:12 -04:00
Sagar
bcc11b9fbc Fix emoji picker weird scrolling in RTL. 2025-03-26 13:59:12 -04:00
Sagar
b416c34fa8 Add support for audio to start from a seek position. 2025-03-26 13:59:12 -04:00
Alex Hart
bf83914357 Convert MainActivity to Kotlin. 2025-03-26 13:59:12 -04:00
Alex Hart
e22c403b10 Adjust footer offset on collapsed text items. 2025-03-26 13:59:12 -04:00
Sagar
59af304002 Fix Re-register screen UI. 2025-03-26 13:59:12 -04:00
Sagar
480fc84b8b Fix Save/Reset chat wallpaper crashes. 2025-03-26 13:59:12 -04:00
Ciphreon
c8c0146fd0 Migrate Help Settings Fragment to Compose 2025-03-26 13:59:12 -04:00
Cody Henthorne
3e1edfbc67 Fix gv2 create/join bugs when profile credential is invalid. 2025-03-26 13:59:12 -04:00
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
Alex Hart
92a28f7103 Ensure payment is in proper state before popping external iDEAL authorization. 2025-03-26 13:59:11 -04:00
andrew-signal
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 Tang
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 Hart
7cc4677120 Migrate paypal and stripe interactions to durable background jobs. 2025-03-26 13:59:11 -04:00
Greyson Parrelli
ad00e7c5ab Fix issue where were were sometimes backing up an empty CDN key. 2025-03-26 13:59:11 -04:00
Greyson Parrelli
a4c30393ee Make the backup remote config field active. 2025-03-26 13:59:11 -04:00
Greyson Parrelli
2147ee77bc Improve logging around setting backup tier. 2025-03-26 13:59:11 -04:00
Alex Hart
0cfa4774ad Do not display backups warnings if backups are disabled in remote configuration. 2025-03-26 13:59:11 -04:00
Alex Hart
14f99bba24 Fix InAppPayments database inconsistency. 2025-03-26 13:59:11 -04:00
Alex Hart
8d53c1b384 Fix message backup checkout e2e tests. 2025-03-26 13:59:11 -04:00
Cody Henthorne
fff74256b5 Prevent duplicate restore local attachment jobs from being enqueue. 2025-03-26 13:59:11 -04:00
Cody Henthorne
f154029eb1 Bump version to 7.38.7 2025-03-26 13:48:06 -04:00
Cody Henthorne
7480124a59 Update baseline profile. 2025-03-26 13:39:38 -04:00
Cody Henthorne
6de816ce86 Update translations and other static files. 2025-03-26 13:33:32 -04:00
Cody Henthorne
d2cc5d54fe Use full version code for version tracking. 2025-03-26 13:23:47 -04:00
Greyson Parrelli
390a03b783 Fix query for thread merge fallback. 2025-03-26 09:09:26 -04:00
Greyson Parrelli
4b326a9875 Bump version to 7.38.6 2025-03-25 09:55:27 -04:00
Greyson Parrelli
0c05bfd756 Update translations and other static files. 2025-03-25 09:54:59 -04:00
Cody Henthorne
b8032378f6 Only deprecate client on 499s from chat service. 2025-03-25 09:45:26 -04:00
Cody Henthorne
2f4669d7eb Fix web socket management related crashes. 2025-03-25 09:44:38 -04:00
Alex Hart
0fb6062db3 Bump version to 7.38.5 2025-03-21 16:47:50 -03:00
Alex Hart
8d0ad52c8a Update baseline profile. 2025-03-21 16:31:42 -03:00
Alex Hart
bc3352148b Update translations and other static files. 2025-03-21 16:25:51 -03:00
Greyson Parrelli
edf5ecf2d6 Fix potential archive export issue around voice notes in revisions. 2025-03-21 13:59:01 -04:00
Greyson Parrelli
f145c20508 Fix potential archive export error around username. 2025-03-21 11:46:29 -04:00
Greyson Parrelli
8b54cea119 Fix potential NPE during archive export. 2025-03-21 11:25:51 -04:00
Greyson Parrelli
2b1f71d3b6 Fix potential constraint violation during thread merge. 2025-03-21 11:20:48 -04:00
Alex Hart
df4c6b59cd Enable DOM storage and enable error messaging for PayPal user actions. 2025-03-21 10:42:58 -03:00
Alex Hart
e5bb3f02f8 Bump version to 7.38.4 2025-03-19 11:01:02 -03:00
Alex Hart
ad6c181e5c Update baseline profile. 2025-03-19 10:57:55 -03:00
Alex Hart
6d0f1919e0 Update translations and other static files. 2025-03-19 10:54:14 -03:00
Cody Henthorne
5a0def7390 Prevent unregistered clients from repeatedly attempting an auth WebSockect connection. 2025-03-19 10:48:31 -03:00
Alex Hart
49f764a392 Add SDK check for incoming call state during full screen intent display. 2025-03-19 10:48:31 -03:00
Cody Henthorne
2dacb3b20f Use unbounded thread pool for Rx I/O scheduler. 2025-03-19 10:48:31 -03:00
Cody Henthorne
323697dfc9 Improve auth WebSocket lifecycle. 2025-03-19 10:48:31 -03:00
Alex Hart
6bbd899507 Bump version to 7.38.3 2025-03-17 16:29:17 -03:00
Alex Hart
e0c0ae0ee0 Update baseline profile. 2025-03-17 16:21:03 -03:00
Alex Hart
90ff303200 Update translations and other static files. 2025-03-17 16:12:25 -03:00
Alex Hart
4a5fb88800 Suppress megaphone if user is not registered. 2025-03-17 16:02:50 -03:00
Alex Hart
28d18a8012 Add checks for user registration when attempting to access dontations or perform keep-alive. 2025-03-17 16:01:52 -03:00
Alex Hart
a7fb84e7e6 Improve error code handling in recurring context job. 2025-03-17 15:05:11 -03:00
Cody Henthorne
0d133b8d1e Improve stacktraces by not wrapping CDS exceptions in RuntimeExceptions. 2025-03-17 09:19:26 -04:00
Michelle Tang
ab2f3e7918 Bump version to 7.38.2 2025-03-14 14:48:03 -04:00
Michelle Tang
98dbdfa6f9 Update translations and other static files. 2025-03-14 14:42:49 -04:00
Greyson Parrelli
39f440431c Fix story syncing to linked devices. 2025-03-14 11:45:14 -04:00
Michelle Tang
5ade733c3d Bump version to 7.38.1 2025-03-12 21:59:22 -04:00
Michelle Tang
c38eb86a48 Update translations and other static files. 2025-03-12 21:56:40 -04:00
Michelle Tang
c54958f0a9 Fix crash in migration job. 2025-03-12 21:43:17 -04:00
Michelle Tang
6dc12ab9b2 Bump version to 7.38.0 2025-03-12 16:49:32 -04:00
Michelle Tang
4fa067beef Update translations and other static files. 2025-03-12 16:37:44 -04:00
Cody Henthorne
ddda5e8b47 Revert delete account conversion to WebSocket. 2025-03-12 16:15:41 -04:00
Greyson Parrelli
6d956ca0f9 Add internal debug setting to archive session. 2025-03-12 16:15:41 -04:00
Greyson Parrelli
22d908385b Consistently format byte sizes. 2025-03-12 16:15:41 -04:00
Cody Henthorne
d2006853c7 Start new style messsage api and convert report spam to WebSocket. 2025-03-12 16:15:41 -04:00
Michelle Tang
f61109391a Add support for blocked chat events. 2025-03-12 16:15:41 -04:00
andrew-signal
8101fcbd8d Update to libsignal v0.67.4 2025-03-12 16:15:41 -04:00
Cody Henthorne
b563d7e855 Add headers to StatusCodeError. 2025-03-12 16:15:41 -04:00
Alex Hart
3a1ed7e4ac Fix recurring donations unit tests. 2025-03-12 16:15:41 -04:00
Cody Henthorne
e57b6bfe00 Remove WebSocket to REST fallback for attachments. 2025-03-12 16:15:41 -04:00
Cody Henthorne
c476278d4c Remove dead code from PushServiceSocket. 2025-03-12 16:15:41 -04:00
Cody Henthorne
61a8636217 Convert rate limit apis to WebSocket. 2025-03-12 16:15:41 -04:00
Cody Henthorne
86b2fe9742 Convert storage service auth to WebSocket. 2025-03-12 16:15:41 -04:00
Cody Henthorne
6aca7c9194 Convert CDSI auth to WebSocket and service to NetworkResult. 2025-03-12 16:15:41 -04:00
Cody Henthorne
92e590aa3b Convert calling and payments apis to WebSocket. 2025-03-12 16:15:41 -04:00
Michelle Tang
224a85f5db Update linked devices check. 2025-03-12 16:15:41 -04:00
Greyson Parrelli
a21b3387fc Fix label of field in internal settings. 2025-03-12 16:15:41 -04:00
Greyson Parrelli
0839ecdc1a Post internal notification for failed archive media restores. 2025-03-12 16:15:41 -04:00
Andrew
8f00373e08 Improve network reliability. 2025-03-12 16:15:41 -04:00
Cody Henthorne
d6316d955f Remove unusued NetworkFailureException. 2025-03-12 16:15:41 -04:00
Michelle Tang
c568f2e9cc Add ability to delete avatars in internal details. 2025-03-12 16:15:41 -04:00
Alex Hart
7191a40aba Do not notify call observers if data has not changed. 2025-03-12 16:15:41 -04:00
Jeffrey Starke
f2950e279b Improve handling of errors when saving media attachments.
Improves the error handling in `SaveAttachmentUtil.saveAttachments()` to continue processing all requested attachment saves even after individual save operations fail.
2025-03-12 16:15:41 -04:00
Alex Hart
9b6f355802 Resolve consistent subscription state after new subscription is created. 2025-03-12 16:15:40 -04:00
Alex Hart
5ec3371b9a Trigger backup-id upload before allowing user to pay. 2025-03-12 16:15:40 -04:00
Alex Hart
862628fc28 Mark end state in job that failed with an error. 2025-03-12 16:15:40 -04:00
Cody Henthorne
cf78c76bbb Convert chat-based backup calls to WebSocket. 2025-03-12 16:15:40 -04:00
Cody Henthorne
305b380fef Convert all account based calls to WebSocket. 2025-03-12 16:15:40 -04:00
Alex Hart
6d115a912d Take purchase token straight from payment result during linking to subscriber id. 2025-03-12 16:15:40 -04:00
Greyson Parrelli
1cc3e16d1a Add migration to clean up dupe e164's (again). 2025-03-12 16:15:40 -04:00
Michelle Tang
9eba978da6 Update various message request UI. 2025-03-12 16:15:40 -04:00
Greyson Parrelli
caa1d0a2b3 Improve logging output. 2025-03-12 16:15:40 -04:00
Sagar
e00d780115 Add the ability to edit a link preview in stories before sending.
Resolves #14035
2025-03-12 16:15:40 -04:00
Henry Addo
cf529b354b Prevent empty passphrases when restoring local chat backups.
Fixes #14015
Resolves #14016
2025-03-12 16:15:38 -04:00
Greyson Parrelli
0c445c2fe9 Cap the max image render size to 12000x12000. 2025-03-12 15:34:49 -04:00
Greyson Parrelli
1793c77bf2 Revert "Fix some media not appearing in the gallery picker."
This reverts commit 5ad042d232.
2025-03-12 15:34:49 -04:00
Cody Henthorne
f1614ec772 Fix bounded-io thread pool race condition preventing additional thread starts. 2025-03-12 15:34:49 -04:00
Alex Hart
3fee68e33e Fix checks in backup subscription check job. 2025-03-12 15:34:49 -04:00
Cody Henthorne
c38342e2fb Convert device linking apis to use websockets. 2025-03-12 15:34:49 -04:00
Michelle Tang
451d12ed53 Block avatar downloads in message request states. 2025-03-12 15:34:49 -04:00
Greyson Parrelli
5592d13258 Improve trimming of leading zeros in E164 formatting. 2025-03-12 15:34:48 -04:00
Sagar
6a773730b8 Fix DozeBanner dismissal and button tint.
Resolves #14001
2025-03-12 15:34:48 -04:00
Sagar
a53bd29553 Add accessibility labels for media preview and emojis.
Fixes #14034
Resolves #14037
2025-03-12 15:34:48 -04:00
Sagar
44c90331ec Fix scheduled voice note playback.
Resolves #13951
2025-03-12 15:34:48 -04:00
Sagar
52c8dfc998 Support scheduled voice notes.
Resolves #13957
2025-03-12 15:34:48 -04:00
Cody Henthorne
da5c8ff6ea Remove libsignal shadow/bridge websocket infra. 2025-03-12 15:34:48 -04:00
Greyson Parrelli
83611414cc Add support for avatar colors in storage service. 2025-03-12 15:34:48 -04:00
Cody Henthorne
93d18c1763 Separate and kotlinize websockets. 2025-03-12 15:34:48 -04:00
Jeffrey Starke
6c9acf4657 Fix story list clipping at bottom
Removes unnecessary padding at the bottom of the stories landing fragment `RecyclerView`.
2025-03-12 15:34:48 -04:00
Greyson Parrelli
f0f25ae12e Use the new avatar color hash algorithm. 2025-03-12 15:34:48 -04:00
Greyson Parrelli
19bf6f95c7 Update to the latest Backup.proto 2025-03-12 15:34:48 -04:00
Michelle Tang
2ff4ea2832 Bump version to 7.37.3 2025-03-12 14:41:33 -04:00
Michelle Tang
f222ee6924 Update translations and other static files. 2025-03-12 14:40:31 -04:00
Greyson Parrelli
0077be4abc Fix crash in change number flow. 2025-03-12 12:05:53 -04:00
Greyson Parrelli
481dc162d8 Bump version to 7.37.2 2025-03-07 16:48:00 -05:00
Greyson Parrelli
63e935de12 Bump version to 7.37.1 2025-03-07 16:30:04 -05:00
Greyson Parrelli
92f9b49315 Update translations and other static files. 2025-03-07 16:29:38 -05:00
Greyson Parrelli
86929aca9d Properly handle empty block sync messages. 2025-03-07 11:19:38 -05:00
Greyson Parrelli
0c6a45880c Bump version to 7.37.0 2025-03-05 09:30:06 -05:00
Greyson Parrelli
644a23f66e Update translations and other static files. 2025-03-05 09:23:53 -05:00
Jeffrey Starke
4ee962e604 Fix fallback avatar icon direction in RTL
Fixes a bug where the note to self icon was not displayed as mirrored for right-to-left locales.
2025-03-05 09:21:02 -05:00
Jeffrey Starke
7c709db540 Fix username QR code image filename 2025-03-05 09:20:02 -05:00
Greyson Parrelli
e6ab15fde6 Ensure all phone numbers written are properly formatted. 2025-03-04 16:28:08 -05:00
andrew-signal
165322afc1 Queue LibSignalChatConnection::sendRequest() in CONNECTING state. 2025-03-04 15:58:21 -05:00
Jeffrey Starke
38292f26b1 Fix incoming/outgoing audio message layout
- Consolidate `conversation_item_footer_outgoing` and `conversation_item_footer_incoming` into a single layout file.
- Rearrange the timestamp, disappearing timer, and voice message duration for incoming audio messages to match outgoing messages.
- Fix the position of the playback speed button.
2025-03-04 15:58:21 -05:00
Cody Henthorne
b826b10320 Improve group create failure UX. 2025-03-04 15:58:21 -05:00
Cody Henthorne
94b50f1502 Prevent remote delete in gv1 crash. 2025-03-04 15:58:21 -05:00
Greyson Parrelli
9c473fb570 Improve and centralize e164 utils. 2025-03-04 15:58:21 -05:00
Cody Henthorne
0fdcc1c027 Show update pin megaphone after AEP without pin registration. 2025-03-04 15:58:21 -05:00
Keith Collister
507d67ee61 Fix typo in linked devices dialogue.
Resolves #14031
2025-03-04 15:58:21 -05:00
Alex Hart
9f01d7cf67 Add reactions feed to compose calling screen. 2025-03-04 15:58:21 -05:00
andrew-signal
25acada838 Add debug log to track lifetime of KeepAliveSender thread. 2025-03-04 15:58:21 -05:00
Greyson Parrelli
e9e62b98f3 Move bidi methods to BidiUtil. 2025-03-04 15:58:21 -05:00
Greyson Parrelli
791e95c645 Convert StringUtil to kotlin. 2025-03-04 15:58:21 -05:00
Cody Henthorne
d0b6d6fdeb Migrate to shared class hierarchy for unit based database tests. 2025-03-04 15:58:21 -05:00
Greyson Parrelli
d5e18a8bd5 Bump version to 7.36.2 2025-03-04 15:57:24 -05:00
Greyson Parrelli
764cb392a2 Update translations and other static files. 2025-03-04 15:56:57 -05:00
Alex Hart
be43f8ce88 IAP Resolve and synchronize payment method from subscription object. 2025-03-04 16:32:13 -04:00
Greyson Parrelli
d87ee495d3 Fix edit message logic when only changing formatting. 2025-03-04 15:02:40 -05:00
Alex Hart
36b99637b2 Fix improper usage of stale data object. 2025-03-04 15:59:46 -04:00
Greyson Parrelli
b8a10afef5 Bump version to 7.36.1 2025-03-03 12:57:51 -05:00
Greyson Parrelli
b0077903e8 Update baseline profile. 2025-03-03 12:57:18 -05:00
Greyson Parrelli
6ce05b27b0 Update translations and other static files. 2025-03-03 12:53:50 -05:00
Alex Hart
7078ef5d2b Ensure parent window token is non-null before trying to display Wifi popup. 2025-03-03 12:47:16 -05:00
Jeffrey Starke
d3be5807b5 Fix ability to remove quoted message without changing message text.
Fixes a bug introduced in ff09d2267b that prevented removing a quoted message when the message text is unchanged.
2025-03-03 12:45:06 -05:00
Greyson Parrelli
ec65506bec Trim contact seach queries.
Fixes #14032
2025-03-03 10:05:39 -05:00
Greyson Parrelli
23c51273c0 Add log for 'you may have new messages' notification. 2025-03-03 09:51:59 -05:00
Greyson Parrelli
79e19ff080 Bump version to 7.36.0 2025-02-27 21:17:02 -05:00
Greyson Parrelli
878781cf45 Update baseline profile. 2025-02-27 21:16:31 -05:00
Greyson Parrelli
1d0c931757 Update translations and other static files. 2025-02-27 21:11:38 -05:00
andrew-signal
0eb7ec0e39 Bump to libsignal v0.67.1. 2025-02-27 16:56:34 -05:00
Greyson Parrelli
1ec9e1c96b Fix possible storage service retry loop. 2025-02-27 10:07:55 -05:00
Jeffrey Starke
ff09d2267b Don't send edits if the message text wasn't changed. 2025-02-27 10:07:51 -05:00
Greyson Parrelli
0c146ef35c Update logcat logging. 2025-02-26 15:23:32 -05:00
Sagar
6d294cd710 Update currently selected members count properly.
Fixes #13857
Fixes #13859
Resolves #13885
2025-02-26 14:01:50 -05:00
Cody Henthorne
a64632c862 Fix stripe canceled subscriptions from showing on management screen. 2025-02-26 14:01:38 -05:00
Greyson Parrelli
5ad042d232 Fix some media not appearing in the gallery picker.
Works around the glide issue by using the straight URI when possible,
which allows glide to not have to keep a buffer. However, as soon as you
select it, it'll be an encrypted file, and we'll run into this same
issue where glide needs to keep a buffer for the input stream.

Related to #11014
2025-02-26 14:01:38 -05:00
Greyson Parrelli
6ebc860064 Inline link+sync remote config. 2025-02-26 14:01:38 -05:00
Michelle Tang
be2e9c68c1 Separate placeholder transitions for profile names. 2025-02-26 14:01:38 -05:00
Greyson Parrelli
679c36f2ad Fix backup export of call link admin key. 2025-02-26 14:01:38 -05:00
Cody Henthorne
8b6b0a30e5 Fix pni in aci only field of decline invite for backupv2. 2025-02-26 14:01:38 -05:00
Cody Henthorne
0b3a949264 Do regv3 storage service restore flows right. 2025-02-26 14:01:38 -05:00
andrew-signal
a31ed28b5f Bump libsignal to v0.67.0.
Enables new CDSI connection logic based on remote config.
2025-02-26 14:01:38 -05:00
Greyson Parrelli
b6038f8ae3 Update to the latest backup.proto 2025-02-26 14:01:38 -05:00
Greyson Parrelli
e9106ba951 Fix potential missing recipient crash in profile fetch. 2025-02-26 14:01:38 -05:00
Greyson Parrelli
c0788777d8 Fix read more text for certain text lengths.
Fixes #14017
2025-02-26 14:01:38 -05:00
Henry Addo
b746580cac Update CONTRIBUTING.md to remove references to submodules.
Resolves #14013
2025-02-24 12:27:28 -05:00
Michelle Tang
c7a3d9b8be Update donation string. 2025-02-21 18:00:56 -05:00
Greyson Parrelli
464ffbabdb Ensure that pinned_order is unique. 2025-02-21 16:07:10 -05:00
Greyson Parrelli
46e303ffca Fix validation error with long text attachments. 2025-02-21 12:05:20 -05:00
Jim Gustafson
6975afcff0 Update to RingRTC v2.50.0 2025-02-21 11:17:28 -05:00
Greyson Parrelli
f920e5f29c Bump version to 7.35.0 2025-02-20 16:25:41 -05:00
Greyson Parrelli
8e1fdec543 Update baseline profile. 2025-02-20 16:25:41 -05:00
Greyson Parrelli
d501a209a1 Update translations and other static files. 2025-02-20 16:25:41 -05:00
Sagar
d938906d3e Support selecting multiple threads to add to chat folder.
Resolves #13973
2025-02-20 16:25:41 -05:00
Sagar
de4b653554 Improve scrolling for username QR color picker.
Resolves #13968
2025-02-20 16:25:41 -05:00
andrew-signal
c95073e5dd Harmonize libsignal-net behavior to match existing websocket implementation. 2025-02-20 16:25:41 -05:00
Angelin Scheidweiler
be90efa23d Enable verified subtitle on group chat.
Fixes #13873
Resolves #13985
2025-02-20 16:25:41 -05:00
Michelle Tang
e5c9519076 Avoid closing dialog during learn more sync failure. 2025-02-20 16:25:41 -05:00
Alex Hart
47ce28a721 Reimplement the call overflow menu in compose. 2025-02-20 16:25:41 -05:00
Henry Addo
993192d38e Adjust size of the unidentified delivery icon.
In the advanced privacy settings screen set the
sealed sender icon to its original width and height
to maintain its aspect ratio without stretching it.

Fixes #13992
Resolves #14000
2025-02-20 16:25:41 -05:00
Cody Henthorne
a5c2113c15 Add backup delete all to internal settings. 2025-02-20 16:25:41 -05:00
mosfet80
1af8b3aa24 Update docker.yml
Fix node.js <20 deprecation

Resolves #13997
2025-02-20 16:25:41 -05:00
mosfet80
20216a773a Update diffuse.yml
Fix node.js <20 deprecation
Update ndk to 27.c version

Resolves #13998
2025-02-20 16:25:41 -05:00
Greyson Parrelli
998a5c09ae Make pnp settings changes synchronous. 2025-02-20 16:25:41 -05:00
Greyson Parrelli
dc78d841c1 Swallow potential foreground service crash. 2025-02-20 16:25:41 -05:00
Michelle Tang
886bebb088 Update message request states for 1:1 and groups chats. 2025-02-20 16:25:41 -05:00
andrew-signal
20cecbd5cd Fix NPE in libsignal-net sendKeepAlive. 2025-02-20 16:25:41 -05:00
Alex Hart
4474d1fc9e Add proper timeout for call state changes. 2025-02-20 16:25:41 -05:00
Alex Hart
6ebf9231d8 Utilize imageVector instead of painter in call buttons. 2025-02-20 16:25:36 -05:00
Alex Hart
31d80ed200 Implement the incoming call screen in compose. 2025-02-19 09:20:54 -04:00
Cody Henthorne
ca6c9d76b2 Add coroutine friendly blocking job run functions. 2025-02-18 16:51:14 -05:00
Greyson Parrelli
0e0dbc0436 Allow single char searches for non-alphanumeric characters.
Fixes #13843
2025-02-18 16:40:44 -05:00
andrew-signal
e63836220e Log queue empty event for libsignal-net. 2025-02-18 16:14:40 -05:00
Cody Henthorne
9a7ebd89ff Fix stale restore decision state bug in regv3. 2025-02-18 16:14:40 -05:00
Cody Henthorne
a6aa2ca3ce Add tap to submit debuglog for regv3 screens. 2025-02-18 16:14:40 -05:00
Cody Henthorne
021fd16540 Fix missing self-avatar during account restore. 2025-02-18 16:14:40 -05:00
Cody Henthorne
d3ff6ba3d2 Fix missing avatar by force downloading if file is missing. 2025-02-18 16:14:40 -05:00
Greyson Parrelli
9836185590 Exclude quotes from backfills. 2025-02-18 16:14:40 -05:00
Greyson Parrelli
7650e8c4da Remove deprecated SVR2 enclave. 2025-02-18 16:14:40 -05:00
Greyson Parrelli
5595b79bf5 Improve unknown recipient handling in group sends.
Fixes #13980
2025-02-18 16:14:40 -05:00
andrew-signal
e1115255fb Bump to libsignal v0.66.2 2025-02-18 16:14:40 -05:00
Greyson Parrelli
71abbe9fb1 Disable backup auth if backups aren't enabled. 2025-02-18 16:14:40 -05:00
Greyson Parrelli
754d759d7d Add support for AttachmentBackfill sync messages. 2025-02-18 16:14:40 -05:00
Greyson Parrelli
e1511a09a7 Bump version to 7.34.2 2025-02-18 15:55:56 -05:00
Greyson Parrelli
c66485f35f Update baseline profile. 2025-02-18 15:55:37 -05:00
Greyson Parrelli
03d260187d Update translations and other static files. 2025-02-18 15:50:29 -05:00
Greyson Parrelli
7f4e96d619 Fix GIF attachment flags. 2025-02-18 14:33:04 -05:00
Greyson Parrelli
f7bd6bc9ed Fix potential message unique violation when merging recipients. 2025-02-18 14:33:04 -05:00
Greyson Parrelli
ff4ee2675a Bump version to 7.34.1 2025-02-14 21:44:47 -05:00
Greyson Parrelli
40cddf524c Update baseline profile. 2025-02-14 21:44:23 -05:00
Greyson Parrelli
0938401a87 Update translations and other static files. 2025-02-14 21:31:42 -05:00
Greyson Parrelli
de129c1310 Fix issue with exporting invalid e164s. 2025-02-14 13:45:21 -05:00
Alex Hart
6a1032577c Display thanks sheet if we resume activity before iDEAL is redeemed. 2025-02-14 13:22:20 -04:00
Greyson Parrelli
16309d87cd Improve logging on some backup validation errors. 2025-02-14 11:42:01 -05:00
Greyson Parrelli
c1ce4ba80d Ensure that audio attachments with text aren't exported as voice notes. 2025-02-14 11:42:01 -05:00
Greyson Parrelli
27d084080c Bump version to 7.34.0 2025-02-12 16:30:31 -05:00
Greyson Parrelli
3694d37ccc Update translations and other static files. 2025-02-12 16:30:02 -05:00
Alex Hart
86fa653ac6 Adjust how we external nav for ideal donations. 2025-02-12 16:22:53 -05:00
Alex Hart
8013da681f Fix in-call proximity lock. 2025-02-12 16:22:52 -05:00
andrew-signal
fffe8cf3c6 Bump libsignal to v0.66.1 2025-02-12 16:22:52 -05:00
Greyson Parrelli
1b01532327 Update to the standard SignalService.proto 2025-02-12 16:22:52 -05:00
Michelle Tang
95e0f7d571 Update biometrics check when linking. 2025-02-12 16:22:52 -05:00
Cody Henthorne
b82d16abcb Update last seen logic to used last read message instead of now timestamp. 2025-02-12 16:22:52 -05:00
Alex Hart
d7221a384b Add check for authorized job. Fix issue with start external activity error propagation. 2025-02-11 15:31:06 -05:00
Michelle Tang
02d4b1897e Allow searching with + prefix. 2025-02-11 15:31:06 -05:00
Alex Hart
48cac37914 Strip spaces from IBAN values before attempting to validate and transform them. 2025-02-11 15:31:06 -05:00
Cody Henthorne
3237072c40 Fix potential build race condition with country code select fragments. 2025-02-11 15:31:06 -05:00
Michelle Tang
88cf4c3399 Update translation queries. 2025-02-11 15:31:06 -05:00
Alex Hart
216c29c206 Add CallScreenMediator pattern to facilitate moving from views to compose. 2025-02-11 15:31:06 -05:00
Greyson Parrelli
f80ab7402a Do not show backup size for non-media backups. 2025-02-11 15:31:06 -05:00
Jameson Williams
73e0c8d632 Convert push unit tests to Kotlin.
Resolves #13978
2025-02-11 15:31:06 -05:00
andrew-signal
22bfafc317 Add fix + regression test for null disconnectReason in onConnectionInterrupted. 2025-02-11 15:31:06 -05:00
andrew-signal
bce4c347a1 Remove okio.withLock import in LibSignalChatConnection. 2025-02-11 15:31:06 -05:00
Greyson Parrelli
6eec980c73 Fix a lint issue. 2025-02-11 15:31:06 -05:00
Sagar
c2aae5da4d Fix multi-select and voice note headers overlapping.
Resolves #13962
2025-02-11 15:31:06 -05:00
Sagar
4f8066ca92 Fix position for archive icon in RTL.
Resolves #13976
2025-02-11 15:31:06 -05:00
Aeryn Light
13b1f98076 Fix about text color.
Fixes #13789
Resolves #13979
2025-02-11 15:31:06 -05:00
Greyson Parrelli
1fe58e2bc5 Add a thread dump section to the log. 2025-02-11 15:31:06 -05:00
andrew-signal
02bf7edb18 Fix libsignal-net crashes around CONNECTING state. 2025-02-11 15:31:06 -05:00
Greyson Parrelli
7c7dc679e9 Only write out one MDAT box for a video transcode.
Co-authored-by: Milan Stevanovic <milan@signal.org>
2025-02-11 15:31:06 -05:00
Alex Hart
753927bf30 Clean up nullability checks in WebRtcCallActivity. 2025-02-11 15:31:06 -05:00
Alex Hart
5adba60e75 Migrate WebRtcCallViewModel to Flow apis. 2025-02-11 15:31:06 -05:00
Alex Hart
355c3ff155 Remove old call participant dialog. 2025-02-11 15:31:06 -05:00
Cody Henthorne
eb49c76b6e Improve unread header counting and positioning. 2025-02-11 15:31:06 -05:00
Cody Henthorne
ecc573f6b5 Fix note to self sorting by profile name in search bug. 2025-02-11 15:31:06 -05:00
Greyson Parrelli
e2b0567534 Update note to self sending flow. 2025-02-11 15:31:06 -05:00
Jim Gustafson
09447dda0f Update to RingRTC v2.49.4 2025-02-11 15:31:06 -05:00
Greyson Parrelli
415b593d58 Bump version to 7.33.2 2025-02-10 14:34:23 -05:00
Greyson Parrelli
ceb527e45c Update baseline profile. 2025-02-10 14:34:00 -05:00
Greyson Parrelli
f39ea65e0c Update translations and other static files. 2025-02-10 12:45:15 -05:00
Michelle Tang
125093a2ce Save national number when using country picker. 2025-02-10 12:00:22 -05:00
Michelle Tang
28cc0f2534 Update tint color. 2025-02-10 09:08:09 -05:00
Michelle Tang
85a5e058fb Fix default country code. 2025-02-10 08:48:26 -05:00
Greyson Parrelli
d2b7f273f9 Bump version to 7.33.1 2025-02-07 15:25:36 -05:00
Greyson Parrelli
68f1661c61 Update baseline profile. 2025-02-07 15:25:07 -05:00
Greyson Parrelli
0b6044733e Update translations and other static files. 2025-02-07 15:20:57 -05:00
Michelle Tang
5a7580c4c7 Add contact support option within link+sync. 2025-02-07 14:39:28 -05:00
Michelle Tang
850c20bcd8 Update country picker for findBy and changeNumber. 2025-02-07 14:35:45 -05:00
Alex Hart
20ab362f2c Fix screen-on for calling activity. 2025-02-07 13:06:22 -04:00
Michelle Tang
5173916699 Add more fixes to the country picker. 2025-02-06 16:19:43 -05:00
Greyson Parrelli
254b0dacc3 Fix handling of E164-only contacts in incoming block sync message. 2025-02-06 10:48:35 -05:00
Greyson Parrelli
5973e96d76 Bump version to 7.33.0 2025-02-05 16:55:11 -05:00
Greyson Parrelli
3c5a274669 Update baseline profile. 2025-02-05 16:55:11 -05:00
Greyson Parrelli
33801c3e36 Update translations and other static files. 2025-02-05 16:55:11 -05:00
Michelle Tang
02e7c035aa Add fixes to country picker. 2025-02-05 16:55:11 -05:00
Alex Hart
e840efcecc Implement 1:1 call mutes state. 2025-02-05 16:55:11 -05:00
Greyson Parrelli
23ad23c341 Ensure backup failures halt ArchiveUploadProgress. 2025-02-05 16:55:11 -05:00
Greyson Parrelli
8e945759a1 Fix reading free tier days from backup configuration. 2025-02-05 16:55:11 -05:00
Alex Hart
90094fbb11 Fix flickering text caused by calling onSizeChanged en-masse. 2025-02-05 16:55:11 -05:00
Alex Hart
ecf06647c6 Fix full screen incoming call view. 2025-02-05 16:55:11 -05:00
andrew-signal
03664ac085 Bump libsignal to v0.65.6 2025-02-05 16:55:11 -05:00
Cody Henthorne
40665aa412 Prevent accidental copy of date received in message details screen. 2025-02-05 16:55:11 -05:00
Cody Henthorne
9c9620c917 Do not connect to web socket until restore decision made. 2025-02-05 16:55:11 -05:00
Cody Henthorne
d028fcff8b Ignore status code errors for group updates if Signal timestamp header missing. 2025-02-05 16:55:11 -05:00
Cody Henthorne
1156c546d4 Add 'you' case for rejecting a group request. 2025-02-05 16:55:11 -05:00
Michelle Tang
7755aa1c4e Fix foldable camera issues. 2025-02-05 16:55:11 -05:00
andrew-signal
2186e2bf92 Update LibSignalChatConnection to use new ChatConnection API rather than ChatService 2025-02-05 16:55:11 -05:00
Cody Henthorne
fe44789d88 Revamp restore decisions state and flesh out post registration restore options. 2025-02-05 16:55:11 -05:00
andrew-signal
b78747fda2 Bump libsignal version to v0.65.5 2025-02-05 16:55:11 -05:00
Greyson Parrelli
d8116c60c1 Add migration to repair missing FTS triggers. 2025-02-05 16:55:10 -05:00
Alex Hart
6a884ba678 Fix call screen pip aspect ratio in large landscape group calls. 2025-02-05 16:55:10 -05:00
Michelle Tang
adc0f7e82e Update linked device string. 2025-02-05 16:55:10 -05:00
Sagar
119ee9666d Clamp videos to max duration after media quality change.
Fixes #13930
Resolves #13932
2025-02-05 16:55:10 -05:00
Sagar
4369591966 Ensure notification profile visibility updates on all tabs.
Resolve #13945
2025-02-05 16:55:10 -05:00
Sagar
0e4f191304 Fix Scheduled MmsMessage DateTime visibility.
Resolves #13967
2025-02-05 16:55:10 -05:00
Angelin Scheidweiler
a76e271f20 Enforce no grouping in currency formatter, to be consistent with MoneyFilter.
Fixes #13922
Resolves #13923
2025-02-05 16:55:10 -05:00
Shazz
2a89decb95 Support searching for emoji by emoji itself.
Resolves #13964
2025-02-05 16:55:10 -05:00
Alex Hart
eac44de527 Convert WebRtcCallViewModel into Kotlin. 2025-02-05 16:55:10 -05:00
Greyson Parrelli
27a3cc0305 Save outgoing message bodies as trimmed. 2025-01-31 19:28:41 -05:00
Alex Hart
fee7d20cc6 Convert WebRtcCallingActivity to Kotlin. 2025-01-31 19:28:41 -05:00
Sagar
386ebaa6df Respect flash setting while recording video.
Resolves #13946
2025-01-31 19:28:41 -05:00
Michelle Tang
3866bb992c Fix save toast formatting. 2025-01-31 19:28:41 -05:00
Michelle Tang
0bbcfb2354 Fix cut off linking text. 2025-01-31 19:28:41 -05:00
Michelle Tang
a934df5f97 Update linked device education logic. 2025-01-31 19:28:40 -05:00
Greyson Parrelli
553d783860 Bump version to 7.32.2 2025-01-31 19:27:49 -05:00
Greyson Parrelli
ae87f3facf Update translations and other static files. 2025-01-31 19:27:23 -05:00
Michelle Tang
2ad04b1e88 Add new country picker for registration.
Co-authored-by: Greyson Parrelli <greyson@signal.org>
2025-01-31 18:56:24 -05:00
Greyson Parrelli
0a90d9f003 Allow syncing additional types of messages to linked devices. 2025-01-31 15:33:14 -05:00
Alex Hart
112874c080 Add new copy for linked device dialogs. 2025-01-31 14:44:20 -04:00
Greyson Parrelli
6492a90daa Bump version to 7.32.1 2025-01-30 16:32:37 -05:00
Greyson Parrelli
364e2948db Update translations and other static files. 2025-01-30 16:32:14 -05:00
Greyson Parrelli
8962b67e33 Do not export blank profile name changes. 2025-01-30 15:47:00 -05:00
Cody Henthorne
e3b1ef7904 Add info dialog about phone number discoverability during registration. 2025-01-30 11:42:07 -05:00
Greyson Parrelli
d94f382c5e Add migration to fix possible duplicate numbers. 2025-01-30 11:33:40 -05:00
Cody Henthorne
0f3214a511 Fix missing cancel request to join group bug. 2025-01-30 11:15:20 -05:00
Greyson Parrelli
aa9c87ee67 Bump version to 7.32.0 2025-01-29 16:19:01 -05:00
Greyson Parrelli
fe53aec0e5 Update baseline profile. 2025-01-29 16:19:01 -05:00
Greyson Parrelli
b3685df059 Update translations and other static files. 2025-01-29 16:19:01 -05:00
Greyson Parrelli
0bcc630b8a Export all threads, even if inactive. 2025-01-29 16:19:00 -05:00
Greyson Parrelli
2f5aa92960 Fix profile update backup export check. 2025-01-29 16:19:00 -05:00
Greyson Parrelli
d35ec54c5c Various backup performance improvements. 2025-01-29 16:11:39 -05:00
Michelle Tang
48c088f36c Stop missed call notifications after import. 2025-01-29 15:30:47 -05:00
Alex Hart
b937c9c69b Hide waiting to be let in bar when in pip mode. 2025-01-29 15:30:47 -05:00
Alex Hart
c723bc812a ActiveSubscription state error unit tests for recurring job. 2025-01-29 15:30:47 -05:00
Michelle Tang
fd1e47888a Adjust strings for media and calls. 2025-01-29 15:30:47 -05:00
Cody Henthorne
c431ba3f7a Handle additional backup transfer to new phone validation errors. 2025-01-29 15:30:47 -05:00
Greyson Parrelli
77bbc6b5f4 Do not export group story replies. 2025-01-29 15:30:47 -05:00
Cody Henthorne
f9a9c895ad Hide report button for Release Notes Channel. 2025-01-29 15:30:47 -05:00
Greyson Parrelli
3c35b3e1b6 Rotate link+sync capability. 2025-01-29 15:30:47 -05:00
Cody Henthorne
49e4eb95d4 Fix invalid group authoriziation cache crash. 2025-01-29 15:30:47 -05:00
Greyson Parrelli
9862b758e5 Update to libsignal 0.65.4 2025-01-29 15:30:47 -05:00
Greyson Parrelli
2e89b8acee Skip messages that aren't in the right place. 2025-01-29 15:30:47 -05:00
andrew-signal
1b2a62ae09 Pass network change events down to libsignal-net 2025-01-28 10:57:55 -05:00
Cody Henthorne
139b62e469 Update sad paths around manual backup key restore. 2025-01-28 10:57:55 -05:00
Alex Hart
b5f323d4af Add unit tests for InAppPaymentRecurringContextJob. 2025-01-28 10:57:55 -05:00
Greyson Parrelli
762c7a6d22 Filter out some bad data in StorageForcePushJob. 2025-01-28 10:57:55 -05:00
Jameson Williams
74de138ffc Migrate linchecks to Kotlin.
Resolves #13941
2025-01-28 10:57:55 -05:00
Cody Henthorne
db9ae1c85b Fix early get self crash when cycling KCS. 2025-01-28 10:57:55 -05:00
Greyson Parrelli
fa692690a2 Preserve some settings after thread deletion. 2025-01-28 10:57:55 -05:00
Michelle Tang
90690a0a93 Update voice note sizing. 2025-01-28 10:57:55 -05:00
Cody Henthorne
ac4042fca4 Trim abandoned attachments after backupv1 restore. 2025-01-28 10:57:55 -05:00
Alex Hart
c978671ab4 Add happy path for paid subscription UI flow testing. 2025-01-28 10:57:55 -05:00
Alex Hart
4c72a88a50 MessageBackupsCheckoutFlow free tier happy path. 2025-01-28 10:57:55 -05:00
Cody Henthorne
bc09df97b0 Improve thread delete performance. 2025-01-28 10:57:55 -05:00
Michelle Tang
f65cebdada Fix editing custom reactions. 2025-01-28 10:57:55 -05:00
Greyson Parrelli
8be946e43f Validate sticker IDs during export. 2025-01-28 10:57:55 -05:00
Michelle Tang
83aee4a084 Pluralize time strings. 2025-01-28 10:57:55 -05:00
Alex Hart
7542614580 Fix and re-enable checkout flow activity tests. 2025-01-28 10:57:55 -05:00
Greyson Parrelli
ec840726fc Bump version to 7.31.1 2025-01-24 16:34:48 -05:00
Greyson Parrelli
dcd3db4fca Update translations and other static files. 2025-01-24 16:34:23 -05:00
Greyson Parrelli
f43674fb56 Add additional logging on failed backup validations. 2025-01-24 16:27:34 -05:00
Greyson Parrelli
130ad99bcb Export threads with non-default settings in backups. 2025-01-24 15:41:06 -05:00
Greyson Parrelli
25e339aa1a Include empty chats with non-default expiration times in backups. 2025-01-24 15:40:44 -05:00
Greyson Parrelli
655da1de76 Validate sticker IDs during export. 2025-01-24 15:40:26 -05:00
Greyson Parrelli
252b1dbb2d Fix backup export/import of quote mentions. 2025-01-24 15:38:37 -05:00
Greyson Parrelli
a47714d700 Bump version to 7.31.0 2025-01-23 16:20:25 -05:00
Greyson Parrelli
9baee41bb0 Update baseline profile. 2025-01-23 16:19:41 -05:00
Greyson Parrelli
69dbcf8d40 Update translations and other static files. 2025-01-23 16:12:38 -05:00
Greyson Parrelli
d347cf5351 Allow internal users to accept both backup capabilities. 2025-01-23 16:05:42 -05:00
Greyson Parrelli
834c8c969a Go back to baseline link device backup capability. 2025-01-23 16:00:59 -05:00
Greyson Parrelli
0ab06edc80 Fix empty nickname note syncing. 2025-01-23 16:00:18 -05:00
Greyson Parrelli
288d4988b3 Do not include tombstone attachments in backups. 2025-01-23 16:00:18 -05:00
Cody Henthorne
d922b48a3e Fix fromRecipient on even more message backup types. 2025-01-23 16:00:18 -05:00
Michelle Tang
f128df7d95 Add option to hide save storage warning. 2025-01-23 14:17:58 -05:00
Michelle Tang
83af313305 Update support url for backups. 2025-01-23 14:14:28 -05:00
Greyson Parrelli
da33306655 Fix more fromRecipient backup bugs. 2025-01-23 13:31:26 -05:00
Greyson Parrelli
511412e1c5 Fix target recipient for SN update message. 2025-01-23 11:32:44 -05:00
Greyson Parrelli
249dd7a1e7 Fix 404 handling in StorageForcePushJob. 2025-01-23 11:16:25 -05:00
Cody Henthorne
04c903c4c4 Fix bugs around requesting and entering verification codes. 2025-01-23 11:10:14 -05:00
Greyson Parrelli
9823563ef7 Fix recipient on some update messages when exporting. 2025-01-22 16:59:08 -05:00
Greyson Parrelli
6928c22477 Add some structured logging for backup import skips. 2025-01-22 16:28:16 -05:00
Michelle Tang
577b445bf8 Run refresh backup job on daily basis. 2025-01-22 16:02:17 -05:00
Greyson Parrelli
401cd72af0 Filter out invalid dlist members on backup export. 2025-01-22 15:37:08 -05:00
Alex Hart
ab88018f36 Show dialog when group call is full. 2025-01-22 15:15:22 -04:00
Greyson Parrelli
594959eae2 Rotate link+sync capability. 2025-01-22 13:48:27 -05:00
Michelle Tang
2f381863ed Restore group profile pictures after restore. 2025-01-22 13:40:26 -05:00
Cody Henthorne
f1782d06a4 Fix multiple bugs and erroneous sad path handling in registration flows. 2025-01-22 13:25:43 -05:00
Alex Hart
e0553a59d5 Add label when checking donation. 2025-01-22 13:38:53 -04:00
Greyson Parrelli
cf3cee0343 Don't allow blank Text bodies in backups. 2025-01-22 10:59:40 -05:00
Michelle Tang
a0cb12be8c Add UI for mismatched backup versions. 2025-01-22 10:50:24 -05:00
Alex Hart
ec4fdfa7d3 Prevent controls from appearing when a call glare occurs. 2025-01-22 11:15:58 -04:00
Alex Hart
4a9196abf8 Restart the activity if an incoming call comes in after a network failure. 2025-01-22 09:45:09 -04:00
Michelle Tang
5034effbf0 Change toasts to snackbars. 2025-01-21 16:47:08 -05:00
Cody Henthorne
9a50e04f5a fixup! Use dynamic/rule-based size calculations for transfer control view. 2025-01-21 15:08:32 -05:00
Greyson Parrelli
1f941df65a Update year message duration buffer.
Fixes #13889
2025-01-21 14:59:12 -05:00
Jan Krieg
fd6a02a841 Always use software AEC for known-issue ROMs
Previous logic was to always use software AEC for known-issue
ROMs (lineage, calyxos). That was modified with introduction
of Oboe ADM (643f64e). This commit restores the previous logic
to resolve issues with echo.

Resolves #13925
2025-01-21 14:24:15 -05:00
Alex Hart
5769287c77 Do not display incoming call in PiP. 2025-01-21 14:22:41 -05:00
Jim Gustafson
b129964cae Update to RingRTC v2.49.3 2025-01-21 14:22:41 -05:00
Alex Hart
6a767c40b9 Replace string with plural resource. 2025-01-21 14:22:41 -05:00
Cody Henthorne
e370d40560 Fix chat and chat item import null instead of 0 bugs. 2025-01-21 14:22:41 -05:00
Michelle Tang
e91a86c939 Update transfer string. 2025-01-21 14:22:41 -05:00
Greyson Parrelli
105c2bdded Add internal tool to jump to message by timestamp. 2025-01-21 14:22:41 -05:00
Cody Henthorne
d7c2e6844b Use dynamic/rule-based size calculations for transfer control view. 2025-01-21 14:22:41 -05:00
Cody Henthorne
e945efac8b Fix 'Unknown' shown for PNI group invites. 2025-01-21 14:22:41 -05:00
Sagar
b52f9588ef Show PTR progress when hiding/blocking contact.
Fixes #13870
Resolves #13896
2025-01-21 14:22:40 -05:00
Sagar
e8cf64bca8 Remove redundant call link callback.
Resolves #13886
2025-01-21 14:22:40 -05:00
Sagar
7fafa7f9fd Fix TopBar visibility after resume in calls tab.
Resolves #13901
2025-01-21 14:22:40 -05:00
Sagar
9bd4fecc4f Use vectorResource in CallLink fragments.
Resolves #13911
2025-01-21 14:22:40 -05:00
Sagar
dea2094e3e Fix resuming voice note playback after long press.
Resolves #13913
2025-01-21 14:22:40 -05:00
Sagar
be44ef9c0a Improve contact sharing selection restrictions.
Resolves #13915
2025-01-21 14:22:40 -05:00
Jameson Williams
201be3e041 Remove Hamcrest from project files.
Resolves #13918
2025-01-21 14:22:40 -05:00
Greyson Parrelli
851b4b72c0 Bump version to 7.30.2 2025-01-21 12:16:53 -05:00
Greyson Parrelli
5a458242a0 Update baseline profile. 2025-01-21 12:16:35 -05:00
Greyson Parrelli
7da50c16ea Update translations and other static files. 2025-01-21 12:06:21 -05:00
Alex Hart
a75e4688a3 Fix call link deletion from calls tab. 2025-01-21 11:31:57 -05:00
Alex Hart
064cbf0b01 Add parent id to children array to support proper deletion. 2025-01-21 12:01:11 -04:00
Greyson Parrelli
096eea70d1 Improve backup error handling for sticker packs. 2025-01-21 10:58:45 -05:00
Greyson Parrelli
e6368982c9 Fix exporting of story lists with empty members. 2025-01-21 10:33:12 -05:00
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
Greyson Parrelli
0ae1ae22c2 Bump version to 7.22.0 2024-10-23 16:16:01 -04:00
Greyson Parrelli
0144e7a05d Update translations and other static files. 2024-10-23 16:16:01 -04:00
Greyson Parrelli
c903b9c1a8 Inline chat folder feature flag. 2024-10-23 16:16:01 -04:00
Michelle Tang
9a0ebb5028 Add default chat folders in backups. 2024-10-23 15:51:54 -04:00
Michelle Tang
1ff6169795 Move story work to background thread. 2024-10-23 15:51:54 -04:00
Greyson Parrelli
ee488ea0b8 Rename some video constants for readability. 2024-10-23 15:51:54 -04:00
Cody Henthorne
c57994eb1b Fix push token timeout incorrectly preventing registration. 2024-10-23 15:51:54 -04:00
mtang-signal
267ef66517 Remove phone numbers from blocked list. 2024-10-23 15:51:54 -04:00
Michelle Tang
31d60f7800 Show education sheet for chat folders. 2024-10-23 15:51:54 -04:00
Michelle Tang
422acde111 Improve reordering folder experience. 2024-10-23 15:51:54 -04:00
Michelle Tang
9e955e94d9 Update chat folder settings display. 2024-10-23 15:51:54 -04:00
Alex Hart
c291d84738 Add call log index to call table. 2024-10-23 15:51:54 -04:00
Alex Hart
88b39a062c Add polish to various backups ui elements. 2024-10-23 15:51:54 -04:00
Cody Henthorne
1b2b4a869c Add release note CTA action to open Calls tab. 2024-10-23 15:51:54 -04:00
Greyson Parrelli
55464736c3 Inline the libsignal CDS flag. 2024-10-23 15:51:54 -04:00
Michelle Tang
dd4fcffec4 Fix various bugs for chat folders. 2024-10-23 15:51:54 -04:00
Alex Hart
b519bf6772 Add subscription states to the remote backups settings. 2024-10-23 15:51:54 -04:00
Cody Henthorne
a66c7058b1 Add url encoding to subscription endpoints. 2024-10-23 15:51:54 -04:00
Alex Hart
481d022b82 Add dialog and observer for pending backup payment for storage optimization. 2024-10-23 15:51:54 -04:00
Greyson Parrelli
b9474a75a4 Improve network reliability. 2024-10-23 15:51:54 -04:00
Alex Hart
4460c45c31 Support enabling optimized storage after proceeding through upgrade sheet. 2024-10-23 15:51:54 -04:00
Greyson Parrelli
6c326f672d Split pinned chats into a separate remote config. 2024-10-23 15:51:54 -04:00
mtang-signal
26c40fb86a Fix unreads typo. 2024-10-23 15:51:54 -04:00
Alex Hart
bebc5a55bb Remove bad tests. 2024-10-23 15:51:54 -04:00
Chris Eager
ba34a74e2d Remove deprecated LevelConfiguration#name.
Co-authored-by: Alex Hart <alex@signal.org>
2024-10-23 15:51:54 -04:00
Greyson Parrelli
200132e623 Add queueLimit to DirectoryRefreshJob. 2024-10-23 15:51:54 -04:00
Greyson Parrelli
898d5ccb78 Remove old device link flow. 2024-10-23 15:51:54 -04:00
Michelle Tang
6fcfd8fdb1 Allow adding and removing from context menu. 2024-10-23 15:51:54 -04:00
Greyson Parrelli
94d6bfd9ad Bump version to 7.21.5 2024-10-23 15:36:35 -04:00
Greyson Parrelli
d65e4e8569 Update translations and other static files. 2024-10-23 15:36:11 -04:00
Alex Hart
9fa04e03fd Ensure rate limit dialog appears during calls. 2024-10-23 14:15:42 -03:00
Greyson Parrelli
6673293e29 Bump version to 7.21.4. 2024-10-22 10:33:02 -04:00
Greyson Parrelli
83db21f2aa Update baseline profile. 2024-10-22 10:32:40 -04:00
Greyson Parrelli
ac38608ad5 Update translations and other static files. 2024-10-22 10:27:33 -04:00
Alex Hart
58f820d640 Remove check in SignalCallLinkRecord. 2024-10-22 10:01:02 -04:00
Greyson Parrelli
85f92e509a Bump version to 7.21.3. 2024-10-19 10:13:04 -04:00
Greyson Parrelli
c51460794f Update translations and other static files. 2024-10-19 10:12:39 -04:00
Greyson Parrelli
9c8331f7f3 Improve network reliability. 2024-10-18 14:33:17 -04:00
Cody Henthorne
19602b0e68 Fix reregistration lost state bug. 2024-10-18 14:22:58 -04:00
Cody Henthorne
72f43e5395 Bump version to 7.21.2 2024-10-18 13:07:31 -04:00
Cody Henthorne
69d312f559 Update baseline profile. 2024-10-18 12:52:42 -04:00
Cody Henthorne
780c7cfe5a Update translations and other static files. 2024-10-18 12:45:59 -04:00
Alex Hart
5816ca6c6e Eliminate unnecessary observer and JOIN. 2024-10-18 13:32:47 -03:00
Cody Henthorne
635df6ebd3 Fix parsing crash and creation of ice servers from turn server json. 2024-10-18 12:17:27 -04:00
Greyson Parrelli
21a57298dc Bump version to 7.21.1 2024-10-17 20:03:38 -04:00
Greyson Parrelli
493a39b9d4 Update translations and other static files. 2024-10-17 20:02:46 -04:00
Cody Henthorne
c5bf88366c Fix bug reusing already validated session during registration. 2024-10-17 19:54:44 -04:00
Michelle Tang
fdeaf77fc0 Use custom config for chat folders. 2024-10-17 19:54:44 -04:00
Alex Hart
cc5e3fc085 Utilize result type instead of error stream when attempting to create a call link. 2024-10-17 12:45:16 -03:00
Alex Hart
99c9ba0b70 Utilize collect instead of toList. 2024-10-17 12:41:35 -03:00
Greyson Parrelli
65996bca19 Only notify call observer if read status changed. 2024-10-17 11:21:43 -04:00
Greyson Parrelli
4c9bdd16b0 Add stopwatch for CallLog loading. 2024-10-17 11:21:43 -04:00
Greyson Parrelli
232b84635f Fix SVR fallback list. 2024-10-17 11:21:43 -04:00
Greyson Parrelli
fac34f2aeb Bump version to 7.21.0 2024-10-16 15:41:28 -04:00
Greyson Parrelli
a1774dcd25 Update baseline profile. 2024-10-16 15:41:28 -04:00
Greyson Parrelli
12c9b02374 Update translations and other static files. 2024-10-16 15:41:28 -04:00
Greyson Parrelli
262b359c3f Inline the call links feature flag. 2024-10-16 15:41:27 -04:00
Greyson Parrelli
69b506db1c Perform search table rebuilds in a single transaction. 2024-10-16 15:07:19 -04:00
Greyson Parrelli
97f1e18046 Remove some unused AccountManager code. 2024-10-16 15:07:19 -04:00
Greyson Parrelli
a90df1e262 Get a big backupV2 import fully working. 2024-10-16 15:07:19 -04:00
mtang-signal
0d878ca70a Default to showing muted chats. 2024-10-16 15:07:19 -04:00
Michelle Tang
96dd77364e Update chat folder display list. 2024-10-16 15:07:19 -04:00
Alex Hart
dd4d674a61 BackupStatusRow to display backup restore status in settings fragment. 2024-10-16 15:07:19 -04:00
Alex Hart
b073005ff9 Update remote backups settings to align with design. 2024-10-16 15:07:19 -04:00
Cody Henthorne
6a77631b09 Fix rereg reglock bug. 2024-10-16 15:07:19 -04:00
adel-signal
893ef5d08c Add support for multiple ice server groups 2024-10-16 15:07:19 -04:00
Cody Henthorne
4f61b2ad33 Add url encoding to provisioning call. 2024-10-16 15:07:19 -04:00
Alex Hart
40bf7a021a Fix issue where call name would not update. 2024-10-16 15:07:19 -04:00
Alex Hart
dcbf0315c0 Rename backup status banner. 2024-10-16 15:07:19 -04:00
Alex Hart
f9bf823133 Add previews for MediaRestoreProgressBanner. 2024-10-16 15:07:19 -04:00
mtang-signal
e1bd9753b9 Add string translation comments. 2024-10-16 15:07:19 -04:00
Alex Hart
e28b3d52c6 Write in call link root key from storage service. 2024-10-16 15:07:19 -04:00
Michelle Tang
bfa5703aaa Add context menus to chat folders. 2024-10-16 15:07:19 -04:00
Alex Hart
6b66e4666b Add update send job for call link when joining by url. 2024-10-16 15:07:19 -04:00
Michelle Tang
c4fc32988c Release chat folders to internal users. 2024-10-16 15:07:18 -04:00
Greyson Parrelli
e5c122d972 Add a new debug option to the backup playground. 2024-10-16 15:07:18 -04:00
Greyson Parrelli
551cda13b7 Bump version to 7.20.1 2024-10-11 16:15:47 -04:00
Greyson Parrelli
0c8618a1f4 Update translations and other static files. 2024-10-11 16:15:28 -04:00
mtang-signal
f434ceaa15 Use new linked device flow. 2024-10-11 08:58:05 -07:00
Greyson Parrelli
fe8fe0a37b Bump version to 7.20.0 2024-10-10 16:05:53 -04:00
Greyson Parrelli
e72754885f Update translations and other static files. 2024-10-10 16:05:16 -04:00
Alex Hart
73a027f10b Always display call link warning. 2024-10-10 15:56:24 -04:00
Alex Hart
340bb93653 Add backup subscriber fields to account record. 2024-10-10 15:56:24 -04:00
Greyson Parrelli
497cec4c17 Add some local timings to backup export. 2024-10-10 15:56:24 -04:00
Greyson Parrelli
0712503485 Improve export speed with an index. 2024-10-10 15:56:24 -04:00
Greyson Parrelli
dcb5015290 Make backup jobs cancelable. 2024-10-10 15:56:24 -04:00
Cody Henthorne
58a48e38eb Fix post-registration restore bug. 2024-10-10 15:56:24 -04:00
Alex Hart
7cc425fa7b Add base and subclassed upgrade sheets. 2024-10-10 15:56:24 -04:00
Greyson Parrelli
7abe76f76a Fix attachment archive upload concurrency and queueing. 2024-10-10 15:56:24 -04:00
Greyson Parrelli
5cafea2bde Add the concept of queuePriority to jobs. 2024-10-10 15:56:24 -04:00
Greyson Parrelli
229a78305f Update some BackupValues stuff. 2024-10-10 15:56:23 -04:00
Alex Hart
88ea258b45 Prevent failed network request from causing application crash. 2024-10-10 15:56:23 -04:00
Greyson Parrelli
95d8abfb46 Clean up dangling wallpapers. 2024-10-10 15:56:23 -04:00
Alex Hart
3381d20bd7 Add new backups iconography and copy. 2024-10-10 15:56:23 -04:00
Alex Hart
ce6f0ca483 Fix backup check for whether user has ever enabled. 2024-10-08 12:21:24 -03:00
Greyson Parrelli
e90560c6cc Migrate to new SVR2 enclave. 2024-10-07 21:13:11 -04:00
Cody Henthorne
72ea4744f6 Prepare for registration v3. 2024-10-07 17:01:27 -04:00
Alex Hart
861ef4d708 Move check to job method. 2024-10-07 17:01:27 -04:00
Greyson Parrelli
fa425567bf Be more lenient when backing up possibly-invalid recipients. 2024-10-07 17:01:27 -04:00
Greyson Parrelli
a9264a316f Fix issue with directionless chats being unread after backupV2 import. 2024-10-07 17:01:27 -04:00
Alex Hart
8c63977775 Check backups state whenever the app is brought to foreground. 2024-10-07 17:01:27 -04:00
Alex Hart
5bc8435d25 Add BackupSubscriptionCheckJob. 2024-10-07 17:01:27 -04:00
Greyson Parrelli
24209756e3 Ignore kls_database.db 2024-10-07 17:01:27 -04:00
Greyson Parrelli
5efa1be3a5 Add view-once support to backupsV2. 2024-10-07 17:01:27 -04:00
Greyson Parrelli
97ce7e4150 Update to libsignal 0.58.2 2024-10-07 17:01:27 -04:00
Alex Hart
9ff2577efe Add CoroutineJob. 2024-10-07 17:01:27 -04:00
Greyson Parrelli
9f5773bb7a Fix chat expiration timer backupV2 import/export. 2024-10-07 17:01:27 -04:00
Greyson Parrelli
ce7e33c424 Fix bug with restoring skipped sending statuses. 2024-10-07 17:01:27 -04:00
Greyson Parrelli
21383e7ba5 Disable jobmanager during backup tests. 2024-10-07 17:01:27 -04:00
Greyson Parrelli
1db7358bfa Bump version to 7.19.2 2024-10-07 17:00:19 -04:00
Greyson Parrelli
b51c27983e Update translations and other static files. 2024-10-07 16:59:37 -04:00
Greyson Parrelli
db2dc473e0 Improve network reliability. 2024-10-07 16:51:36 -04:00
mtang-signal
d0162d0b21 Update emojis in about status. 2024-10-07 13:40:34 -07:00
Greyson Parrelli
ca0062f46e Bump version to 7.19.1 2024-10-04 13:09:45 -04:00
Greyson Parrelli
f64ade1ce9 Update translations and other static files. 2024-10-04 13:08:45 -04:00
Greyson Parrelli
957f17836a Fix potentially slow migration query. 2024-10-04 12:48:46 -04:00
Greyson Parrelli
b0a1e69109 Bump version to 7.19.0 2024-10-03 11:20:23 -04:00
Greyson Parrelli
029b47e58d Update translations and other static files. 2024-10-03 11:20:23 -04:00
Alex Hart
703e1cd065 Remove chat settings path to enter remote backups. 2024-10-03 11:20:23 -04:00
Alex Hart
8990088980 Add biometric prompt to reveal backup key from settings and other fixes. 2024-10-03 11:20:22 -04:00
Greyson Parrelli
321c344e77 Ensure all tables are cleaned up the same before backup import. 2024-10-03 11:20:22 -04:00
Greyson Parrelli
8b7dcd51ae Reset recipient cache after a backup restore. 2024-10-03 11:20:22 -04:00
Cody Henthorne
fbb72448bf Use URLEncoder for attachment path. 2024-10-03 11:20:22 -04:00
Greyson Parrelli
754dc63f70 Add simple backup/restore tools in backup playground. 2024-10-03 11:20:22 -04:00
Greyson Parrelli
a02c2e393f Fix stories being restored in Signal chat. 2024-10-03 11:20:22 -04:00
Alex Hart
91115fa0bd Allow users to cancel during pending donation. 2024-10-03 10:26:19 -04:00
Cody Henthorne
66e6b5506e Improve thread delete performance. 2024-10-03 10:26:19 -04:00
Cody Henthorne
93609106b0 Update restore progress banner UI/UX and job behavior. 2024-10-03 10:26:19 -04:00
mtang-signal
320d51707d Add string translation comments. 2024-10-03 10:26:19 -04:00
Greyson Parrelli
8460c22620 Add backup integration test cases. 2024-10-03 10:26:19 -04:00
Greyson Parrelli
bfe9fb6679 Remove very old database migration.
The migration was done over 4.5 years ago and has been causing random
problems ever since.
2024-10-03 10:26:19 -04:00
NetSysFire
d2ba42074f Switch to using an issue form for bug reports.
Resolves #13721
2024-10-03 10:26:19 -04:00
Greyson Parrelli
7427619bfd Add registered check to connectivity warning. 2024-10-03 10:26:19 -04:00
Greyson Parrelli
ac0e80ca05 Refactor archive importing. 2024-10-03 10:26:19 -04:00
mtang-signal
9d0aef8dbc Fix link device crash. 2024-10-03 10:26:19 -04:00
Greyson Parrelli
4dba584913 Added some translation comments. 2024-10-03 10:26:19 -04:00
Greyson Parrelli
3a821af0a8 Use auth header for websocket connection instead of param. 2024-10-03 10:26:19 -04:00
Alex Hart
77fd87c3e6 Remove admin toggle from call info sheet. 2024-10-03 10:26:19 -04:00
Greyson Parrelli
13708e33e4 Refactor backup exporting. 2024-10-03 10:26:19 -04:00
Jim Gustafson
813a92380b Update to RingRTC v2.48.1 2024-10-03 10:26:19 -04:00
Alex Hart
88d1e7b40d Add additional checks to chat-color processing. 2024-10-03 10:26:19 -04:00
Christian Stadelmann
c5a13b392b Limit number of contacts for Android's "Quick Share"
Work around a bug in Android which lead to very non recent contacts showing up in Android's "Quick Share" overlay. Also increase privacy by leaking less conversation names to the Android UI.

Fixes #13398
Resolves #13718
2024-09-28 08:54:15 -04:00
Greyson Parrelli
a3e05f4a75 Ignore edit limits for note to self.
Fixes #13716
2024-09-28 08:18:22 -04:00
Greyson Parrelli
aa252b1733 Add support for Contact.nickname in backup import/export. 2024-09-27 16:52:12 -04:00
Greyson Parrelli
ec3b40e2dd Update libsignal to 0.58.1 2024-09-27 16:51:42 -04:00
Alex Hart
6678fdcbe9 Fix bad sheet behavior when returning from system pip. 2024-09-27 12:04:38 -03:00
Greyson Parrelli
62b5276c75 Add support for Contact.nickname field. 2024-09-27 10:46:51 -04:00
Alex Hart
5bdc7c2740 Implement new top-level backups settings. 2024-09-27 11:04:57 -03:00
Alex Hart
ea33fa2af1 Add better error handling for empty story text post. 2024-09-27 10:38:59 -03:00
Alex Hart
5212088a1b Hide overflow if the group call is not in the CONNECTED state. 2024-09-27 10:33:52 -03:00
Alex Hart
5394aaa44c Set pip auto-enter based off live view-model value. 2024-09-27 10:27:08 -03:00
Alex Hart
588f107300 Allow stories to be unhidden from within viewer.
Fixes #13710
2024-09-27 09:58:19 -03:00
mtang-signal
181ac26cae Update verified icon size. 2024-09-26 08:00:50 -07:00
Greyson Parrelli
e77d9d3ad6 Fix link preview backup import/export. 2024-09-26 00:00:18 -04:00
Alex Hart
81d99c9d30 Implement happy path for backups subscriptions. 2024-09-26 00:00:18 -04:00
Greyson Parrelli
c80ebd5658 Fix quote attachment backup import/export. 2024-09-26 00:00:18 -04:00
Greyson Parrelli
b6906990bc Fix individual and adhoc call backup import/export. 2024-09-26 00:00:18 -04:00
Greyson Parrelli
bf338a6835 Keep remote fields in sync when deduping downloads. 2024-09-26 00:00:18 -04:00
Greyson Parrelli
8030e9f7eb Add job to fix digests for duplicate attachments. 2024-09-26 00:00:18 -04:00
Alex Hart
eaf81e56d6 Add turn on your video tooltip to call screen v2. 2024-09-26 00:00:18 -04:00
Cody Henthorne
5552455c2e Check for restorable previously optimized media and restore if necessary. 2024-09-26 00:00:18 -04:00
Greyson Parrelli
d81182633d Fix group call update backup import/export. 2024-09-26 00:00:18 -04:00
Greyson Parrelli
69e1146e2c Bump version to 7.18.2 2024-09-25 23:58:17 -04:00
Greyson Parrelli
a0c7b56ab4 Update translations and other static files. 2024-09-25 23:57:55 -04:00
Greyson Parrelli
6b7ea28e8f Fix issue where wallpapers don't immediately render after upgrade. 2024-09-24 14:16:34 -04:00
Greyson Parrelli
6f1949db98 Bump version to 7.18.1 2024-09-24 13:37:20 -04:00
Greyson Parrelli
551d873a1a Update translations and other static files. 2024-09-24 13:36:51 -04:00
Greyson Parrelli
760d5ab2ce Be even more cautious when repairing FTS tables. 2024-09-24 12:51:56 -04:00
Greyson Parrelli
ff4364586b Fix issue with attachments failing to download. 2024-09-24 12:41:27 -04:00
Greyson Parrelli
12b78336c6 Bump version to 7.18.0 2024-09-23 22:53:28 -04:00
Greyson Parrelli
70d6a8f1fe Update baseline profile. 2024-09-23 22:52:56 -04:00
Greyson Parrelli
2e81d717d0 Update translations and other static files. 2024-09-23 22:36:41 -04:00
Greyson Parrelli
6ddd780e0e Fix wire gradle dependency. 2024-09-23 22:36:34 -04:00
Greyson Parrelli
2449b5f4a4 Add more debug info around attachment deduping. 2024-09-23 09:23:57 -04:00
Alex Hart
fde78cf5b8 Remove unused parameter in LinkPreviewViewModel. 2024-09-23 09:53:46 -03:00
Greyson Parrelli
eab1f5944d Add support for long text backup. 2024-09-23 08:31:05 -04:00
Greyson Parrelli
ecd16dbe9c Fix payment notification backup import/export. 2024-09-22 15:09:04 -04:00
Greyson Parrelli
a76f5e600e Fix flakiness of the backup tests.
It's possible that pending writes to the key value store (from using
.apply()) may not be finished by the time we take the DB snapshot,
resulting in us seeing stale data in the snapshot. Now we block on
writes finishing.
2024-09-21 22:51:24 -04:00
Greyson Parrelli
054b517a04 Add backup support for remaining simple chat updates. 2024-09-21 15:49:12 -04:00
Greyson Parrelli
40ca94a7dd Fix sticker backup import/export. 2024-09-21 11:48:41 -04:00
Greyson Parrelli
ba1e8b6c14 Fix handling of invalid quote attachment locators in backups. 2024-09-21 11:22:37 -04:00
Greyson Parrelli
f3a9f7f91d Fix handling of stickers with invalid locators in backups. 2024-09-21 09:59:09 -04:00
Greyson Parrelli
3c0e9c9e4e Fix group receipt handling in backups. 2024-09-21 09:49:21 -04:00
Greyson Parrelli
9888b1a5f8 Fix backup support for account wallpapers. 2024-09-21 07:01:43 -04:00
Greyson Parrelli
ec49352635 Merge various proto utils together in core-util-jvm. 2024-09-20 23:29:08 -04:00
Greyson Parrelli
5b69d98579 Fix potential NPE when reading old attachments. 2024-09-20 22:07:07 -04:00
Greyson Parrelli
90998a4076 Fix various backup import-export inconsistencies. 2024-09-20 21:14:50 -04:00
Cody Henthorne
a10958ee13 Add optimize storage infrastructure for backupsv2. 2024-09-20 16:47:18 -04:00
Alex Hart
7935d12675 Fix incorrect display of ISK recurring cost. 2024-09-20 16:11:47 -03:00
Cody Henthorne
cafa5c9e28 Add more info for various spinner results. 2024-09-20 12:52:37 -04:00
Greyson Parrelli
a7bdfb6d76 Add support for backing up wallpapers. 2024-09-20 12:24:57 -04:00
Alex Hart
e14078d2ec Allow free tier to be enabled when Google Play Billing isn't available. 2024-09-20 10:52:18 -04:00
Alex Hart
12e25b0f40 Add google play billing token conversion endpoint and job. 2024-09-20 10:52:18 -04:00
Alex Hart
d23ef647d8 Hide paid tier on devices where the billing API is not available. 2024-09-20 10:52:18 -04:00
Alex Hart
d88265ede6 Update view state after enabling mic permissions to match view model state. 2024-09-20 10:52:18 -04:00
Greyson Parrelli
0e83e25e6e Setup infra for better archive upload progress tracking. 2024-09-20 10:52:18 -04:00
Jim Gustafson
1597ee70ba Update to RingRTC v2.48.0 2024-09-20 10:52:18 -04:00
Greyson Parrelli
01ee98af91 Use better update string for manual installs.
Fixes #13700
2024-09-20 10:52:18 -04:00
Greyson Parrelli
9a1d5f4dce Update to latest Backup.proto. 2024-09-20 10:52:18 -04:00
Greyson Parrelli
60bf121974 Update to libsignal 0.58.0 2024-09-20 10:52:18 -04:00
Cody Henthorne
46844ced7c Log notification posting exception when encountered. 2024-09-20 10:52:18 -04:00
Greyson Parrelli
1ac19e84c2 Fix issues with archive uploads matching digest. 2024-09-20 10:52:18 -04:00
Alex Hart
48bd57c56a Start re-work of play billing checkout flow. 2024-09-20 10:52:18 -04:00
Gaëtan Muller
b340097f9c Remove Multidex usages.
Since the min SDK is at least 21, it is no longer necessary to use the Multidex library.

See the following for more info: https://developer.android.com/build/multidex#mdex-on-l

Resolves #13696
2024-09-20 10:52:18 -04:00
Cody Henthorne
a1bf4d62ab Fix thumbnail rendering and refreshing on full download. 2024-09-20 10:52:18 -04:00
Michelle Tang
b74f04495e Update verified icon. 2024-09-20 10:52:18 -04:00
Greyson Parrelli
ba06efe35a Improve the Banner system. 2024-09-20 10:52:18 -04:00
Greyson Parrelli
24133c6dac Fix potential crash when reading very old attachments. 2024-09-20 10:52:18 -04:00
Alex Hart
64ada79e8f Switch wording for group link administration. 2024-09-20 10:52:18 -04:00
Alex Hart
8933d89b56 Filter call link events we don't have root keys for and disambiguate return / join. 2024-09-20 10:52:18 -04:00
Cody Henthorne
88d1c0cf87 Fix internal message details rendering warning. 2024-09-20 10:52:18 -04:00
Greyson Parrelli
703c00b9af Fix banner background. 2024-09-20 10:52:18 -04:00
Greyson Parrelli
c0d115325a Fix crash in legacy migration. 2024-09-20 10:52:18 -04:00
Greyson Parrelli
6f3f204cbe Log PNP setting change events. 2024-09-20 10:52:18 -04:00
Alex Hart
cd846f2b6d Fix call link join issue and add denial dialogs into call UI v2. 2024-09-20 10:52:17 -04:00
Alex Hart
5bd3eda17d Add snackbar that is displayed if you're currently in a different call. 2024-09-20 10:52:17 -04:00
Greyson Parrelli
c36c6e62e2 Add Flow.throttleLatest extension. 2024-09-20 10:52:17 -04:00
Cody Henthorne
6b9e921888 Fix incorrect image showing in gallery when other media is unavailable. 2024-09-20 10:52:17 -04:00
mtang-signal
f57b1a8f5e Restore picker after editing a message. 2024-09-20 10:52:17 -04:00
Greyson Parrelli
7727deef9f Fix handling of common backup status codes. 2024-09-20 10:52:17 -04:00
ᡠᠵᡠᡳ ᡠᠵᡠ ᠮᠠᠨᡩ᠋ᠠᠨ
789aea3a3a Set kotlin jvmToolchain for jvm modules.
Closes #13686

Fixes #13523
2024-09-20 10:52:17 -04:00
mtang-signal
81b4339bea Add capitalization to profile names. 2024-09-20 10:52:17 -04:00
RohitBeatroute
76175c7a6b Fix username discriminator from disappearing.
Closes #13687

Fixes #13680
2024-09-20 10:52:17 -04:00
Greyson Parrelli
e81fc2900d Bump version to 7.17.5 2024-09-19 16:03:42 -04:00
Greyson Parrelli
db9a2f04f3 Update translations and other static files. 2024-09-19 16:03:15 -04:00
Alex Hart
1d719333a3 Heal SEPA transfer keep-alive failures. 2024-09-19 12:23:51 -03:00
Alex Hart
71f6c77b42 Fix missing paymentMethodType in keep-alive payment creation. 2024-09-19 11:35:34 -03:00
Greyson Parrelli
7a66533e70 Bump version to 7.17.4 2024-09-18 07:12:04 -04:00
Greyson Parrelli
9106812b74 Reset the upload timestamp on attachments with fixed digests. 2024-09-18 07:05:52 -04:00
Greyson Parrelli
fcb2e3cc74 Make LimitedInputStream less strict. 2024-09-18 07:05:29 -04:00
Greyson Parrelli
1f638db959 Bump version to 7.17.3 2024-09-17 23:03:41 -04:00
Greyson Parrelli
832d15ff47 Ensure call link table matches upgraded table. 2024-09-17 23:02:49 -04:00
Greyson Parrelli
f8846e3593 Clear attachment uploadTimestamps. 2024-09-17 23:02:26 -04:00
Greyson Parrelli
59e0afde14 Bump version to 7.17.2 2024-09-16 13:13:40 -04:00
Greyson Parrelli
00058f7762 Update baseline profile. 2024-09-16 13:13:09 -04:00
Greyson Parrelli
56159043e3 Update translations and other static files. 2024-09-16 13:03:03 -04:00
Greyson Parrelli
2180b78466 Ensure username is reclaimed after account restore. 2024-09-16 12:54:58 -04:00
Greyson Parrelli
dc77226995 Address a FTS table configuration crash. 2024-09-16 09:51:14 -04:00
Alex Hart
0a346eda5b Fix calls count when there are no entries to display. 2024-09-16 09:42:13 -03:00
Cody Henthorne
6188502cb1 Bump version to 7.17.1 2024-09-13 13:52:40 -04:00
Cody Henthorne
b425920144 Update baseline profile. 2024-09-13 13:49:46 -04:00
Cody Henthorne
db60a3cb2c Update translations and other static files. 2024-09-13 13:46:26 -04:00
Cody Henthorne
6b2ff05adb Fix draft state being reapplied on input state change. 2024-09-13 13:38:22 -04:00
Cody Henthorne
0108a1d3e3 Bump version to 7.17.0 2024-09-13 11:18:56 -04:00
Cody Henthorne
64e61ccce3 Update baseline profile. 2024-09-13 11:06:37 -04:00
Cody Henthorne
efef179124 Update translations and other static files. 2024-09-13 11:00:26 -04:00
Jim Gustafson
6789715556 Update to RingRTC v2.47.1 2024-09-13 10:51:30 -04:00
Alex Hart
463fabcbc4 Polish pending participants views. 2024-09-13 10:51:30 -04:00
Greyson Parrelli
23d82a3a01 Remove skip/forgot PIN special case. 2024-09-13 10:51:30 -04:00
Alex Hart
d1475228f7 Add chevron to pending participants view. 2024-09-13 10:51:30 -04:00
Cody Henthorne
636b5a4ba6 Prevent sharing and clear drafts when entering disabled send conversations. 2024-09-13 10:51:30 -04:00
Greyson Parrelli
850515b363 Make FTS recovery more resiliant. 2024-09-13 10:51:30 -04:00
Greyson Parrelli
5c6644d1a1 Add extra transaction protections. 2024-09-13 10:51:30 -04:00
Cody Henthorne
0d37013481 Fix more voice note playback NPEs. 2024-09-13 10:51:30 -04:00
Cody Henthorne
5647215659 Fix state exception when registering without play services. 2024-09-13 10:51:30 -04:00
Greyson Parrelli
e80ebd87fe Refactor and simplify attachment archiving. 2024-09-13 10:51:30 -04:00
Cody Henthorne
816006c67e Refactor and cleanup backupv2 media restore. 2024-09-13 10:51:30 -04:00
Alex Hart
baa6032770 Fix overlap of join banner and camera toggle. 2024-09-13 10:51:30 -04:00
Greyson Parrelli
7735ca9dab Fix crash when downloading attachment from S3. 2024-09-13 10:51:30 -04:00
Alex Hart
36a8a399d9 Only display latest call link event in calls tab. 2024-09-13 10:51:30 -04:00
Alex Hart
9912a5fdfe Allow anyone to join a call link. 2024-09-13 10:51:30 -04:00
Alex Hart
c3be92d365 Upgrade several AndroidX libraries and Compose to latest stable versions. 2024-09-13 10:51:30 -04:00
Greyson Parrelli
0fe9df3023 Properly clear unknown ids from storage service. 2024-09-13 10:51:30 -04:00
Greyson Parrelli
cb126a2f08 Fix runAttempt not updating in job cache.
Thank you to @valldrac for finding this and diagnosing it!

Fixes #13679
2024-09-13 10:51:30 -04:00
Greyson Parrelli
7835b1d1fc Move more networking stuff into SignalNetwork. 2024-09-13 10:51:30 -04:00
Nicholas Tinsley
e247d311d8 Add call link support to storage service. 2024-09-13 10:51:30 -04:00
Alex Hart
1f2b5e90a3 Remove unnecessary check in call link processing. 2024-09-13 10:51:30 -04:00
Jim Gustafson
ee033b49fe Update to RingRTC v2.47.0 2024-09-13 10:51:30 -04:00
Greyson Parrelli
a7b958d811 Only run BackupMessageJob after the digest backfill has finished. 2024-09-13 10:51:30 -04:00
Greyson Parrelli
c4bcb7dc93 Improve digest backfill migration. 2024-09-13 10:51:30 -04:00
Greyson Parrelli
1e8626647e Fix digests for non-zero padding. 2024-09-13 10:51:30 -04:00
Nicholas Tinsley
a50f316659 Harden null safety in VoiceNotePlaybackService.
Addresses #13673.
2024-09-13 10:51:30 -04:00
Alex Hart
1f09f48e6b Add proper call tab return state. 2024-09-13 10:51:30 -04:00
Nicholas Tinsley
514f7cc767 Fix tests after reg v1 cleanup. 2024-09-13 10:51:30 -04:00
Greyson Parrelli
b858161f92 Fix NetworkResult handling of websocket timeouts. 2024-09-13 10:51:30 -04:00
Greyson Parrelli
85d90aa121 Add the ability to set no limit on LimitedInputStream. 2024-09-13 10:51:30 -04:00
Greyson Parrelli
a8fb4eb21a Rename TruncatingInputStream -> LimitedInputStream. 2024-09-13 10:51:30 -04:00
Greyson Parrelli
a6767e4f8a Replace other limiting streams with TruncatingInputStream. 2024-09-13 10:51:30 -04:00
Greyson Parrelli
b00855b097 Add support for more methods in TruncatingInputStream. 2024-09-13 10:51:30 -04:00
Cody Henthorne
929942de9d Verify digest for backupv2 local media restore. 2024-09-13 10:51:30 -04:00
Greyson Parrelli
6112ee9bd3 Initialize AppDependencies if needed in AvatarProvider. 2024-09-13 10:51:30 -04:00
Nicholas Tinsley
9261c34213 Clean up registration java packages hierarchy. 2024-09-13 10:51:30 -04:00
Nicholas Tinsley
f29d4f980a Removal final usage of VerifyResponseProcessor. 2024-09-11 15:14:05 -04:00
Nicholas Tinsley
bf46e5bc24 Consolidate odds and ends from reg v1 into reg v2. 2024-09-11 15:14:05 -04:00
Nicholas Tinsley
c9746b59ed Clean up reg v1 remnants using safe delete. 2024-09-11 15:14:05 -04:00
Alex Hart
2123c642a5 Change admin approval string for call links. 2024-09-11 15:14:04 -04:00
Alex Hart
118085f692 Fix aspect ratio of link preview thumbnails. 2024-09-11 15:14:04 -04:00
Cody Henthorne
2701b570bb Use trailing job to clear media restore progress. 2024-09-11 15:14:04 -04:00
Cody Henthorne
390ea341ca Fix incorrect padding buffer reuse. 2024-09-11 15:14:04 -04:00
Alex Hart
b7abd85992 Fix status bar theming in children of FragmentWrapperActivity. 2024-09-11 15:14:04 -04:00
Alex Hart
982b90d423 Add BillingDependencies and shared implementation. 2024-09-11 15:14:04 -04:00
Alex Hart
36bfd19bcf Fix db access in RemoteMegaphoneRepository. 2024-09-11 15:14:04 -04:00
Greyson Parrelli
7eac9ce1f4 Improve attachment deduping for videos. 2024-09-11 15:14:04 -04:00
mtang-signal
ba2d5bce41 Allow linking of devices if no passlock is set. 2024-09-11 15:14:04 -04:00
Michelle Tang
93c8cd133d Add education sheet to linked device biometrics. 2024-09-11 15:14:04 -04:00
Greyson Parrelli
d59985c7b1 Add migration to backfill digests. 2024-09-11 15:14:04 -04:00
Cody Henthorne
a8bf03af89 Add restore local backupv2 infra. 2024-09-11 15:14:04 -04:00
Greyson Parrelli
00d20a1917 Introduce SignalNetwork, share PushServiceSocket. 2024-09-11 15:14:04 -04:00
Greyson Parrelli
4e35906680 Add blocked check when adding 'user joined' message. 2024-09-11 15:14:04 -04:00
Alex Hart
4d23f11f6e Add shared calling intent system. 2024-09-11 15:14:04 -04:00
Greyson Parrelli
e5b482c7ad Fix error handling in NetworkResult.fromWebSocketRequest() 2024-09-11 15:14:04 -04:00
Greyson Parrelli
6c09b59d1b Close stream after calculating length. 2024-09-11 15:14:04 -04:00
Greyson Parrelli
8070f26207 Save correct size after attachment upload. 2024-09-11 15:14:04 -04:00
Nicholas Tinsley
623312d8f6 Inline StreamingTranscoder.
Delete InMemoryTranscoder.
2024-09-11 15:14:04 -04:00
Greyson Parrelli
ac9e5505ae Save IV on attachment download. 2024-09-11 15:14:04 -04:00
Greyson Parrelli
4b47d38d78 Add IV to the attachment table. 2024-09-11 15:14:04 -04:00
Cody Henthorne
07289b417b Bump version to 7.16.4 2024-09-11 15:07:24 -04:00
Cody Henthorne
6827955c41 Update baseline profile. 2024-09-11 15:06:15 -04:00
Cody Henthorne
269d3c43f6 Update translations and other static files. 2024-09-11 15:00:09 -04:00
Greyson Parrelli
ac10ff4cbe Improve validations on envelope. 2024-09-11 14:45:02 -04:00
Alex Hart
b681b4169f Fix callbacks for DonationPending and UserLaunchedExternalApplication donation delegate methods. 2024-09-11 14:37:16 -04:00
Alex Hart
7472166628 Bump version to 7.16.3 2024-09-05 12:36:56 -03:00
Alex Hart
04f9468cc6 Update baseline profile. 2024-09-05 11:59:48 -03:00
Alex Hart
c592a5b39d Update translations and other static files. 2024-09-05 11:54:04 -03:00
Alex Hart
a992da9a7b Fix test users for benchmarking. 2024-09-05 11:49:57 -03:00
Greyson Parrelli
1aed8eefcd Improve reliability of rebuilding the search index. 2024-09-05 11:49:57 -03:00
Greyson Parrelli
6682815663 Fix NPE in VoiceNotePlaybackService. 2024-09-05 11:49:57 -03:00
Cody Henthorne
676be03ffc Bump version to 7.16.2 2024-09-03 16:15:10 -04:00
Cody Henthorne
527096cc0e Update translations and other static files. 2024-09-03 16:09:12 -04:00
Cody Henthorne
83c3cc6a6d Fix notifications not showing after contact permission revoked on Android 15.
Fixes #13671
2024-09-03 15:56:12 -04:00
Cody Henthorne
0c4725dfa7 Fix unnecessary timer change message insert on sync messages. 2024-09-03 15:43:01 -04:00
Michelle Tang
2c7668253e Fix missing photos in gallery. 2024-09-03 12:20:38 -07:00
Nicholas Tinsley
ab7bdc3c03 Bump version to 7.16.1 2024-09-01 11:52:54 -04:00
Nicholas Tinsley
bb1b548c27 Update translations and other static files. 2024-09-01 10:29:32 -04:00
Cody Henthorne
216073f4c2 Fix versioned expiration timer capability bug. 2024-08-30 16:18:23 -04:00
Nicholas Tinsley
84ae8db549 Bump version to 7.16.0 2024-08-30 13:16:37 -04:00
Nicholas Tinsley
09bd460875 Update translations and other static files. 2024-08-30 13:07:53 -04:00
Greyson Parrelli
97ea5dc45e Protect against NPE in search. 2024-08-30 12:55:23 -04:00
Nicholas Tinsley
85449802d1 Properly handle video transcoding failures. 2024-08-30 12:55:23 -04:00
Nicholas Tinsley
d683b8a321 Preclude cancelation of pre-uploaded video attachments.
Addresses ##10225.
2024-08-30 12:55:23 -04:00
Greyson Parrelli
2b1bbdda15 Inline the withinTransaction() function. 2024-08-30 12:55:23 -04:00
Greyson Parrelli
011a36c8f3 Move back to manually implementing secure-delete. 2024-08-30 12:55:23 -04:00
Nicholas Tinsley
dd1976d431 Log why we're showing a debug log prompt. 2024-08-30 12:55:23 -04:00
Jim Gustafson
643f64e181 Use the Oboe ADM for some custom roms 2024-08-30 12:55:23 -04:00
Nicholas Tinsley
659e36673b Fix wrong string in pending group join request banner. 2024-08-30 12:55:23 -04:00
Nicholas Tinsley
907918d3fa Logging around attachments pre-uploads. 2024-08-30 12:55:23 -04:00
Nicholas Tinsley
243c86cec3 Prevent ISE on cell signal loss. 2024-08-30 12:55:23 -04:00
Nicholas Tinsley
dca10634e6 Attempt to fix impossible index out of bounds exception? 2024-08-30 12:55:22 -04:00
Nicholas Tinsley
5dfc4c422e Update styling of Call Link join button. 2024-08-30 12:55:22 -04:00
Greyson Parrelli
46753fc617 Another attempt at rebuilding the FTS tables. 2024-08-30 12:55:22 -04:00
Greyson Parrelli
e263d7da73 Fix crash when reading some contact cards. 2024-08-30 12:55:22 -04:00
Greyson Parrelli
c4ba579310 Mitigate app migration failing on missing table.
In an ideal world, we'd fix this with a database migration... but we're
seeing _really_ weird behavior around FTS tables, and I'd rather not
press my luck.
2024-08-30 12:55:22 -04:00
Jim Gustafson
d6d9e5ca64 Update to RingRTC v2.46.2 2024-08-30 12:55:22 -04:00
Cody Henthorne
90a8d90e40 Allow building libsignal from source.
Co-authored-by: Jordan Rose <jrose@signal.org>
2024-08-30 12:55:22 -04:00
Greyson Parrelli
b61ca37523 Do not link contacts to notification unless we have permission. 2024-08-30 12:55:22 -04:00
Nicholas Tinsley
b7af1e09e2 Increase logging around backup restores. 2024-08-30 12:55:22 -04:00
Nicholas Tinsley
ff47f784a3 Prevent IndexOutOfBounds exception when media is deleted. 2024-08-30 12:55:22 -04:00
Cody Henthorne
1f196f74ff Add support for versioned expiration timers.
Co-authored-by: Greyson Parrelli <greyson@signal.org>
2024-08-30 12:55:22 -04:00
Jordan Rose
4152294b57 Update to NDK r27, and explicitly specify it in the app build. 2024-08-30 12:55:22 -04:00
Greyson Parrelli
1aaa833127 Replace manual FTS5 fix with SQLite secure-delete flag.
We used to workaround this by manually optimizing the search index, but secure-delete does that for us with less work.
2024-08-30 12:55:22 -04:00
Nicholas Tinsley
2cfd19add6 Minor log statement rewording. 2024-08-27 13:21:20 -04:00
Greyson Parrelli
8e3000d852 Update sqlcipher to 4.6.0-S1 2024-08-27 13:21:20 -04:00
Greyson Parrelli
4e48a445bf Disable flaky test. 2024-08-27 13:21:20 -04:00
Nicholas Tinsley
45833ef24a Reset upload progress if attachment upload is interrupted. 2024-08-27 13:21:20 -04:00
Nicholas Tinsley
4354a9ff5e Add small logging to attachment finalization process. 2024-08-27 13:21:20 -04:00
Nicholas Tinsley
f1bf6105ea Don't try to download attachment if it's being restored. 2024-08-27 13:21:20 -04:00
Alex Hart
282ec6918b Add call audio toggle to calling v2. 2024-08-27 13:21:20 -04:00
Nicholas Tinsley
69d62d385e Small fixes for the video transcoding playground app. 2024-08-27 13:21:20 -04:00
Nicholas Tinsley
0f7f866562 Experimental HEVC encoding support for videos. 2024-08-27 13:21:20 -04:00
Alex Hart
5f66e2eb15 Add visibility rules and timeout for call controls for v2. 2024-08-27 13:21:20 -04:00
Alex Hart
3f71f90234 Add call participants overflow to calling v2 screen. 2024-08-27 13:21:20 -04:00
Nicholas Tinsley
204fcc28c7 Bump version to 7.15.4 2024-08-27 13:17:16 -04:00
Nicholas Tinsley
f53cb19943 Update translations and other static files. 2024-08-27 13:15:14 -04:00
Greyson Parrelli
cea8546ce5 Fix serialization issue during registration. 2024-08-27 12:14:01 -04:00
Alex Hart
bb7ee5915c Add billing fix. 2024-08-27 11:22:06 -04:00
Nicholas Tinsley
cf8e05fa39 Bump version to 7.15.3 2024-08-26 17:51:07 -04:00
Nicholas Tinsley
01cf0b69e0 Update translations and other static files. 2024-08-26 17:38:41 -04:00
Nicholas Tinsley
0aa764586e Dark mode support for DefaultBanner. 2024-08-26 17:35:57 -04:00
Nicholas Tinsley
532441db24 Log errors during media controller initialization. 2024-08-26 16:44:52 -04:00
Greyson Parrelli
2bc07e87d8 Add stopgap for FTS migration crash. 2024-08-26 15:58:22 -04:00
Greyson Parrelli
60ad879cac Improve network reliability. 2024-08-26 14:53:08 -04:00
mtang-signal
e1bc04a811 Bump version to 7.15.2 2024-08-23 15:06:43 -07:00
mtang-signal
23b53ef0f8 Update translations and other static files. 2024-08-23 15:02:14 -07:00
Alex Hart
047ec137c9 Update exclusions. 2024-08-23 13:44:33 -07:00
mtang-signal
72cb1528ad Fix payments overlap. 2024-08-23 13:26:27 -07:00
mtang-signal
4b78b44b29 Bump version to 7.15.1 2024-08-22 15:40:06 -07:00
mtang-signal
e0763fbf86 Update translations and other static files. 2024-08-22 15:30:15 -07:00
Cody Henthorne
1758a20174 Remove incorrect play flavor android manifest. 2024-08-22 18:14:06 -04:00
mtang-signal
c3c7bb7fba Bump version to 7.15.0 2024-08-22 13:44:30 -07:00
mtang-signal
3818eb6937 Update translations and other static files. 2024-08-22 13:16:34 -07:00
Nicholas Tinsley
d15bb05ae3 Observe sharedprefs for banner updates. 2024-08-22 13:05:00 -07:00
Alex Hart
244a81ef24 Move billing code to shared module. 2024-08-22 13:04:59 -07:00
Cody Henthorne
4447433ffe Fix contact sync by not requiring upload specs for avatars. 2024-08-22 13:04:59 -07:00
Nicholas Tinsley
46bc2589b5 Update Jetpack Compose to BOM 2024.06.00 2024-08-22 13:04:59 -07:00
Nicholas Tinsley
076df8c429 Update video sample app to read and write from private app storage. 2024-08-22 13:04:59 -07:00
Nicholas Tinsley
8727f0d90d Update video sample app for API 34. 2024-08-22 13:04:59 -07:00
mtang-signal
8fc21876fe Fix crash when opening stories. 2024-08-22 13:04:59 -07:00
Nicholas Tinsley
a3c476f2ab Only query service outage every 60 seconds, even if not reachable. 2024-08-22 13:04:59 -07:00
Cody Henthorne
a76d400bd1 Upgrade to libsignal 0.56.0 2024-08-22 13:04:59 -07:00
Cody Henthorne
9b23264502 Include additional key preference. 2024-08-22 13:04:59 -07:00
Nicholas Tinsley
1e58f8097a Prevent startup crash on first launch. 2024-08-22 13:04:59 -07:00
Nicholas Tinsley
9a24455085 Delete the reminders system. 2024-08-22 13:04:59 -07:00
Nicholas Tinsley
4002dea05d Observe service outages in a lifecycle-aware fashion. 2024-08-22 13:04:59 -07:00
Alex Hart
fd31bc60b2 Read and use backups data to structure tier feature sets. 2024-08-22 13:04:59 -07:00
Alex Hart
478e3a7233 Add more api calls for billing integration. 2024-08-22 13:04:59 -07:00
Alex Hart
26e79db057 Begin re-architecture of calling screen. 2024-08-22 13:04:59 -07:00
Cody Henthorne
71b5a9f865 Fix avatar loading in OS views when app is not running. 2024-08-22 13:04:59 -07:00
Jim Gustafson
8a4d9fc635 Update to RingRTC v2.46.1 2024-08-22 13:04:59 -07:00
Alex Hart
d3a6d31873 Add empty billing factory to nightly variant. 2024-08-22 13:04:59 -07:00
Alex Hart
57f36e7b41 Fix formatting. 2024-08-22 13:04:59 -07:00
Nicholas Tinsley
43491daff9 Add banner listener for the banners being hidden and shown. 2024-08-22 13:04:59 -07:00
Cody Henthorne
4c9b5926b9 Do not enqueue no-op read receipt jobs. 2024-08-22 13:04:59 -07:00
Alex Hart
cda029cd93 Add billing module and include in play implementation. 2024-08-22 13:04:59 -07:00
Alex Hart
82443af8f7 Check remote subscription object to determine if a cancel is necessary. 2024-08-22 13:04:59 -07:00
Alex Hart
1f8481d287 Add check for KEEP_ALIVE job state to allow for re-submission. 2024-08-22 13:04:59 -07:00
Alex Hart
b7e9446cde Fix missed cancelation check. 2024-08-22 13:04:59 -07:00
Nicholas Tinsley
cc615fbf87 Fix showing banners in conversation view. 2024-08-22 13:04:59 -07:00
Nicholas Tinsley
112473bc5c Adjust DefaultBanner padding values. 2024-08-22 13:04:59 -07:00
Nicholas Tinsley
8d38f6f5e7 Clean up unused custom camera controller. 2024-08-22 13:04:59 -07:00
Alex Hart
66278a0eac Catch and log END state payments when running keep-alive. 2024-08-22 13:04:59 -07:00
Cody Henthorne
1fdb3ffb03 Fix doze mode sleeping for message retrieval thread.
Fixes #13650
2024-08-22 13:04:59 -07:00
Nicholas Tinsley
560086a1c2 Fix dismissible banners. 2024-08-22 13:04:59 -07:00
Greyson Parrelli
630875dae2 Reduce noise of flaky test. 2024-08-22 12:58:33 -07:00
Nicholas Tinsley
627b939326 Fix erroneously display "Canceling subscription" during account deletion. 2024-08-22 12:58:33 -07:00
Nicholas Tinsley
5c9b7ce7d5 Attempt to send media message interrupted by Safety Number Change. 2024-08-22 12:58:33 -07:00
Nicholas Tinsley
5171986aca Wire up voice note playback on Message Details Screen. 2024-08-22 12:58:33 -07:00
Nicholas Tinsley
75c84c452b Convert MessageDetailFragment to Kotlin. 2024-08-22 12:58:33 -07:00
Greyson Parrelli
110e2c9eb0 Fix ArchiveImportExport tests. 2024-08-22 12:58:33 -07:00
Greyson Parrelli
330cef2702 Remove unnecessary full JobSpecs from job deletion code. 2024-08-22 12:58:33 -07:00
Cody Henthorne
8eb0b2f960 Add initial local archive export support. 2024-08-22 12:58:33 -07:00
Nicholas Tinsley
c39a1ebdb6 Fix conversation Banner display conditions. 2024-08-22 12:58:33 -07:00
Greyson Parrelli
69e8c9351d Improve network reliability. 2024-08-22 12:58:33 -07:00
Greyson Parrelli
7f71d08e11 Convert the TlsProxySocketFactory to kotlin. 2024-08-22 12:58:33 -07:00
Nicholas Tinsley
6f2cc923c2 Add dependency to convert RxJava to Kotlin Flows. 2024-08-22 12:58:33 -07:00
moiseev-signal
5f40144ae9 Upgrade to libsignal 0.55.0 2024-08-22 12:58:33 -07:00
Greyson Parrelli
7936552d53 Give chat settings button bar labels more lines. 2024-08-22 12:58:33 -07:00
Greyson Parrelli
5ffb7b07da Update to latest Backup.proto and fix various backup bugs. 2024-08-22 12:58:33 -07:00
Nicholas Tinsley
e2e6a73e8d Add Banners to all reminder usages behind remote config. 2024-08-22 12:58:33 -07:00
Nicholas Tinsley
f296fcd716 Restore-after-registration fixes. 2024-08-22 12:58:33 -07:00
Alex Hart
fa7e4c9686 Add ignore for checkout flow test for the time being. 2024-08-22 12:58:33 -07:00
Nicholas Tinsley
22dd1da985 Only show playable videos in the media preview fragment. 2024-08-22 12:58:33 -07:00
Nicholas Tinsley
32a00b5c75 Update downloadAttachmentIfNeeded() to use a when expression. 2024-08-22 12:58:33 -07:00
Nicholas Tinsley
263690d3e2 Delete PagingMediaLoader.java 2024-08-22 12:58:33 -07:00
Alex Hart
54c07dd966 Ensure unread bubble is hidden on mentions scroll button. 2024-08-22 12:58:33 -07:00
Nicholas Tinsley
e036c8992f Don't display erroneous remaining time in video player. 2024-08-22 12:58:33 -07:00
mtang-signal
879c794324 Bump version to 7.14.2 2024-08-22 11:50:42 -07:00
mtang-signal
57af49953a Update translations and other static files. 2024-08-22 11:45:55 -07:00
Nicholas Tinsley
6f6665e1d4 Catch device-specific media button receiver exceptions during initialization. 2024-08-22 13:53:13 -04:00
Cody Henthorne
d20b610768 Improve network reliability. 2024-08-22 13:02:10 -04:00
Cody Henthorne
bcbe39c85c Bump version to 7.14.1 2024-08-13 16:00:20 -04:00
Cody Henthorne
b2e1f41b0e Update baseline profile. 2024-08-13 15:55:08 -04:00
Cody Henthorne
7cb2c3415a Update translations and other static files. 2024-08-13 15:48:26 -04:00
mtang-signal
d0a06ab3de Fix repeating battery optimization alerts. 2024-08-13 11:32:27 -07:00
Michelle Tang
ae923c9221 Remove immediate screen lock option. 2024-08-13 11:24:08 -07:00
mtang-signal
1a5ce9b4b9 Fix ISE in media gallery. 2024-08-13 11:09:09 -07:00
Greyson Parrelli
748cd00883 Improve network reliability. 2024-08-13 12:47:41 -04:00
Greyson Parrelli
1e4e6b6b41 Potential fix for missing FTS tables. 2024-08-13 11:30:18 -04:00
Cody Henthorne
19f3219224 Fix crash when outgoing call picked up while in the background. 2024-08-13 10:51:12 -04:00
Greyson Parrelli
6358589e19 Add disclaimer about bundletool bug. 2024-08-13 10:36:37 -04:00
Michelle Tang
08d8564c00 Add minor UI updates to screen lock. 2024-08-12 16:22:43 -07:00
mtang-signal
68c7ce5823 Bump version to 7.14.0 2024-08-08 12:51:34 -07:00
mtang-signal
bfcbfed0a6 Update baseline profile. 2024-08-08 12:38:33 -07:00
mtang-signal
8f99930168 Update translations and other static files. 2024-08-08 12:30:12 -07:00
Michelle Tang
21019d1726 Add manufacturer to notification help. 2024-08-08 12:22:34 -07:00
Nicholas Tinsley
7807d92825 Display progress for RestoreAttachmentJobs as a Banner. 2024-08-08 12:22:34 -07:00
Nicholas Tinsley
4af6e0480a Fix playback position indicator for trimmed video clips. 2024-08-08 12:22:34 -07:00
Alex Hart
1d6917476e Pop the "Create backup now" sheet after different instances of subscribing to backups. 2024-08-08 12:22:34 -07:00
Michelle Tang
3bdbd69a7d Update screen lock. 2024-08-08 12:22:34 -07:00
Alex Hart
c880db0f4a Fix checkout flow activity close on error. 2024-08-08 12:22:34 -07:00
Michelle Tang
385ba3590c Fix device bottom sheet ISE 2024-08-08 12:22:34 -07:00
Alex Hart
c63beb5b2c Hide optimization option if the user doesn't have backups enabled. 2024-08-08 12:22:34 -07:00
Nicholas Tinsley
7dc15f8bd3 Wire up event bus in EnterCodeFragment. 2024-08-08 12:22:34 -07:00
Nicholas Tinsley
e83c6dc7c2 Prevent ISE during code entry in registration. 2024-08-08 12:22:34 -07:00
Nicholas Tinsley
d45acd0e24 Migrate existing Reminders to Banners. 2024-08-08 12:22:34 -07:00
Alex Hart
16a732171a Add 'create a pin' button to backups sub pin entry sheet. 2024-08-08 12:22:34 -07:00
Alex Hart
b9da045f79 Add proper styling for incorrect pin text. 2024-08-08 12:22:34 -07:00
Alex Hart
ccabd9edd8 Add espresso tests for donations flow. 2024-08-08 12:22:34 -07:00
Nicholas Tinsley
11d165a17b Introduce Banners. 2024-08-08 12:22:34 -07:00
Nicholas Tinsley
ef2c67d808 Registration: check if phone number is possible.
As opposed to "valid."
2024-08-08 12:19:01 -07:00
Alex Hart
6ac510a156 Add error state for pin entry during backups flow. 2024-08-08 12:19:01 -07:00
Alex Hart
da74874815 Refresh settings screen after disabling backups. 2024-08-08 12:19:01 -07:00
Alex Hart
ff9c77c2e2 Fix backups checkout flow next state. 2024-08-08 12:19:01 -07:00
Greyson Parrelli
2c11a27897 Fix emoji full text search.
Co-authored-by: Nolan Woods <innovate.invent@gmail.com>
2024-08-08 12:19:01 -07:00
Alex Hart
8dc910e71d Move pip above controls when expanded or not enough space in landscape. 2024-08-08 12:19:01 -07:00
Nicholas Tinsley
cbd587f142 Fix post-registration restore closing the app. 2024-08-08 12:19:01 -07:00
Jim Gustafson
ffd2e164bf Update to RingRTC v2.46.0 2024-08-08 12:19:01 -07:00
Greyson Parrelli
ddb367edbe Update WebView fields in AndroidManifest. 2024-08-08 12:19:01 -07:00
Greyson Parrelli
981e7a4270 Tweak when decryption drained state is reset. 2024-08-08 12:19:01 -07:00
Michelle Tang
b46b04fcdf Update strings. 2024-08-08 12:19:01 -07:00
Cody Henthorne
aebaff736c Fix mic usage for api34 when app is backgrounded. 2024-08-08 12:19:01 -07:00
Greyson Parrelli
8932eef991 Convert some SignalServiceAttachment* classes to kotlin. 2024-08-08 12:19:01 -07:00
Fedor Indutny
bb01c0501b Fix info string in deriveMediaId. 2024-08-08 12:19:00 -07:00
Alex Hart
1d1ea01cc1 Add optimize storage setting and sheet. 2024-08-08 12:19:00 -07:00
Cody Henthorne
2677665069 Fix group send error handling for single targets. 2024-08-08 12:19:00 -07:00
Greyson Parrelli
ea215ef488 Fix network interaction in backup service. 2024-08-08 12:19:00 -07:00
Greyson Parrelli
d9586e8d00 Revert "Upgrade Jetpack Compose to 2024.04.00."
This reverts commit f1fbd647685ab51e54863a763b37978505251b8e.
2024-08-08 12:19:00 -07:00
Greyson Parrelli
e1283a66fd Fix issue where mediaName is stored in proto incorrectly. 2024-08-08 12:19:00 -07:00
Alex Hart
fb82703740 Ensure calling pip is in landscape if we leave the activity while in landscape mode. 2024-08-08 12:19:00 -07:00
Greyson Parrelli
5e03e31ffd Fix various AccountData backupV2 import/export bugs.
I'm not including the auto-generated test files yet because I'm still
making tweaks, but these are all valid fixes that got the current
(uncommitted) batch of test files passing.
2024-08-08 12:19:00 -07:00
Nicholas Tinsley
4091af3632 Upgrade Jetpack Compose to 2024.04.00. 2024-08-08 12:19:00 -07:00
Nicholas Tinsley
1b729c42b6 Upgrade AndroidX Lifecycle to 2.8.4.
This also adds a dependency on the lifecycle-runtime-compose artifact.
2024-08-08 12:19:00 -07:00
Alex Hart
5c139aa5b1 Fix reaction positioning in large group calls. 2024-08-08 12:19:00 -07:00
Cody Henthorne
dc7208922c Update target SDK to 34. 2024-08-08 12:19:00 -07:00
Nicholas Tinsley
6424c6bc99 Fixes for restoring a backup after completing registration. 2024-08-08 12:19:00 -07:00
Michelle Tang
57adab858c Add selected photos access. 2024-08-08 12:19:00 -07:00
Alex Hart
4f001a0c95 Default admin approval to on in call links UI. 2024-08-08 12:19:00 -07:00
Jim Gustafson
12529e9fb0 Update to RingRTC v2.45.0 2024-08-08 12:19:00 -07:00
Alex Hart
d406e8f5b8 Add support for several backup alert sheets. 2024-08-08 12:19:00 -07:00
Greyson Parrelli
fb2a332513 Update to latest Backup.proto. 2024-08-08 12:19:00 -07:00
Greyson Parrelli
c2bdac80dc Bump version to 7.13.3 2024-08-06 11:40:32 -04:00
Greyson Parrelli
db00000d66 Update translations and other static files. 2024-08-06 11:38:54 -04:00
Greyson Parrelli
f551a94e58 Fix bug with story sends. 2024-08-06 11:06:31 -04:00
Alex Hart
58a7d3dc08 Bump version to 7.13.2 2024-08-01 16:20:06 -03:00
Alex Hart
3380fa722d Update baseline profile. 2024-08-01 16:06:48 -03:00
Alex Hart
216f57f3ea Update translations and other static files. 2024-08-01 16:03:18 -03:00
Alex Hart
bf4aa85ac3 Fix misplaced call controls when restoring from PIP. 2024-08-01 15:39:02 -03:00
Cody Henthorne
e4966da3ef Fix crash when receiving GSE before state membership updated. 2024-07-31 16:32:46 -04:00
Alex Hart
79c7c2345f Bump version to 7.13.1 2024-07-31 16:35:16 -03:00
Alex Hart
d516037be9 Update baseline profile. 2024-07-31 16:25:15 -03:00
Alex Hart
008b38594d Update translations and other static files. 2024-07-31 16:18:56 -03:00
Cody Henthorne
15b59457f7 Fix expiration clock UI reseting incorrectly on edit. 2024-07-31 14:11:36 -04:00
Cody Henthorne
5ddd1651ee Fix stream reset error handling. 2024-07-30 13:55:08 -04:00
Cody Henthorne
8ca89d2024 Add additional debugging info to group processing lock handling. 2024-07-29 12:37:40 -04:00
Alex Hart
585c8cd863 Fix donation action routing. 2024-07-29 12:24:19 -03:00
Alex Hart
faf6ab233f Remove instance save/restore for the time being. 2024-07-29 10:28:52 -03:00
Nicholas Tinsley
95cbc91bf0 Bump version to 7.13.0 2024-07-26 23:53:15 +02:00
Nicholas Tinsley
9480e23455 Update translations and other static files. 2024-07-26 23:47:28 +02:00
Nicholas Tinsley
727a0f8273 Add additional verification code parser test case. 2024-07-26 23:43:54 +02:00
Nicholas Tinsley
279e55d65f Wire in time remaining for registration lock responses. 2024-07-26 23:43:54 +02:00
Nicholas Tinsley
c36fba2ab7 Handle registration error codes if the user backs out from the enter code screen. 2024-07-26 23:43:54 +02:00
Alex Hart
1d0997379f Add support for several BackupAlert sheet primary actions. 2024-07-26 23:43:54 +02:00
Alex Hart
1a7611d505 Add worker method for determining where to take a user when they press signal backups. 2024-07-26 23:43:53 +02:00
Nicholas Tinsley
36846301de Add missing handling for sessions that are already verified. 2024-07-26 23:43:53 +02:00
Nicholas Tinsley
b8e81e6677 Add missing registration lock route. 2024-07-26 23:43:53 +02:00
Greyson Parrelli
3d169bffd0 Reserve server-only field in SignalService.proto. 2024-07-26 23:43:53 +02:00
Nicholas Tinsley
556a25447e Add logging around registration code autofill. 2024-07-26 23:43:53 +02:00
Alex Hart
b42e48a08a Add ability to long press 'Chats' to get backups subscriber id. 2024-07-26 23:43:53 +02:00
Alex Hart
b1a4e889bc Add support for downgrading backup. 2024-07-26 23:43:53 +02:00
mtang-signal
e6fb01a67b Fix strings. 2024-07-26 23:43:53 +02:00
Nicholas Tinsley
6c042f6e47 Add small debugging log statements to ReRegisterWithPinFragment. 2024-07-26 23:43:53 +02:00
Nicholas Tinsley
f87ff58701 Convert registration error handling from callbacks to observers. 2024-07-26 23:43:53 +02:00
Cody Henthorne
4fb335de28 Clear drafts when leaving groups. 2024-07-26 23:43:53 +02:00
Alex Hart
725d8dc85d Fixup spinner build. 2024-07-26 23:43:53 +02:00
Alex Hart
e76153b2fd Hide waiting to be let in banner by default. 2024-07-26 23:43:53 +02:00
Greyson Parrelli
0b98901634 Integrate libsignal validator into backup tests. 2024-07-26 23:43:53 +02:00
Nicholas Tinsley
57feb272d2 Clear out any existing registration sessions if the E164 changes. 2024-07-26 23:43:53 +02:00
Greyson Parrelli
7b0badef19 Get shared backup tests working. 2024-07-26 23:43:53 +02:00
Alex Hart
36640edfee Add more error messaging for backups. 2024-07-26 23:43:53 +02:00
Alex Hart
4e07c07ca9 Add backups error string for payment setup errors. 2024-07-26 23:43:53 +02:00
Greyson Parrelli
31ddc5bcc0 Do not crash on invalid sessions. 2024-07-26 23:43:53 +02:00
Alex Hart
c80f459c37 Add CreateBackupBottomSheet. 2024-07-26 23:43:53 +02:00
Alex Hart
2a6dab41f5 Route InAppPaymentType and begin splitting out error messages. 2024-07-26 23:43:53 +02:00
Greyson Parrelli
e6d8e36141 Add new backup testing infrastructure. 2024-07-26 23:43:53 +02:00
Alex Hart
816c9360cd Implement backup receipt generation. 2024-07-26 23:43:53 +02:00
Greyson Parrelli
82c3265be5 Remove now-unnecessary exclusion from apkdiff.py.
Used to need it because baselineprof was non-deterministic, but google
has since fixed this in newer versions of AGP.
2024-07-26 23:43:53 +02:00
Greyson Parrelli
ab03a627da Upgrade libsignal-client to 0.52.5 2024-07-26 23:43:53 +02:00
Greyson Parrelli
81a45ddc09 Fix JobDatabase queue nullability crash. 2024-07-26 23:43:53 +02:00
Cody Henthorne
f1115130b2 Fix incorrect thread used for delete chat history. 2024-07-26 23:43:53 +02:00
Greyson Parrelli
2d557215a0 Don't check for linked devices if not registered. 2024-07-26 23:43:53 +02:00
Alex Hart
cc806a2f79 Add generic payment in progress strings. 2024-07-26 23:43:53 +02:00
Greyson Parrelli
853c934a5a Rotate the crash config feature flag. 2024-07-26 23:43:53 +02:00
Greyson Parrelli
f1ba947a59 Add a "connectivity warning" bottom sheet. 2024-07-26 23:43:53 +02:00
Alex Hart
44b2c62a0e Add finalized strings to strings.xml for backups. 2024-07-26 23:43:53 +02:00
Greyson Parrelli
06d475fb6e Move constraint filtering down into JobStorage to improve perf. 2024-07-26 23:43:53 +02:00
Greyson Parrelli
36dface175 Fix job deletion bug, add performance tests. 2024-07-26 23:43:53 +02:00
Greyson Parrelli
86cf8200b5 Remove cases where all jobs were expected to be in memory. 2024-07-26 23:43:53 +02:00
Greyson Parrelli
973dc72cfa Use a minimal job spec representation in memory. 2024-07-26 23:43:53 +02:00
Greyson Parrelli
eb59afc33c Improve efficiency of sorting jobs in FastJobStorage. 2024-07-26 23:43:53 +02:00
Alex Hart
625ca832b0 Fix bad padding in expired story quotes. 2024-07-26 23:43:53 +02:00
Clark
bc6face873 Fix edit message clearing story reply quote. 2024-07-26 23:43:53 +02:00
Clark
0aeaec8b67 Show edited time instead of original time. 2024-07-22 11:59:12 -04:00
Alex Hart
b70b058925 Fix crash with reused destroyed context. 2024-07-22 11:59:12 -04:00
Greyson Parrelli
e17cf37799 Allow use of the in-app emoji picker when using system emoji. 2024-07-22 11:59:12 -04:00
Alex Hart
330debcf37 Add Snackbar displaying message that user is awaiting entry to an ad hoc call. 2024-07-22 11:59:12 -04:00
mtang-signal
6641cc4806 Update device notification prompt. 2024-07-22 11:59:12 -04:00
Michelle Tang
bd3ab2cc38 Update editing animation. 2024-07-22 11:59:12 -04:00
Clark
fa487e1885 Dont set subscriber data if subscriber is null. 2024-07-22 11:59:12 -04:00
Clark
eb2fc33940 Cap size of group updates. 2024-07-22 11:59:11 -04:00
Alex Hart
c39739bcb4 Add call info treatment for unknown members. 2024-07-22 11:59:11 -04:00
Alex Hart
e7720640d1 Implement landscape calling. 2024-07-22 11:59:11 -04:00
Greyson Parrelli
6e55bc04ab Bump version to 7.12.2 2024-07-22 11:58:41 -04:00
Greyson Parrelli
56ab95b0e1 Update translations and other static files. 2024-07-22 11:58:11 -04:00
Greyson Parrelli
678c1459e9 Fix welcome screen button after pressing back on transfer screen. 2024-07-22 11:40:25 -04:00
Greyson Parrelli
e87b73cc19 Bump version to 7.12.1 2024-07-19 16:09:27 -04:00
Greyson Parrelli
45e1ecd07e Update baseline profile. 2024-07-19 16:09:05 -04:00
Greyson Parrelli
7b043d4143 Update translations and other static files. 2024-07-19 15:50:45 -04:00
Alex Hart
046d439887 Do not restrict parcelized type. 2024-07-19 16:32:29 -03:00
Greyson Parrelli
b34bf4b8b0 Initialize app dependencies earlier. 2024-07-18 12:03:23 -04:00
Nicholas Tinsley
fddc99ab4f Remove noise log statement from ExoPlayer. 2024-07-18 11:07:27 -04:00
Rashad Sookram
1007111310 Update to RingRTC v2.44.4 2024-07-18 08:54:54 -04:00
Greyson Parrelli
3346a1e918 Bump version to 7.12.0 2024-07-17 15:44:50 -04:00
Greyson Parrelli
9c391eb2c9 Update baseline profile. 2024-07-17 15:44:50 -04:00
Greyson Parrelli
f714e038a0 Update translations and other static files. 2024-07-17 15:30:28 -04:00
Greyson Parrelli
61405a62c2 Fix NPE in exoplayer transfer listener. 2024-07-17 15:21:14 -04:00
Alex Hart
d424a60345 Fix group call flickering missed. 2024-07-17 15:21:14 -04:00
Clark
3c10966a36 Add logging for Conversation activity restart due to config changes. 2024-07-17 15:21:14 -04:00
Clark
e210d5939c Dismiss battery saver prompt on continue. 2024-07-17 15:21:14 -04:00
Cody Henthorne
1fafcc69ff Improve large upload over slow connections. 2024-07-17 15:21:14 -04:00
Clark
3184368fa7 Various backup/restore bug fixes. 2024-07-17 15:21:14 -04:00
Greyson Parrelli
c622b7fdb1 Remove all legacy uploads to cdn0. 2024-07-17 15:21:14 -04:00
Alex Hart
29ead80e17 Remove outline on generated call link preview. 2024-07-17 15:21:14 -04:00
Alex Hart
9a72833e06 Filter out outgoing calls and call links in missed call filter. 2024-07-17 15:21:14 -04:00
Alex Hart
d0baf1dc95 Remove appbar offset listener when call log is unbound. 2024-07-17 15:21:14 -04:00
Michelle Tang
7f1227ee19 Add discard draft confirmation when editing. 2024-07-16 17:08:10 -07:00
Nicholas Tinsley
34c95dc082 Audio device logging. 2024-07-16 17:57:05 -04:00
Nicholas Tinsley
10ad73f201 Add logging around data source reading. 2024-07-16 17:48:47 -04:00
Nicholas Tinsley
21fab7c5ba Fix backing out of group story text send. 2024-07-16 17:36:14 -04:00
Nicholas Tinsley
e9c2f96bb9 Increase logging around attachment compression/upload job lifecycle. 2024-07-16 17:31:45 -04:00
Nicholas Tinsley
a950462451 Apply phone number formatting immediately. 2024-07-16 16:54:39 -04:00
Nicholas Tinsley
809317c0fd Run registration UI callbacks in LifeycleScope. 2024-07-16 16:54:39 -04:00
Cody Henthorne
6634540183 Fix generation and update baseline profile. 2024-07-16 16:54:39 -04:00
Alex Hart
89bfba3ee9 Backups subscription flow odds and ends. 2024-07-16 16:54:39 -04:00
Alex Konradi
97974291d2 Update to libsignal 0.52.2 2024-07-16 16:54:38 -04:00
Cody Henthorne
6daee5719b Allow for larger input videos for sending. 2024-07-16 16:54:38 -04:00
Clark
58443c46be Fix username constraint on re-reg from prod->staging. 2024-07-16 16:54:38 -04:00
Nicholas Tinsley
8cbecc2992 Upgrade libphonenumber to 8.13.40. 2024-07-16 16:54:38 -04:00
Cody Henthorne
4c0ca48af3 Handle ChatServiceException in response processors. 2024-07-16 16:54:38 -04:00
Greyson Parrelli
91eeda6c6e Allow RemoteConfig to be lazily initialized. 2024-07-16 16:54:38 -04:00
Greyson Parrelli
04e75c18dd Bump version to 7.11.3 2024-07-16 16:48:08 -04:00
Greyson Parrelli
f5fbfbc7fd Update translations and other static files. 2024-07-16 16:40:44 -04:00
Cody Henthorne
0e1df94b54 Fix processing incoming group invites. 2024-07-16 15:45:22 -04:00
Cody Henthorne
dd923629f6 Bump version to 7.11.2 2024-07-12 17:02:55 -04:00
Cody Henthorne
df8992aaca Update translations and other static files. 2024-07-12 16:57:01 -04:00
Cody Henthorne
63b9700865 Fix group sync message sent bug. 2024-07-12 16:48:12 -04:00
Nicholas Tinsley
d309877d63 Fix ISE in registration. 2024-07-12 16:47:51 -04:00
Nicholas Tinsley
f247fd78c6 Constant bitrate video encoding. 2024-07-12 11:01:03 -04:00
Cody Henthorne
4f96cb7439 Bump version to 7.11.1 2024-07-11 16:25:44 -04:00
Cody Henthorne
6e6e3a5eba Update translations and other static files. 2024-07-11 16:14:04 -04:00
Nicholas Tinsley
9166ed64fb Fix crash in nickname update button. 2024-07-11 16:02:15 -04:00
Nicholas Tinsley
25e4eaa8e8 Log successes in audio device switching. 2024-07-10 13:24:15 -04:00
Nicholas Tinsley
6e742ce770 Prevent crash from showing bottom sheet. 2024-07-09 18:20:15 -04:00
Nicholas Tinsley
c134c3033e Prevent ISE with view binding in registration. 2024-07-09 18:20:15 -04:00
Nicholas Tinsley
fb43a8257c Add more logging for rate limited scenarios. 2024-07-09 16:54:30 -04:00
Nicholas Tinsley
cecfe80d61 Simplify reg v2 nav graph names. 2024-07-09 16:13:22 -04:00
Cody Henthorne
6c302b708a Bump version to 7.11.0 2024-07-09 13:55:58 -04:00
Cody Henthorne
6a22919c50 Update baseline profile. 2024-07-09 13:49:15 -04:00
Cody Henthorne
9073ce5c7b Update translations and other static files. 2024-07-09 13:46:48 -04:00
Michelle Tang
9024c19169 Update device-specific notification support configs. 2024-07-09 13:40:41 -04:00
Arthur-GYT
60a0565ba8 Show max edits warning before editing.
Fixes #13428
Closes #13615

Signed-off-by: Arthur-GYT <a.gayot@ik.me>
2024-07-09 13:40:41 -04:00
Cody Henthorne
383f7556e3 Fix delete for everyone dialog option in note to self. 2024-07-09 13:40:41 -04:00
Greyson Parrelli
94795599e2 Inline the delete sync feature flag. 2024-07-09 13:40:41 -04:00
Nicholas Tinsley
84fbb7c466 Update "lower hand" label to "lower" 2024-07-09 13:40:41 -04:00
Cody Henthorne
c339f39b70 Fix camera manager memory leak. 2024-07-09 13:40:41 -04:00
Cody Henthorne
41a3609f06 Fix edit quote draft loading incorrectly bug. 2024-07-09 13:40:41 -04:00
Cody Henthorne
f5abd7acdf Add Group Send Endorsements support. 2024-07-09 13:40:41 -04:00
Nicholas Tinsley
414368e251 Prevent crash when trying to display Contact Support bottom sheet multiple times. 2024-07-09 13:40:41 -04:00
Jim Gustafson
a3d1197aef Update to RingRTC v2.44.3 2024-07-09 13:40:41 -04:00
Nicholas Tinsley
d91760eefc Upgrade AndroidX Media3 to 1.3.1. 2024-07-09 13:40:41 -04:00
Greyson Parrelli
ee20ced238 Switch MediaName to hex encoding. 2024-07-09 13:40:41 -04:00
Alex Hart
066892c11a Make group subtitles auto-update as names change. 2024-07-09 13:40:41 -04:00
Alex Hart
69fd4f79db Stop reading redemptionTime field. 2024-07-09 13:40:41 -04:00
Alex Hart
f49e2768c1 Fix crash in review card repository. 2024-07-09 13:40:41 -04:00
Greyson Parrelli
70378b85d7 Remove unused capabilities. 2024-07-09 13:40:41 -04:00
Nicholas Tinsley
585401a98e Do not download attachment if we do not have a digest. 2024-07-09 13:40:41 -04:00
Alex Hart
cf7ebfa03d Do not mark update unread if user was ever in the call. 2024-07-09 13:40:41 -04:00
Nicholas Tinsley
aec0a9951a Prevent backups from being scheduled twice within the jitter window.
Fixes #13559.
2024-07-09 13:40:41 -04:00
Nicholas Tinsley
b113eec940 Show "Update" action button on profile name change. 2024-07-09 13:40:41 -04:00
Michelle Tang
a966812bfc Add full send attachments. 2024-07-09 13:40:41 -04:00
Alex Hart
3879a8ffdb Pluralize backup strings. 2024-07-09 13:40:41 -04:00
Alex Hart
5b949b0116 Fix call id serialization. 2024-07-09 13:40:41 -04:00
Rashad Sookram
3c13619ce8 Update to RingRTC v2.44.2 2024-07-09 13:40:41 -04:00
Cody Henthorne
24bba98122 Fix sync thread delete sending another sync back. 2024-07-09 13:40:41 -04:00
Cody Henthorne
a96e5e6ae6 Fix delete sync capability updating on linked devices. 2024-07-09 13:40:41 -04:00
Alex Hart
4cfdfab31e Rename more in-app-payment classes. 2024-07-09 13:40:41 -04:00
Alex Hart
77d3116431 Rename DonationValues to InAppPaymentValues. 2024-07-09 13:40:41 -04:00
Alex Hart
b943df1ce4 Add translatable copy for backup alert fragment. 2024-07-09 13:40:41 -04:00
Alex Hart
8bbb7d56e0 Implements a bunch of missing things in the backup checkout flow stuff. 2024-07-09 13:40:41 -04:00
Clark
079a3d4fee Add import/export tests for contact messages and link previews. 2024-07-09 13:40:41 -04:00
Jim Gustafson
176e0e7765 Update to RingRTC v2.44.1 2024-07-09 13:40:41 -04:00
Greyson Parrelli
c73e80f8d9 Include username link entropy in backups. 2024-07-09 13:40:41 -04:00
Greyson Parrelli
47cd1b568f Add lock screen help dialog. 2024-07-09 13:40:41 -04:00
Clark
058c523329 Add support for import/export of shared contact messages. 2024-07-09 13:40:40 -04:00
Clark
84515482a6 Message backup support for link previews. 2024-07-09 13:40:40 -04:00
Chris Eager
02629020df Remove Option.RECAPTCHA from ProofRequiredException. 2024-07-09 13:40:40 -04:00
Clark
58d769b21f Allow exporting backup tests to binproto. 2024-07-09 13:40:40 -04:00
Greyson Parrelli
9dc67e0466 Do not use quote contents in edit sync messages.
Resolves #13571
2024-07-09 13:40:40 -04:00
Greyson Parrelli
72d02104dc Move StringExtensions to core-util-jvm. 2024-07-09 13:40:40 -04:00
Cody Henthorne
371a39049d Ignore flakey delete sync test. 2024-07-03 14:02:59 -04:00
Clark
47e4a6cf5a Regularly delete any archived media we don't know about. 2024-07-03 14:02:59 -04:00
Clark Chen
4a41e9f9a1 Bump version to 7.10.3 2024-07-02 11:21:45 -04:00
Clark Chen
9fa1b58019 Update translations and other static files. 2024-07-02 11:21:45 -04:00
Michelle Tang
c24473e176 Fix default name for linked devices. 2024-07-01 16:44:53 -04:00
mtang-signal
1311ec498f Default to back camera when linking device. 2024-07-01 08:59:35 -04:00
Nicholas Tinsley
251cec5dee Bump version to 7.10.2 2024-06-28 15:23:01 -04:00
Nicholas Tinsley
1e15a8c1d3 Update translations and other static files. 2024-06-28 15:22:12 -04:00
Michelle Tang
9c5c58794b Fix invalid qr code crash. 2024-06-27 16:12:38 -04:00
Nicholas Tinsley
50063854d7 Bump version to 7.10.1 2024-06-26 13:57:39 -04:00
Nicholas Tinsley
79d2041e46 Update translations and other static files. 2024-06-26 13:45:34 -04:00
Nicholas Tinsley
479b27ce94 Fix benchmark tests. 2024-06-26 13:39:28 -04:00
Cody Henthorne
a66857a7cc Fix incorrect local group state bug. 2024-06-26 13:39:28 -04:00
Alex Hart
37815a3f39 Fix bug with cut off avatars. 2024-06-26 13:39:28 -04:00
Alex Hart
b55ba67b66 Split out backup and subscription error sheet handling. 2024-06-26 13:39:28 -04:00
Michelle Tang
37a2d5fbca Release updated linked devices. 2024-06-26 13:39:28 -04:00
Nicholas Tinsley
d7b5c6bff3 Delete registration V1. 2024-06-26 13:39:28 -04:00
Alex Hart
f11028529e Fix hard coded placeholder in iDEAL dialog. 2024-06-25 10:19:27 -03:00
Greyson Parrelli
93ec322bb9 Bump version to 7.10.0 2024-06-24 15:37:57 -04:00
Greyson Parrelli
71e0468d2c Update translations and other static files. 2024-06-24 15:37:08 -04:00
moiseev-signal
816e3442a0 Adopt libsignal 0.51.1 2024-06-24 15:04:03 -04:00
Cody Henthorne
c37ed722dc Attempt to fix potential draft setting loop. 2024-06-24 15:04:03 -04:00
Michelle Tang
e08c2966c3 Move biometrics check when linking a device. 2024-06-24 15:04:03 -04:00
Cody Henthorne
976f80ff7e Fix conversation not closing after delete bug. 2024-06-24 15:04:03 -04:00
Greyson Parrelli
34a4bda331 Do not send PNI-hello-worlds for new installs. 2024-06-24 15:04:03 -04:00
Greyson Parrelli
a4077ccb4a Add app bundle support.
Co-authored-by: Joshua Lund <josh@signal.org>
2024-06-24 15:04:03 -04:00
Cody Henthorne
21ada2a503 Fix request to rejoin after group updates bug. 2024-06-24 15:04:03 -04:00
Alex Hart
57a70c3085 Quiet down auth check job. 2024-06-24 15:04:03 -04:00
Cody Henthorne
16c8b88f0f Fix multiple text attachments when forwarding to multiple recipients.
Fixes #13593
2024-06-24 15:04:03 -04:00
Michelle Tang
b806952430 Add device-specific support configs. 2024-06-24 15:04:03 -04:00
Alex Hart
c0da0bd272 Add proper payment method type to BackupTypeSettings screen. 2024-06-24 15:04:03 -04:00
Alex Hart
45239c2264 Add payment history screens for backups. 2024-06-24 15:04:03 -04:00
Alex Hart
690236c4e5 Handle manual cancellation UI hint in DonationValues. 2024-06-24 15:04:03 -04:00
Clark
ebee3f72e6 Add test infrastructure for backup binprotos. 2024-06-24 15:04:03 -04:00
Alex Hart
37cec7d44f Implement 1:1 call event delete syncs. 2024-06-24 15:04:03 -04:00
Alex Hart
187fd63a75 Add content for disk full alert for backups. 2024-06-24 15:04:03 -04:00
Greyson Parrelli
362cdfc463 Use a snapshot of the SignalStore during backups. 2024-06-24 15:04:03 -04:00
Greyson Parrelli
863b443317 Convert SignalStore to kotlin. 2024-06-24 15:04:03 -04:00
Greyson Parrelli
341c474610 Remove some indirect database reads from backup export. 2024-06-24 15:04:03 -04:00
Greyson Parrelli
cbb3c0911c Create backups from copies of the database file.
Still more work here to do with regards to certain tables, like
SignalStore and Recipient.
2024-06-24 15:04:03 -04:00
Greyson Parrelli
890facc6f6 Clean up ChatItemExportIterator. 2024-06-24 15:04:03 -04:00
Greyson Parrelli
6fa8337058 Update to the latest backup v2 spec.
Removes some dead protos, removes some sticker details, adds in gift
badges.
2024-06-24 15:04:03 -04:00
Alex Hart
3f1cb65e02 Migrate translatable strings from fragment to xml. 2024-06-24 15:04:03 -04:00
Cody Henthorne
3551e7ec00 Remove rx send remote config and group send using rx always. 2024-06-24 15:04:03 -04:00
Alex Hart
5ecf60a306 Add ability to turn off and delete backups. 2024-06-24 15:04:03 -04:00
Cody Henthorne
6659700a1c Improve delete sync coverage for partial expiring threads. 2024-06-24 15:04:02 -04:00
Cody Henthorne
070174fee6 Add delete sync capability to log section. 2024-06-24 15:04:02 -04:00
Cody Henthorne
09003d85b1 Add single attachment delete sync. 2024-06-24 15:04:02 -04:00
Alex Hart
ea87108def Heal InAppPaymentSubscriber currency if we have a payment with a matching subscriber id. 2024-06-24 15:04:02 -04:00
Nicholas Tinsley
7a696f9a62 Increase pluralization for raised hand snackbar. 2024-06-24 15:04:02 -04:00
Nicholas Tinsley
8ba57a2733 Upgrade OkHttp to 4.12.
Addresses #13491
2024-06-24 15:04:02 -04:00
Cody Henthorne
9824cc2cbe Update delete sync strings. 2024-06-24 15:04:02 -04:00
Michelle Tang
ad60cc72cb Add empty linked device state. 2024-06-24 15:04:02 -04:00
Nicholas Tinsley
1950b80402 Update AndroidX Camera libraries to 1.3.4. 2024-06-24 15:04:02 -04:00
Nicholas Tinsley
2acb47952b Differently pluralize raise hand strings. 2024-06-24 15:04:02 -04:00
Cody Henthorne
14cacaef86 Add verbose tracking to DelteForMeSync test to help finding flakey test. 2024-06-24 15:04:02 -04:00
Michelle Tang
958e815933 Remove ability to scan qr code from gallery. 2024-06-24 15:04:02 -04:00
Alex Hart
6b50be78c0 Implement start of backups payment integration work. 2024-06-24 15:04:02 -04:00
Michelle Tang
680223c4b6 Update permission buttons for contacts.
Co-authored-by: Greyson Parrelli <greyson@signal.org>
2024-06-24 15:04:02 -04:00
Greyson Parrelli
1af914d5ef Use SubsamplingImageView for everything except GIFs.
Fixes #10324
2024-06-24 15:04:02 -04:00
Cody Henthorne
a2fc710261 Add support for addressing attachments within a message. 2024-06-24 15:04:02 -04:00
Dan Brunwasser
10922594b3 Improve system emoji rendering across the app with EmojiCompat2.
Resolves #13327
2024-06-24 15:04:02 -04:00
Michelle Tang
abd80c5204 Update linked devices UI. 2024-06-24 15:04:02 -04:00
Alex Hart
ff589e3b91 Fix call link export crash. 2024-06-24 15:04:02 -04:00
Cody Henthorne
c80ccd70ec Add additional delete sync support. 2024-06-24 15:04:02 -04:00
Jim Gustafson
d22d18da47 Update to RingRTC v2.44.0 2024-06-24 15:04:02 -04:00
Clark
75b41c34ea Add import/export for stickers and sticker packs. 2024-06-24 15:04:02 -04:00
Alex Hart
11557e4815 Rewrite fallbackphoto system. 2024-06-24 15:04:02 -04:00
Greyson Parrelli
d698f74d0b Rename FeatureFlags -> RemoteConfig. 2024-06-24 15:04:02 -04:00
Greyson Parrelli
ecbea9fd95 Improve FeatureFlag change detection, use for SVR3. 2024-06-24 15:04:02 -04:00
Greyson Parrelli
13f7a64139 Refactor FeatureFlags. 2024-06-24 15:04:02 -04:00
Michelle Tang
39cb1c638e Remove sms tag from contacts. 2024-06-24 15:04:02 -04:00
Nicholas Tinsley
489b58ad67 Abort transcoding if frame processing gets stuck. 2024-06-24 15:04:02 -04:00
Cody Henthorne
f20fe33af9 Ignore flakey delete sync test. 2024-06-24 15:04:02 -04:00
Clark
6adddf4a0c Add display of last backup time to restore flow. 2024-06-24 15:04:01 -04:00
Clark Chen
16773c9b17 Fix import/export tests with my story. 2024-06-24 15:04:01 -04:00
Michelle Tang
4b50365fa9 Release updated linked devices behind feature flag. 2024-06-24 15:04:01 -04:00
Clark Chen
98766b9ebb Fix backup type dark mode. 2024-06-24 15:04:01 -04:00
Cody Henthorne
45a739ce92 Show notification for group adds. 2024-06-24 15:04:01 -04:00
Clark
c0d7145ada Add handling for "My Story" import/export. 2024-06-24 15:04:01 -04:00
Clark
f94c007af8 Make message backup settings screen update properly. 2024-06-24 15:04:01 -04:00
Michelle Tang
df19cb5795 Increase minimum height of keyboard. 2024-06-24 15:04:01 -04:00
Nicholas Tinsley
e6ceb55092 Match account deletion number by short NSN.
Fixes #13583.
2024-06-24 15:04:01 -04:00
Michelle Tang
bfe2b5cba9 Add loading screen to linked devices. 2024-06-21 09:19:47 -03:00
Alex Hart
571004df50 Tokenize group title search. 2024-06-21 09:19:47 -03:00
Greyson Parrelli
f32b59f0aa Fix crash with AnalyzeDatabaseJob. 2024-06-21 09:19:47 -03:00
Greyson Parrelli
e4019d8595 Ignore deprecated backup tests. 2024-06-21 09:19:47 -03:00
Greyson Parrelli
0b66a8701e Convert FeatureFlags to kotlin. 2024-06-21 09:19:47 -03:00
Clark
e62b8de1bc Fix most of import/export integration tests. 2024-06-21 09:19:47 -03:00
Michelle Tang
d5cd790871 Remove redundant gallery permission ask. 2024-06-21 09:19:47 -03:00
Greyson Parrelli
664c22d8f1 Add mostly-working SVR3 implementation behind flag. 2024-06-21 09:19:47 -03:00
Cody Henthorne
143a61e312 Fix calling error state display bugs. 2024-06-21 09:19:47 -03:00
Michelle Tang
baaad0e475 Fix camera-first qr scans. 2024-06-21 09:19:47 -03:00
Michelle Tang
7086709082 Update devices screen after linking a new device. 2024-06-21 09:19:47 -03:00
Michelle Tang
7bd5ad8c0b Use common compose qr screen for usernames. 2024-06-21 09:19:47 -03:00
Michelle Tang
df19c91ae2 Add padding to quoted messages. 2024-06-21 09:19:47 -03:00
Clark
e5872037e0 Add import/export of chat colors. 2024-06-21 09:19:47 -03:00
Clark
b782fabbb6 Update backup proto with subscriber and recipient changes. 2024-06-21 09:19:47 -03:00
Greyson Parrelli
485b466bd2 Crash on RuntimeExceptions thrown during all Jobs. 2024-06-21 09:19:47 -03:00
Greyson Parrelli
3beac6dfa9 Fix linked device inactive filtering. 2024-06-21 09:19:47 -03:00
Michelle Tang
98290a9fa3 Update max limit string. 2024-06-21 09:19:47 -03:00
Michelle Tang
13dd59f226 Skip biometrics check if unavailable when linking a device. 2024-06-21 09:19:47 -03:00
Michelle Tang
d9c42a4135 Add ability to scan linked device qr code from gallery. 2024-06-21 09:19:47 -03:00
Greyson Parrelli
644b93e5a3 Provide default text background color. 2024-06-21 09:19:47 -03:00
Greyson Parrelli
3ff218f9c6 Make build deprecation more resilient to clock skew. 2024-06-21 09:19:47 -03:00
Alex Hart
f572eb5322 Add CallLink Observed event and handling. 2024-06-21 09:19:47 -03:00
Michelle Tang
d3eb480d31 Update add linked devices screen. 2024-06-21 09:19:47 -03:00
Michelle Tang
ac52b5b992 Update linked devices screen. 2024-06-21 09:19:47 -03:00
Michelle Tang
5c181e774f Prevent editing on stickers. 2024-06-21 09:19:46 -03:00
Michelle Tang
05d25718da Add animation when editing a message. 2024-06-21 09:19:46 -03:00
Clark
66c50bef44 Hook up message backup restore flow to reg v2.
Co-authored-by: Nicholas Tinsley <nicholas@signal.org>
2024-06-21 09:19:46 -03:00
Alex Hart
26bd59c378 Bump version to 7.9.6 2024-06-20 18:13:53 -03:00
Alex Hart
e90eae6080 Update baseline profile. 2024-06-20 18:08:30 -03:00
Alex Hart
86a7db7653 Update translations and other static files. 2024-06-20 18:05:24 -03:00
Cody Henthorne
230de7e9dc Use URL for S3.
Thanks to Oscar Mira <valldrac@molly.im> for bringing this to our attention.
2024-06-20 12:15:49 -04:00
Greyson Parrelli
4b8546a151 Bump version to 7.9.5 2024-06-14 15:16:17 -04:00
Greyson Parrelli
ecd214b91b Update translations and other static files. 2024-06-14 15:15:35 -04:00
Greyson Parrelli
6b5de6e3e5 Only do local donation cancel if it's currently active. 2024-06-14 15:06:13 -04:00
Greyson Parrelli
58b6e49aae Fix NPE when canceling a donation. 2024-06-14 15:06:13 -04:00
Greyson Parrelli
c480512600 Bump version to 7.9.4 2024-06-13 18:34:38 -04:00
Greyson Parrelli
3a5b6476aa Updated language translations. 2024-06-13 18:32:18 -04:00
Alex Hart
cb171092cf Fix crash loop when writing invalid currency . 2024-06-13 18:03:20 -03:00
Nicholas Tinsley
71979b34db Alert user to file system errors during backup restore. 2024-06-13 16:13:43 -04:00
Nicholas Tinsley
73142cea39 Don't hold lazy reference to view binding in delayed runnable. 2024-06-13 15:43:51 -04:00
Nicholas Tinsley
2ab2c6f039 Ensure that substrings match in the registration contact support bottom sheet. 2024-06-13 15:36:41 -04:00
Greyson Parrelli
0bea15c0af Bump version to 7.9.3 2024-06-12 11:23:20 -04:00
Greyson Parrelli
cbd78d78ba Update translations and other static files. 2024-06-12 11:22:44 -04:00
Cody Henthorne
ac0604a753 Fix rare remote megaphone crash. 2024-06-12 11:10:59 -04:00
Nicholas Tinsley
0e57335be1 Split Raise Hand plurals into separate strings. 2024-06-11 11:43:58 -04:00
Greyson Parrelli
c4e64f6fa3 Bump version to 7.9.2 2024-06-10 16:11:51 -04:00
Greyson Parrelli
bf9716f206 Update translations and other static files. 2024-06-10 16:10:42 -04:00
Cody Henthorne
057ffdbaaf Fix conversation memory leak. 2024-06-10 14:54:02 -04:00
Nicholas Tinsley
65dc0d3f34 Disable verbose logging in media converter. 2024-06-10 14:38:19 -04:00
Clark
173ee95e62 Fix backup jitter and add unit tests. 2024-06-10 14:20:56 -04:00
Nicholas Tinsley
789339afa7 Update Raise Hand string. 2024-06-10 11:01:56 -04:00
Nicholas Tinsley
21b518da7a Don't show volume indicator nor switch camera button until incoming call connects. 2024-06-10 11:01:56 -04:00
Nicholas Tinsley
57b6b8dcf1 Improve Raise Hand behavior when in a call with a linked device. 2024-06-07 13:53:58 -04:00
Cody Henthorne
543a85316e Improve FCM check clock skew handling. 2024-06-07 13:02:44 -04:00
Cody Henthorne
2fedb3a0ee Bump version to 7.9.1 2024-06-07 11:59:02 -04:00
Cody Henthorne
ae450aed67 Update baseline profile. 2024-06-07 11:48:08 -04:00
Cody Henthorne
0abb4727fc Update translations and other static files. 2024-06-07 11:30:34 -04:00
Alex Hart
4bc6eb96ff Fix 3DS waiting-for-auth state when launching external application. 2024-06-07 11:05:09 -04:00
Nicholas Tinsley
e6a126d416 Only submit captcha once in Registration V2. 2024-06-07 11:05:09 -04:00
Nicholas Tinsley
fdf858f379 Prevent crash if linked device also raises their hand. 2024-06-07 11:05:09 -04:00
Nicholas Tinsley
4151d123cd Fix crash in registration v2 country code drop down. 2024-06-07 11:05:09 -04:00
Nicholas Tinsley
c8a9759eba Unify Raise Hand copy. 2024-06-07 11:05:09 -04:00
Cody Henthorne
c59b74627f Improve strings for localization. 2024-06-07 11:05:09 -04:00
Nicholas Tinsley
f2191d2996 Adjust text colors in dark mode in Registration V2. 2024-06-07 11:05:09 -04:00
Cody Henthorne
7dfffbd50b Add missing windows aapt2. 2024-06-06 10:21:22 -04:00
Cody Henthorne
329fc52077 Bump version to 7.9.0 2024-06-05 16:20:29 -04:00
Cody Henthorne
8976111f61 Update translations and other static files. 2024-06-05 15:54:32 -04:00
Cody Henthorne
7402959ac6 Fix error handling for resumable uploads to cdn3. 2024-06-05 15:46:01 -04:00
Nicholas Tinsley
220d3877a2 Fix phone number autofill in Registration V2. 2024-06-05 15:46:01 -04:00
Clark Chen
380c33642c Clean quote when canceling edit message. 2024-06-05 15:46:01 -04:00
Alex Hart
7acb2bef3d Fix private story listing My Story as a recipient. 2024-06-05 15:46:01 -04:00
Greyson Parrelli
1a103106a5 Catch more stuff in SqlCipherDeletingErrorHandler.
Fixes #13577
2024-06-05 15:46:01 -04:00
Greyson Parrelli
6025e423e8 Fix payment request message text. 2024-06-05 15:46:01 -04:00
Greyson Parrelli
54656ea14e Potentially fix 'design assumption violated' ISE. 2024-06-05 15:46:01 -04:00
Alex Hart
fd00ed71b5 Fix clickable link in donation thanks sheet. 2024-06-05 15:46:01 -04:00
Nicholas Tinsley
d4fba5f3c7 Ship Raise Hand. 2024-06-05 15:46:01 -04:00
Alex Hart
ce244f2e8f Fix hit detection for story link previews. 2024-06-05 15:46:01 -04:00
Cody Henthorne
4ad466390f Fix second person translations for group story reactions. 2024-06-05 15:46:01 -04:00
Nicholas Tinsley
c5c9b09f7b Turn on Registration V2 and Change Number V2. 2024-06-05 15:46:01 -04:00
Nicholas Tinsley
0638b31c1f More registration lock V2 improvements. 2024-06-05 15:46:01 -04:00
Nicholas Tinsley
c3c713a75a Prevent getting stuck on registration lock V2 fragment. 2024-06-05 15:46:01 -04:00
Nicholas Tinsley
9af1c72233 Registration V2 restore tweaks. 2024-06-05 15:46:01 -04:00
Nicholas Tinsley
500a1e46ad Improve ABS logging. 2024-06-05 15:46:01 -04:00
Nicholas Tinsley
4b446877af Change number captcha submission improvement. 2024-06-05 15:46:01 -04:00
Nicholas Tinsley
015548613a Fix change view model test.
Co-authored-by: Cody Henthorne <cody@signal.org>
2024-06-05 15:46:01 -04:00
Alex Hart
30b339a482 Remove unnecessary subscriber call for manual cancel. 2024-06-05 15:46:01 -04:00
Cody Henthorne
6dcb2e8d24 Fix androidTest message content fuzer for attachment pointers. 2024-06-05 15:46:01 -04:00
Cody Henthorne
3e8e17526b Fix missing group context on message records. 2024-06-05 15:46:01 -04:00
Clark Chen
30ecaf7aea Remove double remote deleted column from ChatItemImportInserter. 2024-06-05 15:46:01 -04:00
Greyson Parrelli
f761008509 Clean up some stuff around ImportExportTest. 2024-06-05 15:46:01 -04:00
Greyson Parrelli
c3ab8dddd0 Fix runPostSuccessfulTransaction behavior. 2024-06-05 15:46:01 -04:00
Alex Hart
164f089d37 Fix NPE in deleteAll call. 2024-06-05 15:46:01 -04:00
Alex Hart
a021b400bd Fix SafetyNumberBottomSheetRepositoryTest. 2024-06-05 15:46:01 -04:00
Greyson Parrelli
fac8f403be Remove outdated dlist test. 2024-06-05 15:46:01 -04:00
Clark
d85ab37828 Add import and tombstones for mobile coin payments. 2024-06-05 15:46:01 -04:00
Nicholas Tinsley
1e35403c87 Change Number V2. 2024-06-05 15:46:01 -04:00
Nicholas Tinsley
b99c2165fa Handle SVR exceptions in Registration V2. 2024-06-05 15:46:01 -04:00
Nicholas Tinsley
303100bb6b Further registration lock improvements in Registration V2. 2024-06-05 15:46:01 -04:00
Nicholas Tinsley
b71ba79b8a Flesh out registration lock support for Registration V2. 2024-06-05 15:46:01 -04:00
Clark
54cd84b842 Add handling for import/export of edited messages. 2024-06-05 15:46:01 -04:00
Clark
1565ecdcea Fix multiple scheduled backups due to jitter. 2024-06-05 15:46:01 -04:00
Clark
0a99b68d25 Fix shared contacts avatar double upload. 2024-06-05 15:46:01 -04:00
Alex Hart
f4fac5bd90 Prevent reactions from being overlaid by raise hand. 2024-06-05 15:46:01 -04:00
Nicholas Tinsley
f6760b90da Flesh out verification challenge support for registration v2. 2024-06-05 15:46:01 -04:00
Clark
ad9b1f05b4 Disable restore on open if auto-download is off. 2024-06-05 15:46:01 -04:00
Nicholas Tinsley
17581a7a5e Update SignalProgressDialog.
Fixes #12949.
2024-06-05 15:46:01 -04:00
Clark
b41bf66133 Disable "Edited" click listener for outgoing messages. 2024-06-05 15:46:01 -04:00
Clark
8bb3d71472 Fix thumbnail not being clickable on initial media receive. 2024-06-05 15:46:01 -04:00
Nicholas Tinsley
295d4b9466 Pin left GIF button to bottom of compose box. 2024-06-05 15:46:01 -04:00
Ahmed El herz
5e490376f4 Fix initial event not triggering onTouchEvent.
Fixes #13351
2024-06-05 15:46:01 -04:00
Greyson Parrelli
fa27531c00 Inline SVR2 feature flag. 2024-06-05 15:46:01 -04:00
Cody Henthorne
2737e5613c Use raw values for learned profile name event. 2024-06-05 15:46:01 -04:00
Greyson Parrelli
d84612ebf4 Revert "Validate full edit message payload."
This reverts commit 268b621667e3144fb3f07099d04aa5609387a5e6.
2024-06-05 15:46:00 -04:00
Greyson Parrelli
96165ad5a8 Fix username getting prematurely removed from recipient. 2024-06-05 15:46:00 -04:00
Nicholas Tinsley
19caef057e Update to AGP 8.4.1. 2024-06-05 15:46:00 -04:00
Clark
29cafb11eb Update proto and add payments export without tombstone. 2024-06-05 15:46:00 -04:00
Greyson Parrelli
7e458bfde0 Validate full edit message payload. 2024-06-05 15:46:00 -04:00
Clark
2a3cb80217 Add ui wiring for archive thumbnail support. 2024-06-05 15:46:00 -04:00
Greyson Parrelli
3d382ee15e Use extension functions instead of LibSignalNetwork class. 2024-06-05 15:46:00 -04:00
Clark
6069dfc6f8 Add a separate column for tracking thumbnail restore state. 2024-06-05 15:46:00 -04:00
Clark Chen
dee19ed94a Fix attachment table v231 migration consistency. 2024-06-05 15:46:00 -04:00
Greyson Parrelli
905b0681f5 Update otpk/kpk tests. 2024-06-05 15:46:00 -04:00
Greyson Parrelli
b6a4e1f145 Rewrite the AppDependencies system. 2024-06-05 15:46:00 -04:00
Alex Hart
a0131bf39b Fix db inconsistency. 2024-06-05 15:46:00 -04:00
Alex Hart
7ed77a00df Remove unused method from RecipientTable. 2024-06-05 15:46:00 -04:00
Alex Hart
887c173d8f Move camera flip and improve movement of some ui elements. 2024-06-05 15:46:00 -04:00
Cody Henthorne
6362da7a50 Refactor group state processing. 2024-06-05 15:46:00 -04:00
Greyson Parrelli
1296365bed Upgrade to libsignal 0.47.0 2024-06-05 15:46:00 -04:00
Alex Hart
99ae7c5961 Add search view extension for incognito keyboards. 2024-06-05 15:46:00 -04:00
Clark
5c3ea712fe Add streaming video support for attachment files. 2024-06-05 15:46:00 -04:00
Nicholas Tinsley
bc5cb454bf Ship "instant" video playback. 2024-06-05 15:46:00 -04:00
Greyson Parrelli
8a7c2c1e20 Rotate libsignal CDS feature flag. 2024-06-05 15:46:00 -04:00
Cody Henthorne
a81a675d59 Add Delete for Me sync support. 2024-06-05 15:46:00 -04:00
Greyson Parrelli
1c66da7873 Update slow notification debugging info. 2024-06-05 15:46:00 -04:00
Nicholas Tinsley
afe3cd1098 Additional error handling for registration v2. 2024-06-05 15:46:00 -04:00
Alex Hart
4f3ee9ca1d Skip the contact links migration if contact permissions are disabled. 2024-06-05 15:46:00 -04:00
Nicholas Tinsley
7771aaa501 Sort the language list during build for determinism.
Addresses #13565.
2024-06-05 15:46:00 -04:00
Greyson Parrelli
5ad38c7960 Ensure archive data is copied when deduping. 2024-06-05 15:46:00 -04:00
Alex Hart
0fb1514da2 Consolidate subscription information and manage button to a single row. 2024-06-05 15:46:00 -04:00
Nicholas Tinsley
f37efd7e15 Add additional error handling for registration v2. 2024-06-05 15:46:00 -04:00
mtang-signal
1ae2464df1 Update remaining gallery permission UI. 2024-06-05 15:46:00 -04:00
Greyson Parrelli
0425b70d31 Do not show unregistered contacts in search results. 2024-06-05 15:46:00 -04:00
Clark
7b0d3f36dc Ignore digest for downloading archived thumbnails. 2024-06-05 15:46:00 -04:00
Greyson Parrelli
14b917dc7e Fix typo in query resulting in contacts not being unlinked. 2024-06-05 15:46:00 -04:00
Ehren Kret
6184cc0307 Migrate existing raw contacts to add video call links. 2024-06-05 15:46:00 -04:00
Nicholas Tinsley
870aa8e7b0 Fix country code sorting in reg v2. 2024-06-05 15:46:00 -04:00
Greyson Parrelli
d88016669b Shorten groupId string patterns. 2024-06-05 15:46:00 -04:00
Greyson Parrelli
a464b413d9 Use correct label in log. 2024-06-05 15:46:00 -04:00
Alex Hart
d719edf104 Rewrite in-app-payment flows to prepare for backups support. 2024-06-05 15:46:00 -04:00
mtang-signal
b36b00a11c Update camera permission UI for voice calls. 2024-06-05 15:46:00 -04:00
mtang-signal
a99db2b16e Update camera permission UI for usernames. 2024-06-05 15:46:00 -04:00
Greyson Parrelli
2744dec43a Switch to using dateSent for jump-to-calendar.
We use dateSent for date dividers, but were using dateReceived for
calendar date availability, which would occasionally result in a
mismatch. Switched to use the same thing we use for date dividers.
2024-06-05 15:45:59 -04:00
Greyson Parrelli
6f2cce1494 Add acknowledgements from libsigna/ringrtc. 2024-06-05 15:45:59 -04:00
Greyson Parrelli
689ee243aa Fix potential sqlite conflict in dlist on recipient remap. 2024-06-05 15:45:59 -04:00
Cody Henthorne
537fc0ef5c Update to Kotlin 1.9.20, AGP 8.4.0, and Gradle 8.6 2024-06-05 15:45:59 -04:00
Clark Chen
e647b31f29 Explicitly persist message backup tier. 2024-05-17 10:39:09 -04:00
Alex Hart
b59932cd88 Fix compilation error in contacts test app. 2024-05-17 09:33:22 -04:00
Nicholas Tinsley
cfb4377de3 Apply automated ktlint 1.2.1 formatting. 2024-05-17 09:33:22 -04:00
Nicholas Tinsley
e861c022da Disable new ktlint rules with preexisting violations. 2024-05-17 09:33:22 -04:00
Nicholas Tinsley
59006d3182 Upgrade ktlint to 1.2.1. 2024-05-17 09:33:22 -04:00
Nicholas Tinsley
503faea3a9 Support voice verification in registration v2. 2024-05-17 09:33:22 -04:00
Nicholas Tinsley
eb114de5c8 Bump version to 7.8.1 2024-05-16 15:50:48 -04:00
Nicholas Tinsley
1bf9695cff Update translations and other static files. 2024-05-16 15:45:51 -04:00
Clark
241bf065e8 Fix missing thumbnail_file column in media query. 2024-05-16 13:09:58 -04:00
Clark Chen
e0f3b35805 Fix missing archive_thumbnail_cdn column. 2024-05-16 12:30:33 -04:00
Nicholas Tinsley
5741dfc00b Bump version to 7.8.0 2024-05-16 10:24:48 -04:00
Nicholas Tinsley
ec430da772 Update translations and other static files. 2024-05-16 10:20:08 -04:00
Rashad Sookram
5e6d9434de Update to RingRTC v2.42.0 2024-05-16 10:16:10 -04:00
Clark
b72d586748 Add initial thumbnail restore for message backup. 2024-05-16 10:16:10 -04:00
Ehren Kret
757c0fd2ea create video call mimetype for raw contacts links 2024-05-16 10:16:10 -04:00
Nicholas Tinsley
c4e4eaf110 Remove lower hand confirmation dialog. 2024-05-16 10:16:10 -04:00
Nicholas Tinsley
f83275e246 Add customize button to in-call reaction picker. 2024-05-16 10:16:10 -04:00
Greyson Parrelli
d0340d39db Reset backupV2 credentials on 403. 2024-05-16 10:16:10 -04:00
Greyson Parrelli
227a279131 Make sure note to self is included in backupsV2. 2024-05-16 10:16:10 -04:00
mtang-signal
0465fdea62 Update contacts permission UI. 2024-05-16 10:16:10 -04:00
Nicholas Tinsley
13bd4a9c74 Update regv2 result field name. 2024-05-16 10:16:10 -04:00
Greyson Parrelli
f570f1f2c4 Initial test implementation of SVR3. 2024-05-15 15:55:22 -04:00
Nicholas Tinsley
68ced18ea1 Fleshed out session management in registration v2. 2024-05-15 15:55:22 -04:00
Greyson Parrelli
b4a8f01980 Include message timestamp in local send timings. 2024-05-15 15:55:22 -04:00
mtang-signal
c3c743fbb8 Update camera permission UI in media. 2024-05-15 15:55:22 -04:00
Adam Mork
b14eddefc9 Add payment enclave measurements for v6.0.0 2024-05-15 15:55:21 -04:00
Nicholas Tinsley
46638a1948 Bump version to 7.7.2 2024-05-15 15:54:11 -04:00
Nicholas Tinsley
5cee85fcdc Update translations and other static files. 2024-05-15 15:44:52 -04:00
mtang-signal
f97d7e3dfd Fix permissions ask in gallery. 2024-05-15 12:18:50 -07:00
Alex Hart
6da0ecf827 Bump version to 7.7.1 2024-05-10 22:54:45 -03:00
Alex Hart
9803550bba Update baseline profile. 2024-05-10 22:51:55 -03:00
Alex Hart
15284da4c5 Update translations and other static files. 2024-05-10 22:48:55 -03:00
Alex Hart
351c3219e4 Replace RxStore with MutableStateFlow for better lifecycle control. 2024-05-10 22:44:05 -03:00
Alex Hart
ab95dbbc77 Bump version to 7.7.0 2024-05-08 16:43:30 -03:00
Alex Hart
cc6cba45c6 Update baseline profile. 2024-05-08 16:36:44 -03:00
Alex Hart
ce37660df2 Update translations and other static files. 2024-05-08 16:34:17 -03:00
Nicholas Tinsley
ca14ed9b2c Allow for captcha solving for reg v2. 2024-05-08 16:30:53 -03:00
Clark
ba4cdea75d Add cellular backup toggle for message backup. 2024-05-08 16:30:53 -03:00
Clark
83c34dd4cc Integrate swapping backup tiers from backup settings. 2024-05-08 16:30:53 -03:00
Nicholas Tinsley
b6db3802d3 Set raised hand list to be distinct by RecipientID. 2024-05-08 16:30:53 -03:00
Greyson Parrelli
a9a19d3ae0 Add job to upload thumbnails to archive. 2024-05-08 16:30:53 -03:00
Alex Hart
52fb873b1b Specify vibrate attributes to resolve vibrate from background. 2024-05-08 16:30:53 -03:00
moiseev-signal
9a0bb243cd Implement a libsignal-net shadowing web socket. 2024-05-08 16:30:53 -03:00
Nicholas Tinsley
78bbab37fb Show missing FCM dialog in registration V2. 2024-05-08 16:30:53 -03:00
Nicholas Tinsley
9af73b1409 Allow initialization of registration V2 without FCM. 2024-05-08 16:30:53 -03:00
Nicholas Tinsley
9c5bb4aa17 Initial error handling for registration v2. 2024-05-08 16:30:53 -03:00
Clark
49ba83dda8 Integrate message backup frequency. 2024-05-08 16:30:53 -03:00
Clark
de3b0d4ca2 Integrate the backup size into backup settings. 2024-05-08 16:30:53 -03:00
fm-sys
b2efc42357 Add back ability to long press title bar to go to system contact.
Resolves #13372
2024-05-08 16:30:53 -03:00
Cody Henthorne
a71faf674d Cleanup group management code. 2024-05-08 16:30:53 -03:00
moiseev-signal
34faa9003f Upgrade to libsignal 0.46.0. 2024-05-08 16:30:53 -03:00
Clark
bc527a2bc1 Basic settings functionality for message backup. 2024-05-08 16:30:53 -03:00
Nicholas Tinsley
0a3f96935a Support device transfers in restore flow v2. 2024-05-08 16:30:53 -03:00
Alex Konradi
35232a3928 Unwrap ExecutionException from Future observable 2024-05-08 16:30:53 -03:00
Alex Hart
70d74e0bb1 Allow users who have disabled Contacts permission to hide system contacts. 2024-05-08 16:30:53 -03:00
Alex Hart
36c91a95e2 Check spannable intersect when moving between stories. 2024-05-08 16:30:53 -03:00
Greyson Parrelli
4600e38a2a Add partial index to improve unread count perf. 2024-05-08 16:30:52 -03:00
Alex Hart
55abd88a03 Implement better handling for call peeking when opening the calls tab. 2024-05-08 16:30:52 -03:00
mtang-signal
cd880b0879 Expand double tap area. 2024-05-08 16:30:52 -03:00
mtang-signal
bbae6d876f Avoid translating support email strings. 2024-05-08 16:30:52 -03:00
dalamsya50
48a0c5a5a9 Fix git error when running on GitHub Actions.
Fixes #13495
Resolves #13547
2024-05-08 16:30:52 -03:00
BenjaminMuslic
c261df41b0 Added automatic capitalization to profile name fields.
Resolves #13544
2024-05-08 16:30:52 -03:00
Greyson Parrelli
cc98eced27 Short-circuit query if list is empty. 2024-05-08 16:30:52 -03:00
moiseev-signal
452d5960e4 Add test and extra cleanup around usage of incremental mac. 2024-05-08 16:30:52 -03:00
mtang-signal
c95b180728 Update gallery permission UI 2024-05-08 16:30:52 -03:00
Greyson Parrelli
3c380d35fd Attempt to reduce impact of thread updates. 2024-05-08 16:30:52 -03:00
Nicholas Tinsley
41935120e5 DeviceTransferFragment Kotlin rewrite. 2024-05-01 16:45:36 -04:00
Alex Hart
03d8f72c41 Fix group collisions error. 2024-05-01 16:45:36 -04:00
Greyson Parrelli
ab9ecff4d4 Improve timing of query methods. 2024-05-01 16:45:36 -04:00
Alex Hart
e351a0b235 Correct flags for story replies. 2024-05-01 16:45:36 -04:00
Nicholas Tinsley
4a08de370a Fix issue with Mp4Writer with massive time scales. 2024-05-01 16:45:36 -04:00
Cody Henthorne
6d657b449c Convert and update Manage Storage Settings. 2024-05-01 16:45:36 -04:00
Clark
adef572abb Store group snapshot attributes in GroupAttributeBlobs. 2024-05-01 16:45:36 -04:00
Greyson Parrelli
d6f2039bd1 Update attachment cipher tests to use longer inputs. 2024-05-01 16:45:35 -04:00
Clark
1223c3c768 Add support for new backup calls proto and call links. 2024-05-01 16:45:35 -04:00
Greyson Parrelli
333fa22c96 Bump version to 7.6.2 2024-05-01 16:42:29 -04:00
Greyson Parrelli
76c04d8d6d Update translations and other static files. 2024-05-01 16:42:03 -04:00
Greyson Parrelli
c3070f2913 Revert "Expand double tap touch area."
This reverts commit 8c81e47737.
2024-05-01 16:33:33 -04:00
Nicholas Tinsley
234b3967ed Fix button crash in v1 PIN restore fragment. 2024-05-01 10:42:23 -04:00
Greyson Parrelli
89d420cda8 Bump version to 7.6.1 2024-04-30 16:42:44 -04:00
Greyson Parrelli
ced4ece5b8 Update translations and other static files. 2024-04-30 16:41:02 -04:00
mtang-signal
8c81e47737 Expand double tap touch area. 2024-04-30 16:29:33 -04:00
Cody Henthorne
5d15eef61d Improve translations with pluralized string resources. 2024-04-30 16:04:14 -04:00
Greyson Parrelli
8f3e62245f Fix some issues where views were accessed after being destroyed. 2024-04-30 15:22:57 -04:00
Greyson Parrelli
e4ab795c62 Fix stream reading error. 2024-04-30 15:22:57 -04:00
mtang-signal
e4d6f9240f Fix double tap layout warning. 2024-04-30 14:44:00 -04:00
Greyson Parrelli
cfaf40e605 Fix KeyValueDataSet tests. 2024-04-30 11:05:39 -07:00
Greyson Parrelli
bdcf2431e7 Bump version to 7.6.0 2024-04-29 22:04:56 -04:00
Greyson Parrelli
7241283be2 Update baseline profile. 2024-04-29 22:04:56 -04:00
Greyson Parrelli
dde2a8b63a Update translations and other static files. 2024-04-29 22:04:56 -04:00
Greyson Parrelli
f7763a5b82 Be more lenient around long-int conversion in SignalStore. 2024-04-29 22:04:47 -04:00
Greyson Parrelli
c6f4a01001 Hopeful fix for crash in SimpleProgressDialog. 2024-04-29 22:04:31 -04:00
Greyson Parrelli
95a6835988 Improve handling of backup initialization. 2024-04-29 19:26:06 -04:00
moiseev-signal
f9a8f447d2 Support proxy in connections managed by libsignal. 2024-04-29 19:26:06 -04:00
Nicholas Tinsley
d20f588802 Inline the group call reactions feature flag. 2024-04-29 19:25:59 -04:00
Nicholas Tinsley
f23476a4e9 Initial support for restoring backups and skipping SMS in registration v2. 2024-04-29 19:25:59 -04:00
mtang-signal
fd4864b3b1 Update microphone permission UI for calls. 2024-04-29 19:25:59 -04:00
mtang-signal
c5c0c432c4 Update microphone permission UI for voice messages. 2024-04-29 19:25:59 -04:00
Jim Gustafson
69c40a6835 Update to RingRTC v2.41.0 2024-04-29 19:25:59 -04:00
moiseev-signal
7ef7aa65e6 Upgrade to libsignal 0.45.1. 2024-04-29 19:25:59 -04:00
Greyson Parrelli
97c08f0d52 Add additional validations to incremental attachment streams. 2024-04-29 19:25:59 -04:00
mtang-signal
18e6c57e75 Update location permission UI. 2024-04-29 19:25:59 -04:00
mtang-signal
ffc1463cda Add double tap editing feature. 2024-04-29 19:25:59 -04:00
Clark
84e654efb2 Set archive transfer state when archive data is set. 2024-04-29 19:25:59 -04:00
Clark
d983265e08 Persist group state in backup. 2024-04-29 19:25:59 -04:00
Alex Hart
e60b32202e Improved missed call state handling. 2024-04-29 19:25:59 -04:00
moiseev-signal
95fbd7a31c Implement unauthenticated chat web socket connection via libsignal-net. 2024-04-29 19:25:59 -04:00
Nicholas Tinsley
00a91e32fc Multiple skin tones for reaction bursts. 2024-04-29 19:25:59 -04:00
Alex Hart
fa32b7a883 Fix coloring on outgoing calls. 2024-04-24 15:10:12 -03:00
Alex Hart
63e6f955ed Prevent getCallLinks from returning links without root keys. 2024-04-24 14:17:58 -03:00
Alex Hart
7dcb8a425a Handle joined sync message for call links. 2024-04-24 13:31:35 -03:00
Cody Henthorne
f35ce068f9 Change profile fetch REST fallback based on authentication error. 2024-04-24 11:41:31 -04:00
Nicholas Tinsley
881d231a93 Improve group call reactions UI when presented without raise hand.
This also dismisses the custom reaction picker when switching to PiP mode.
2024-04-24 10:13:56 -04:00
Alex Hart
293634c758 Send call link update sync message upon call link creation. 2024-04-24 10:48:00 -03:00
Greyson Parrelli
4134df3f35 Use archive-specific endpoint for attachment backfill. 2024-04-23 16:29:03 -04:00
Clark
f78a019c70 Use seconds instead of millis for redemption time. 2024-04-23 15:56:38 -04:00
Cody Henthorne
d561a1385c Fix extremely long emoji search crash. 2024-04-23 12:29:03 -04:00
moiseev-signal
9b5387e221 Upgrade to libsignal 0.45.0 2024-04-23 12:29:03 -04:00
Cody Henthorne
25b1a814fe Remove legacy keyword search flag from emoji search infra. 2024-04-23 12:29:03 -04:00
Clark
b043b6e458 Schedule message backups when enabled. 2024-04-23 12:29:03 -04:00
Clark
8a972d93e9 Actually use backup jitter in local backups. 2024-04-23 12:29:03 -04:00
Cody Henthorne
8fe66a14c5 Fix multi-window camera crash. 2024-04-23 12:29:03 -04:00
Clark
f82bd64c10 Copy inbound attachments to archive service. 2024-04-23 12:29:03 -04:00
Nicholas Tinsley
4bcab49539 Correct UnopinionatedResponseCodeHandler constant name. 2024-04-23 12:29:03 -04:00
mtang-signal
0f4618ab11 Remove link preview images from shared media. 2024-04-23 12:29:03 -04:00
Cody Henthorne
475ca50fab Fix missing local participant state changes in group calls bug. 2024-04-23 12:29:03 -04:00
Greyson Parrelli
a64a02fa0c Fix issue where structured contact name syncing was delayed. 2024-04-23 12:29:02 -04:00
Clark
f3669a5865 Fix message extra column not being restored properly. 2024-04-23 12:29:02 -04:00
Greyson Parrelli
34dbd11db0 Update file format for backupV2. 2024-04-23 12:29:02 -04:00
Nicholas Tinsley
2e7279c72f Only display "Processing" text on outgoing media. 2024-04-23 12:29:02 -04:00
Nicholas Tinsley
6ad72f00af Fix phone number formatter in Registration V2. 2024-04-23 12:29:02 -04:00
Alex Hart
b771a21518 Add screen for managing backup type. 2024-04-23 12:29:02 -04:00
Greyson Parrelli
04fb459acd Remove unused backup outputstream class. 2024-04-23 12:29:02 -04:00
Greyson Parrelli
690a68f0d0 Remove libweb submodule entirely. 2024-04-23 12:29:02 -04:00
Greyson Parrelli
f34ae8d118 Add padding to the gzipped backup output. 2024-04-23 12:29:02 -04:00
Cody Henthorne
da43ff1e95 Bump version to 7.5.2 2024-04-23 11:42:24 -04:00
Cody Henthorne
f053ebbd51 Update baseline profile. 2024-04-23 11:36:15 -04:00
Cody Henthorne
87606af29c Update translations and other static files. 2024-04-23 11:30:56 -04:00
Cody Henthorne
c811bdcffa Fix benchmark test messages. 2024-04-23 11:26:36 -04:00
Cody Henthorne
0536628da3 Stagger app wake ups due to analyze database alarm. 2024-04-23 10:44:09 -04:00
Nicholas Tinsley
1fa53cfcb8 Prevent crash on attachment delete while voice note system tone is playing. 2024-04-23 10:22:01 -04:00
Cody Henthorne
a9ea3854d2 Bump version to 7.5.1 2024-04-22 17:06:18 -04:00
Cody Henthorne
dc35261e00 Update translations and other static files. 2024-04-22 16:56:39 -04:00
Cody Henthorne
716bc1f5e7 Cleanup dangling domain reference. 2024-04-22 16:52:02 -04:00
Cody Henthorne
db27204084 Validate pni signature message. 2024-04-22 16:33:03 -04:00
Cody Henthorne
42aeceffe2 Revert full usage of ActiveCallManager. 2024-04-22 16:32:27 -04:00
Greyson Parrelli
03845eabaf Bump version to 7.5.0 2024-04-18 16:44:32 -04:00
Greyson Parrelli
62af9dad50 Update translations and other static files. 2024-04-18 16:43:51 -04:00
Cody Henthorne
ee58d47926 Cycle rx message sending flag. 2024-04-18 16:24:13 -04:00
Greyson Parrelli
d74260b536 Improve network reliability. 2024-04-18 16:24:13 -04:00
Alex Hart
15d8a698c5 Add new name collision state management. 2024-04-18 16:24:13 -04:00
Nicholas Tinsley
62cf3feeaa Restore a Local Backup v2 2024-04-18 16:24:13 -04:00
Alex Hart
947ab7d48b Implement skeleton for backup sheets. 2024-04-18 16:24:13 -04:00
Greyson Parrelli
a82b9ee25f Add a job to backfill attachment uploads to the archive service. 2024-04-18 16:24:13 -04:00
mtang-signal
1e4d96b7c4 Add camera permission check to group stories. 2024-04-18 16:24:13 -04:00
Alex Hart
735a8e680c Add backupSubscription field to configuration object. 2024-04-18 16:24:13 -04:00
Alex Hart
d9e9fe1d6a Move backups selection code to its own package. 2024-04-18 16:24:13 -04:00
Greyson Parrelli
4bcd1df4f8 Expand account consistency checks. 2024-04-18 16:24:13 -04:00
Greyson Parrelli
9762899272 Remove old thread remappings. 2024-04-18 16:24:13 -04:00
Alex Hart
ce1b73970c Implement BackupStatus widget. 2024-04-18 16:24:13 -04:00
Alex Hart
58282e589b Implement backups settings fragment. 2024-04-18 16:24:13 -04:00
mtang-signal
75bd113545 Fix missing send button for voice notes. 2024-04-18 16:24:13 -04:00
Cody Henthorne
7a6bd0e1f2 Revert "Remove vestigial call camera toggle button."
This reverts commit 7a9c01e6e5.
2024-04-18 16:24:13 -04:00
Greyson Parrelli
f673c4eb83 Remove sql language annotation (for now).
It's broken in newer versions of Android Studio. It doesn't seem to
allow partial-sql anymore, only fully-formed statements. Same with
roomsql.
2024-04-18 16:24:13 -04:00
Jim Gustafson
cbb04e8f0c Update to RingRTC v2.40.0 2024-04-18 16:24:13 -04:00
mtang-signal
cd03da54d5 Fix note to self message detail text. 2024-04-18 16:24:13 -04:00
Clark
5f31f5966c Update backup locator proto. 2024-04-18 16:24:13 -04:00
Clark
d8bbfe2678 Add archived media sync job. 2024-04-18 16:24:13 -04:00
Nicholas Tinsley
7a2d408ca2 Stop voice memo playback if the current item is deleted.
Fixes #13502.
2024-04-18 16:24:13 -04:00
Nicholas Tinsley
5e4dfcc65f Add translator notes for some strings. 2024-04-18 16:24:13 -04:00
Clark
7811e51b41 Add CDN number as parameter for read credential call. 2024-04-18 16:24:13 -04:00
Alex Konradi
9703a868e5 Request new ZKC-based auth credential. 2024-04-18 16:24:13 -04:00
Alex Hart
1b7784b01f Update call strings to align with new designs. 2024-04-18 16:24:13 -04:00
Nicholas Tinsley
a83abaca1d Order story viewer names alphabetically. 2024-04-18 16:24:13 -04:00
Nicholas Tinsley
29b3f09d8a Catch possible ISE at end of re-registration. 2024-04-18 16:24:13 -04:00
Nicholas Tinsley
d36b2a23f5 Hide irrelevant rows in self about sheet. 2024-04-18 16:24:13 -04:00
Nicholas Tinsley
8f1722c718 Update placeholder label for view once media. 2024-04-18 16:24:13 -04:00
Nicholas Tinsley
5416c3b8aa Improve play button display logic on video editor fragment. 2024-04-18 16:24:13 -04:00
Nicholas Tinsley
89eeae36c4 Fix signed int overflow in disappearing timer UI message. 2024-04-18 16:24:13 -04:00
Nicholas Tinsley
eec2685e67 Registration refactor initial scaffolding. 2024-04-18 16:24:13 -04:00
Clark
318b59a6b2 Do not fallback to REST for resumable upload spec on ratelimit. 2024-04-18 16:24:13 -04:00
Nicholas Tinsley
a2e0468cd9 Remove "lower hand" confirmation dialog. 2024-04-18 16:24:13 -04:00
Clark
689eacd618 Add initial support for backup and restore of message and media to staging.
Co-authored-by: Cody Henthorne <cody@signal.org>
2024-04-18 16:24:13 -04:00
tedgravlin
8617a074ad Update CLA link in PR template. 2024-04-18 16:24:12 -04:00
Greyson Parrelli
046b8da880 Add missing static IPs.
Fixes #13513
2024-04-18 16:24:12 -04:00
Clark Chen
34a36ddfea Bump version to 7.4.2 2024-04-15 16:32:09 -04:00
Clark Chen
9330448198 Update translations and other static files. 2024-04-15 16:24:09 -04:00
Clark Chen
b3336b4d84 Revert "Use existing libsignal proguard rules."
This reverts commit 2ce6ea9a2a.
2024-04-15 10:17:36 -04:00
Alex Hart
9553c94097 Bump version to 7.4.1 2024-04-12 16:38:43 -03:00
Alex Hart
c1845ae1c4 Update baseline profile. 2024-04-12 16:33:11 -03:00
Alex Hart
b6cc3852b0 Update translations and other static files. 2024-04-12 16:28:07 -03:00
Cody Henthorne
eefc86f27e Fix dangling call notification and remove active call manager flag. 2024-04-12 09:38:06 -04:00
Nicholas Tinsley
09404157aa Add processor information to debug log. 2024-04-11 16:09:33 -04:00
Alex Hart
abfd9f8f41 Add proper capitalization settings in nickname activity. 2024-04-11 10:35:47 -03:00
Bishal
e04381fd75 Add fix for missing play button when the audio is not sent in offline mode. 2024-04-11 10:31:12 -03:00
Alex Hart
30cc3ff9fc Bump version to 7.4.0 2024-04-10 16:31:53 -03:00
Alex Hart
6f5f299035 Update baseline profile. 2024-04-10 16:31:47 -03:00
Alex Hart
02eed02cb8 Update translations and other static files. 2024-04-10 16:29:24 -03:00
Greyson Parrelli
c1d29b5c39 Set internalUser=true for nightly builds. 2024-04-10 14:54:35 -04:00
Greyson Parrelli
db4442939d Remove Environment.IS_PNP 2024-04-10 14:52:59 -04:00
tedgravlin
6ece776382 Fix navbar color in multiple instances. 2024-04-10 14:29:58 -03:00
Alex Hart
0eda714755 Send recipients when sending group story sync. 2024-04-10 14:21:34 -03:00
Greyson Parrelli
831d099503 Inline the nicknames feature flag. 2024-04-10 13:18:01 -04:00
Alex Hart
fa23e4ca70 Convert members collection to set to avoid duplicate entries. 2024-04-10 13:45:46 -03:00
Greyson Parrelli
982f602178 Regularly analyze database tables to improve index usage. 2024-04-09 16:55:25 -04:00
Greyson Parrelli
713298109a Specify indexes for mention table queries. 2024-04-09 16:18:21 -04:00
Greyson Parrelli
8793981804 Add a log section for the database schema. 2024-04-09 16:18:21 -04:00
Greyson Parrelli
9bd4e9524c Convert MentionTable to kotlin. 2024-04-09 16:18:21 -04:00
Cody Henthorne
791dc2724f Attempt to fix bad notification for call service shutdown. 2024-04-09 16:18:21 -04:00
Cody Henthorne
ba3473c61a Fix scroll to message when bubble is under toolbar. 2024-04-09 16:18:21 -04:00
moiseev-signal
3ea194255d Add getUsername default method to CredentialsProvider 2024-04-09 16:18:21 -04:00
Cody Henthorne
ea081e981f Treat unregistered user during send as general failure. 2024-04-09 16:18:21 -04:00
Alex Konradi
2ce6ea9a2a Use existing libsignal proguard rules. 2024-04-09 16:18:20 -04:00
Alex Konradi
295c9310e9 Map libsignal CDSI errors to existing exceptions. 2024-04-09 16:18:20 -04:00
Greyson Parrelli
7447ed2eac Add the ability to jump to a specific date in search. 2024-04-09 16:18:20 -04:00
Cody Henthorne
d5bf16b91a Fix incorrect thread body adjustments containing media, mentions, and styling. 2024-04-09 16:18:06 -04:00
Cody Henthorne
76665c1f0d Prevent excessive video toggling in group calls due to server instability. 2024-04-09 16:18:06 -04:00
Cody Henthorne
dd28523b05 Transition full screen call UX to terminal state when call handled by linked device. 2024-04-09 16:18:06 -04:00
Cody Henthorne
16588c401e Reduce verbosity of WebRtcViewModel event logging during calls. 2024-04-09 16:18:06 -04:00
Greyson Parrelli
dbf8a7ca87 Rotate libsignal-net flag. 2024-04-09 16:18:06 -04:00
moiseev-signal
e92c76434e Upgrade to libsignal-client 0.44.0 2024-04-09 16:18:06 -04:00
Greyson Parrelli
7adb581271 Bump version to 7.3.1 2024-04-09 16:17:21 -04:00
Greyson Parrelli
869476a41b Update translations and other static files. 2024-04-09 16:16:47 -04:00
Greyson Parrelli
8daf1bca20 Improve handling of unknown groups. 2024-04-09 15:56:15 -04:00
Greyson Parrelli
d044b3c931 Remove most lazy properties from Recipient. 2024-04-09 15:02:36 -04:00
Cody Henthorne
0fcb19e1cc Fix group recipient resolve race that can cause unknown group recipients in live cache. 2024-04-09 14:59:47 -04:00
Nicholas Tinsley
2a6977da75 Nickname screen copy update. 2024-04-04 09:45:26 -04:00
Nicholas Tinsley
26bd435bf6 Update nickname delete dialog copy. 2024-04-03 16:48:26 -04:00
Greyson Parrelli
91f8d6075c Bump version to 7.3.0 2024-04-03 15:55:34 -04:00
Greyson Parrelli
9ed9a330f4 Update baseline profile. 2024-04-03 15:54:13 -04:00
Greyson Parrelli
8bbf6b790f Update translations and other static files. 2024-04-03 15:47:24 -04:00
Greyson Parrelli
a277e9b307 Fix compilation of benchmark build. 2024-04-03 15:47:24 -04:00
Cody Henthorne
f8e6bcf290 Add username_edit release note cta action. 2024-04-03 14:07:56 -04:00
Greyson Parrelli
3ba2b46bb0 Convert Recipient to kotlin. 2024-04-03 14:02:55 -04:00
Greyson Parrelli
b50eab230d Update strings for 'system contact' -> 'phone contact'. 2024-04-03 14:02:13 -04:00
Alex Hart
3f91824325 Fix bug preventing the review sheet from opening. 2024-04-03 14:02:13 -04:00
Alex Hart
879e05148b Fix database revocation for call links. 2024-04-03 14:02:13 -04:00
moiseev-signal
78e36b85d4 Make sure not more than one libsignal Network instance is ever created
Co-authored-by: Greyson Parrelli <greyson@signal.org>
2024-04-03 14:02:13 -04:00
Alex Hart
544cc06f13 Add chevron to conversation heading. 2024-04-03 14:02:13 -04:00
Cody Henthorne
133b7ef3f1 Fix multiple exception crash in rx message send flow. 2024-04-03 14:02:13 -04:00
Cody Henthorne
08a407dc23 Prevent thread starvation during message sending. 2024-04-03 14:02:13 -04:00
Greyson Parrelli
6c697fad8b Stop reading the PNP capability. 2024-04-03 14:02:13 -04:00
Greyson Parrelli
c904a7aa97 Delete LegacyAttachmentUploadJob.
It's been over 4 months since it was replaced. That's beyond the 90 day
build expiration + 1 day job lifespan. Should be safe to remove.
2024-04-03 14:02:13 -04:00
Greyson Parrelli
ad131d7c65 Enqueue AccountConsistency check when prekey syncs fail. 2024-04-03 14:02:13 -04:00
Alex Hart
e12d2d1e98 Fix local pip movement when in RTL language. 2024-04-03 14:02:12 -04:00
adel-signal
f01e044662 Update to new calling turn info endpoint, add support for turn server ips.
Co-authored-by: Adel Lahlou <adel@signal.com>
2024-04-03 14:02:12 -04:00
Jim Gustafson
03d3ae7043 Update to RingRTC v2.39.3 2024-04-03 14:02:12 -04:00
Greyson Parrelli
6b60a22879 Bump version to 7.2.4 2024-04-03 13:32:38 -04:00
Greyson Parrelli
bbded8caa8 Update translations and other static files. 2024-04-03 13:32:08 -04:00
Greyson Parrelli
3a6352d2a3 Don't show profile name in parens if it's the same as display name. 2024-04-03 13:19:37 -04:00
Greyson Parrelli
8293d6bc4c Allow last-name-only nicknames to be saved. 2024-04-03 11:54:07 -04:00
Greyson Parrelli
56bdb28c2f Fix bug around entering text in the middle of a full note.
There's likely other weirdness, but this at least addresses the most
commond variation, where entering text in the middle of a full note
would start chopping stuff off the end.
2024-04-03 11:20:35 -04:00
Greyson Parrelli
b081fb1e13 Improve recipient shortname selection. 2024-04-03 10:45:47 -04:00
Greyson Parrelli
58c1f64dfe Allow familyName-only nicknames in storage service. 2024-04-03 10:44:04 -04:00
Greyson Parrelli
92b7147dcd Always take the remote nickname. 2024-04-03 10:39:43 -04:00
Greyson Parrelli
fa3a85c948 Bump version to 7.2.3 2024-04-02 15:30:07 -04:00
Greyson Parrelli
9da4513694 Update translations and other static files. 2024-04-02 15:29:14 -04:00
Greyson Parrelli
de520036a9 Allow last-name-only nicknames. 2024-04-02 15:19:44 -04:00
Greyson Parrelli
97ca15a1c0 Allow multi-line entry in note field. 2024-04-02 14:50:13 -04:00
Greyson Parrelli
713a34a5e7 Ensure that conversation count check is on background thread. 2024-04-02 14:36:07 -04:00
Alex Hart
d688280a30 Fix search for users without thread. 2024-04-02 15:27:57 -03:00
Greyson Parrelli
ebbf8fad4b Bump version to 7.2.2 2024-04-01 20:17:55 -04:00
Greyson Parrelli
5891c6fb2d Update translations and other static files. 2024-04-01 20:17:23 -04:00
Greyson Parrelli
7c96319fb6 Fix potential NPE in forwarding flow. 2024-04-01 20:17:23 -04:00
Greyson Parrelli
0d652ccfd6 Listen for recipient name changes in conversation item. 2024-04-01 19:58:05 -04:00
Greyson Parrelli
d3718aa7ef Make nickname FF hot-swappable and default to true. 2024-04-01 19:17:07 -04:00
Cody Henthorne
fcdcb9fd33 Fix linked device nickname change not syncing bug. 2024-04-01 19:06:08 -04:00
Nicholas Tinsley
a8f925def0 Move delete button in Nickname activity. 2024-04-01 17:49:48 -04:00
Nicholas Tinsley
53cb125712 Prevent NPE in video editor. 2024-04-01 14:33:21 -04:00
Nicholas Tinsley
2a5793d96e Allow saving empty notes with empty nicknames. 2024-04-01 14:13:39 -04:00
Nicholas Tinsley
d460fa7ed4 Disable view-once toggle in media caption editor.
Fixes #13492.
2024-04-01 11:37:34 -04:00
Nicholas Tinsley
5272b13c41 Bump version to 7.2.1 2024-03-29 17:35:46 -04:00
Nicholas Tinsley
a66ac42038 Update translations and other static files. 2024-03-29 17:27:15 -04:00
Nicholas Tinsley
0014a2cba7 Hide camera switch icon during calls for devices with 1 or fewer cameras. 2024-03-29 17:21:27 -04:00
Nicholas Tinsley
7a9c01e6e5 Remove vestigial call camera toggle button. 2024-03-29 17:21:27 -04:00
Nicholas Tinsley
16402e43a5 Make in-app camera compatible with multi-window. 2024-03-29 17:21:27 -04:00
Nicholas Tinsley
b1944da58d Show nickname for 1:1 chat bottom sheet. 2024-03-29 17:21:27 -04:00
Nicholas Tinsley
9081d3c826 Revise recipient bottom sheet. 2024-03-29 17:21:27 -04:00
Nicholas Tinsley
d4ae0ca4cb Update conversation settings string. 2024-03-29 17:21:27 -04:00
Nicholas Tinsley
88f6ab915e Do not show nickname field for Note to Self. 2024-03-29 17:21:27 -04:00
Nicholas Tinsley
939024faff Don't show profile name parentheses if we don't have one. 2024-03-29 12:43:58 -04:00
Nicholas Tinsley
4c6e7991df Preserve username exceptions in ProGuard. 2024-03-29 12:40:12 -04:00
Nicholas Tinsley
036d91c039 Align linked device megaphone lifespan.
Thank you to Signal.DE from the community forum.
2024-03-28 15:59:08 -04:00
oguzhandogdu
869c922532 Remove second bullet span function 2024-03-28 14:57:26 -04:00
oguzhandogdu
217d15a853 Add gap width to bullet span 2024-03-28 14:57:26 -04:00
Nicholas Tinsley
931ffd0ba3 Bump version to 7.2.0 2024-03-27 16:01:18 -04:00
Nicholas Tinsley
fecac297fa Update translations and other static files. 2024-03-27 15:57:11 -04:00
Nicholas Tinsley
b0ea8d7df5 Prevent crash on devices with camera killswitches.
Addresses #13450.
2024-03-27 15:54:35 -04:00
Nicholas Tinsley
f126df2120 Put custom controller behind feature flag. 2024-03-27 15:54:35 -04:00
Nicholas Tinsley
42450024fc Add profile name to about sheet. 2024-03-27 15:54:35 -04:00
Nicholas Tinsley
101db6e164 Apply SignalTheme to NicknameActivity. 2024-03-27 15:54:35 -04:00
Nicholas Tinsley
13bef94bf7 Update icons in conversation settings. 2024-03-27 15:54:35 -04:00
Nicholas Tinsley
02792c5a6f Remove extraneous time unit conversion. 2024-03-27 15:54:35 -04:00
Alex Hart
303929090b Implement the majority of the new nicknames and notes feature. 2024-03-27 15:54:35 -04:00
Alex Hart
7a24554b68 Update ContactRecord proto with new nickname fields. 2024-03-27 15:54:35 -04:00
Greyson Parrelli
5b10aa6fa7 Handle 428 for captcha submissions. 2024-03-27 15:54:35 -04:00
Alex Konradi
e6eefac609 Upgrade to libsignal 0.42.0 2024-03-27 15:54:35 -04:00
Alex Hart
5f5a80dcbe Stub out MoreOptionsSheet and RestoreFromBackupFragment. 2024-03-27 15:54:35 -04:00
Cody Henthorne
7802448b24 Fix unblock icon tint in dark theme. 2024-03-27 15:54:35 -04:00
Clark
16d231f718 Persist blur hash with undownloaded attachments. 2024-03-27 15:54:35 -04:00
Cody Henthorne
62ca6cdd2f Fix can't receive audio and video pip render bug. 2024-03-27 15:54:35 -04:00
Cody Henthorne
7d81ed1150 Fix call controls disappearing when returning from system pip. 2024-03-27 15:54:35 -04:00
Greyson Parrelli
27812bb1ec Don't save duplicate queries in Spinner. 2024-03-27 15:54:35 -04:00
Greyson Parrelli
6854f7eb2a Add an 'internal details' screen for message details. 2024-03-27 15:54:35 -04:00
Clark
de86c5622d Integrate more variation in backup test generation. 2024-03-27 15:54:35 -04:00
Jim Gustafson
6bf1a4295f Update to RingRTC v2.39.2 2024-03-27 15:54:35 -04:00
Alex Hart
7de2f0f460 Add nickname and notes fields to the RecipientTable. 2024-03-27 15:54:35 -04:00
Greyson Parrelli
50149a3803 Show a megaphone when a device is about to unlink. 2024-03-27 15:54:35 -04:00
Greyson Parrelli
d7ee9639fd Be more lenient with quality matches when forwarding attachments. 2024-03-19 14:49:56 -04:00
Nicholas Tinsley
7d5627b17b Fix in-app camera rotation in multiview. 2024-03-19 14:48:38 -04:00
Greyson Parrelli
e24c951d83 Convert MiscellaneousValues to kotlin. 2024-03-19 14:47:58 -04:00
Alex Hart
e6a11c1ccf Revert "Fix pip placement in large calls."
This reverts commit aaeba4efe1.
2024-03-19 14:47:58 -04:00
Greyson Parrelli
3f66981359 Do not show username megaphone after a fresh install. 2024-03-19 14:47:58 -04:00
Cody Henthorne
874f808d56 Add process read sync tests. 2024-03-19 14:47:58 -04:00
Greyson Parrelli
450dc2f368 Improve logging around APNG animation disabling. 2024-03-19 14:47:58 -04:00
Alex Hart
7a69df42a7 Add receive support for new call log event data. 2024-03-19 14:47:58 -04:00
Greyson Parrelli
1ce1e30d32 Carry over the sent media quality when forwarding a video. 2024-03-19 14:47:58 -04:00
Greyson Parrelli
011f1d592e Fix bug with quote deduping. 2024-03-19 14:47:58 -04:00
Greyson Parrelli
1d29b0166d Backfill missing attachment hashes. 2024-03-19 14:47:58 -04:00
Greyson Parrelli
6df1a68213 Refactor and improve attachment deduping logic. 2024-03-19 14:47:58 -04:00
Nicholas Tinsley
b7ee6bfcb3 Don't show transfer overlay for scheduled messages. 2024-03-19 14:47:58 -04:00
Nicholas Tinsley
c0cb2b5e12 Allow seeking in video timeline. 2024-03-19 14:47:58 -04:00
Alex Hart
b38865bdc7 Implement UI element refresh on transfer or restore screen. 2024-03-19 14:47:58 -04:00
Alex Hart
6f46331772 Add call log event proto updates. 2024-03-19 14:47:58 -04:00
Clark
989bd662c6 Add tests to generate backup with large amount of messages and chats. 2024-03-19 14:47:58 -04:00
Nicholas Tinsley
359e593481 Add support for hardware camera features in the in-app camera. 2024-03-19 14:47:58 -04:00
Nicholas Tinsley
b7e0fe22db Add CameraX Extensions and update CameraX to 1.3.2. 2024-03-19 14:47:58 -04:00
Alex Hart
61cfbd6852 Allow ringer to ring in certain dnd situations. 2024-03-19 14:47:58 -04:00
Rashad Sookram
02c0d3ed6e Update to RingRTC v2.39.1 2024-03-19 14:47:58 -04:00
Cody Henthorne
e4d6c3aeb2 Do not send viewed receipt for release channel. 2024-03-19 14:47:58 -04:00
Chris Eager
0c6761fcfd Update Option.RECAPTCHA to Option.CAPTCHA 2024-03-19 14:47:58 -04:00
Greyson Parrelli
8f884fdd5c Fix potential crash when parsing PreKeySyncJobData.
Honestly at this point I have no idea how this is happening.
Maybe somehow getting old data that was empty but not null?
A mystery for the ages.
2024-03-19 14:47:58 -04:00
Greyson Parrelli
07cea1818e Ensure that protocol stores are reset after setting ACI/PNI. 2024-03-19 14:47:58 -04:00
Cody Henthorne
132bc15373 Fix ANR when changing the configuration of a foldable. 2024-03-19 14:47:58 -04:00
Clark
d993748753 Generate backup protos with message backup instrumentation tests. 2024-03-19 14:47:58 -04:00
Greyson Parrelli
3372565a39 Improve logging around consistency checks. 2024-03-19 14:47:58 -04:00
Alex Hart
134ac2b2fd Fix display name resolution for my story. 2024-03-19 14:47:58 -04:00
Alex Hart
0e0e91b4fe Hide invite banner when entering conversation search. 2024-03-19 14:47:58 -04:00
Greyson Parrelli
25b50bdb8f Rotate the libsignal-cdsi feature flag. 2024-03-19 14:47:58 -04:00
Alex Konradi
1988085171 Don't strip libsignal.net classes. 2024-03-19 14:47:58 -04:00
Nicholas Tinsley
f892e9baff Update disappearing messages text. 2024-03-19 14:47:58 -04:00
Alex Konradi
4828d84caf Update libsignal to 0.41.2 2024-03-19 14:47:58 -04:00
Greyson Parrelli
aeae6ac292 Remove deprecated blocked field from DeviceContact. 2024-03-19 14:47:58 -04:00
Alex Hart
0544c1f249 Display group call permissions dialog when trying to start a call in annoucment group when not an admin. 2024-03-19 14:47:58 -04:00
Greyson Parrelli
5027159ed8 Improve handling of unregistered states in profile screen. 2024-03-19 14:47:58 -04:00
Cody Henthorne
ce778be895 Resume call PIP on app foreground. 2024-03-19 14:47:58 -04:00
Cody Henthorne
9e349d2b30 Mute video when closing system PIP during a call. 2024-03-19 14:47:58 -04:00
Fumiaki Yoshimatsu
72f19758db Fix chat search when using Japanese IMEs.
Resolves #13467
2024-03-19 14:47:58 -04:00
Greyson Parrelli
55bce1fa12 Fix potential NPE when pinning a PNI chat. 2024-03-19 14:47:58 -04:00
AsamK
5e1ebaa5d4 Fix various storage service issues.
Resolves #13466
2024-03-19 14:47:58 -04:00
Clark
742c348998 Add test restore flow to staging reg. 2024-03-19 14:47:58 -04:00
Clark
9d46b52786 Backup attachments as Attachment locators. 2024-03-19 14:47:57 -04:00
Clark
ef374952ab Add tests for update messages except for groups and calls. 2024-03-19 14:47:57 -04:00
Clark
f8ef4d5985 Add tests for text messages with mentions, quotes, reactions, and ranges. 2024-03-19 14:47:57 -04:00
Cody Henthorne
85929809f0 Bump version to 7.1.3 2024-03-19 14:36:32 -04:00
Cody Henthorne
068540120e Updated baseline profile. 2024-03-19 14:33:44 -04:00
Cody Henthorne
471c4fc200 Update translations and other static files. 2024-03-19 14:28:49 -04:00
Nicholas Tinsley
398c67362d Improve layout for view once toast for older devices. 2024-03-19 14:24:26 -04:00
Nicholas Tinsley
4ceeda5f02 Fix video review page for API <28. 2024-03-19 14:24:26 -04:00
Nicholas Tinsley
2bf6b993fe Somewhat reduce emoji keyboard jankiness in media review fragment. 2024-03-19 14:24:26 -04:00
Nicholas Tinsley
68363c5b82 Disable emoji button for view-once media. 2024-03-19 14:24:26 -04:00
Nicholas Tinsley
9f47a41017 Restore pinch to zoom gesture in in-app camera. 2024-03-19 13:46:19 -04:00
Nicholas Tinsley
ba70101efd Add view-once button to media caption. 2024-03-19 12:00:36 -04:00
Greyson Parrelli
3aa54c9982 Remove some unused permissions. 2024-03-18 19:21:47 -04:00
Greyson Parrelli
825ca0d737 Remove more SMS vestiges. 2024-03-18 19:21:08 -04:00
Clark Chen
6754fef164 Bump version to 7.1.2 2024-03-11 18:50:24 -04:00
Clark Chen
4c079a8c25 Update translations and other static files. 2024-03-11 18:32:59 -04:00
Nicholas Tinsley
6e09d101b5 Debounce camera switcher button. 2024-03-11 18:26:45 -04:00
Nicholas Tinsley
39aa583297 Respect newlines in media review UI. 2024-03-11 18:26:45 -04:00
Nicholas Tinsley
b08db7a8c5 Fix unexpected trimming behavior with long videos. 2024-03-11 18:26:45 -04:00
Alex Hart
865bf0d056 Fix nav bar getting out of sync with keyboard pager. 2024-03-11 18:26:45 -04:00
Nicholas Tinsley
d52c520c02 Explicitly pause video player when not focused. 2024-03-11 18:26:45 -04:00
Nicholas Tinsley
1eabf11cdb Fix tap-to-focus UI for in-app camera. 2024-03-11 18:26:45 -04:00
Cody Henthorne
cfb16d3f17 Fix link rendering under spoilers in read more view. 2024-03-11 18:26:45 -04:00
Alex Hart
d5707638a6 Apply proper theming to FindByActivity. 2024-03-11 18:26:45 -04:00
Alex Hart
5cda5db7f7 Disable text field when view-once is selected. 2024-03-11 11:46:52 -03:00
Alex Hart
5c5d55d265 Introduce glyph fonts to correct spacing. 2024-03-11 11:14:05 -03:00
Alex Hart
4dd3b92eda Prevent crash when review banner wants to display self. 2024-03-11 09:52:24 -03:00
Cody Henthorne
112579079f Fix bad button text wrapping in message request view. 2024-03-08 16:57:15 -05:00
Greyson Parrelli
9897ba4b28 Properly pluralize a string. 2024-03-08 14:39:28 -05:00
Greyson Parrelli
c64dfff4c7 Fix typo in string. 2024-03-07 22:40:26 -05:00
Alex Hart
915b3f0cd3 Bump version to 7.1.1 2024-03-07 17:02:41 -04:00
Alex Hart
c295d11fc4 Updated baseline profile. 2024-03-07 17:01:52 -04:00
Alex Hart
bc47c5436d Update translations and other static files. 2024-03-07 16:56:59 -04:00
Alex Hart
aaeba4efe1 Fix pip placement in large calls. 2024-03-07 16:53:36 -04:00
Alex Hart
3c0eb58381 Apply alpha to v2 conversation item footer content. 2024-03-07 16:53:36 -04:00
Alex Hart
c4f22449f9 Hide thumbnails in specific cases in quote view. 2024-03-07 16:53:36 -04:00
Greyson Parrelli
bca346ec2f Improve copy for unregistered users. 2024-03-07 16:53:36 -04:00
Alex Hart
e0bd60f87c Adjust styling and sizing for rationale dialog. 2024-03-07 16:53:36 -04:00
Alex Hart
aeedab1531 Adjust spacing for contact and verified images on conversation settings page. 2024-03-07 16:53:35 -04:00
Greyson Parrelli
c959f41c68 Improve message send performance. 2024-03-07 16:53:35 -04:00
Alex Hart
9ba755da16 Add section header to find by username / ph row. 2024-03-07 16:53:35 -04:00
Alex Hart
34026c5538 Add proper tinting to refresh and invite rows. 2024-03-07 10:04:16 -04:00
Nicholas Tinsley
ea64425456 Media sending design improvements. 2024-03-07 09:38:13 -04:00
Alex Hart
eb34a20195 Bump version to 7.1.0 2024-03-06 20:50:34 -04:00
Alex Hart
445513cc32 Updated baseline profile. 2024-03-06 20:50:06 -04:00
Alex Hart
e431518a9d Update translations and other static files. 2024-03-06 20:45:13 -04:00
Alex Hart
61df88e094 Fix TestUsers construction in benchmark. 2024-03-06 20:42:01 -04:00
Greyson Parrelli
891c130e12 Sync the PNI identity used in sent transcripts. 2024-03-06 20:42:01 -04:00
Greyson Parrelli
b4ced5278e Fix recipient merging case that causes a change number event. 2024-03-06 20:42:01 -04:00
Greyson Parrelli
10364e9342 Disable next button in FindByActivity when input is blank. 2024-03-06 20:42:01 -04:00
Alex Hart
74dc222a54 Add Recency support for contact search ordering. 2024-03-06 20:42:01 -04:00
Greyson Parrelli
2e4ac7ede1 Always perform CDSI lookups when starting new chats. 2024-03-06 20:42:01 -04:00
Cody Henthorne
184c1b67cc Add learned profile name event. 2024-03-06 20:42:01 -04:00
Alex Hart
f702338129 Fix hide story action state. 2024-03-06 20:42:01 -04:00
Alex Hart
4b4b263423 Usernames 1.01 Fast-Follow Part 1. 2024-03-06 20:42:01 -04:00
Nicholas Tinsley
83c16a46de Update assets for image editor. 2024-03-06 20:42:01 -04:00
Clark
6383896a79 Fix incoming group updates showing as updated. 2024-03-06 20:42:01 -04:00
Nicholas Tinsley
5fa1560a10 Add stroke to draw tool color bar. 2024-03-06 20:42:01 -04:00
Nicholas Tinsley
9bd6ad36cc Round corners of selected region in video trimmer. 2024-03-06 20:42:01 -04:00
Nicholas Tinsley
83cc7d5181 Adjust media tool button animation. 2024-03-06 20:42:01 -04:00
Nicholas Tinsley
44150673e9 Adjust size of quality selector buttons. 2024-03-06 20:42:01 -04:00
Nicholas Tinsley
5092d723a8 Update media send symbols. 2024-03-06 20:42:01 -04:00
Cody Henthorne
218964cbda Add archive media apis. 2024-03-06 20:42:01 -04:00
Nicholas Tinsley
ccc9752485 Hoist video editor state out of VideoEditorFragment. 2024-03-06 20:42:01 -04:00
Cody Henthorne
619038f27d Improve local fanout send performance. 2024-03-06 20:42:01 -04:00
Alex Hart
9f197b12ed Add support for call log mark as read. 2024-03-06 20:42:01 -04:00
Jim Gustafson
690608cdf3 Update to RingRTC v2.39.0
Co-authored-by: Alex Hart <alex@signal.org>
2024-03-06 20:42:01 -04:00
Alex Hart
4035932340 Fix find-by slide animations. 2024-03-06 20:42:01 -04:00
Clark
fc9d94701c Disable job manager in instrumentation tests by default. 2024-03-06 20:42:01 -04:00
Alex Hart
6d54ae5f3d Update call link info sheet to match new designs. 2024-03-06 20:42:01 -04:00
Nicholas Tinsley
c53abe0941 Video Sending Redesign 2024-03-06 20:42:01 -04:00
Greyson Parrelli
276e253fdf Fix individual send metrics. 2024-03-06 20:42:01 -04:00
Greyson Parrelli
f160e960be Stop setting pq flag since it's no longer read. 2024-03-06 20:42:01 -04:00
Greyson Parrelli
41b57b9207 Remove unnecessary uniqueness constraint on prekey tables. 2024-03-06 20:42:01 -04:00
Alex Konradi
56eae8c7bf Add libsignal-net CDSI implementation. 2024-03-06 20:42:01 -04:00
Alex Hart
46c8b3b690 Replace full text with call link name as title in call info sheet. 2024-03-06 20:42:01 -04:00
Greyson Parrelli
58b11f3c47 Do a CDS refresh when a new chat is created. 2024-03-06 20:42:01 -04:00
Alex Hart
40b4b316b3 Add new options to share call link details from details fragment. 2024-03-06 20:42:01 -04:00
Clark
7a31f69aea Add tests for import/export of call logs. 2024-03-06 20:42:01 -04:00
Greyson Parrelli
648c99e81d Ensure we are updating last resort metadata after change number. 2024-03-06 20:42:01 -04:00
Greyson Parrelli
56b482a26f Allow scanning QR code from 'Find by username' screen. 2024-03-06 20:42:01 -04:00
Cody Henthorne
c6df4af53a Update bank transfer timeline strings. 2024-03-06 20:42:01 -04:00
Clark
32fe927bfc Add import/export tests for backup of recipients and threads. 2024-03-06 20:42:01 -04:00
Ehren Kret
5740b768d0 Use full organization name in README. 2024-03-06 20:42:01 -04:00
Ehren Kret
d8e74c730a Update README copyright year. 2024-03-06 20:42:00 -04:00
Clark
58846bbf42 Add import/export test for initially account data. 2024-03-06 20:42:00 -04:00
Greyson Parrelli
78d30fc479 Remove deprecated SVR2 enclaves. 2024-03-06 20:42:00 -04:00
Cody Henthorne
86afa988a0 Add ability to scan username qr from gallery. 2024-03-06 20:42:00 -04:00
Greyson Parrelli
6104ef62df Detect username QR codes in our camera-first capture flow. 2024-03-06 20:42:00 -04:00
Cody Henthorne
3f89acf9bd Disable parallel gradle in GH actions. 2024-03-06 20:42:00 -04:00
Cody Henthorne
591d499462 Show system contact icon in more places. 2024-03-06 20:42:00 -04:00
Greyson Parrelli
c31a7152bc Update built-in emoji to v15.1 2024-03-06 20:42:00 -04:00
Greyson Parrelli
343cc3ca67 Update third party licenses. 2024-03-06 20:42:00 -04:00
Cody Henthorne
23e18cee22 Add nobody can find me by number setting warning. 2024-03-06 20:42:00 -04:00
Cody Henthorne
5b2c458bcf Show username in all display name locations if only option. 2024-03-06 20:42:00 -04:00
Cody Henthorne
c10c64a6a6 Prepopulate find number with local user country code. 2024-03-06 20:42:00 -04:00
Cody Henthorne
957221e118 Fix cut off icon in conversation header. 2024-03-06 20:42:00 -04:00
Cody Henthorne
e18e4454e4 Fix multi-invite group create dialog. 2024-03-06 20:42:00 -04:00
Greyson Parrelli
e1067e30de Add support for endpoint checking prekey consistency. 2024-03-06 20:42:00 -04:00
Greyson Parrelli
09b0f15294 Remove unused capabilities. 2024-03-06 20:42:00 -04:00
Greyson Parrelli
b1d6ff4bbd Remove the PNP build variant. 2024-03-06 20:42:00 -04:00
Cody Henthorne
a49e9dd96d Fix crash adjusting constraints during large calls. 2024-03-06 20:42:00 -04:00
Clark
5e428e2c4d Backup and restore mentions. 2024-03-06 20:42:00 -04:00
Clark
0f6ff3c101 Integrate backup file validation to backup playground. 2024-03-06 20:42:00 -04:00
Clark
1ade8b502f Convert and store new group changes in MessageExtras. 2024-03-06 20:42:00 -04:00
Alex Konradi
cc25f0685c Update libsignal version to v0.40.1 2024-03-06 20:42:00 -04:00
Nicholas Tinsley
e91ed88785 CameraX Custom Controller.
Addresses #12817, #13316, #13389
2024-03-06 20:42:00 -04:00
Jon Chambers
39bc6d5eb3 Remove legacy signed prekey endpoint. 2024-02-23 16:42:58 -05:00
Nicholas Tinsley
b7f472b0cd Update Google services libraries. 2024-02-23 16:42:58 -05:00
Cody Henthorne
942f4a45bf Fix reply icon not mirroring in RTL. 2024-02-23 16:42:58 -05:00
Cody Henthorne
767896b14c Fix infinite pending link preview on large previews. 2024-02-23 16:42:58 -05:00
Nicholas Tinsley
8c35628863 Adjust copy depending on PNP settings. 2024-02-23 16:42:58 -05:00
Cody Henthorne
d555370076 Fix edit call link copy in bottom sheet. 2024-02-23 16:42:58 -05:00
Cody Henthorne
bbbe76697d Fix invalid date on group member search results. 2024-02-23 16:42:58 -05:00
Nicholas Tinsley
fc1d60e65b Fallback to matching video decoder by MIME type. 2024-02-23 16:42:57 -05:00
Nicholas Tinsley
9dc856202a Don't use 0 milliseconds as sending retry interval. 2024-02-23 16:42:57 -05:00
Jim Gustafson
6bc41776b1 Update to RingRTC v2.38.0 2024-02-23 16:42:57 -05:00
Greyson Parrelli
940cee0f30 Bump version to 7.0.2 2024-02-23 16:26:12 -05:00
Greyson Parrelli
cdb6c16473 Update translations and other static files. 2024-02-23 16:25:05 -05:00
Greyson Parrelli
c4842ae7c5 Attempt to prevent message retry loops. 2024-02-23 15:36:23 -05:00
Greyson Parrelli
dc32e51ac2 Make a specific crash more clear to improve debuggability. 2024-02-23 15:36:23 -05:00
Greyson Parrelli
43caaf7efc Update a specific recipient case to merge rather than just steal PNI. 2024-02-23 15:36:23 -05:00
Greyson Parrelli
dcd0d433b0 Fix potential charset crash on some devices. 2024-02-23 15:36:23 -05:00
Cody Henthorne
763e891dfd Show username in group invite flow. 2024-02-23 15:36:23 -05:00
Cody Henthorne
c04f761f5a Show rate limit specific error message on username reservation. 2024-02-23 15:36:23 -05:00
Cody Henthorne
b147882e4f Fix text input selection handle colors. 2024-02-23 15:36:23 -05:00
Cody Henthorne
c9f5f91aad Fix black bars on username scan crosshair. 2024-02-23 15:36:23 -05:00
Cody Henthorne
0a3de42729 Fix username QR image generation for multiline usernames. 2024-02-23 15:36:23 -05:00
Greyson Parrelli
64fc0209f4 Remove unused endpoint. 2024-02-23 15:36:23 -05:00
Cody Henthorne
418ad51e77 Fix share your username popup icon tint. 2024-02-23 15:36:23 -05:00
Cody Henthorne
16faf41a84 Fix profile name not updating correctly. 2024-02-23 15:36:23 -05:00
Cody Henthorne
d5cf8d36b3 Fix username recovery UX bugs. 2024-02-23 15:36:23 -05:00
Greyson Parrelli
755fafb0b6 Always use US locale when logging rounded numbers. 2024-02-21 13:08:43 -05:00
Greyson Parrelli
8fc9893ecd Improve logging around retries archiving sessions. 2024-02-21 13:04:42 -05:00
Greyson Parrelli
9071fd0024 Bump version to 7.0.1 2024-02-20 21:45:57 -05:00
Greyson Parrelli
9a3233bb28 Update translations and other static files. 2024-02-20 21:45:30 -05:00
Greyson Parrelli
e77bc9170a Fix RTL rendering of username edit screen. 2024-02-20 21:36:24 -05:00
Greyson Parrelli
23d6a71a3b Update username validation to use libsignal. 2024-02-20 21:36:24 -05:00
Greyson Parrelli
67c3f41dff Fix crash when attempting to start a call via username. 2024-02-20 16:02:57 -05:00
Greyson Parrelli
e22fa499c2 Reduce username debounce rate to 500ms. 2024-02-20 15:25:27 -05:00
Cody Henthorne
fdef13ae92 Apply LQA feedback. 2024-02-20 15:02:39 -05:00
Greyson Parrelli
c0a6f2316c Do not acknowledge retry receipts sent to PNI. 2024-02-20 12:24:32 -05:00
Greyson Parrelli
7d6a87c825 Attempt to fix missing session crash for resends. 2024-02-20 12:13:54 -05:00
Greyson Parrelli
6c863fe99c Clean up capability logging. 2024-02-18 18:34:18 -05:00
Greyson Parrelli
5cf8242ea0 Bump version to 7.0.0 2024-02-16 16:44:19 -05:00
Greyson Parrelli
a804e8a27c Update translations and other static files. 2024-02-16 16:42:53 -05:00
Greyson Parrelli
3b598e2f07 Update string for username creation. 2024-02-16 15:53:05 -05:00
Greyson Parrelli
03c5a254e8 Fix issue with receiving server delivery receipts at PNI. 2024-02-15 22:05:57 -05:00
Greyson Parrelli
bdb34e16c6 Update UI and strings for the duplicate name review screen. 2024-02-15 21:43:36 -05:00
Cody Henthorne
e7c018283a Perform directory refresh after a PNI invite accept. 2024-02-15 21:43:36 -05:00
Cody Henthorne
ebd8d85a3d Implement UX feedback in new conversation start flows. 2024-02-15 21:43:36 -05:00
Greyson Parrelli
3f8a9e1be2 Reduce max discriminator length to 9. 2024-02-15 21:43:36 -05:00
Greyson Parrelli
0d5961baf9 Update string on find by username screen. 2024-02-15 21:43:36 -05:00
Greyson Parrelli
872ee805d1 Assume PNP capability is true. 2024-02-15 21:43:36 -05:00
Nicholas Tinsley
b19bcd88b9 Null check VideoPlayer during view binding. 2024-02-15 21:43:36 -05:00
Greyson Parrelli
5c9d65386b Fix username deletion sync issue. 2024-02-15 21:43:36 -05:00
Greyson Parrelli
a86a0938ce Fix avatar fallback photo for self when useSelfProfileAvatar=true. 2024-02-15 21:43:36 -05:00
Greyson Parrelli
a886e5f9a0 Directly show about sheet when you show a recipient sheet for yourself. 2024-02-15 21:43:36 -05:00
Greyson Parrelli
83c1bd61cb Add bottom sheet handle to RecipientBottomSheet. 2024-02-15 21:43:36 -05:00
Greyson Parrelli
4ce1789110 Do not show the discriminator field until one is chosen. 2024-02-15 21:43:36 -05:00
Greyson Parrelli
f484fdbbac Remove unused 'registration' variant of username screen. 2024-02-15 21:43:36 -05:00
Greyson Parrelli
57ac7cb328 Show some more info in the about sheet. 2024-02-15 21:43:36 -05:00
Greyson Parrelli
47cdc50a81 Add confirmation dialog when changing username would reset link. 2024-02-15 21:43:36 -05:00
Greyson Parrelli
555ddb5b20 Show dialog for successfully resetting your username link. 2024-02-15 21:43:36 -05:00
Greyson Parrelli
8e8ba23da7 Do not show the QR code shortuct if you have no username. 2024-02-15 21:43:36 -05:00
Greyson Parrelli
54a1b97167 Update username description string in edit profile screen. 2024-02-15 21:43:36 -05:00
Greyson Parrelli
7530d44d28 Refactor username link share screen to enable previews. 2024-02-15 21:43:36 -05:00
Greyson Parrelli
252aa3714e Sync the 'hasCompletedUsernameOnboarding' flag. 2024-02-15 21:43:36 -05:00
Greyson Parrelli
ce09e9a217 Update UI for PNP launch megaphone. 2024-02-15 21:43:35 -05:00
Greyson Parrelli
8797236b5a Add migration for ensuring we set the latest pnp settings. 2024-02-15 21:43:35 -05:00
Greyson Parrelli
6097e6c305 Default discoverability to 'off' until registration is complete. 2024-02-15 21:43:35 -05:00
Greyson Parrelli
879fca0e11 Interpret unknown phone number sharing setting as 'off'. 2024-02-15 21:43:35 -05:00
Greyson Parrelli
c359ddf3c8 Inline the pnp feature flag. 2024-02-15 21:43:35 -05:00
Greyson Parrelli
8ad77ac7aa Inline the username flag. 2024-02-15 21:43:35 -05:00
Cody Henthorne
bd3b779282 Bump version to 6.47.4 2024-02-15 21:43:16 -05:00
Cody Henthorne
42b805eb91 Updated baseline profile. 2024-02-15 21:37:08 -05:00
Cody Henthorne
107f2cd3b1 Update translations and other static files. 2024-02-15 21:31:52 -05:00
Nicholas Tinsley
c713ccf76c Don't mark outgoing media as upload only. 2024-02-15 21:26:30 -05:00
Cody Henthorne
dd9c65012b Fix NPE when find by phone row not supported. 2024-02-15 19:36:26 -05:00
Cody Henthorne
31e872a34e Bump version to 6.47.3 2024-02-14 20:05:57 -05:00
Cody Henthorne
81579dc9bf Update translations and other static files. 2024-02-14 20:00:20 -05:00
Greyson Parrelli
3c6c03cd75 Fix bug when syncing username deletions. 2024-02-14 11:59:15 -05:00
Greyson Parrelli
ba41df19bb Fix thread merges where one thread is inactive. 2024-02-14 11:15:49 -05:00
Cody Henthorne
0cc7178cdc Bump version to 6.47.2 2024-02-13 15:49:18 -05:00
Cody Henthorne
239e4a7e66 Updated baseline profile. 2024-02-13 15:46:30 -05:00
Cody Henthorne
0b031d35e3 Update translations and other static files. 2024-02-13 15:43:43 -05:00
Nicholas Tinsley
32e81049f5 Cycle audio remux feature flag. 2024-02-13 15:39:04 -05:00
Nicholas Tinsley
6a65a1c149 Default to 1x camera in video recording.
Addresses #11955, #12482, #13017

Shout out to @tedgravlin for #13411.
2024-02-13 15:39:04 -05:00
Cody Henthorne
36ea2a7f5d Fix active call manager.
For real this time.
2024-02-13 15:39:04 -05:00
Cody Henthorne
cc40c9d09f Bump version to 6.47.1 2024-02-12 16:32:01 -05:00
Cody Henthorne
fb9e731e00 Updated baseline profile. 2024-02-12 16:27:07 -05:00
Cody Henthorne
264607e0f3 Update translations and other static files. 2024-02-12 16:21:55 -05:00
Greyson Parrelli
cdfc42cc38 Fix possible crash in story replies. 2024-02-12 15:01:58 -05:00
Cody Henthorne
19cfae1da5 Remove duplicate future code. 2024-02-12 15:00:27 -05:00
Jim Gustafson
577b11a349 Update to RingRTC v2.37.1 2024-02-12 09:15:55 -05:00
Clark Chen
671dfceac3 Bump version to 6.47.0 2024-02-09 19:43:41 -05:00
Clark Chen
5626fb74ae Update translations and other static files. 2024-02-09 19:28:27 -05:00
Greyson Parrelli
88d6c91517 Fix some bugs related to how the conversation header renders. 2024-02-09 18:41:26 -05:00
Cody Henthorne
aa76cefb1c Update spam UX and reporting flows. 2024-02-09 18:41:26 -05:00
Cody Henthorne
a4fde60c1c Fix crash in ActiveCallManager for lower Android versions. 2024-02-09 15:19:25 -05:00
Nicholas Tinsley
8e86612fc2 Derive PIN keyboard type if none set.
Addresses #13338.
2024-02-09 15:11:38 -05:00
Clark
f6ded23383 Ignore message latency when latency is before device boot time. 2024-02-09 14:55:58 -05:00
Nicholas Tinsley
2ab689c59b Add plural string for chat deletion. 2024-02-09 13:32:05 -05:00
Greyson Parrelli
155f6a88f8 Ensure one-time kyber prekeys are generated during change number. 2024-02-09 13:32:05 -05:00
Greyson Parrelli
3d84fc9c98 Use 'deleted account' as name for certain unregisterd user cases. 2024-02-09 13:32:05 -05:00
Greyson Parrelli
976e146248 Only count active threads when determining possible communication. 2024-02-09 13:32:05 -05:00
Greyson Parrelli
d9b0723194 Make message footer clickable when there's an error. 2024-02-09 13:32:05 -05:00
Greyson Parrelli
0630a6910a Update strings and previews for pnp settings. 2024-02-09 13:32:05 -05:00
Greyson Parrelli
bc930345b9 Remove blockSSE feature flag. 2024-02-08 14:10:20 -05:00
Greyson Parrelli
d7d7963101 Defer to the latest revision for backup inclusion. 2024-02-08 14:10:20 -05:00
Greyson Parrelli
fa2551dfcf Always show the new 'find by phone number' item. 2024-02-08 14:10:20 -05:00
Greyson Parrelli
b260a47b49 Fix issue where media sent transcripts didn't trigger thread updates. 2024-02-08 14:10:20 -05:00
Greyson Parrelli
47e55fc621 Do not show add to contacts if there's no e164. 2024-02-08 14:10:20 -05:00
Alex Hart
700fe5e463 Add Find By Username and Find By Phone Number interstitials.
Co-authored-by: Greyson Parrelli <greyson@signal.org>
2024-02-08 14:10:20 -05:00
Greyson Parrelli
ca3d239ce2 Bump version to 6.46.7 2024-02-08 12:54:26 -05:00
Greyson Parrelli
12385b9c5a Update stores to use a constant accountId for PNIs. 2024-02-08 12:53:22 -05:00
Clark Chen
65b26adb3d Bump version to 6.46.6 2024-02-06 15:26:38 -05:00
Clark Chen
31b8927291 Update translations and other static files. 2024-02-06 15:16:55 -05:00
Cody Henthorne
94ffbb3e8e Fix NPE crash when scanning safety numbers. 2024-02-06 10:32:20 -05:00
Greyson Parrelli
1b7616b4db Fix issue with PNIs in contact sync. 2024-02-06 09:47:12 -05:00
Clark Chen
71850e1e35 Bump version to 6.46.5 2024-02-05 18:56:05 -05:00
Clark Chen
380fb60791 Update translations and other static files. 2024-02-05 18:36:27 -05:00
Greyson Parrelli
2cf9fa0524 Fix crash when opening group story replies. 2024-02-05 16:30:54 -05:00
Nicholas Tinsley
c8c4fdc65e Bump version to 6.46.4 2024-02-05 10:59:36 -05:00
Nicholas Tinsley
9fb16be74f Updated baseline profile. 2024-02-05 10:56:19 -05:00
Nicholas Tinsley
2d4d4aab66 Update translations and other static files. 2024-02-05 10:53:17 -05:00
Nicholas Tinsley
f18070b78c Revert "Don't recreate attachment InputStream if we don't have to."
This reverts commit 467dae8132.
2024-02-05 10:49:05 -05:00
Nicholas Tinsley
adf1d8a43a Bump version to 6.46.3 2024-02-03 14:08:31 -05:00
Nicholas Tinsley
f360934ddd Updated baseline profile. 2024-02-03 14:04:58 -05:00
Nicholas Tinsley
b986c4d54c Update translations and other static files. 2024-02-03 14:02:12 -05:00
Nicholas Tinsley
4545e70384 Remix audio remuxing into its own feature flag. 2024-02-03 13:57:49 -05:00
Nicholas Tinsley
3c5cbc3114 Bump version to 6.46.2 2024-02-03 12:45:27 -05:00
Nicholas Tinsley
879b0ad95d Updated baseline profile. 2024-02-03 12:41:31 -05:00
Nicholas Tinsley
9982810edb Update translations and other static files. 2024-02-03 12:38:24 -05:00
Greyson Parrelli
699b788187 Fix possible stack overflow in backup export. 2024-02-03 12:26:38 -05:00
Nicholas Tinsley
bd61044643 Bump version to 6.46.1 2024-02-02 15:24:32 -05:00
Nicholas Tinsley
6804d58323 Updated baseline profile. 2024-02-02 15:17:04 -05:00
Nicholas Tinsley
bfe57b4b8f Update translations and other static files. 2024-02-02 15:12:26 -05:00
Greyson Parrelli
e3fe852a34 Do not backup past revision if latest revision is soon-to-expire. 2024-02-02 15:07:30 -05:00
Cody Henthorne
673fe2625c Show iDEAL 0,01 temporary charge warning dialog for monthly subscription. 2024-02-02 15:07:30 -05:00
Cody Henthorne
e798feb1d7 Use paymentId from create PayPal intent instead of confirm. 2024-02-02 15:07:30 -05:00
Nicholas Tinsley
fa937f9f43 Bump version to 6.46.0 2024-01-31 22:42:48 -05:00
Nicholas Tinsley
ec5f3fc333 Updated baseline profile. 2024-01-31 22:37:58 -05:00
Nicholas Tinsley
d85c150a8c Update translations and other static files. 2024-01-31 22:35:13 -05:00
Nicholas Tinsley
a5faf0e098 Match output video file size limit in video editor. 2024-01-31 22:13:46 -05:00
Alex Hart
1234c63836 Add scaffolding for backupsV2. 2024-01-31 22:13:46 -05:00
Cody Henthorne
91920319c7 Cycle calling without a service remote config. 2024-01-31 22:13:46 -05:00
Nicholas Tinsley
950d9d5a4c Validate image preview as URI.
Resolves #13392.
2024-01-31 22:13:46 -05:00
Nicholas Tinsley
467dae8132 Don't recreate attachment InputStream if we don't have to. 2024-01-31 22:13:46 -05:00
Nicholas Tinsley
d1ef9d5dcf Align video compression limit with attachment limit. 2024-01-31 22:13:46 -05:00
Nicholas Tinsley
a60419a442 Add remote config for GIF keyboard page. 2024-01-31 22:13:46 -05:00
Nicholas Tinsley
f97a034c34 Null check multi share attachment quality guard. 2024-01-31 22:13:46 -05:00
Greyson Parrelli
4d0fbe2343 Add a dark theme for spinner. 2024-01-31 22:13:46 -05:00
Jameson Williams
1d5e108cd4 QA target can pass on ARM MacBook
The Conscrypt library does not have a native library suitable for
running on the ARM MacBooks. As a result, unit tests that rely on
Conscrypt also don't work on this hardware.

Fortunately, though, the tests will pass without Conscrypt anyway. As a
workaround, we can avoid using Conscrypt only when running the unit test
suite on these machines.

See also: https://github.com/google/conscrypt/issues/1034

Resolves #13382.
2024-01-31 22:13:46 -05:00
Greyson Parrelli
716afc98ac Sync PNI verification status to storage service. 2024-01-31 22:13:46 -05:00
Greyson Parrelli
459607adae Clear local state after requesting to ignore battery optimizations. 2024-01-31 22:13:46 -05:00
Cody Henthorne
784b705265 Fix spoiler in notification with emoji prefix. 2024-01-31 22:13:46 -05:00
Alex Hart
326b95bd10 Upgrade Compose and AndroidX libraries. 2024-01-31 22:13:46 -05:00
Greyson Parrelli
466acaf504 Fix possible exception when rendering SSE event.
Fixes #13390
2024-01-31 22:13:46 -05:00
Maksym Moroz
838165c3e6 Register gradle tasks instead of creating eagerly.
Signed-off-by: Maksym Moroz <maksymmoroz@duck.com>

Resolves #13391
2024-01-31 22:13:46 -05:00
Jim Gustafson
e1d7ad7d03 Update to RingRTC v2.37.0 2024-01-31 22:13:46 -05:00
Greyson Parrelli
3776e86b83 Update the types of messages we backup. 2024-01-31 22:13:46 -05:00
Greyson Parrelli
ea60858a07 Improve logging around 'contact joined' messages. 2024-01-31 22:13:46 -05:00
Greyson Parrelli
d4488c72fb Simplify contact splitting when reading from storage service. 2024-01-31 22:13:46 -05:00
Greyson Parrelli
9146f2fb30 Remove some unused methods.
Fixes ##13384
2024-01-31 22:12:17 -05:00
Greyson Parrelli
92993f967e Clear MSL after SN change. 2024-01-31 22:12:17 -05:00
Greyson Parrelli
2c2735af6d Do not create new threads to show error messages. 2024-01-31 22:12:17 -05:00
Alex Hart
80c0e19692 Improve sizing of shareable QR image. 2024-01-31 22:12:17 -05:00
Alex Hart
c9e2162afc Remove old username education fragment. 2024-01-31 22:12:17 -05:00
Nicholas Tinsley
9a52f4e3ff Remux audio if possible when transcoding.
Addresses #11712, #12674, #12945, #13084, #13346.
2024-01-31 22:12:17 -05:00
Greyson Parrelli
c0235d4cc2 Ensure contacts are split after profile 404. 2024-01-31 22:12:17 -05:00
Cody Henthorne
f1704fbb57 Fix file attachment dedup logic. 2024-01-31 22:12:17 -05:00
Alex Hart
38d5d3ad1b Add polish to usernames UX. 2024-01-31 22:12:17 -05:00
Jameson Williams
ec96b4e3aa Update Glide to use ksp, drop kapt.
Resolves #13381
2024-01-31 22:12:17 -05:00
Cody Henthorne
aa33fd44b8 Remove SMS export. 2024-01-31 22:12:17 -05:00
Clark
98865d61dd Convert gv2 update messages to backup distinct protos. 2024-01-31 22:12:17 -05:00
Cody Henthorne
0036b8e2d6 Migrate legacy png and webp to signal symbols. 2024-01-31 22:12:17 -05:00
Alex Hart
c021d26103 Add polish to PNP registration settings. 2024-01-31 22:12:17 -05:00
Alex Hart
8bca5b4901 Update PnP description text for everyone listing. 2024-01-31 22:12:17 -05:00
Greyson Parrelli
d4db6c8912 Keep some recipient logs longer. 2024-01-31 22:12:17 -05:00
Jameson Williams
c93b4909f4 Remove Jetifier from build.
materialish-progress and subsampling-scale-image-view were bringing in
Android Support libraries as transitive dependencies. This required
Jetifier to be run as part of the build. More recent versions of these
dependencies have been released, which now use AndroidX directly. By
upgrading these dependencies, Jetifier is no longer needed to build
Signal.

Resolves #13378
2024-01-31 22:12:17 -05:00
Maksym Moroz
67d3c8e777 Clean up app module build.gradle.kts
Closes #13379

Signed-off-by: Maksym Moroz <maksymmoroz@duck.com>
2024-01-31 22:12:17 -05:00
Nicholas Tinsley
8d44222097 Enable logcat in the video sample app. 2024-01-31 22:12:17 -05:00
Nicholas Tinsley
9cb2024334 Option to persist task in video sample app. 2024-01-31 22:12:17 -05:00
Alex Hart
e71bb33b23 Fix conversation bubbles becoming too long.
Co-authored-by: Cody Henthorne <cody@signal.org>
2024-01-31 22:12:17 -05:00
Alex Hart
4ada7c9be9 Implement several polish items for Call Links. 2024-01-31 22:12:16 -05:00
Nicholas Tinsley
56a2d8891f Bump version to 6.45.2 2024-01-31 22:10:10 -05:00
Nicholas Tinsley
4585e90a00 Updated baseline profile. 2024-01-31 21:25:05 -05:00
Nicholas Tinsley
86d2ddc168 Update translations and other static files. 2024-01-31 21:18:34 -05:00
Greyson Parrelli
9d1514308a Fix potential crash during contact splits. 2024-01-31 19:39:39 -05:00
Greyson Parrelli
7abff55981 Bump version to 6.45.1 2024-01-25 19:10:08 -05:00
Greyson Parrelli
f9d7eba7d4 Update translations and other static files. 2024-01-25 19:09:11 -05:00
Greyson Parrelli
9ce021afa2 Improve SenderKeyDistributionMessage envelope validation. 2024-01-25 18:59:57 -05:00
Nicholas Tinsley
6fc9055221 Calculate video encoding settings based on trimmed duration. 2024-01-25 18:59:57 -05:00
Greyson Parrelli
a3438d3345 Improve DecryptionErrorMessage envelope validation. 2024-01-25 14:42:50 -05:00
Nicholas Tinsley
d2cbf11264 Don't fail video send on postprocess failure. 2024-01-25 13:32:03 -05:00
Greyson Parrelli
c584156c86 Bump version to 6.45.0 2024-01-23 13:27:17 -05:00
Greyson Parrelli
78e04f3ad8 Update baseline profile. 2024-01-23 13:18:57 -05:00
Greyson Parrelli
6302725678 Update translations and other static files. 2024-01-23 13:18:57 -05:00
Nicholas Tinsley
431e65808d Rotate custom video muxer flag. 2024-01-23 13:18:57 -05:00
Clark
653914f47e Allow multiple message latency percentiles. 2024-01-23 13:18:57 -05:00
Cody Henthorne
96823e944d Introduce ActiveCallManager to prevent android service crashes during call handling. 2024-01-23 13:18:57 -05:00
Nicholas Tinsley
ee19520e1b Improve video sample app UI. 2024-01-23 13:18:56 -05:00
Nicholas Tinsley
6f16b3fee7 Add video sample app test dependencies. 2024-01-23 13:18:56 -05:00
Nicholas Tinsley
89ee7e8e19 Update AndroidX test library verisons. 2024-01-23 13:18:56 -05:00
Nicholas Tinsley
3c7996aa99 Rotate instant video feature flag. 2024-01-23 13:18:56 -05:00
Nicholas Tinsley
3a314c565c Deduplicate call participants in call info screen.. 2024-01-23 13:18:56 -05:00
Nicholas Tinsley
8c9b668cd7 Rotate incrementalMac proto field. 2024-01-23 13:18:56 -05:00
Nicholas Tinsley
7666462de2 Support Dolby Vision HDR videos in transcoder. 2024-01-23 13:18:56 -05:00
Nicholas Tinsley
54cf11a78b Request notification permissions for video sample app. 2024-01-23 11:52:04 -05:00
Greyson Parrelli
16b78f0843 Update username recovery flow. 2024-01-23 11:52:04 -05:00
Greyson Parrelli
5e97a6b192 Do not show username education if username is set. 2024-01-23 11:52:04 -05:00
Nicholas Tinsley
595cced5b7 Display overflow button with reactions OR raise hand. 2024-01-23 11:52:04 -05:00
Alex Hart
d17f12dd76 Update call event state after revoking a call link. 2024-01-23 11:52:04 -05:00
Alex Hart
8b5498cfbd Fix if check for call links. 2024-01-23 11:52:04 -05:00
Clark Chen
e4b755ced8 Correctly count message events for notification heuristic. 2024-01-23 11:52:04 -05:00
Nicholas Tinsley
5b7eb9c332 Update libsignal-client to 0.39.2 2024-01-23 11:52:04 -05:00
Alex Hart
cd8e07c102 Do not jump to top of the list when no search query present in story privacy. 2024-01-23 11:52:04 -05:00
Nicholas Tinsley
a36f31c2d0 Allow full disablement of StreamingTranscoder output size limit. 2024-01-23 11:52:04 -05:00
Nicholas Tinsley
ac0812a6dd Update AndroidX Media3 to 1.2.1. 2024-01-23 11:52:04 -05:00
Nicholas Tinsley
69c864f984 Allow slight variations in video output frame count. 2024-01-23 11:52:04 -05:00
Nicholas Tinsley
3c9a7fd329 Reorganize video converter library packages 2024-01-23 11:52:04 -05:00
Alex Hart
f81dc11f61 Prevent crash if a call doesn't have a message associated with it. 2024-01-23 11:52:04 -05:00
Greyson Parrelli
ce9a8f62d4 Check for network connectivity before making any substantial username alteration request. 2024-01-23 11:52:04 -05:00
Alex Hart
7e00d50078 Fix add to groups display without query. 2024-01-23 11:52:04 -05:00
Alex Hart
4af3f5038f Fix call labeling in settings page. 2024-01-23 11:52:04 -05:00
Nicholas Tinsley
7bb1c58452 Refactor Mp4FaststartPostProcessor. 2024-01-23 11:52:04 -05:00
Nicholas Tinsley
8e7383be05 Make Mp4Writer output compatible with Quicktime. 2024-01-23 11:52:04 -05:00
Cody Henthorne
bc5d27ed90 Prevent calling service crash loop when system restarts us in background. 2024-01-23 11:52:04 -05:00
Greyson Parrelli
ae884d79a1 Remove system contact links from undiscoverable contacts. 2024-01-23 11:52:04 -05:00
Pratyush Venkatakrishnan
cf89c988cf Set structured name when creating contacts.
Fixes #12305. When creating copies of contacts, set the structured name
fields instead of the unstructured name fields. This fixes bugs where
certain types of names are displayed incorrectly because the structured
name is inaccurately reconstructed from the unstructured name.

Closes #13366
2024-01-23 11:52:04 -05:00
Cody Henthorne
c54313c32e Add another verification code test case. 2024-01-23 11:52:04 -05:00
Cody Henthorne
3e001ddf1b Fix poor calling audio on certain devices. 2024-01-23 11:52:04 -05:00
Nicholas Tinsley
c41795e7f0 Extract postprocessor lambda into interface. 2024-01-23 11:52:04 -05:00
Nicholas Tinsley
52120afdbd Remove dependency on Guava limited stream. 2024-01-23 11:52:04 -05:00
Alex Hart
73d98da32b Polish about sheet UX. 2024-01-23 11:52:04 -05:00
Alex Hart
99f936ff97 Fix about sheet groups in common placeholder count. 2024-01-23 11:52:04 -05:00
Cody Henthorne
15afaeabe3 Use WebpSanitizer. 2024-01-23 11:52:04 -05:00
Greyson Parrelli
debf964b5f Add more info to internal conversation details. 2024-01-23 11:52:04 -05:00
Nicholas Tinsley
393730cea9 Fix video sample app output. 2024-01-23 11:52:04 -05:00
Greyson Parrelli
2194fbd535 Add support for fetching archive media metadata. 2024-01-23 11:52:04 -05:00
Alex Hart
cf59249d3d Rewrite chat colors delegation. 2024-01-23 11:52:04 -05:00
Alex Hart
2c554a3a20 Implement new ways to connect splash and megaphone. 2024-01-23 11:52:04 -05:00
Alex Hart
7b9554a42c Align profile screen with figma. 2024-01-23 11:52:03 -05:00
Alex Hart
dd527ce33c Align pnp privacy settings screens with figma. 2024-01-23 11:52:03 -05:00
Nicholas Tinsley
ddcc06c6b7 Update video transcoding sample cleanup file extension. 2024-01-23 11:52:03 -05:00
Alex Hart
a827033f25 Ensure incoming story reactions are marked as such. 2024-01-23 11:52:03 -05:00
Alex Hart
01841a4aa8 Set body on OutgoingMessage when adding to a group story. 2024-01-23 11:52:03 -05:00
Alex Hart
bb52e7159c Pluralize groups in common. 2024-01-23 11:52:03 -05:00
Ruben De Smet
3988b46a60 Fix typo for generateLastRes*t*ortKyberPreKey. 2024-01-23 11:52:03 -05:00
Nicholas Tinsley
caa5e233df Expose StreamingTranscoder configuration options in sample app. 2024-01-23 11:52:03 -05:00
Nicholas Tinsley
c7609f9a2a StreamingTranscoder sample app. 2024-01-23 11:52:03 -05:00
Greyson Parrelli
750fd4efe1 Improve safety of update and delete database methods. 2024-01-23 11:52:03 -05:00
Greyson Parrelli
e361795184 Improve logging and the naming of some fields. 2024-01-23 11:52:03 -05:00
Greyson Parrelli
64fff2adb2 Do not show contact info for non-discoverable contacts. 2024-01-23 11:52:03 -05:00
farewelltospring
846e398577 Add emoji to content description in EmojiImageView.
Fixes #13358
2024-01-23 11:52:03 -05:00
Greyson Parrelli
c1e9ee7a66 Allow changing the PNP config remotely. 2024-01-23 11:52:03 -05:00
Greyson Parrelli
8dc9e09f31 Bump version to 6.44.3 2024-01-23 11:44:33 -05:00
Greyson Parrelli
d1930d4936 Update baseline profile. 2024-01-23 11:44:31 -05:00
Greyson Parrelli
14539eb036 Update translations and other static files. 2024-01-23 11:28:39 -05:00
Greyson Parrelli
45f1853c44 Fix issue opening files in external apps. 2024-01-23 11:16:09 -05:00
Cody Henthorne
6eaebd112b Bump version to 6.44.2 2024-01-16 12:00:33 -05:00
Cody Henthorne
f0503faeff Updated baseline profile. 2024-01-16 11:54:11 -05:00
Cody Henthorne
64052d9dd2 Update translations and other static files. 2024-01-16 11:48:28 -05:00
Greyson Parrelli
db4634a0dd Fix potential NPE during group send. 2024-01-16 10:13:21 -05:00
Alex Hart
c725a2fabb Bump version to 6.44.1 2024-01-12 16:40:49 -04:00
Alex Hart
1ddececa16 Updated baseline profile. 2024-01-12 16:36:13 -04:00
Alex Hart
4e2e6cd83e Update translations and other static files. 2024-01-12 16:33:05 -04:00
Alex Hart
efcfe2dafc Fix call disposition update issue. 2024-01-12 15:59:45 -04:00
Alex Hart
b8ddb9e673 Fix several story issues around bad manifest interactions. 2024-01-12 10:11:06 -04:00
Alex Hart
a1f19e9d8a Bump version to 6.44.0 2024-01-11 17:13:48 -04:00
Alex Hart
5464edf639 Updated baseline profile. 2024-01-11 17:13:27 -04:00
Alex Hart
179c3790e6 Update translations and other static files. 2024-01-11 17:10:48 -04:00
Greyson Parrelli
cfae9753a3 Cleanup 2024-01-11 15:56:52 -05:00
Greyson Parrelli
61a4a3b322 Add support for restoring usernames post-registration. 2024-01-11 15:56:51 -05:00
Nicholas Tinsley
c16bf65a80 Change audio tone for raise hand. 2024-01-11 14:09:08 -05:00
Greyson Parrelli
16ea1912b4 fixup! Combine username confirmation and link creation into a single operation. 2024-01-11 12:29:40 -05:00
Greyson Parrelli
54012cb33a Combine username confirmation and link creation into a single operation. 2024-01-11 12:00:44 -05:00
Alex Hart
459c5c0a55 Username UX polish. 2024-01-11 11:32:38 -04:00
Greyson Parrelli
4216b56443 Update types of messages we backup. 2024-01-11 10:26:05 -05:00
Alex Hart
d7b79314d9 Fix crash if donation error dialog is dismissed after fragment disappears. 2024-01-11 11:09:37 -04:00
Cody Henthorne
a340b13f65 Fix group call continuing to ring after accepted on another device. 2024-01-11 10:01:27 -05:00
Alex Hart
72f6b15dba Hide header decorations when no subtitle or description is set. 2024-01-11 09:48:27 -04:00
Alex Hart
64dbb77e63 Fix clipping and padding on about sheet. 2024-01-10 17:01:56 -04:00
Alex Hart
af10b0e4f6 Clip avatar click indication to avatar circle. 2024-01-10 16:49:54 -04:00
Cody Henthorne
6f15c16a42 Add notification profile specific events for missed calls. 2024-01-10 15:30:45 -05:00
Alex Hart
86158027d7 Fix conversation header margins on thinner screens. 2024-01-10 16:25:26 -04:00
Greyson Parrelli
50369890f7 Refactor username state to use Username models. 2024-01-10 14:57:31 -05:00
Cody Henthorne
b8dea25aef Fix loss of formatted text on copy. 2024-01-10 14:08:02 -05:00
Cody Henthorne
64e9324aa0 Default new notification profiles to allow calls. 2024-01-10 11:53:08 -05:00
Cody Henthorne
20f8c69b07 Add donate_friend remote megaphone action. 2024-01-10 11:52:55 -05:00
Nicholas Tinsley
dd1a15c249 fixup! Refactor video testapp. 2024-01-10 11:52:20 -05:00
Nicholas Tinsley
8b24498fa7 Refactor video testapp. 2024-01-10 11:50:54 -05:00
Nicholas Tinsley
3673fa4908 Null safety for TransformProperties during attachment compression. 2024-01-09 16:59:20 -05:00
Nicholas Tinsley
960c1df5e7 Apply faststart to videos transcoded using Streams. 2024-01-09 16:59:20 -05:00
Greyson Parrelli
8c3c7c18ad Fix backup restore issue with new attachment table name. 2024-01-09 16:17:14 -05:00
Greyson Parrelli
b96a5af133 Fix issue when opening view-once messages. 2024-01-09 15:24:47 -05:00
Alex Hart
d0d4008100 Add cleanup job for group ringing. 2024-01-09 13:40:50 -04:00
Alex Hart
17a6fcafa1 Add ability to set custom username discriminators. 2024-01-09 11:37:39 -04:00
Bernie Dolan
fb75440769 Update payments to 6.0.1 2024-01-09 11:12:48 -04:00
Greyson Parrelli
fe39b5e4e2 Clean up AttachmentTable schema. 2024-01-09 11:12:48 -04:00
Alex Hart
62b142cdeb Add new state transitions for group call disposition. 2024-01-09 11:12:48 -04:00
Nicholas Tinsley
ffce7213b4 fixup! Fix width of attachment download status text. 2024-01-09 11:12:48 -04:00
Nicholas Tinsley
4205934806 fixup! Fix width of attachment download status text. 2024-01-09 11:12:48 -04:00
Nicholas Tinsley
7aab86643a Fix width of attachment download status text. 2024-01-09 11:12:48 -04:00
Alex Hart
1bb0c55d88 Cleanup unused imports in AttachmentTable. 2024-01-09 11:12:48 -04:00
Jim Gustafson
d22ac9ee00 Update to RingRTC v2.36.0 2024-01-09 11:12:48 -04:00
Greyson Parrelli
80a7db2511 Fix crash when sending trimmed videos. 2024-01-09 11:12:48 -04:00
Nicholas Tinsley
e0fb102572 Prevent back gesture during video trimming. 2024-01-09 11:12:48 -04:00
Cody Henthorne
8d1a16dcd6 Remove story references from multi-recipient saftey number change sheet. 2024-01-09 11:12:48 -04:00
Cody Henthorne
0b4bbd5db2 Fix unread decorator position when read follow unread. 2024-01-09 11:12:48 -04:00
Jim Gustafson
78b714e019 Remove legacy call message fields 2024-01-09 11:12:48 -04:00
Nicholas Tinsley
5022d81d9a Allow canceling media attachment send. 2024-01-09 11:12:48 -04:00
Nicholas Tinsley
deacf28d77 Make entire video preview file size bubble clickable. 2024-01-09 11:12:48 -04:00
Cody Henthorne
5e8d324860 Fix large balance issues. 2024-01-09 11:12:48 -04:00
Greyson Parrelli
3554f82ea3 Convert AttachmentTable and models to kotlin. 2024-01-09 11:12:48 -04:00
Alex Hart
888a40a5c4 Bump version to 6.43.2 2024-01-09 10:50:04 -04:00
Alex Hart
363953a0a4 Updated baseline profile. 2024-01-09 10:35:17 -04:00
Alex Hart
e599d9b14e Updated baseline profile. 2024-01-09 10:29:00 -04:00
Alex Hart
a33be1fad3 Update translations and other static files. 2024-01-09 10:22:14 -04:00
Greyson Parrelli
b6528e843e Fix profile fetches for empty groups. 2024-01-08 10:43:49 -05:00
Clark Chen
10c31e6591 Bump version to 6.43.1 2024-01-05 16:34:19 -05:00
Clark Chen
8fba64cb8f Update translations and other static files. 2024-01-05 16:21:05 -05:00
Nicholas Tinsley
c2fd08ca80 Display attachment download progress in MB. 2024-01-05 15:34:12 -05:00
Nicholas Tinsley
940bf0603e Only play consecutive voice notes. 2024-01-04 16:52:35 -05:00
Nicholas Tinsley
4d8a3dafe0 Do not play end tone for individual voice memo. 2024-01-04 16:23:40 -05:00
Nicholas Tinsley
d237bb0136 WebRtcCallView cleanups 2024-01-04 15:52:56 -05:00
Nicholas Tinsley
d42dfd3edd Don't hide call controls when interacting with PiP. 2024-01-04 15:50:31 -05:00
Alex Hart
ab4f17d55f Fix contentColor in dark mode on bottom sheets. 2024-01-04 15:54:14 -04:00
Alex Hart
07968febe8 Fix color tinting of icons in conversation header view. 2024-01-04 11:36:40 -04:00
Alex Hart
67ff0892d5 Fix bug where description would overwrite subtitle of conversation header. 2024-01-04 11:32:40 -04:00
Alex Hart
f1ee168657 Hide header decoration when in the release notes chat. 2024-01-04 11:18:28 -04:00
Nicholas Tinsley
5fef60c2b0 Only play raise hand sound if no other hands are raised. 2024-01-04 09:59:01 -05:00
Clark Chen
4afffc7dd3 Bump version to 6.43.0 2024-01-03 15:54:16 -05:00
Clark Chen
7e6346a694 Update translations and other static files. 2024-01-03 15:33:59 -05:00
Cody Henthorne
abf22eff44 Fix gift donation getting stuck in pending. 2024-01-03 15:12:45 -05:00
Cody Henthorne
3fa3b93c85 Fix improper notifications when delaying for linked device activity. 2024-01-03 15:12:45 -05:00
Nicholas Tinsley
549ef9dabc Revert "Merge database writes for attachment compression."
This reverts commit c50993bbf7c4a9e10a253f8d234c621ededffc47.
2024-01-03 15:12:45 -05:00
Nicholas Tinsley
59c75663b1 Adjust download size margin. 2024-01-03 15:12:45 -05:00
Greyson Parrelli
820a5bc363 Add extra guard during db migration.
Relates to #13183
2024-01-03 15:12:45 -05:00
Nicholas Tinsley
1b9cf631be Play sound for raised hand. 2024-01-03 15:12:45 -05:00
Nicholas Tinsley
b4f2208bae Merge database writes for attachment compression. 2024-01-03 15:12:45 -05:00
Greyson Parrelli
f4bcfca323 Add upload support for the main backup file in backupV2. 2024-01-03 15:12:45 -05:00
Nicholas Tinsley
f93a9a0f22 Sort call participants by raised hand. 2024-01-03 15:12:45 -05:00
Clark Chen
e5652197eb Fix content description for send message button. 2024-01-03 15:12:45 -05:00
Nicholas Tinsley
4a102d44cb Show raise hand on each particpiant. 2024-01-03 15:12:45 -05:00
Nicholas Tinsley
c837840e04 Properly hide toolbar gradient in calling view. 2024-01-03 15:12:45 -05:00
Nicholas Tinsley
b280ff7495 Instant video processing metadata. 2024-01-03 15:12:45 -05:00
Nicholas Tinsley
f6d8dcf6fd Accurate remaining download size for partially downloaded galleries. 2024-01-03 15:12:45 -05:00
Nicholas Tinsley
fa0661f58a Instant video playback for very small video files. 2024-01-03 15:12:45 -05:00
Nicholas Tinsley
e2fe137b05 Attachment download progress view fixes. 2024-01-03 15:12:45 -05:00
Alex Hart
b434e955ac Fix dropped gradient background from text stories sent from desktop. 2024-01-03 15:12:45 -05:00
Clark
d74b302edb Add remaining non-group update messages for backup. 2024-01-03 15:12:45 -05:00
Nicholas Tinsley
0200430346 TransferControlView padding tweak. 2024-01-03 15:12:45 -05:00
Alex Hart
d70ebc2398 Update style for conversation header view. 2024-01-03 15:12:45 -05:00
Alex Hart
2b606a2dec Add update-tick for call log timestamps. 2024-01-03 15:12:45 -05:00
Nicholas Tinsley
9c7f2250b9 Don't set attachment progress to 1 if it's complete. 2024-01-03 15:12:45 -05:00
Greyson Parrelli
c2ee621f64 Move maybeMarkRegistrationComplete to be non-blocking. 2024-01-03 15:12:45 -05:00
Greyson Parrelli
b2cdb46c84 Remove now-unnecessary data from prekey upload request. 2024-01-03 15:12:45 -05:00
Haris Dautovic
6d150aa5cb Move attachment constraints check to a background thread.
Fixes #13296
Closes #13306
2024-01-03 15:12:45 -05:00
Greyson Parrelli
62ece66f36 Fix bug where scheduled messages don't update snippets. 2024-01-03 15:12:45 -05:00
Nicholas Tinsley
628cd3896c Don't attempt to launch viewer for deleted view-once media. 2024-01-03 15:12:45 -05:00
Greyson Parrelli
f10418face Convert RetrieveProfileJob to kotlin. 2024-01-03 15:12:45 -05:00
Alex Hart
ca9a629804 Restyling review banner and cards. 2024-01-03 15:12:45 -05:00
Greyson Parrelli
bb30535afb Respect the phoneNumberSharing setting on the profile. 2024-01-03 15:12:44 -05:00
Cody Henthorne
624f863da4 Ensure call links UX is still available post new calling features. 2024-01-03 15:12:44 -05:00
Nicholas Tinsley
b55a9f253e Improve animations for reactions feed. 2024-01-03 15:12:44 -05:00
Nicholas Tinsley
5b9ef5b6b6 Separate string resources for edited message footer. 2024-01-03 15:12:44 -05:00
Cody Henthorne
e7c8ecbd31 Fix storage sync validation crash with local only unknown ids. 2024-01-03 15:12:44 -05:00
Cody Henthorne
592dfec8db Fix spacing between donate gateway buttons. 2024-01-03 15:12:44 -05:00
Cody Henthorne
23ebccc041 Fix notification profile toast crash. 2024-01-03 15:12:44 -05:00
Greyson Parrelli
036bd51298 Update libsignal-client to 0.37.0 2024-01-03 15:12:44 -05:00
Nicholas Tinsley
6d9a66cc41 Send download job cancellations upon remote delete. 2024-01-03 15:12:44 -05:00
Nicholas Tinsley
1923b84a01 Expand forwarding search touch target. 2024-01-03 15:12:44 -05:00
Alex Hart
9924e293c9 Implement new about sheet. 2024-01-03 15:12:44 -05:00
Cody Henthorne
490d3549e2 Attempt to fix message replies bottom sheet overlap. 2024-01-03 15:12:44 -05:00
Nicholas Tinsley
45d2a5d0b6 Make emoji burst more "out of the reaction". 2023-12-19 11:14:04 -05:00
Jim Gustafson
4d3929948c Update to RingRTC v2.35.0 2023-12-19 11:14:04 -05:00
Nicholas Tinsley
56ea09431f Make time duration dialog scrollable.
Addresses #13202.
2023-12-19 11:14:04 -05:00
Nicholas Tinsley
a53a5f4685 Calling 2.1 Improvements 2023-12-19 11:14:04 -05:00
Clark
52f3ff5ff6 Fix case where we delete unknown remote records but also handle unknown ids. 2023-12-19 11:14:04 -05:00
Alex Hart
7150783848 Revert "Fix case where we delete unknown remote records. "
This reverts commit ab29d194bb677ac51c2ad225e894e37f10cf6599.
2023-12-19 11:14:04 -05:00
Nicholas Tinsley
c03d3520d6 Raise hand polish. 2023-12-19 11:14:02 -05:00
Clark
d2e19c5129 Fix case where we delete unknown remote records. 2023-12-19 11:12:57 -05:00
Alex Hart
a829165f2d Clone overflow spannable in attempt to reduce flickering. 2023-12-19 11:12:57 -05:00
Alex Hart
f2707d053d Fix ANR when deleting a video during story creation. 2023-12-19 11:12:57 -05:00
Haris Dautovic
2a4ccf69b2 Use ViewCompat.setTransitionName in a safe way.
Fixes #13307
2023-12-19 11:12:57 -05:00
Alex Hart
818356dfed Add gift badge title to row item to mirror iOS. 2023-12-19 11:12:57 -05:00
Alex Hart
49d6743cbb Fix conversation list jank after returning from calls tab. 2023-12-19 11:12:57 -05:00
Nicholas Tinsley
9ed80d46b6 Add confirmation dialog for lowering a raised hand. 2023-12-19 11:12:57 -05:00
Nicholas Tinsley
c2f5a6390e Initial raise hand support. 2023-12-19 11:12:57 -05:00
Greyson Parrelli
f2a7824168 Fix error message interaction on text-only bubbles. 2023-12-19 11:12:57 -05:00
Greyson Parrelli
3439861f74 Stop writes to the deprecated SVR2 enclave. 2023-12-19 11:12:57 -05:00
Alex Hart
06ee096746 Fix crash when launching 'turn off contact joined' option via activity. 2023-12-19 11:12:56 -05:00
Greyson Parrelli
6230a7553d Add some initial backupV2 network infrastructure. 2023-12-19 11:12:56 -05:00
Nicholas Tinsley
e17b07bb12 Bump version to 6.42.3 2023-12-18 22:57:23 -05:00
Nicholas Tinsley
ea2d4e9206 Updated baseline profile. 2023-12-18 22:53:07 -05:00
Nicholas Tinsley
2fffc86a5a Update translations and other static files. 2023-12-18 22:49:43 -05:00
Nicholas Tinsley
1bb0af72ee Fix static IP resolver for macOS. 2023-12-18 21:34:55 -05:00
Cody Henthorne
23a58ac064 Fix showing control bottom sheet on incoming rings. 2023-12-15 12:04:33 -05:00
Nicholas Tinsley
af9d16852e Fix speaker icon colors for "small". 2023-12-15 11:58:01 -05:00
Cody Henthorne
ee47c1ea10 Fix calling controll visibility bugs. 2023-12-15 11:41:47 -05:00
Cody Henthorne
2b318152fa Fix call buttons overflowing bottom sheet. 2023-12-14 10:29:53 -05:00
Greyson Parrelli
10a363248e Bump version to 6.42.2 2023-12-13 18:22:38 -05:00
Greyson Parrelli
11d4bde18a Update translations and other static files. 2023-12-13 18:21:49 -05:00
Greyson Parrelli
b88b992cb6 Fix reading from the deprecated SVR2 enclave during the reglock flow. 2023-12-13 18:12:50 -05:00
Cody Henthorne
6e3e1b56fb Fix toolbar showing incorrectly bug. 2023-12-13 11:15:22 -05:00
Cody Henthorne
7dfda2598d Fix audio level background showing during ringing. 2023-12-13 10:52:40 -05:00
Cody Henthorne
853862c475 Fix call info sheet scroll position after dismissing. 2023-12-13 10:24:53 -05:00
Cody Henthorne
5627bb6bed Fix switch camera tooltip showing incorrectly. 2023-12-13 10:17:28 -05:00
Cody Henthorne
b646e69b6b Fix self-PIP boundaries in calls. 2023-12-13 10:15:28 -05:00
Cody Henthorne
632aeed00b Bump version to 6.42.1 2023-12-08 12:00:38 -05:00
Cody Henthorne
3f5b4bad62 Update translations and other static files. 2023-12-08 11:46:29 -05:00
Cody Henthorne
7bba4ed820 Move switch camera button to self pip. 2023-12-08 11:40:02 -05:00
Nicholas Tinsley
e22ff1bbfe Preserve lobby audio device choice. 2023-12-08 11:40:02 -05:00
Nicholas Tinsley
ab66567db6 Instant Video design improvements. 2023-12-08 11:40:02 -05:00
Cody Henthorne
a763e1729c Update audio indicator for new designs. 2023-12-08 11:40:02 -05:00
Nicholas Tinsley
6aac250990 Send reactions. 2023-12-07 15:18:05 -05:00
Greyson Parrelli
a749b97707 Migrate to a new SVR2 enclave. 2023-12-07 15:14:44 -05:00
Greyson Parrelli
f966b23f3a Update libsignal-client to 0.36.1 2023-12-07 14:23:33 -05:00
Greyson Parrelli
763025d19b Disable notification thumbnails on some devices.
Relates to #13287
2023-12-07 13:56:30 -05:00
Cody Henthorne
0bf2ae6075 Fix various UI quirks with new calling controls.
- Change nav bar color
- Fix padding in info list
2023-12-07 10:41:12 -05:00
Cody Henthorne
71f947484e Bump version to 6.42.0 2023-12-06 17:11:11 -05:00
Cody Henthorne
5160164111 Updated baseline profile. 2023-12-06 16:54:43 -05:00
Cody Henthorne
7501e029ab Update translations and other static files. 2023-12-06 16:49:31 -05:00
Cody Henthorne
a678555d8d Receive calling reactions support and control ux refactor.
Co-authored-by: Nicholas <nicholas@signal.org>
2023-12-06 16:42:04 -05:00
Clark
7ce2991b0f Do not turn screen on automatically for calls. 2023-12-06 08:37:33 -05:00
Greyson Parrelli
befa396e82 Export backupV2 using actual desired file format. 2023-12-04 16:18:56 -05:00
Clark Chen
fb69fc5af2 Add backupV2 support for simple update messages. 2023-12-04 16:18:56 -05:00
Greyson Parrelli
b540b5813e Setup backupV2 infrastructure and testing.
Co-authored-by: Clark Chen <clark@signal.org>
2023-12-04 16:18:56 -05:00
Greyson Parrelli
feb74d90f6 Update libsignal-client to 0.35.0 2023-12-04 16:18:56 -05:00
Greyson Parrelli
a0de2577e8 Add extra data to the provisioning proto. 2023-12-04 16:18:56 -05:00
Greyson Parrelli
dbc5112ada Move send requirement calculations to a background thread. 2023-12-04 16:18:56 -05:00
Greyson Parrelli
9f8335810c Do not resort the chat list based on identity verification updates. 2023-12-04 16:18:56 -05:00
Greyson Parrelli
c54e2388ce Fix potential stack overflow during thread deletion. 2023-12-04 16:18:56 -05:00
Greyson Parrelli
a8a7019411 Fix marking crashes as prompted. 2023-12-04 16:18:56 -05:00
Greyson Parrelli
098da3c3dd Attempt to address a search crash. 2023-12-04 16:18:56 -05:00
Cody Henthorne
71b5645801 Do not show donate megaphone if currently awaiting a donation to clear. 2023-12-04 16:18:56 -05:00
Cody Henthorne
f5d9fbe91c Allow deeplinks back into Signal from iDEAL banking apps. 2023-12-04 16:18:56 -05:00
Clark
420e15c179 Fix infinite identity key storage service clash. 2023-12-04 16:18:56 -05:00
Greyson Parrelli
74619f6f8d Prevent nested SQL error handlers. 2023-12-04 16:18:56 -05:00
Greyson Parrelli
1355a4a28d Fix bug where username may be put in e164 column. 2023-12-04 16:18:56 -05:00
Greyson Parrelli
97c34b889a Update logging format. 2023-12-04 16:18:53 -05:00
Cody Henthorne
0b0c54d874 Perform client side checks on name and email for donation flows. 2023-12-04 16:18:53 -05:00
Jim Gustafson
1005be006f Update to RingRTC v2.34.5 2023-12-04 16:18:53 -05:00
Greyson Parrelli
8db113a19b Fix potential crash in username share sheet. 2023-12-04 16:18:53 -05:00
Greyson Parrelli
075df8a26d Fix crash if you search for a malformed username. 2023-12-04 16:18:53 -05:00
Greyson Parrelli
38cf3f40e1 Fix various places where we should show the username. 2023-12-04 16:18:53 -05:00
Greyson Parrelli
4a0abbbee7 Ensure ACI/PNI are associated after processing a PNI promotion message. 2023-12-04 16:18:53 -05:00
Greyson Parrelli
15f1201a76 Remove leftover deprecated gv1 code. 2023-12-04 16:18:53 -05:00
Nicholas Tinsley
b152723ed2 Restrict StreamingTranscoder usage to feature flag. 2023-12-04 16:18:53 -05:00
Clark
84a2832a65 Fix getAndPossiblyMerge to run after successful transaction in case of nested transactions. 2023-12-04 16:18:53 -05:00
Clark
8037494f7a Stop throwing an assertion error when getting attachment TransformationProperties. 2023-12-04 16:18:53 -05:00
Nicholas Tinsley
97c1ace020 Do not display stop icon on uncancelable progress. 2023-12-04 16:18:53 -05:00
Nicholas
64457b0235 Unique string resource for "edited now". 2023-12-04 16:18:53 -05:00
Nicholas
67ef831681 Only generate incremental mac for faststart videos. 2023-12-04 16:18:53 -05:00
Nicholas Tinsley
1fd6aae3d9 Make "Retry" text clickable when downloading attachment. 2023-12-04 16:18:53 -05:00
Clark
61810cc977 Re-use session objects during multi-recipient encryption. 2023-12-04 16:18:53 -05:00
Nicholas Tinsley
59401e18ed Prevent crash on audio focus permission denied.
Addresses #13283.
2023-12-04 16:18:53 -05:00
Nicholas Tinsley
30eff93fa1 Fix donation FAQ URL. 2023-12-04 16:18:53 -05:00
Greyson Parrelli
7c5bae3b53 Remove unnecessary jcenter repository. 2023-12-04 16:18:53 -05:00
Greyson Parrelli
ee16e4236e Convert the topmost build.gradle to .gradlew.kts. 2023-12-04 16:18:53 -05:00
Greyson Parrelli
30e9cf9dc8 Convert settings and dependencies to .gradle.kts. 2023-12-04 16:18:53 -05:00
Greyson Parrelli
ac5d0bf8a3 Convert main app build.gradle to .gradle.kts. 2023-12-04 16:18:45 -05:00
Greyson Parrelli
923eb05e59 Converted libsignal-service to .gradle.kts. 2023-12-04 16:18:11 -05:00
Greyson Parrelli
8f59e51445 Move test into proper directory. 2023-12-04 16:18:11 -05:00
Greyson Parrelli
766733617e Converted all minor modules to .gradle.kts. 2023-12-04 16:18:11 -05:00
Nicholas Tinsley
d77744c562 Additional logging around retry button. 2023-12-04 16:18:11 -05:00
Nicholas Tinsley
0d6db1305e Don't check recorded voice note size if discarding. 2023-12-04 16:18:11 -05:00
Nicholas
61c2e59f41 Only update profiles if their contents has changed. 2023-12-04 16:18:11 -05:00
Clark
47dd7adf4b Use libsignal to derive access key during group send. 2023-12-04 16:18:11 -05:00
Nicholas
016736c455 Encrypting for multiple senders benchmark. 2023-12-04 16:18:11 -05:00
Cody Henthorne
6d3924ba43 Add group call NOT_ACCEPTED sync handling. 2023-12-04 16:18:10 -05:00
Greyson Parrelli
428f963243 Remove unique constraint from dlist table. 2023-12-04 16:18:10 -05:00
Mridul Barman
dd871b64ea Remove duplicate permission filtering.
Closes #12987
2023-12-04 16:18:10 -05:00
Greyson Parrelli
38863f618a Fix back navigation in username link settings screen. 2023-12-04 16:18:10 -05:00
Greyson Parrelli
8023285b9d Only mark username corrupted after repeated failures. 2023-12-04 16:18:10 -05:00
Greyson Parrelli
1aa7175006 Update order for attachment menu options. 2023-12-04 16:18:10 -05:00
Cody Henthorne
1222c30738 Bump version to 6.41.3 2023-12-04 16:12:20 -05:00
Cody Henthorne
0c8e62add9 Update translations and other static files. 2023-12-04 16:07:13 -05:00
Cody Henthorne
eb1d06b4a6 Fix thumbnail info generation bug in notifications. 2023-12-04 16:01:43 -05:00
Greyson Parrelli
d58c3292d7 Only use apk uploadTimestamp for non-website builds.
Relates to #13273
2023-12-04 15:54:14 -05:00
Greyson Parrelli
4320d26a3d Do not read PNP FF in job. 2023-12-04 15:12:20 -05:00
Cody Henthorne
3ca4e33d94 Fix sepa badge redemption job. 2023-12-04 15:12:20 -05:00
Greyson Parrelli
19e726a630 Bump version to 6.41.2 2023-11-17 15:10:15 -05:00
Greyson Parrelli
96dddef271 Update translations and other static files. 2023-11-17 15:09:35 -05:00
Cody Henthorne
34a228f85e Remove GV1 migration support. 2023-11-17 14:25:47 -05:00
Greyson Parrelli
213d996168 Fix issues with some japanese numbers being detected as shortcodes. 2023-11-17 14:25:47 -05:00
Greyson Parrelli
5a159ce01f Update libphonenumber to 8.13.23 2023-11-17 14:25:47 -05:00
Cody Henthorne
fed9c64113 Fix false-positive CVC errors in credit card donation flow. 2023-11-17 14:25:47 -05:00
Nicholas Tinsley
2d835581a5 Set audio picker bottom sheet text color to onSurface. 2023-11-17 14:25:47 -05:00
Nicholas Tinsley
c8f1ebdf4c Fix speakerphone drawables for selection. 2023-11-17 14:25:47 -05:00
Greyson Parrelli
98e3530acd Bump version to 6.41.1 2023-11-16 17:12:19 -05:00
Greyson Parrelli
1a5b216dd5 Update translations and other static files. 2023-11-16 17:11:47 -05:00
Cody Henthorne
ae98d5e3bd Fix NPE in wifi direct connection establishment. 2023-11-16 16:37:38 -05:00
Greyson Parrelli
750825b3c3 Fix potential bug with the in-app updater. 2023-11-16 16:19:50 -05:00
Cody Henthorne
8c255256c9 Remove mms_config xmls. 2023-11-16 16:19:50 -05:00
Cody Henthorne
19626361ec Fix bug allowing creation of new and sending in existing MMS groups. 2023-11-16 16:19:50 -05:00
Cody Henthorne
df4bd1fa4a Replace monthly badge expires with cancellation dialogs. 2023-11-16 10:22:01 -05:00
Greyson Parrelli
62bf5abd8d Bump version to 6.41.0 2023-11-15 17:32:01 -05:00
Greyson Parrelli
cd9ec9f346 Update translations and other static files. 2023-11-15 17:30:04 -05:00
Greyson Parrelli
cf7d5b3481 Remove deprecated storage service fields. 2023-11-15 17:02:44 -05:00
Cody Henthorne
12f9ac3aa4 Use shorter string for tab for better localization. 2023-11-15 17:02:44 -05:00
Greyson Parrelli
4519cdb49c Remove some unnecessary transactions in MessageContentProcessor. 2023-11-15 17:02:28 -05:00
Jim Gustafson
d20b6f355c Enable opus low bitrate redundancy for internal testing. 2023-11-15 17:02:21 -05:00
Greyson Parrelli
70e64003f9 Unconditionally enable the PNI capability. 2023-11-15 17:02:21 -05:00
Nicholas Tinsley
0a4644e743 Update conversation shortcuts onPause. 2023-11-15 17:02:21 -05:00
Greyson Parrelli
c428d23d8b Install prompt notification should dismiss failures and vice-versa. 2023-11-15 17:02:21 -05:00
Greyson Parrelli
d6b189badc Fix potential binding crash. 2023-11-15 17:02:21 -05:00
Greyson Parrelli
6e899391c0 Add back the foreign key transaction dance. 2023-11-15 17:02:21 -05:00
Greyson Parrelli
e0acbcc32d Perform one database upgrade at a time, saving progress as we go. 2023-11-15 17:02:21 -05:00
Cody Henthorne
95fb9ea117 Remove old remote configs. 2023-11-15 17:02:21 -05:00
Greyson Parrelli
e80b7cf0a2 Store receipt fields as booleans instead of counts. 2023-11-15 17:02:21 -05:00
Cody Henthorne
5e70c06075 Rotate ideal and sepa flags. 2023-11-15 17:02:21 -05:00
Cody Henthorne
1413b74f76 Add 'Add remote donate megaphone' to internal settings. 2023-11-15 17:02:21 -05:00
Cody Henthorne
bf0548e802 Fix donation-based remote config region checks. 2023-11-15 17:02:21 -05:00
Clark
b7e1863526 Fix timezone weirdness with scheduled messages. 2023-11-15 17:02:21 -05:00
Cody Henthorne
f189188563 Fix snackbar colors on older api verisons. 2023-11-15 17:02:21 -05:00
Greyson Parrelli
2f52664820 Merge MediaMmsMessageRecord into MmsMessageRecord. 2023-11-15 17:02:21 -05:00
Greyson Parrelli
5f6fa73be9 Delete NotificationMmsMessageRecord. 2023-11-15 17:02:21 -05:00
Greyson Parrelli
b7ec913cb9 Improve receipt perf by caching the pending PNI signature table. 2023-11-15 17:02:21 -05:00
Greyson Parrelli
ebef4b079c Fix LRUCache to be ordered by access time. 2023-11-15 17:02:21 -05:00
Greyson Parrelli
a81e5c4e6b Improve receipt processing via faster thread updates. 2023-11-15 17:02:21 -05:00
Greyson Parrelli
b0733dcd51 Reduce transactions during getAndPossiblyMerge. 2023-11-15 17:02:21 -05:00
Greyson Parrelli
e9bd35619d Add migration to fix registration state of some users. 2023-11-11 13:34:48 -05:00
Greyson Parrelli
6528b34152 Fix username education layout when text is long. 2023-11-11 13:34:48 -05:00
Rashad Sookram
b60c02e0c7 Update to RingRTC v2.34.4 2023-11-11 13:34:48 -05:00
Greyson Parrelli
a0792d166b Add additional logging around apk updates. 2023-11-11 13:34:48 -05:00
Greyson Parrelli
fcf36c4bc0 Fix color of x in color picker. 2023-11-11 13:34:48 -05:00
Greyson Parrelli
e5b617cd16 Fix text color in username link sharing bottom sheet. 2023-11-11 13:34:48 -05:00
Greyson Parrelli
0acefb4521 Fix storage sync issues with usernames. 2023-11-11 13:34:48 -05:00
Greyson Parrelli
111c8367a9 Fix discoverability setting persistence during registration. 2023-11-11 13:34:48 -05:00
Greyson Parrelli
ead8f209b6 Fix 'next' button alignment during registration. 2023-11-11 13:34:48 -05:00
Greyson Parrelli
96333b616b Add username link share sheet. 2023-11-11 13:34:48 -05:00
Greyson Parrelli
5698e0deda Bump version to 6.40.4 2023-11-11 12:38:36 -05:00
Greyson Parrelli
df2ddebf6c Bump version to 6.40.3 2023-11-11 12:05:20 -05:00
Greyson Parrelli
71ab7528e7 Fix shared group membership check. 2023-11-11 12:04:55 -05:00
Cody Henthorne
b4e459d831 Bump version to 6.40.2 2023-11-10 15:44:59 -05:00
Cody Henthorne
a57d3fdf3f Updated baseline profile. 2023-11-10 15:39:20 -05:00
Cody Henthorne
2c207873be Update translations and other static files. 2023-11-10 15:34:43 -05:00
Cody Henthorne
fc8385113f Fix system ANR when loading avatars for system UI. 2023-11-10 15:27:57 -05:00
Cody Henthorne
95d7d26f11 Add SEPA max amount exceeded dialog. 2023-11-10 15:27:57 -05:00
AsamK
43a13964bd Fix leaking okhttp response in error case.
Closes #13246
2023-11-10 15:27:57 -05:00
Cody Henthorne
d2053d2db7 Bump version to 6.40.1 2023-11-09 16:52:42 -05:00
Cody Henthorne
8ba2bcaa53 Updated baseline profile. 2023-11-09 16:30:25 -05:00
Cody Henthorne
f7abdbe97f Update translations and other static files. 2023-11-09 16:27:36 -05:00
Greyson Parrelli
91af3e60ba Fix potential NPE when building an account record. 2023-11-09 16:13:46 -05:00
Clark
8fe196cd7a Don't renotify every single message on new message. 2023-11-09 12:29:59 -05:00
Cody Henthorne
66d7241c03 Update donation learn more urls in error states. 2023-11-09 12:06:27 -05:00
Cody Henthorne
89d7c0b0d0 Bump version to 6.40.0 2023-11-08 20:11:41 -05:00
Cody Henthorne
d2ec62d681 Updated baseline profile. 2023-11-08 20:02:59 -05:00
Cody Henthorne
b6d38fe8f1 Update translations and other static files. 2023-11-08 19:57:56 -05:00
Cody Henthorne
1edc256148 Rotate ideal and sepa flags. 2023-11-08 19:51:46 -05:00
Cody Henthorne
24ac385898 Fix dark theme issues with compose bottom sheets and donation bank name typo. 2023-11-08 19:51:46 -05:00
Cody Henthorne
f062e58f7b Flesh out monthly iDEAL donation flow. 2023-11-08 19:51:46 -05:00
Greyson Parrelli
96aec401b9 Fix username link settings navigation. 2023-11-08 19:51:46 -05:00
Nicholas Tinsley
7ff0b7aa3c Increase clickable area of media download button. 2023-11-08 19:51:46 -05:00
Greyson Parrelli
e5ab5241d5 Centralize username logic in UsernameRepository. 2023-11-08 19:51:46 -05:00
Greyson Parrelli
0f4f87067e Add some detailed username docs to UsernameRepository. 2023-11-08 19:51:46 -05:00
Greyson Parrelli
3f32f816b0 Convert the UsernameRepository to an object. 2023-11-08 19:51:46 -05:00
Greyson Parrelli
73de2dfda7 Fix opening username links. 2023-11-08 19:51:46 -05:00
Nicholas
d6fd6cb5a3 Optimize thread ID DB query. 2023-11-08 19:51:46 -05:00
Nicholas
39fbbe896f Batch insert group receipts. 2023-11-08 19:51:46 -05:00
Greyson Parrelli
29c70acf4e Leave attachment insert early if there are no attachments. 2023-11-08 19:51:46 -05:00
Greyson Parrelli
5cd2568776 Fix foreground service crash with state tracking. 2023-11-08 19:51:46 -05:00
Greyson Parrelli
60a6535a12 Add internal test buttons to corrupt username state. 2023-11-08 19:51:46 -05:00
Greyson Parrelli
f48b389449 Fix padding in edit profile screen. 2023-11-08 19:51:46 -05:00
Greyson Parrelli
316dd210a0 Minor improvements to username tooltip. 2023-11-07 22:11:08 -05:00
Greyson Parrelli
a60712c09d If both usernames hashes are empty, consider valid. 2023-11-07 14:44:46 -05:00
Nicholas Tinsley
482cd564ff Lower priority of ConversationShortcutUpdateJob. 2023-11-07 13:37:21 -05:00
Greyson Parrelli
ac1171d43b Allow install of nightlies with the same version code but newer upload dates. 2023-11-07 12:51:09 -05:00
Greyson Parrelli
ed8953c430 Fix logging around username link reset failures. 2023-11-07 12:11:22 -05:00
Cody Henthorne
9a8aecaf3f Improve donation strings localization. 2023-11-07 11:56:01 -05:00
Greyson Parrelli
423719e7bc Fix username QR code sharing. 2023-11-07 11:43:40 -05:00
Cody Henthorne
7f2b6a874e Flesh out iDEAL sad path UX and address UI polish feedback. 2023-11-07 11:04:36 -05:00
Greyson Parrelli
cfe5ea3f9b Add the ability to download the current perfetto trace in Spinner. 2023-11-07 09:07:59 -05:00
Greyson Parrelli
07aa058a46 Update username consistency error handling. 2023-11-06 14:49:51 -05:00
Nicholas Tinsley
6cadf93c43 Forward touch events in timestamp of text message. 2023-11-06 14:48:35 -05:00
Cody Henthorne
60eb1332d2 Fix lifespan typo for ExternalLaunchDonationJob. 2023-11-06 11:04:24 -05:00
Nicholas Tinsley
a9ee7e93fd Increase IdentityKey cache size. 2023-11-06 10:46:53 -05:00
Clark
2782216e52 Remove slow getResourceAsStream when loading the Conscrypt provider. 2023-11-06 09:56:11 -05:00
Nicholas Tinsley
d22537c5f2 Fix LocalMetrics for text sends. 2023-11-03 15:24:36 -04:00
Nicholas Tinsley
57aa6c19e1 Set silent group updates to low job priority. 2023-11-03 15:20:38 -04:00
Nicholas Tinsley
761553d392 Avoid unnecessary lock acquisition. 2023-11-03 15:12:29 -04:00
Greyson Parrelli
29350ab7b0 Add a QR code link and tooltip in the profile settings. 2023-11-03 14:33:07 -04:00
Cody Henthorne
528ccc1e9d Navigate to main donation screen if user leaves for external app. 2023-11-03 12:56:03 -04:00
Cody Henthorne
20d26ad7ca Expand spinner timestamp conversion to job tables. 2023-11-03 12:51:17 -04:00
Cody Henthorne
5d23c5c902 Increase sepa receipt request lifespan to cover at least 14 business days. 2023-11-03 12:49:19 -04:00
Greyson Parrelli
145794bf04 Add the ability to set job priority. 2023-11-03 12:21:27 -04:00
Greyson Parrelli
d00f2aa8d0 Convert EditProfileFragment to kotlin. 2023-11-03 10:40:13 -04:00
Greyson Parrelli
3a20375567 Update profile edit screen to remove subtitles. 2023-11-03 09:25:09 -04:00
Greyson Parrelli
7be93a8a44 Rename profile fragments so they make sense. 2023-11-03 09:14:17 -04:00
Jim Gustafson
b5e4c4e92a Update to RingRTC v2.34.3 2023-11-02 21:30:07 -04:00
Greyson Parrelli
20285796bd Fix username link sharing toolbar. 2023-11-02 19:19:00 -04:00
Greyson Parrelli
7826ff94e3 Also check PNI prekey age on message send. 2023-11-02 19:19:00 -04:00
Greyson Parrelli
f1dccbb64d Consider empty usernames as absent. 2023-11-02 19:19:00 -04:00
Greyson Parrelli
528e301ce4 Improve username creation error debouncing. 2023-11-02 19:19:00 -04:00
Greyson Parrelli
af016a9c79 Fix username error message text wrapping. 2023-11-02 19:19:00 -04:00
Greyson Parrelli
cbd5738543 Fix some username creation tinting issues in dark theme. 2023-11-02 19:19:00 -04:00
Greyson Parrelli
2dd0899a3d Fix nightly updates. 2023-11-02 19:19:00 -04:00
Greyson Parrelli
e486a4baef Bump version to 6.39.1 2023-11-02 19:18:37 -04:00
Greyson Parrelli
5fc11baf9e Update translations and other static files. 2023-11-02 19:18:37 -04:00
Nicholas
157777cac1 Batch update DB upon group receipt. 2023-11-02 19:18:37 -04:00
Greyson Parrelli
99d0ee6725 Fix cursor crash in ConversationSettings.
Best way to fix a cursor crash it to... stop using cursors.

Fairly confident the crash was caused by us closing the cursor while it
was read. And there just isn't a good way to avoid that with how it was
written. So this ended up being a great excuse to move over to models.
2023-11-02 11:58:23 -04:00
Greyson Parrelli
b5c1051506 Attempt to fix AccountRecord restore crash.
My guess is that we're seeing a crash when updating because we're using
an out-of-date recipient snapshot that has an old/invalid storageId.

This commit uses a fresher recipient, and it prefers using the raw
record (what's in the DB) instead.
2023-11-02 10:25:17 -04:00
Greyson Parrelli
bba3334df5 Bump version to 6.39.0 2023-11-01 20:45:16 -04:00
Greyson Parrelli
74488feec2 Update translations and other static files. 2023-11-01 20:45:16 -04:00
Greyson Parrelli
54953abc67 Reduce nightly update check interval to 2 hours. 2023-11-01 20:45:16 -04:00
Cody Henthorne
117bbdbcdf Show dialog when attempting to donate again while still processing previous donation. 2023-11-01 20:45:16 -04:00
Nicholas Tinsley
b96b99c1c4 Swallow touch events in forwarding sheet overlay.
Addresses #13239.
2023-11-01 20:45:16 -04:00
Cody Henthorne
6e856a7648 Update bank mandate CTA UX. 2023-11-01 20:45:16 -04:00
Greyson Parrelli
0659edb762 Add a new foreground service for attachment progress. 2023-11-01 20:45:16 -04:00
Greyson Parrelli
dcb870c432 Only show ACI SN's. 2023-11-01 20:45:16 -04:00
Greyson Parrelli
772bafbe43 Inline feature flag to show ACI SN by default. 2023-11-01 20:45:16 -04:00
Greyson Parrelli
a9be6aff44 Fix delete crash. 2023-11-01 20:45:16 -04:00
Cody Henthorne
dcd7ec7383 Treat pnp builds also as staging builds. 2023-11-01 20:45:16 -04:00
Greyson Parrelli
c69a4dda00 Convert GenericForegroundService to kotlin. 2023-11-01 20:45:16 -04:00
Greyson Parrelli
a911926119 Always for a full contact sync via ContactDiscovery.refreshAll(). 2023-11-01 20:45:15 -04:00
Greyson Parrelli
6f30aec4f2 Improve LocalMetrics logging. 2023-11-01 20:45:15 -04:00
Greyson Parrelli
5a005fb809 Build a simple ANR detector. 2023-11-01 20:45:15 -04:00
Cody Henthorne
776a4c5dce Fix string issues. 2023-10-31 10:19:34 -04:00
Jim Gustafson
c53c316303 Update to RingRTC v2.34.2 2023-10-31 09:50:07 -04:00
Greyson Parrelli
622aa844e4 Clear glide memory cache on attachment delete. 2023-10-31 09:50:07 -04:00
Greyson Parrelli
de2cf6026e Fix nightly build. 2023-10-30 18:09:17 -04:00
Greyson Parrelli
a8e02b9ced Move envelope follow-up operations outside of the transaction. 2023-10-30 18:09:17 -04:00
Nicholas Tinsley
297308ad76 Only suggest scheduled message times in the future.
Addresses #13139
2023-10-30 18:09:17 -04:00
Greyson Parrelli
ea0c3dbe5a Add logging around database transactions and group recipient creation. 2023-10-30 18:09:17 -04:00
Greyson Parrelli
b8d229e58e Enable auto-updates for nightly builds. 2023-10-30 18:09:17 -04:00
Greyson Parrelli
c4f5110148 Stop falling back to CDN0 for attachments. 2023-10-30 18:09:17 -04:00
Jim Gustafson
7fdd7e89bd Update to RingRTC v2.34.1 2023-10-30 18:09:17 -04:00
Greyson Parrelli
2378346537 Bump version to 6.38.2 2023-10-30 17:54:17 -04:00
Greyson Parrelli
72fc5fc3b1 Update translations and other static files. 2023-10-30 17:53:56 -04:00
Greyson Parrelli
c063c99ba6 Fix contact joined messages. 2023-10-30 17:44:25 -04:00
Nicholas Tinsley
90341f0a6e Finish updating audio output assets. 2023-10-30 11:48:13 -04:00
Nicholas Tinsley
cdb9df5aba Bump version to 6.38.1 2023-10-27 19:26:48 -04:00
Nicholas Tinsley
1f6d9d6422 Updated baseline profile. 2023-10-27 19:26:28 -04:00
Nicholas Tinsley
ffbda7e521 Update translations and other static files. 2023-10-27 19:23:15 -04:00
Nicholas Tinsley
3b5ef29047 Update IncomingMessage in benchmark. 2023-10-27 18:32:35 -04:00
Nicholas Tinsley
14cf6ceb84 Change audio output assets. 2023-10-26 11:59:20 -04:00
Nicholas Tinsley
5fb940ff2a Update speaker view hint's legibility. 2023-10-26 11:29:26 -04:00
Nicholas Tinsley
f446e18289 Require attachment data to be shown in "All" list. 2023-10-26 11:23:47 -04:00
Cody Henthorne
84f26b32d6 Fix snc causing thread reordering. 2023-10-26 10:43:44 -04:00
Nicholas Tinsley
f7690245aa Bump version to 6.38.0 2023-10-25 15:51:26 -04:00
Nicholas Tinsley
f44e32fd6a Update translations and other static files. 2023-10-25 15:50:48 -04:00
Nicholas Tinsley
8bac34238e Prevent crash on reaction animation end. 2023-10-25 15:44:13 -04:00
Nicholas Tinsley
6d2f6ce2f9 Hide safety verification in bottom sheet for null senders. 2023-10-25 15:44:13 -04:00
Alex Hart
3a465cc56b Account for horizontal padding when calculating available footer space. 2023-10-25 15:44:13 -04:00
Greyson Parrelli
617369dbc0 Make type a mandatory param on IncomingMessage. 2023-10-25 15:44:13 -04:00
Alex Hart
c0fed1498e Utilze visibility instead of isVisible for restoration of view visibility after long press. 2023-10-25 15:44:13 -04:00
Alex Hart
5bdd3ce47a Add background to sticky year header for donation receipts. 2023-10-25 14:30:23 -04:00
Greyson Parrelli
6b3f41d675 Merge IncomingTextMessages into IncomingMessage. 2023-10-25 14:30:23 -04:00
Alex Hart
23b696c9cf Rotate ideal and sepa flags. 2023-10-25 14:30:23 -04:00
Alex Hart
079400f89e Donation error sheet wiring and UI. 2023-10-25 14:30:23 -04:00
Alex Hart
e12d467627 Add ordering strategy for netherlands donation gateways. 2023-10-25 14:30:23 -04:00
Alex Hart
162ca3e21e Add locale based feature flags for iDEAL / SEPA donations. 2023-10-25 14:30:23 -04:00
Alex Hart
dddd0e7b71 Pipe in bank mandate parameter. 2023-10-25 14:30:23 -04:00
Cody Henthorne
95d68e09da Cycle hide contacts remote config. 2023-10-25 14:30:23 -04:00
Alex Hart
aaf0cf53d8 Remove number suffix of iban text as it is redundant. 2023-10-25 14:30:23 -04:00
Cody Henthorne
9c8f759732 Fix group call not ringing/notifying bug when starting a call. 2023-10-25 14:30:23 -04:00
Nicholas Tinsley
a45c685893 Increase logging during registration. 2023-10-25 14:30:23 -04:00
Jordan Rose
87bdebb21c Remove dependency on presentations being present in AddMemberAction. 2023-10-25 14:30:00 -04:00
Greyson Parrelli
4f754ae309 Centralize media message inserts. 2023-10-23 14:31:39 -04:00
Greyson Parrelli
4b004f70ec Update website build to use PackageInstaller. 2023-10-23 14:30:37 -04:00
Greyson Parrelli
d468d4c21b Remove sms/mms receive code.
Simplifying incoming message insert. Removing this dead path as part of
it.
2023-10-23 13:29:07 -04:00
Alex Hart
a4df433d80 Add proper endpoint for setting iDEAL default payment method. 2023-10-23 14:13:13 -03:00
Alex Hart
10eec025d2 Implement pending one-time donation error handling. 2023-10-23 13:50:54 -03:00
Alex Hart
d497ed4195 Handle launch to external bank application. 2023-10-23 09:26:31 -03:00
Alex Hart
e63137d293 Add bank icons and ideal logo. 2023-10-20 15:28:10 -04:00
Cody Henthorne
c744743913 Bump version to 6.37.2 2023-10-20 14:44:28 -04:00
Cody Henthorne
42493c8eb6 Updated baseline profile. 2023-10-20 14:34:45 -04:00
Cody Henthorne
391839028f Update translations and other static files. 2023-10-20 14:29:31 -04:00
Cody Henthorne
d9ecfeadc0 Add prompt to re-enable full screen intent notifications. 2023-10-20 14:22:08 -04:00
Greyson Parrelli
d866646f66 Update enum for phone number sharing mode. 2023-10-20 14:22:08 -04:00
Alex Hart
6295041341 Fix paypal one-time donation handling. 2023-10-20 14:22:08 -04:00
Alex Hart
8c7556427a Fix temporary screenshot security functionality. 2023-10-20 14:22:08 -04:00
Alex Hart
82c91db78c Fix SaveStateHandler viewModel delegate. 2023-10-20 11:26:37 -03:00
Alex Hart
2d969f4fff Reset scroll position to 0 on contact selection list commit. 2023-10-20 10:40:39 -03:00
Alex Hart
e84d46dae7 Add check for call link prefix before parsing. 2023-10-20 10:33:01 -03:00
Alex Hart
b6828b54ca Fix group calling update messages. 2023-10-20 10:17:31 -03:00
Cody Henthorne
f9bd1bac36 Revert "Upgrade eventbus to 3.3.1"
This reverts commit 89199b81ab.
2023-10-19 13:11:13 -04:00
5783 changed files with 588541 additions and 204541 deletions

View File

@@ -6,4 +6,28 @@ ij_kotlin_allow_trailing_comma_on_call_site = false
ij_kotlin_allow_trailing_comma = false
ktlint_code_style = intellij_idea
twitter_compose_allowed_composition_locals=LocalExtendedColors
ktlint_standard_class-naming = disabled
ktlint_standard_class-naming = disabled
# below rules disabled during ktlint version migration because they were preexisting but should be corrected and re-enabled ASAP
ktlint_function_naming_ignore_when_annotated_with = Composable
ktlint_standard_property-naming = disabled
ktlint_standard_enum-wrapping = disabled
ktlint_standard_multiline-if-else = disabled
ktlint_standard_backing-property-naming = disabled
ktlint_standard_statement-wrapping = disabled
internal:ktlint-suppression = disabled
ktlint_standard_unnecessary-parentheses-before-trailing-lambda = disabled
ktlint_standard_value-parameter-comment = disabled
ktlint_standard_class-signature = disabled
ktlint_standard_function-expression-body = disabled
# Disable ktlint on generated source code, see
# https://github.com/JLLeitschuh/ktlint-gradle/issues/746
[**/build/generated/source/**]
ktlint = disabled
[build/generated/*/main/**]
ktlint = disabled
[**/build/generated-sources/**]
ktlint = disabled

View File

@@ -1,54 +0,0 @@
---
name: 🛠️ Bug report
about: Let us know that something isn't working as intended
title: ''
labels: ''
assignees: ''
---
<!-- This is a bug report template. By following the instructions below and filling out the sections with your information, you will help the developers get all the necessary data to fix your issue.
You can also preview your report before submitting it. You may remove sections that aren't relevant to your particular case.
Before we begin, please note that this tracker is only for issues. It is not for questions, comments, or feature requests.
If you would like to discuss a new feature or submit suggestions, please visit the community forum:
https://community.signalusers.org
If you are looking for support, please visit our support center:
https://support.signal.org/
or email support@signal.org
Let's begin with a checklist: Replace the empty checkboxes [ ] below with checked ones [x] accordingly. -->
- [ ] I have searched open and closed issues for duplicates
- [ ] I am submitting a bug report for existing functionality that does not work as intended
- [ ] I have read https://github.com/signalapp/Signal-Android/wiki/Submitting-useful-bug-reports
- [ ] This isn't a feature request or a discussion topic
----------------------------------------
### Bug description
Describe here the issue that you are experiencing.
### Steps to reproduce
- using hyphens as bullet points
- list the steps
- that reproduce the bug
**Actual result:** Describe here what happens after you run the steps above (i.e. the buggy behaviour)
**Expected result:** Describe here what should happen after you run the steps above (i.e. what would be the correct behaviour)
### Screenshots
<!-- you can drag and drop images below -->
### Device info
<!-- replace the examples with your info -->
**Device:** Manufacturer Model XVI
**Android version:** 0.0.0
**Signal version:** 0.0.0
### Link to debug log
<!-- immediately after the bug has happened capture a debug log via Signal's settings (Help -> Debug log) and paste the link below -->

75
.github/ISSUE_TEMPLATE/bug_report.yaml vendored Normal file
View File

@@ -0,0 +1,75 @@
name: 🛠️ Bug report
description: Let us know that something isn't working as intended
body:
- type: markdown
attributes:
value: |
Before we begin, please note that this tracker is only for issues. It is not for questions, comments, or feature requests.
If you would like to discuss a new feature or submit suggestions, please visit the [community forum](https://community.signalusers.org).
If you are looking for support, please visit our [support center](https://support.signal.org/) or email support@signal.org.
- type: checkboxes
id: guidelines
attributes:
label: "Guidelines"
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
- label: I am submitting a bug report for existing functionality that does not work as intended
required: true
- label: This isn't a feature request or a discussion topic
required: true
- type: textarea
id: description-of-bug
attributes:
label: Bug description
description: A clear and concise description of what the problem is that made you submit this report.
placeholder: When trying to do this, then...
validations:
required: true
- type: textarea
id: screenshots
attributes:
label: Screenshots
description: "How to take screenshots on Android: https://support.google.com/android/answer/9075928"
placeholder: You can drag and drop images into this text box.
validations:
required: false
- type: input
id: device-model
attributes:
label: Device
description: Usually located in system settings -> About Phone
placeholder: Manufacturer and model, e.g. Samsung S24
validations:
required: false
- type: input
id: android-version
attributes:
label: Android version
description: Usually located in system settings -> About Phone
placeholder: Android version, e.g. 14
validations:
required: false
- type: input
id: signal-version
attributes:
label: Signal version
description: You can see Signal's version number at Settings -> Help
placeholder: App version, e.g. 7.17.6
validations:
required: false
- type: textarea
id: debug-log
attributes:
label: Link to debug log
description: |
Submit a debug log via Settings -> Help -> Debug Log, then copy that URL here. Logs can only reliably cover ~24 hours, so please try to capture it as soon as you experience the bug!
See https://support.signal.org/hc/en-us/articles/360007318591#android_debug
placeholder: Debug log link, e.g. https://debuglogs.org/...
validations:
required: false

View File

@@ -1,6 +1,6 @@
blank_issues_enabled: false
contact_links:
- name: 📃Support Center
- name: 📃 Support Center
url: https://support.signal.org/
about: Find answers to many common questions.
- name: ✨ Feature request

View File

@@ -1,8 +1,8 @@
<!-- You can remove this first section if you have contributed before -->
### First time contributor checklist
<!-- replace the empty checkboxes [ ] below with checked ones [x] accordingly -->
- [ ] I have read [how to contribute](https://github.com/signalapp/Signal-Android/blob/master/CONTRIBUTING.md) to this project
- [ ] I have signed the [Contributor License Agreement](https://whispersystems.org/cla/)
- [ ] I have read [how to contribute](https://github.com/signalapp/Signal-Android/blob/main/CONTRIBUTING.md) to this project
- [ ] I have signed the [Contributor License Agreement](https://signal.org/cla/)
### Contributor checklist
<!-- replace the empty checkboxes [ ] below with checked ones [x] accordingly -->

View File

@@ -5,8 +5,7 @@ on:
push:
branches:
- 'main'
- '4.**'
- '5.**'
- '7.**'
permissions:
contents: read # to fetch code (actions/checkout)
@@ -17,26 +16,26 @@ jobs:
runs-on: ubuntu-latest-8-cores
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
- name: set up JDK 17
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
cache: gradle
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
uses: gradle/wrapper-validation-action@v3
- name: Build with Gradle
run: ./gradlew qa --parallel
run: ./gradlew qa
- 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

@@ -7,13 +7,16 @@ permissions:
contents: read # to fetch code (actions/checkout)
pull-requests: write # to comment on PR
env:
NDK_VERSION: '28.0.13004108'
jobs:
assemble-base:
if: ${{ github.repository != 'signalapp/Signal-Android' }}
runs-on: ubuntu-latest-8-cores
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
ref: ${{ github.event.pull_request.base.sha }}
@@ -25,32 +28,34 @@ jobs:
java-version: 17
cache: gradle
- name: Install NDK
run: echo "y" | ${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager --install "ndk;${{ env.NDK_VERSION }}"
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Cache base apk
id: cache-base
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: diffuse-base.apk
key: diffuse-${{ github.event.pull_request.base.sha }}
- name: Build with Gradle
if: steps.cache-base.outputs.cache-hit != 'true'
run: ./gradlew assemblePlayProdRelease --parallel
run: ./gradlew assemblePlayProdRelease
- name: Copy base apk
if: steps.cache-base.outputs.cache-hit != 'true'
run: mv app/build/outputs/apk/playProd/release/*arm64*.apk diffuse-base.apk
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
clean: 'false'
- name: Build with Gradle
run: ./gradlew assemblePlayProdRelease --parallel
run: ./gradlew assemblePlayProdRelease
- name: Copy PR apk
run: mv app/build/outputs/apk/playProd/release/*arm64*.apk diffuse-new.apk
@@ -70,7 +75,7 @@ jobs:
- uses: peter-evans/create-or-update-comment@v3
with:
body: |
Diffuse output:
Diffuse output:
${{ steps.diffuse.outputs.diff-gh-comment }}
edit-mode: replace
@@ -78,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 }}

View File

@@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Build image
run: cd reproducible-builds && docker build -t signal-android . && cd ..

5
.gitignore vendored
View File

@@ -3,6 +3,7 @@ captures/
project.properties
keystore.debug.properties
keystore.staging.properties
nightly-url.txt
.project
.settings
bin/
@@ -28,4 +29,6 @@ jni/libspeex/.deps/
pkcs11.password
dev.keystore
maps.key
local/
/local/
kls_database.db
.kotlin

3
.gitmodules vendored
View File

@@ -1,3 +0,0 @@
[submodule "libwebp"]
path = libwebp
url = https://github.com/webmproject/libwebp.git

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" />
@@ -10,6 +16,7 @@
<option name="ALIGN_MULTILINE_TEXT_BLOCKS" value="true" />
<option name="IMPORT_LAYOUT_TABLE">
<value>
<package name="" withSubpackages="true" static="false" module="true" />
<package name="android" withSubpackages="true" static="false" />
<emptyLine />
<package name="androidx" withSubpackages="true" static="false" />

2
.tool-versions Normal file
View File

@@ -0,0 +1,2 @@
java openjdk-17.0.2
uv latest

View File

@@ -17,7 +17,6 @@ Truths which we believe to be self-evident:
## Building
1. You'll need to get the `libwebp` submodule after checking out the repository with `git submodule init && git submodule update`
1. Most things are pretty straightforward, and opening the project in Android Studio should get you most of the way there.
1. Depending on your configuration, you'll also likely need to install additional SDK Tool components, namely the versions of NDK and CMake we are currently using in our [Docker](https://github.com/signalapp/Signal-Android/blob/main/reproducible-builds/Dockerfile#L30) configuration.
@@ -63,6 +62,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

@@ -1,4 +1,4 @@
# Signal Android
# Signal Android
Signal is a simple, powerful, and secure messenger.
@@ -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.
@@ -54,7 +54,7 @@ The form and manner of this distribution makes it eligible for export under the
## License
Copyright 2013-2023 Signal
Copyright 2013-2025 Signal Messenger, LLC
Licensed under the GNU AGPLv3: https://www.gnu.org/licenses/agpl-3.0.html

2
apntool/.gitignore vendored
View File

@@ -1,2 +0,0 @@
*.db
*.db.gz

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,106 +0,0 @@
import sys
import re
import argparse
import sqlite3
import gzip
from progressbar import ProgressBar, Counter, Timer
from lxml import etree
parser = argparse.ArgumentParser(prog='apntool', description="""Process Android's apn xml files and drop them into an
easily queryable SQLite db. Tested up to version 9 of
their APN file.""")
parser.add_argument('-v', '--version', action='version', version='%(prog)s v1.1')
parser.add_argument('-i', '--input', help='the xml file to parse', default='apns.xml', required=False)
parser.add_argument('-o', '--output', help='the sqlite db output file', default='apns.db', required=False)
parser.add_argument('--quiet', help='do not show progress or verbose instructions', action='store_true', required=False)
parser.add_argument('--no-gzip', help="do not gzip after creation", action='store_true', required=False)
args = parser.parse_args()
def normalized(target):
o2_typo = re.compile(r"02\.co\.uk")
port_typo = re.compile(r"(\d+\.\d+\.\d+\.\d+)\.(\d+)")
leading_zeros = re.compile(r"(/|\.|^)0+(\d+)")
subbed = o2_typo.sub(r'o2.co.uk', target)
subbed = port_typo.sub(r'\1:\2', subbed)
subbed = leading_zeros.sub(r'\1\2', subbed)
return subbed
try:
connection = sqlite3.connect(args.output)
cursor = connection.cursor()
cursor.execute('SELECT SQLITE_VERSION()')
version = cursor.fetchone()
if not args.quiet:
print("SQLite version: %s" % version)
print("Opening %s" % args.input)
cursor.execute("PRAGMA legacy_file_format=ON")
cursor.execute("PRAGMA journal_mode=DELETE")
cursor.execute("PRAGMA page_size=32768")
cursor.execute("VACUUM")
cursor.execute("DROP TABLE IF EXISTS apns")
cursor.execute("""CREATE TABLE apns(_id INTEGER PRIMARY KEY, mccmnc TEXT, mcc TEXT, mnc TEXT, carrier TEXT,
apn TEXT, mmsc TEXT, port INTEGER, type TEXT, protocol TEXT, bearer TEXT, roaming_protocol TEXT,
carrier_enabled INTEGER, mmsproxy TEXT, mmsport INTEGER, proxy TEXT, mvno_match_data TEXT,
mvno_type TEXT, authtype INTEGER, user TEXT, password TEXT, server TEXT)""")
apns = etree.parse(args.input)
root = apns.getroot()
pbar = None
if not args.quiet:
pbar = ProgressBar(widgets=['Processed: ', Counter(), ' apns (', Timer(), ')'], maxval=len(list(root))).start()
count = 0
for apn in root.iter("apn"):
if apn.get("mmsc") is None:
continue
sqlvars = ["?" for x in apn.attrib.keys()] + ["?"]
mccmnc = "%s%s" % (apn.get("mcc"), apn.get("mnc"))
normalized_mmsc = normalized(apn.get("mmsc"))
if normalized_mmsc != apn.get("mmsc"):
print("normalize MMSC: %s => %s" % (apn.get("mmsc"), normalized_mmsc))
apn.set("mmsc", normalized_mmsc)
if not apn.get("mmsproxy") is None:
normalized_mmsproxy = normalized(apn.get("mmsproxy"))
if normalized_mmsproxy != apn.get("mmsproxy"):
print("normalize proxy: %s => %s" % (apn.get("mmsproxy"), normalized_mmsproxy))
apn.set("mmsproxy", normalized_mmsproxy)
values = [apn.get(attrib) for attrib in apn.attrib.keys()] + [mccmnc]
keys = apn.attrib.keys() + ["mccmnc"]
cursor.execute("SELECT 1 FROM apns WHERE mccmnc = ? AND apn = ?", [mccmnc, apn.get("apn")])
if cursor.fetchone() is None:
statement = "INSERT INTO apns (%s) VALUES (%s)" % (", ".join(keys), ", ".join(sqlvars))
cursor.execute(statement, values)
count += 1
if not args.quiet:
pbar.update(count)
if not args.quiet:
pbar.finish()
connection.commit()
print("Successfully written to %s" % args.output)
if not args.no_gzip:
gzipped_file = "%s.gz" % (args.output,)
with open(args.output, 'rb') as orig:
with gzip.open(gzipped_file, 'wb') as gzipped:
gzipped.writelines(orig)
print("Successfully gzipped to %s" % gzipped_file)
if not args.quiet:
print("\nTo include this in the distribution, copy it to the project's assets/databases/ directory.")
print("If you support API 10 or lower, you must use the gzipped version to avoid corruption.")
except sqlite3.Error as e:
if connection:
connection.rollback()
print("Error: %s" % e.args[0])
sys.exit(1)
finally:
if connection:
connection.close()

View File

@@ -1,3 +0,0 @@
argparse>=1.2.1
lxml>=3.3.3
progressbar-latest>=2.4

View File

@@ -1,696 +0,0 @@
import com.android.build.api.dsl.ManagedVirtualDevice
plugins {
id 'com.android.application'
id 'kotlin-android'
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'
id 'licenses'
id 'kotlin-kapt'
}
apply from: 'static-ips.gradle'
wire {
kotlin {
javaInterop = true
}
sourcePath {
srcDir 'src/main/protowire'
}
protoPath {
srcDir "${project.rootDir}/libsignal-service/src/main/protowire"
}
}
ktlint {
version = "0.49.1"
}
def canonicalVersionCode = 1349
def canonicalVersionName = "6.37.1"
def postFixSize = 100
def abiPostFix = ['universal' : 0,
'armeabi-v7a' : 1,
'arm64-v8a' : 2,
'x86' : 3,
'x86_64' : 4]
def keystores = [ 'debug' : loadKeystoreProperties('keystore.debug.properties') ]
def selectableVariants = [
'nightlyProdSpinner',
'nightlyProdPerf',
'nightlyProdRelease',
'nightlyStagingRelease',
'nightlyPnpPerf',
'nightlyPnpRelease',
'playProdDebug',
'playProdSpinner',
'playProdCanary',
'playProdPerf',
'playProdBenchmark',
'playProdInstrumentation',
'playProdRelease',
'playStagingDebug',
'playStagingCanary',
'playStagingSpinner',
'playStagingPerf',
'playStagingInstrumentation',
'playPnpDebug',
'playPnpSpinner',
'playStagingRelease',
'websiteProdSpinner',
'websiteProdRelease',
]
android {
namespace 'org.thoughtcrime.securesms'
buildToolsVersion = signalBuildToolsVersion
compileSdkVersion = signalCompileSdkVersion
flavorDimensions 'distribution', 'environment'
useLibrary 'org.apache.http.legacy'
testBuildType 'instrumentation'
kotlinOptions {
jvmTarget = signalKotlinJvmTarget
freeCompilerArgs = ["-Xallow-result-return-type"]
}
signingConfigs {
if (keystores.debug != null) {
debug {
storeFile file("${project.rootDir}/${keystores.debug.storeFile}")
storePassword keystores.debug.storePassword
keyAlias keystores.debug.keyAlias
keyPassword keystores.debug.keyPassword
}
}
}
testOptions {
execution 'ANDROIDX_TEST_ORCHESTRATOR'
unitTests {
includeAndroidResources = true
}
managedDevices {
devices {
pixel3api30 (ManagedVirtualDevice) {
device = "Pixel 3"
apiLevel = 30
systemImageSource = "google-atd"
require64Bit = false
}
}
}
}
sourceSets {
test {
java.srcDirs += "$projectDir/src/testShared"
}
androidTest {
java.srcDirs += "$projectDir/src/testShared"
}
}
compileOptions {
coreLibraryDesugaringEnabled true
sourceCompatibility signalJavaVersion
targetCompatibility signalJavaVersion
}
packagingOptions {
resources {
excludes += ['LICENSE.txt', 'LICENSE', 'NOTICE', 'asm-license.txt', 'META-INF/LICENSE', 'META-INF/LICENSE.md', 'META-INF/NOTICE', 'META-INF/LICENSE-notice.md', 'META-INF/proguard/androidx-annotations.pro', 'libsignal_jni.dylib', 'signal_jni.dll']
}
}
buildFeatures {
viewBinding true
compose true
}
composeOptions {
kotlinCompilerExtensionVersion = '1.4.4'
}
defaultConfig {
versionCode canonicalVersionCode * postFixSize
versionName canonicalVersionName
minSdkVersion signalMinSdkVersion
targetSdkVersion signalTargetSdkVersion
multiDexEnabled true
vectorDrawables.useSupportLibrary = true
project.ext.set("archivesBaseName", "Signal")
manifestPlaceholders = [mapsKey:"AIzaSyCSx9xea86GwDKGznCAULE9Y5a8b-TfN9U"]
buildConfigField "long", "BUILD_TIMESTAMP", getLastCommitTimestamp() + "L"
buildConfigField "String", "GIT_HASH", "\"${getGitHash()}\""
buildConfigField "String", "SIGNAL_URL", "\"https://chat.signal.org\""
buildConfigField "String", "STORAGE_URL", "\"https://storage.signal.org\""
buildConfigField "String", "SIGNAL_CDN_URL", "\"https://cdn.signal.org\""
buildConfigField "String", "SIGNAL_CDN2_URL", "\"https://cdn2.signal.org\""
buildConfigField "String", "SIGNAL_CDN3_URL", "\"https://cdn3.signal.org\""
buildConfigField "String", "SIGNAL_CDSI_URL", "\"https://cdsi.signal.org\""
buildConfigField "String", "SIGNAL_SERVICE_STATUS_URL", "\"uptime.signal.org\""
buildConfigField "String", "SIGNAL_KEY_BACKUP_URL", "\"https://api.backup.signal.org\""
buildConfigField "String", "SIGNAL_SVR2_URL", "\"https://svr2.signal.org\""
buildConfigField "String", "SIGNAL_SFU_URL", "\"https://sfu.voip.signal.org\""
buildConfigField "String", "SIGNAL_STAGING_SFU_URL", "\"https://sfu.staging.voip.signal.org\""
buildConfigField "String[]", "SIGNAL_SFU_INTERNAL_NAMES", "new String[]{\"Test\", \"Staging\", \"Development\"}"
buildConfigField "String[]", "SIGNAL_SFU_INTERNAL_URLS", "new String[]{\"https://sfu.test.voip.signal.org\", \"https://sfu.staging.voip.signal.org\", \"https://sfu.staging.test.voip.signal.org\"}"
buildConfigField "String", "CONTENT_PROXY_HOST", "\"contentproxy.signal.org\""
buildConfigField "int", "CONTENT_PROXY_PORT", "443"
buildConfigField "String[]", "SIGNAL_SERVICE_IPS", service_ips
buildConfigField "String[]", "SIGNAL_STORAGE_IPS", storage_ips
buildConfigField "String[]", "SIGNAL_CDN_IPS", cdn_ips
buildConfigField "String[]", "SIGNAL_CDN2_IPS", cdn2_ips
buildConfigField "String[]", "SIGNAL_CDN3_IPS", cdn3_ips
buildConfigField "String[]", "SIGNAL_SFU_IPS", sfu_ips
buildConfigField "String[]", "SIGNAL_CONTENT_PROXY_IPS", content_proxy_ips
buildConfigField "String[]", "SIGNAL_CDSI_IPS", cdsi_ips
buildConfigField "String[]", "SIGNAL_SVR2_IPS", svr2_ips
buildConfigField "String", "SIGNAL_AGENT", "\"OWA\""
buildConfigField "String", "CDSI_MRENCLAVE", "\"0f6fd79cdfdaa5b2e6337f534d3baf999318b0c462a7ac1f41297a3e4b424a57\""
buildConfigField "String", "SVR2_MRENCLAVE", "\"6ee1042f9e20f880326686dd4ba50c25359f01e9f733eeba4382bca001d45094\""
buildConfigField "String", "UNIDENTIFIED_SENDER_TRUST_ROOT", "\"BXu6QIKVz5MA8gstzfOgRQGqyLqOwNKHL6INkv3IHWMF\""
buildConfigField "String", "ZKGROUP_SERVER_PUBLIC_PARAMS", "\"AMhf5ywVwITZMsff/eCyudZx9JDmkkkbV6PInzG4p8x3VqVJSFiMvnvlEKWuRob/1eaIetR31IYeAbm0NdOuHH8Qi+Rexi1wLlpzIo1gstHWBfZzy1+qHRV5A4TqPp15YzBPm0WSggW6PbSn+F4lf57VCnHF7p8SvzAA2ZZJPYJURt8X7bbg+H3i+PEjH9DXItNEqs2sNcug37xZQDLm7X36nOoGPs54XsEGzPdEV+itQNGUFEjY6X9Uv+Acuks7NpyGvCoKxGwgKgE5XyJ+nNKlyHHOLb6N1NuHyBrZrgtY/JYJHRooo5CEqYKBqdFnmbTVGEkCvJKxLnjwKWf+fEPoWeQFj5ObDjcKMZf2Jm2Ae69x+ikU5gBXsRmoF94GXTLfN0/vLt98KDPnxwAQL9j5V1jGOY8jQl6MLxEs56cwXN0dqCnImzVH3TZT1cJ8SW1BRX6qIVxEzjsSGx3yxF3suAilPMqGRp4ffyopjMD1JXiKR2RwLKzizUe5e8XyGOy9fplzhw3jVzTRyUZTRSZKkMLWcQ/gv0E4aONNqs4P\""
buildConfigField "String", "GENERIC_SERVER_PUBLIC_PARAMS", "\"AByD873dTilmOSG0TjKrvpeaKEsUmIO8Vx9BeMmftwUs9v7ikPwM8P3OHyT0+X3EUMZrSe9VUp26Wai51Q9I8mdk0hX/yo7CeFGJyzoOqn8e/i4Ygbn5HoAyXJx5eXfIbqpc0bIxzju4H/HOQeOpt6h742qii5u/cbwOhFZCsMIbElZTaeU+BWMBQiZHIGHT5IE0qCordQKZ5iPZom0HeFa8Yq0ShuEyAl0WINBiY6xE3H/9WnvzXBbMuuk//eRxXgzO8ieCeK8FwQNxbfXqZm6Ro1cMhCOF3u7xoX83QhpN\""
buildConfigField "String[]", "LANGUAGES", "new String[]{\"" + autoResConfig().collect { s -> s.replace('-r', '_') }.join('", "') + '"}'
buildConfigField "int", "CANONICAL_VERSION_CODE", "$canonicalVersionCode"
buildConfigField "String", "DEFAULT_CURRENCIES", "\"EUR,AUD,GBP,CAD,CNY\""
buildConfigField "String", "GIPHY_API_KEY", "\"3o6ZsYH6U6Eri53TXy\""
buildConfigField "String", "SIGNAL_CAPTCHA_URL", "\"https://signalcaptchas.org/registration/generate.html\""
buildConfigField "String", "RECAPTCHA_PROOF_URL", "\"https://signalcaptchas.org/challenge/generate.html\""
buildConfigField "String", "BUILD_DISTRIBUTION_TYPE", "\"unset\""
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_PUBLISHABLE_KEY", "\"pk_live_6cmGZopuTsV8novGgJJW9JpC00vLIgtQ1D\""
buildConfigField "boolean", "TRACING_ENABLED", "false"
ndk {
abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
}
resourceConfigurations += []
splits {
abi {
enable !project.hasProperty('generateBaselineProfile')
reset()
include 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
universalApk true
}
}
testInstrumentationRunner "org.thoughtcrime.securesms.testing.SignalTestRunner"
testInstrumentationRunnerArguments clearPackageData: 'true'
}
buildTypes {
debug {
if (keystores['debug'] != null) {
signingConfig signingConfigs.debug
}
isDefault true
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'),
'proguard/proguard-firebase-messaging.pro',
'proguard/proguard-google-play-services.pro',
'proguard/proguard-jackson.pro',
'proguard/proguard-sqlite.pro',
'proguard/proguard-appcompat-v7.pro',
'proguard/proguard-square-okhttp.pro',
'proguard/proguard-square-okio.pro',
'proguard/proguard-rounded-image-view.pro',
'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',
'proguard/proguard-okhttp.pro',
'proguard/proguard-ez-vcard.pro',
'proguard/proguard.cfg'
testProguardFiles 'proguard/proguard-automation.pro',
'proguard/proguard.cfg'
manifestPlaceholders = [mapsKey:getMapsKey()]
buildConfigField "String", "BUILD_VARIANT_TYPE", "\"Debug\""
}
instrumentation {
initWith debug
isDefault false
minifyEnabled false
matchingFallbacks = ['debug']
applicationIdSuffix ".instrumentation"
buildConfigField "String", "BUILD_VARIANT_TYPE", "\"Instrumentation\""
}
spinner {
initWith debug
isDefault false
minifyEnabled false
matchingFallbacks = ['debug']
buildConfigField "String", "BUILD_VARIANT_TYPE", "\"Spinner\""
}
release {
minifyEnabled true
proguardFiles = buildTypes.debug.proguardFiles
buildConfigField "String", "BUILD_VARIANT_TYPE", "\"Release\""
}
perf {
initWith debug
isDefault false
debuggable false
minifyEnabled true
matchingFallbacks = ['debug']
buildConfigField "String", "BUILD_VARIANT_TYPE", "\"Perf\""
buildConfigField "boolean", "TRACING_ENABLED", "true"
}
benchmark {
initWith debug
isDefault false
debuggable false
minifyEnabled true
matchingFallbacks = ['debug']
buildConfigField "String", "BUILD_VARIANT_TYPE", "\"Benchmark\""
buildConfigField "boolean", "TRACING_ENABLED", "true"
}
canary {
initWith debug
isDefault false
minifyEnabled false
matchingFallbacks = ['debug']
buildConfigField "String", "BUILD_VARIANT_TYPE", "\"Canary\""
}
}
productFlavors {
play {
dimension 'distribution'
isDefault true
ext.websiteUpdateUrl = "null"
buildConfigField "boolean", "PLAY_STORE_DISABLED", "false"
buildConfigField "String", "NOPLAY_UPDATE_URL", "$ext.websiteUpdateUrl"
buildConfigField "String", "BUILD_DISTRIBUTION_TYPE", "\"play\""
}
website {
dimension 'distribution'
ext.websiteUpdateUrl = "https://updates.signal.org/android"
buildConfigField "boolean", "PLAY_STORE_DISABLED", "true"
buildConfigField "String", "NOPLAY_UPDATE_URL", "\"$ext.websiteUpdateUrl\""
buildConfigField "String", "BUILD_DISTRIBUTION_TYPE", "\"website\""
}
nightly {
dimension 'distribution'
versionNameSuffix "-nightly-untagged-${getDateSuffix()}"
ext.websiteUpdateUrl = "null"
buildConfigField "boolean", "PLAY_STORE_DISABLED", "false"
buildConfigField "String", "NOPLAY_UPDATE_URL", "$ext.websiteUpdateUrl"
buildConfigField "String", "BUILD_DISTRIBUTION_TYPE", "\"nightly\""
}
prod {
dimension 'environment'
isDefault true
buildConfigField "String", "MOBILE_COIN_ENVIRONMENT", "\"mainnet\""
buildConfigField "String", "BUILD_ENVIRONMENT_TYPE", "\"Prod\""
}
staging {
dimension 'environment'
applicationIdSuffix ".staging"
buildConfigField "String", "SIGNAL_URL", "\"https://chat.staging.signal.org\""
buildConfigField "String", "STORAGE_URL", "\"https://storage-staging.signal.org\""
buildConfigField "String", "SIGNAL_CDN_URL", "\"https://cdn-staging.signal.org\""
buildConfigField "String", "SIGNAL_CDN2_URL", "\"https://cdn2-staging.signal.org\""
buildConfigField "String", "SIGNAL_CDN3_URL", "\"https://cdn3-staging.signal.org\""
buildConfigField "String", "SIGNAL_CDSI_URL", "\"https://cdsi.staging.signal.org\""
buildConfigField "String", "SIGNAL_KEY_BACKUP_URL", "\"https://api-staging.backup.signal.org\""
buildConfigField "String", "SIGNAL_SVR2_URL", "\"https://svr2.staging.signal.org\""
buildConfigField "String", "SVR2_MRENCLAVE", "\"a8a261420a6bb9b61aa25bf8a79e8bd20d7652531feb3381cbffd446d270be95\""
buildConfigField "String", "UNIDENTIFIED_SENDER_TRUST_ROOT", "\"BbqY1DzohE4NUZoVF+L18oUPrK3kILllLEJh2UnPSsEx\""
buildConfigField "String", "ZKGROUP_SERVER_PUBLIC_PARAMS", "\"ABSY21VckQcbSXVNCGRYJcfWHiAMZmpTtTELcDmxgdFbtp/bWsSxZdMKzfCp8rvIs8ocCU3B37fT3r4Mi5qAemeGeR2X+/YmOGR5ofui7tD5mDQfstAI9i+4WpMtIe8KC3wU5w3Inq3uNWVmoGtpKndsNfwJrCg0Hd9zmObhypUnSkfYn2ooMOOnBpfdanRtrvetZUayDMSC5iSRcXKpdlukrpzzsCIvEwjwQlJYVPOQPj4V0F4UXXBdHSLK05uoPBCQG8G9rYIGedYsClJXnbrgGYG3eMTG5hnx4X4ntARBgELuMWWUEEfSK0mjXg+/2lPmWcTZWR9nkqgQQP0tbzuiPm74H2wMO4u1Wafe+UwyIlIT9L7KLS19Aw8r4sPrXZSSsOZ6s7M1+rTJN0bI5CKY2PX29y5Ok3jSWufIKcgKOnWoP67d5b2du2ZVJjpjfibNIHbT/cegy/sBLoFwtHogVYUewANUAXIaMPyCLRArsKhfJ5wBtTminG/PAvuBdJ70Z/bXVPf8TVsR292zQ65xwvWTejROW6AZX6aqucUj\""
buildConfigField "String", "GENERIC_SERVER_PUBLIC_PARAMS", "\"AHILOIrFPXX9laLbalbA9+L1CXpSbM/bTJXZGZiuyK1JaI6dK5FHHWL6tWxmHKYAZTSYmElmJ5z2A5YcirjO/yfoemE03FItyaf8W1fE4p14hzb5qnrmfXUSiAIVrhaXVwIwSzH6RL/+EO8jFIjJ/YfExfJ8aBl48CKHgu1+A6kWynhttonvWWx6h7924mIzW0Czj2ROuh4LwQyZypex4GuOPW8sgIT21KNZaafgg+KbV7XM1x1tF3XA17B4uGUaDbDw2O+nR1+U5p6qHPzmJ7ggFjSN6Utu+35dS1sS0P9N\""
buildConfigField "String", "MOBILE_COIN_ENVIRONMENT", "\"testnet\""
buildConfigField "String", "SIGNAL_CAPTCHA_URL", "\"https://signalcaptchas.org/staging/registration/generate.html\""
buildConfigField "String", "RECAPTCHA_PROOF_URL", "\"https://signalcaptchas.org/staging/challenge/generate.html\""
buildConfigField "String", "BUILD_ENVIRONMENT_TYPE", "\"Staging\""
buildConfigField "String", "STRIPE_PUBLISHABLE_KEY", "\"pk_test_sngOd8FnXNkpce9nPXawKrJD00kIDngZkD\""
}
pnp {
dimension 'environment'
initWith staging
applicationIdSuffix ".pnp"
buildConfigField "String", "BUILD_ENVIRONMENT_TYPE", "\"Pnp\""
}
}
lint {
abortOnError true
baseline file('lint-baseline.xml')
checkReleaseBuilds false
disable 'LintError'
}
android.applicationVariants.all { variant ->
variant.outputs.each { output ->
if (output.baseName.contains('nightly')) {
output.versionCodeOverride = canonicalVersionCode * postFixSize + 5
def tag = getCurrentGitTag()
if (tag != null && tag.length() > 0) {
if (tag.startsWith("v")) {
tag = tag.substring(1)
}
output.versionNameOverride = tag
}
} else {
output.outputFileName = output.outputFileName.replace(".apk", "-${variant.versionName}.apk")
def abiName = output.getFilter("ABI") ?: 'universal'
def postFix = abiPostFix.get(abiName, 0)
if (postFix >= postFixSize) throw new AssertionError("postFix is too large")
output.versionCodeOverride = canonicalVersionCode * postFixSize + postFix
}
}
}
android.variantFilter { variant ->
def distribution = variant.getFlavors().get(0).name
def environment = variant.getFlavors().get(1).name
def buildType = variant.buildType.name
def fullName = distribution + environment.capitalize() + buildType.capitalize()
if (!selectableVariants.contains(fullName)) {
variant.setIgnore(true)
}
}
android.buildTypes.each {
if (it.name != 'release') {
sourceSets.findByName(it.name).java.srcDirs += "$projectDir/src/debug/java"
} else {
sourceSets.findByName(it.name).java.srcDirs += "$projectDir/src/release/java"
}
}
}
kapt {
arguments {
arg('eventBusIndex', 'org.thoughtcrime.securesms.SecuresmsEventBusIndex')
}
}
dependencies {
implementation libs.androidx.fragment.ktx
lintChecks project(':lintchecks')
coreLibraryDesugaring libs.android.tools.desugar
implementation (libs.androidx.appcompat) {
version {
strictly '1.6.1'
}
}
implementation libs.androidx.window.window
implementation libs.androidx.window.java
implementation libs.androidx.recyclerview
implementation libs.material.material
implementation libs.androidx.legacy.support
implementation libs.androidx.preference
implementation libs.androidx.legacy.preference
implementation libs.androidx.gridlayout
implementation libs.androidx.exifinterface
implementation libs.androidx.compose.rxjava3
implementation libs.androidx.compose.runtime.livedata
implementation libs.androidx.constraintlayout
implementation libs.androidx.multidex
implementation libs.androidx.navigation.fragment.ktx
implementation libs.androidx.navigation.ui.ktx
implementation libs.androidx.lifecycle.viewmodel.ktx
implementation libs.androidx.lifecycle.livedata.ktx
implementation libs.androidx.lifecycle.process
implementation libs.androidx.lifecycle.viewmodel.savedstate
implementation libs.androidx.lifecycle.common.java8
implementation libs.androidx.lifecycle.reactivestreams.ktx
implementation libs.androidx.camera.core
implementation libs.androidx.camera.camera2
implementation libs.androidx.camera.lifecycle
implementation libs.androidx.camera.view
implementation libs.androidx.concurrent.futures
implementation libs.androidx.autofill
implementation libs.androidx.biometric
implementation libs.androidx.sharetarget
implementation libs.androidx.profileinstaller
implementation libs.androidx.asynclayoutinflater
implementation libs.androidx.asynclayoutinflater.appcompat
implementation (libs.firebase.messaging) {
exclude group: 'com.google.firebase', module: 'firebase-core'
exclude group: 'com.google.firebase', module: 'firebase-analytics'
exclude group: 'com.google.firebase', module: 'firebase-measurement-connector'
}
implementation libs.google.play.services.maps
implementation libs.google.play.services.auth
implementation libs.bundles.media3
implementation libs.conscrypt.android
implementation libs.signal.aesgcmprovider
implementation project(':libsignal-service')
implementation project(':paging')
implementation project(':core-util')
implementation project(':glide-config')
implementation project(':video')
implementation project(':device-transfer')
implementation project(':image-editor')
implementation project(':donations')
implementation project(':contacts')
implementation project(':qr')
implementation project(':sms-exporter')
implementation project(':sticky-header-grid')
implementation project(':photoview')
implementation project(':glide-webp')
implementation libs.libsignal.android
implementation libs.mobilecoin
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
implementation libs.greenrobot.eventbus.core
kapt libs.greenrobot.eventbus.annotation
implementation libs.google.zxing.android.integration
implementation libs.google.zxing.core
implementation libs.google.flexbox
implementation (libs.subsampling.scale.image.view) {
exclude group: 'com.android.support', module: 'support-annotations'
}
implementation (libs.android.tooltips) {
exclude group: 'com.android.support', module: 'appcompat-v7'
}
implementation (libs.android.smsmms) {
exclude group: 'com.squareup.okhttp', module: 'okhttp'
exclude group: 'com.squareup.okhttp', module: 'okhttp-urlconnection'
}
implementation libs.stream
implementation libs.lottie
implementation libs.signal.android.database.sqlcipher
implementation libs.androidx.sqlite
implementation (libs.google.ez.vcard) {
exclude group: 'com.fasterxml.jackson.core'
exclude group: 'org.freemarker'
}
implementation libs.dnsjava
implementation libs.kotlinx.collections.immutable
implementation libs.accompanist.permissions
spinnerImplementation project(":spinner")
canaryImplementation libs.square.leakcanary
testImplementation testLibs.junit.junit
testImplementation testLibs.assertj.core
testImplementation testLibs.mockito.core
testImplementation testLibs.mockito.kotlin
testImplementation testLibs.androidx.test.core
testImplementation (testLibs.robolectric.robolectric) {
exclude group: 'com.google.protobuf', module: 'protobuf-java'
}
testImplementation testLibs.robolectric.shadows.multidex
testImplementation (testLibs.bouncycastle.bcprov.jdk15on) { version { strictly "1.70" } } // Used by roboelectric
testImplementation (testLibs.bouncycastle.bcpkix.jdk15on) { version { strictly "1.70" } } // Used by roboelectric
testImplementation testLibs.conscrypt.openjdk.uber // Used by robolectric
testImplementation testLibs.hamcrest.hamcrest
testImplementation testLibs.mockk
testImplementation(testFixtures(project(":libsignal-service")))
androidTestImplementation testLibs.androidx.test.ext.junit
androidTestImplementation testLibs.espresso.core
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
instrumentationImplementation (libs.androidx.fragment.testing) {
exclude group: 'androidx.test', module: 'core'
}
testImplementation testLibs.espresso.core
implementation libs.kotlin.stdlib.jdk8
implementation libs.kotlin.reflect
implementation libs.jackson.module.kotlin
implementation libs.rxjava3.rxandroid
implementation libs.rxjava3.rxkotlin
implementation libs.rxdogtag
androidTestUtil testLibs.androidx.test.orchestrator
implementation project(':core-ui')
ktlintRuleset libs.ktlint.twitter.compose
}
def getLastCommitTimestamp() {
if (!(new File('.git').exists())) {
return System.currentTimeMillis().toString()
}
new ByteArrayOutputStream().withStream { os ->
exec {
executable = 'git'
args = ['log', '-1', '--pretty=format:%ct']
standardOutput = os
}
return os.toString() + "000"
}
}
def getGitHash() {
if (!(new File('.git').exists())) {
throw new IllegalStateException("Must be a git repository to guarantee reproducible builds! (git hash is part of APK)")
}
def stdout = new ByteArrayOutputStream()
exec {
commandLine 'git', 'rev-parse', 'HEAD'
standardOutput = stdout
}
return stdout.toString().trim().substring(0, 12)
}
def getCurrentGitTag() {
if (!(new File('.git').exists())) {
throw new IllegalStateException("Must be a git repository to guarantee reproducible builds! (git hash is part of APK)")
}
def stdout = new ByteArrayOutputStream()
exec {
commandLine 'git', 'tag', '--points-at', 'HEAD'
standardOutput = stdout
}
def output = stdout.toString().trim()
if (output != null && output.size() > 0) {
def tags = output.split('\n').toList()
return tags.stream().filter(t -> t.contains('nightly')).findFirst().orElse(tags.get(0))
} else {
return null
}
}
tasks.withType(Test) {
testLogging {
events "failed"
exceptionFormat "full"
showCauses true
showExceptions true
showStackTraces true
}
}
def loadKeystoreProperties(filename) {
def keystorePropertiesFile = file("${project.rootDir}/${filename}")
if (keystorePropertiesFile.exists()) {
def keystoreProperties = new Properties()
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
return keystoreProperties
} else {
return null
}
}
static def getDateSuffix() {
def date = new Date()
def formattedDate = date.format('yyyy-MM-dd-HH:mm')
return formattedDate
}
def getMapsKey() {
def mapKey = file("${project.rootDir}/maps.key")
if (mapKey.exists()) {
return mapKey.readLines()[0]
}
return "AIzaSyCSx9xea86GwDKGznCAULE9Y5a8b-TfN9U"
}

756
app/build.gradle.kts Normal file
View File

@@ -0,0 +1,756 @@
@file:Suppress("UnstableApiUsage")
import com.android.build.api.dsl.ManagedVirtualDevice
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
import java.io.FileInputStream
import java.text.SimpleDateFormat
import java.util.Date
import java.util.Properties
plugins {
alias(libs.plugins.android.application)
alias(libs.plugins.jetbrains.kotlin.android)
alias(libs.plugins.ktlint)
alias(libs.plugins.compose.compiler)
alias(libs.plugins.kotlinx.serialization)
id("androidx.navigation.safeargs")
id("kotlin-parcelize")
id("com.squareup.wire")
id("translations")
id("licenses")
}
apply(from = "static-ips.gradle.kts")
val canonicalVersionCode = 1610
val canonicalVersionName = "7.63.2"
val currentHotfixVersion = 0
val maxHotfixVersions = 100
val keystores: Map<String, Properties?> = mapOf("debug" to loadKeystoreProperties("keystore.debug.properties"))
val selectableVariants = listOf(
"nightlyBackupRelease",
"nightlyBackupSpinner",
"nightlyProdSpinner",
"nightlyProdPerf",
"nightlyProdRelease",
"nightlyStagingRelease",
"playProdDebug",
"playProdSpinner",
"playProdCanary",
"playProdPerf",
"playProdBenchmark",
"playProdInstrumentation",
"playProdRelease",
"playStagingDebug",
"playStagingCanary",
"playStagingSpinner",
"playStagingPerf",
"playStagingInstrumentation",
"playStagingRelease",
"websiteProdSpinner",
"websiteProdRelease"
)
val signalBuildToolsVersion: String by rootProject.extra
val signalCompileSdkVersion: String by rootProject.extra
val signalTargetSdkVersion: Int by rootProject.extra
val signalMinSdkVersion: Int by rootProject.extra
val signalNdkVersion: String by rootProject.extra
val signalJavaVersion: JavaVersion by rootProject.extra
val signalKotlinJvmTarget: String by rootProject.extra
wire {
kotlin {
javaInterop = true
}
sourcePath {
srcDir("src/main/protowire")
}
protoPath {
srcDir("${project.rootDir}/libsignal-service/src/main/protowire")
}
// Handled by libsignal
prune("signalservice.DecryptionErrorMessage")
}
ktlint {
version.set("1.2.1")
}
android {
namespace = "org.thoughtcrime.securesms"
buildToolsVersion = signalBuildToolsVersion
compileSdkVersion = signalCompileSdkVersion
ndkVersion = signalNdkVersion
flavorDimensions += listOf("distribution", "environment")
testBuildType = "instrumentation"
android.bundle.language.enableSplit = false
kotlinOptions {
jvmTarget = signalKotlinJvmTarget
freeCompilerArgs = listOf("-Xjvm-default=all")
suppressWarnings = true
}
keystores["debug"]?.let { properties ->
signingConfigs.getByName("debug").apply {
storeFile = file("${project.rootDir}/${properties.getProperty("storeFile")}")
storePassword = properties.getProperty("storePassword")
keyAlias = properties.getProperty("keyAlias")
keyPassword = properties.getProperty("keyPassword")
}
}
testOptions {
execution = "ANDROIDX_TEST_ORCHESTRATOR"
unitTests {
isIncludeAndroidResources = true
}
managedDevices {
devices {
create<ManagedVirtualDevice>("pixel3api30") {
device = "Pixel 3"
apiLevel = 30
systemImageSource = "google-atd"
require64Bit = false
}
}
}
}
sourceSets {
getByName("test") {
java.srcDir("$projectDir/src/testShared")
}
getByName("androidTest") {
java.srcDir("$projectDir/src/testShared")
}
}
compileOptions {
isCoreLibraryDesugaringEnabled = true
sourceCompatibility = signalJavaVersion
targetCompatibility = signalJavaVersion
}
packaging {
jniLibs {
excludes += setOf(
"**/*.dylib",
"**/*.dll"
)
}
resources {
excludes += setOf(
"LICENSE.txt",
"LICENSE",
"NOTICE",
"asm-license.txt",
"META-INF/LICENSE",
"META-INF/LICENSE.md",
"META-INF/NOTICE",
"META-INF/LICENSE-notice.md",
"META-INF/proguard/androidx-annotations.pro",
"**/*.dylib",
"**/*.dll"
)
}
}
buildFeatures {
buildConfig = true
viewBinding = true
compose = true
}
composeOptions {
kotlinCompilerExtensionVersion = "1.5.4"
}
defaultConfig {
versionCode = (canonicalVersionCode * maxHotfixVersions) + currentHotfixVersion
versionName = canonicalVersionName
minSdk = signalMinSdkVersion
targetSdk = signalTargetSdkVersion
vectorDrawables.useSupportLibrary = true
project.ext.set("archivesBaseName", "Signal")
manifestPlaceholders["mapsKey"] = "AIzaSyCSx9xea86GwDKGznCAULE9Y5a8b-TfN9U"
buildConfigField("long", "BUILD_TIMESTAMP", getLastCommitTimestamp() + "L")
buildConfigField("String", "GIT_HASH", "\"${getGitHash()}\"")
buildConfigField("String", "SIGNAL_URL", "\"https://chat.signal.org\"")
buildConfigField("String", "STORAGE_URL", "\"https://storage.signal.org\"")
buildConfigField("String", "SIGNAL_CDN_URL", "\"https://cdn.signal.org\"")
buildConfigField("String", "SIGNAL_CDN2_URL", "\"https://cdn2.signal.org\"")
buildConfigField("String", "SIGNAL_CDN3_URL", "\"https://cdn3.signal.org\"")
buildConfigField("String", "SIGNAL_CDSI_URL", "\"https://cdsi.signal.org\"")
buildConfigField("String", "SIGNAL_SERVICE_STATUS_URL", "\"uptime.signal.org\"")
buildConfigField("String", "SIGNAL_SVR2_URL", "\"https://svr2.signal.org\"")
buildConfigField("String", "SIGNAL_SFU_URL", "\"https://sfu.voip.signal.org\"")
buildConfigField("String", "SIGNAL_STAGING_SFU_URL", "\"https://sfu.staging.voip.signal.org\"")
buildConfigField("String[]", "SIGNAL_SFU_INTERNAL_NAMES", "new String[]{\"Test\", \"Staging\", \"Development\"}")
buildConfigField("String[]", "SIGNAL_SFU_INTERNAL_URLS", "new String[]{\"https://sfu.test.voip.signal.org\", \"https://sfu.staging.voip.signal.org\", \"https://sfu.staging.test.voip.signal.org\"}")
buildConfigField("String", "CONTENT_PROXY_HOST", "\"contentproxy.signal.org\"")
buildConfigField("int", "CONTENT_PROXY_PORT", "443")
buildConfigField("String[]", "SIGNAL_SERVICE_IPS", rootProject.extra["service_ips"] as String)
buildConfigField("String[]", "SIGNAL_STORAGE_IPS", rootProject.extra["storage_ips"] as String)
buildConfigField("String[]", "SIGNAL_CDN_IPS", rootProject.extra["cdn_ips"] as String)
buildConfigField("String[]", "SIGNAL_CDN2_IPS", rootProject.extra["cdn2_ips"] as String)
buildConfigField("String[]", "SIGNAL_CDN3_IPS", rootProject.extra["cdn3_ips"] as String)
buildConfigField("String[]", "SIGNAL_SFU_IPS", rootProject.extra["sfu_ips"] as String)
buildConfigField("String[]", "SIGNAL_CONTENT_PROXY_IPS", rootProject.extra["content_proxy_ips"] as String)
buildConfigField("String[]", "SIGNAL_CDSI_IPS", rootProject.extra["cdsi_ips"] as String)
buildConfigField("String[]", "SIGNAL_SVR2_IPS", rootProject.extra["svr2_ips"] as String)
buildConfigField("String", "SIGNAL_AGENT", "\"OWA\"")
buildConfigField("String", "SVR2_MRENCLAVE_LEGACY_LEGACY", "\"9314436a9a144992bb3680770ea5fd7934a7ffd29257844a33763a238903d570\"")
buildConfigField("String", "SVR2_MRENCLAVE_LEGACY", "\"093be9ea32405e85ae28dbb48eb668aebeb7dbe29517b9b86ad4bec4dfe0e6a6\"")
buildConfigField("String", "SVR2_MRENCLAVE", "\"29cd63c87bea751e3bfd0fbd401279192e2e5c99948b4ee9437eafc4968355fb\"")
buildConfigField("String[]", "UNIDENTIFIED_SENDER_TRUST_ROOTS", "new String[]{ \"BXu6QIKVz5MA8gstzfOgRQGqyLqOwNKHL6INkv3IHWMF\", \"BUkY0I+9+oPgDCn4+Ac6Iu813yvqkDr/ga8DzLxFxuk6\"}")
buildConfigField("String", "ZKGROUP_SERVER_PUBLIC_PARAMS", "\"AMhf5ywVwITZMsff/eCyudZx9JDmkkkbV6PInzG4p8x3VqVJSFiMvnvlEKWuRob/1eaIetR31IYeAbm0NdOuHH8Qi+Rexi1wLlpzIo1gstHWBfZzy1+qHRV5A4TqPp15YzBPm0WSggW6PbSn+F4lf57VCnHF7p8SvzAA2ZZJPYJURt8X7bbg+H3i+PEjH9DXItNEqs2sNcug37xZQDLm7X36nOoGPs54XsEGzPdEV+itQNGUFEjY6X9Uv+Acuks7NpyGvCoKxGwgKgE5XyJ+nNKlyHHOLb6N1NuHyBrZrgtY/JYJHRooo5CEqYKBqdFnmbTVGEkCvJKxLnjwKWf+fEPoWeQFj5ObDjcKMZf2Jm2Ae69x+ikU5gBXsRmoF94GXTLfN0/vLt98KDPnxwAQL9j5V1jGOY8jQl6MLxEs56cwXN0dqCnImzVH3TZT1cJ8SW1BRX6qIVxEzjsSGx3yxF3suAilPMqGRp4ffyopjMD1JXiKR2RwLKzizUe5e8XyGOy9fplzhw3jVzTRyUZTRSZKkMLWcQ/gv0E4aONNqs4P+NameAZYOD12qRkxosQQP5uux6B2nRyZ7sAV54DgFyLiRcq1FvwKw2EPQdk4HDoePrO/RNUbyNddnM/mMgj4FW65xCoT1LmjrIjsv/Ggdlx46ueczhMgtBunx1/w8k8V+l8LVZ8gAT6wkU5J+DPQalQguMg12Jzug3q4TbdHiGCmD9EunCwOmsLuLJkz6EcSYXtrlDEnAM+hicw7iergYLLlMXpfTdGxJCWJmP4zqUFeTTmsmhsjGBt7NiEB/9pFFEB3pSbf4iiUukw63Eo8Aqnf4iwob6X1QviCWuc8t0LUlT9vALgh/f2DPVOOmR0RW6bgRvc7DSF20V/omg+YBw==\"")
buildConfigField("String", "GENERIC_SERVER_PUBLIC_PARAMS", "\"AByD873dTilmOSG0TjKrvpeaKEsUmIO8Vx9BeMmftwUs9v7ikPwM8P3OHyT0+X3EUMZrSe9VUp26Wai51Q9I8mdk0hX/yo7CeFGJyzoOqn8e/i4Ygbn5HoAyXJx5eXfIbqpc0bIxzju4H/HOQeOpt6h742qii5u/cbwOhFZCsMIbElZTaeU+BWMBQiZHIGHT5IE0qCordQKZ5iPZom0HeFa8Yq0ShuEyAl0WINBiY6xE3H/9WnvzXBbMuuk//eRxXgzO8ieCeK8FwQNxbfXqZm6Ro1cMhCOF3u7xoX83QhpN\"")
buildConfigField("String", "BACKUP_SERVER_PUBLIC_PARAMS", "\"AJwNSU55fsFCbgaxGRD11wO1juAs8Yr5GF8FPlGzzvdJJIKH5/4CC7ZJSOe3yL2vturVaRU2Cx0n751Vt8wkj1bozK3CBV1UokxV09GWf+hdVImLGjXGYLLhnI1J2TWEe7iWHyb553EEnRb5oxr9n3lUbNAJuRmFM7hrr0Al0F0wrDD4S8lo2mGaXe0MJCOM166F8oYRQqpFeEHfiLnxA1O8ZLh7vMdv4g9jI5phpRBTsJ5IjiJrWeP0zdIGHEssUeprDZ9OUJ14m0v61eYJMKsf59Bn+mAT2a7YfB+Don9O\"")
buildConfigField("String[]", "LANGUAGES", "new String[]{ ${languageList().map { "\"$it\"" }.joinToString(separator = ", ")} }")
buildConfigField("int", "CANONICAL_VERSION_CODE", "$canonicalVersionCode")
buildConfigField("String", "DEFAULT_CURRENCIES", "\"EUR,AUD,GBP,CAD,CNY\"")
buildConfigField("String", "GIPHY_API_KEY", "\"3o6ZsYH6U6Eri53TXy\"")
buildConfigField("String", "SIGNAL_CAPTCHA_URL", "\"https://signalcaptchas.org/registration/generate.html\"")
buildConfigField("String", "RECAPTCHA_PROOF_URL", "\"https://signalcaptchas.org/challenge/generate.html\"")
buildConfigField("org.signal.libsignal.net.Network.Environment", "LIBSIGNAL_NET_ENV", "org.signal.libsignal.net.Network.Environment.PRODUCTION")
buildConfigField("int", "LIBSIGNAL_LOG_LEVEL", "org.signal.libsignal.protocol.logging.SignalProtocolLogger.INFO")
buildConfigField("String", "BUILD_DISTRIBUTION_TYPE", "\"unset\"")
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", "LINK_DEVICE_UX_ENABLED", "false")
ndk {
abiFilters += listOf("armeabi-v7a", "arm64-v8a", "x86", "x86_64")
}
resourceConfigurations += listOf()
splits {
abi {
isEnable = !project.hasProperty("generateBaselineProfile")
reset()
include("armeabi-v7a", "arm64-v8a", "x86", "x86_64")
isUniversalApk = true
}
}
testInstrumentationRunner = "org.thoughtcrime.securesms.testing.SignalTestRunner"
testInstrumentationRunnerArguments["clearPackageData"] = "true"
}
buildTypes {
getByName("debug") {
if (keystores["debug"] != null) {
signingConfig = signingConfigs["debug"]
}
isDefault = true
isMinifyEnabled = false
proguardFiles(
getDefaultProguardFile("proguard-android.txt"),
"proguard/proguard-firebase-messaging.pro",
"proguard/proguard-google-play-services.pro",
"proguard/proguard-jackson.pro",
"proguard/proguard-sqlite.pro",
"proguard/proguard-appcompat-v7.pro",
"proguard/proguard-square-okhttp.pro",
"proguard/proguard-square-okio.pro",
"proguard/proguard-rounded-image-view.pro",
"proguard/proguard-glide.pro",
"proguard/proguard-shortcutbadger.pro",
"proguard/proguard-retrofit.pro",
"proguard/proguard-klinker.pro",
"proguard/proguard-mobilecoin.pro",
"proguard/proguard-retrolambda.pro",
"proguard/proguard-okhttp.pro",
"proguard/proguard-ez-vcard.pro",
"proguard/proguard.cfg"
)
testProguardFiles(
"proguard/proguard-automation.pro",
"proguard/proguard.cfg"
)
manifestPlaceholders["mapsKey"] = getMapsKey()
buildConfigField("String", "BUILD_VARIANT_TYPE", "\"Debug\"")
buildConfigField("boolean", "LINK_DEVICE_UX_ENABLED", "true")
}
getByName("release") {
isMinifyEnabled = true
proguardFiles(*buildTypes["debug"].proguardFiles.toTypedArray())
buildConfigField("String", "BUILD_VARIANT_TYPE", "\"Release\"")
}
create("instrumentation") {
initWith(getByName("debug"))
isDefault = false
isMinifyEnabled = false
matchingFallbacks += "debug"
applicationIdSuffix = ".instrumentation"
buildConfigField("String", "BUILD_VARIANT_TYPE", "\"Instrumentation\"")
buildConfigField("String", "STRIPE_BASE_URL", "\"http://127.0.0.1:8080/stripe\"")
}
create("spinner") {
initWith(getByName("debug"))
isDefault = false
isMinifyEnabled = false
matchingFallbacks += "debug"
buildConfigField("String", "BUILD_VARIANT_TYPE", "\"Spinner\"")
}
create("perf") {
initWith(getByName("debug"))
isDefault = false
isDebuggable = false
isMinifyEnabled = true
matchingFallbacks += "debug"
buildConfigField("String", "BUILD_VARIANT_TYPE", "\"Perf\"")
buildConfigField("boolean", "TRACING_ENABLED", "true")
}
create("benchmark") {
initWith(getByName("debug"))
isDefault = false
isDebuggable = false
isMinifyEnabled = true
matchingFallbacks += "debug"
buildConfigField("String", "BUILD_VARIANT_TYPE", "\"Benchmark\"")
buildConfigField("boolean", "TRACING_ENABLED", "true")
}
create("canary") {
initWith(getByName("debug"))
isDefault = false
isMinifyEnabled = false
matchingFallbacks += "debug"
buildConfigField("String", "BUILD_VARIANT_TYPE", "\"Canary\"")
}
}
productFlavors {
create("play") {
dimension = "distribution"
isDefault = true
buildConfigField("boolean", "MANAGES_APP_UPDATES", "false")
buildConfigField("String", "APK_UPDATE_MANIFEST_URL", "null")
buildConfigField("String", "BUILD_DISTRIBUTION_TYPE", "\"play\"")
}
create("website") {
dimension = "distribution"
buildConfigField("boolean", "MANAGES_APP_UPDATES", "true")
buildConfigField("String", "APK_UPDATE_MANIFEST_URL", "\"https://updates.signal.org/android/latest.json\"")
buildConfigField("String", "BUILD_DISTRIBUTION_TYPE", "\"website\"")
}
create("nightly") {
val apkUpdateManifestUrl = if (file("${project.rootDir}/nightly-url.txt").exists()) {
file("${project.rootDir}/nightly-url.txt").readText().trim()
} else {
"<unset>"
}
dimension = "distribution"
versionNameSuffix = "-nightly-untagged-${getDateSuffix()}"
buildConfigField("boolean", "MANAGES_APP_UPDATES", "true")
buildConfigField("String", "APK_UPDATE_MANIFEST_URL", "\"${apkUpdateManifestUrl}\"")
buildConfigField("String", "BUILD_DISTRIBUTION_TYPE", "\"nightly\"")
buildConfigField("boolean", "LINK_DEVICE_UX_ENABLED", "true")
}
create("prod") {
dimension = "environment"
isDefault = true
buildConfigField("String", "MOBILE_COIN_ENVIRONMENT", "\"mainnet\"")
buildConfigField("String", "BUILD_ENVIRONMENT_TYPE", "\"Prod\"")
}
create("staging") {
dimension = "environment"
applicationIdSuffix = ".staging"
buildConfigField("String", "SIGNAL_URL", "\"https://chat.staging.signal.org\"")
buildConfigField("String", "STORAGE_URL", "\"https://storage-staging.signal.org\"")
buildConfigField("String", "SIGNAL_CDN_URL", "\"https://cdn-staging.signal.org\"")
buildConfigField("String", "SIGNAL_CDN2_URL", "\"https://cdn2-staging.signal.org\"")
buildConfigField("String", "SIGNAL_CDN3_URL", "\"https://cdn3-staging.signal.org\"")
buildConfigField("String", "SIGNAL_CDSI_URL", "\"https://cdsi.staging.signal.org\"")
buildConfigField("String", "SIGNAL_SVR2_URL", "\"https://svr2.staging.signal.org\"")
buildConfigField("String", "SVR2_MRENCLAVE_LEGACY_LEGACY", "\"38e01eff4fe357dc0b0e8ef7a44b4abc5489fbccba3a78780f3872c277f62bf3\"")
buildConfigField("String", "SVR2_MRENCLAVE_LEGACY", "\"2e8cefe6e3f389d8426adb24e9b7fb7adf10902c96f06f7bbcee36277711ed91\"")
buildConfigField("String", "SVR2_MRENCLAVE", "\"a75542d82da9f6914a1e31f8a7407053b99cc99a0e7291d8fbd394253e19b036\"")
buildConfigField("String[]", "UNIDENTIFIED_SENDER_TRUST_ROOTS", "new String[]{\"BbqY1DzohE4NUZoVF+L18oUPrK3kILllLEJh2UnPSsEx\", \"BYhU6tPjqP46KGZEzRs1OL4U39V5dlPJ/X09ha4rErkm\"}")
buildConfigField("String", "ZKGROUP_SERVER_PUBLIC_PARAMS", "\"ABSY21VckQcbSXVNCGRYJcfWHiAMZmpTtTELcDmxgdFbtp/bWsSxZdMKzfCp8rvIs8ocCU3B37fT3r4Mi5qAemeGeR2X+/YmOGR5ofui7tD5mDQfstAI9i+4WpMtIe8KC3wU5w3Inq3uNWVmoGtpKndsNfwJrCg0Hd9zmObhypUnSkfYn2ooMOOnBpfdanRtrvetZUayDMSC5iSRcXKpdlukrpzzsCIvEwjwQlJYVPOQPj4V0F4UXXBdHSLK05uoPBCQG8G9rYIGedYsClJXnbrgGYG3eMTG5hnx4X4ntARBgELuMWWUEEfSK0mjXg+/2lPmWcTZWR9nkqgQQP0tbzuiPm74H2wMO4u1Wafe+UwyIlIT9L7KLS19Aw8r4sPrXZSSsOZ6s7M1+rTJN0bI5CKY2PX29y5Ok3jSWufIKcgKOnWoP67d5b2du2ZVJjpjfibNIHbT/cegy/sBLoFwtHogVYUewANUAXIaMPyCLRArsKhfJ5wBtTminG/PAvuBdJ70Z/bXVPf8TVsR292zQ65xwvWTejROW6AZX6aqucUjlENAErBme1YHmOSpU6tr6doJ66dPzVAWIanmO/5mgjNEDeK7DDqQdB1xd03HT2Qs2TxY3kCK8aAb/0iM0HQiXjxZ9HIgYhbtvGEnDKW5ILSUydqH/KBhW4Pb0jZWnqN/YgbWDKeJxnDbYcUob5ZY5Lt5ZCMKuaGUvCJRrCtuugSMaqjowCGRempsDdJEt+cMaalhZ6gczklJB/IbdwENW9KeVFPoFNFzhxWUIS5ML9riVYhAtE6JE5jX0xiHNVIIPthb458cfA8daR0nYfYAUKogQArm0iBezOO+mPk5vCNWI+wwkyFCqNDXz/qxl1gAntuCJtSfq9OC3NkdhQlgYQ==\"")
buildConfigField("String", "GENERIC_SERVER_PUBLIC_PARAMS", "\"AHILOIrFPXX9laLbalbA9+L1CXpSbM/bTJXZGZiuyK1JaI6dK5FHHWL6tWxmHKYAZTSYmElmJ5z2A5YcirjO/yfoemE03FItyaf8W1fE4p14hzb5qnrmfXUSiAIVrhaXVwIwSzH6RL/+EO8jFIjJ/YfExfJ8aBl48CKHgu1+A6kWynhttonvWWx6h7924mIzW0Czj2ROuh4LwQyZypex4GuOPW8sgIT21KNZaafgg+KbV7XM1x1tF3XA17B4uGUaDbDw2O+nR1+U5p6qHPzmJ7ggFjSN6Utu+35dS1sS0P9N\"")
buildConfigField("String", "BACKUP_SERVER_PUBLIC_PARAMS", "\"AHYrGb9IfugAAJiPKp+mdXUx+OL9zBolPYHYQz6GI1gWjpEu5me3zVNSvmYY4zWboZHif+HG1sDHSuvwFd0QszSwuSF4X4kRP3fJREdTZ5MCR0n55zUppTwfHRW2S4sdQ0JGz7YDQIJCufYSKh0pGNEHL6hv79Agrdnr4momr3oXdnkpVBIp3HWAQ6IbXQVSG18X36GaicI1vdT0UFmTwU2KTneluC2eyL9c5ff8PcmiS+YcLzh0OKYQXB5ZfQ06d6DiINvDQLy75zcfUOniLAj0lGJiHxGczin/RXisKSR8\"")
buildConfigField("String", "MOBILE_COIN_ENVIRONMENT", "\"testnet\"")
buildConfigField("String", "SIGNAL_CAPTCHA_URL", "\"https://signalcaptchas.org/staging/registration/generate.html\"")
buildConfigField("String", "RECAPTCHA_PROOF_URL", "\"https://signalcaptchas.org/staging/challenge/generate.html\"")
buildConfigField("org.signal.libsignal.net.Network.Environment", "LIBSIGNAL_NET_ENV", "org.signal.libsignal.net.Network.Environment.STAGING")
buildConfigField("int", "LIBSIGNAL_LOG_LEVEL", "org.signal.libsignal.protocol.logging.SignalProtocolLogger.DEBUG")
buildConfigField("String", "BUILD_ENVIRONMENT_TYPE", "\"Staging\"")
buildConfigField("String", "STRIPE_PUBLISHABLE_KEY", "\"pk_test_sngOd8FnXNkpce9nPXawKrJD00kIDngZkD\"")
}
create("backup") {
initWith(getByName("staging"))
dimension = "environment"
applicationIdSuffix = ".backup"
buildConfigField("boolean", "MANAGES_APP_UPDATES", "true")
buildConfigField("String", "BUILD_ENVIRONMENT_TYPE", "\"Backup\"")
}
}
lint {
abortOnError = true
baseline = file("lint-baseline.xml")
checkReleaseBuilds = false
ignoreWarnings = true
quiet = true
disable += "LintError"
}
applicationVariants.all {
outputs
.map { it as com.android.build.gradle.internal.api.ApkVariantOutputImpl }
.forEach { output ->
if (output.baseName.contains("nightly")) {
var tag = getCurrentGitTag()
if (!tag.isNullOrEmpty()) {
if (tag.startsWith("v")) {
tag = tag.substring(1)
}
output.versionNameOverride = tag
output.outputFileName = output.outputFileName.replace(".apk", "-${output.versionNameOverride}.apk")
} else {
output.outputFileName = output.outputFileName.replace(".apk", "-$versionName.apk")
}
} else {
output.outputFileName = output.outputFileName.replace(".apk", "-$versionName.apk")
if (currentHotfixVersion >= maxHotfixVersions) {
throw AssertionError("Hotfix version is too large!")
}
}
}
}
androidComponents {
beforeVariants { variant ->
variant.enable = variant.name in selectableVariants
}
onVariants { variant ->
// Include the test-only library on debug builds.
if (variant.buildType != "instrumentation") {
variant.packaging.jniLibs.excludes.add("**/libsignal_jni_testing.so")
}
}
}
val releaseDir = "$projectDir/src/release/java"
val debugDir = "$projectDir/src/debug/java"
android.buildTypes.configureEach {
val path = if (name == "release") releaseDir else debugDir
sourceSets.named(name) {
java.srcDir(path)
}
}
}
dependencies {
lintChecks(project(":lintchecks"))
ktlintRuleset(libs.ktlint.twitter.compose)
coreLibraryDesugaring(libs.android.tools.desugar)
implementation(project(":libsignal-service"))
implementation(project(":paging"))
implementation(project(":core-util"))
implementation(project(":glide-config"))
implementation(project(":video"))
implementation(project(":device-transfer"))
implementation(project(":image-editor"))
implementation(project(":donations"))
implementation(project(":debuglogs-viewer"))
implementation(project(":contacts"))
implementation(project(":qr"))
implementation(project(":sticky-header-grid"))
implementation(project(":photoview"))
implementation(project(":core-ui"))
implementation(libs.androidx.fragment.ktx)
implementation(libs.androidx.appcompat) {
version {
strictly("1.6.1")
}
}
implementation(libs.androidx.window.window)
implementation(libs.androidx.window.java)
implementation(libs.androidx.recyclerview)
implementation(libs.material.material)
implementation(libs.androidx.legacy.support)
implementation(libs.androidx.preference)
implementation(libs.androidx.legacy.preference)
implementation(libs.androidx.gridlayout)
implementation(libs.androidx.exifinterface)
implementation(libs.androidx.compose.rxjava3)
implementation(libs.androidx.compose.runtime.livedata)
implementation(libs.androidx.activity.compose)
implementation(libs.androidx.constraintlayout)
implementation(libs.androidx.navigation.fragment.ktx)
implementation(libs.androidx.navigation.ui.ktx)
implementation(libs.androidx.navigation.compose)
implementation(libs.androidx.lifecycle.viewmodel.ktx)
implementation(libs.androidx.lifecycle.livedata.ktx)
implementation(libs.androidx.lifecycle.process)
implementation(libs.androidx.lifecycle.viewmodel.savedstate)
implementation(libs.androidx.lifecycle.common.java8)
implementation(libs.androidx.lifecycle.reactivestreams.ktx)
implementation(libs.androidx.lifecycle.runtime.compose)
implementation(libs.androidx.activity.compose)
implementation(libs.androidx.camera.core)
implementation(libs.androidx.camera.camera2)
implementation(libs.androidx.camera.extensions)
implementation(libs.androidx.camera.lifecycle)
implementation(libs.androidx.camera.view)
implementation(libs.androidx.concurrent.futures)
implementation(libs.androidx.autofill)
implementation(libs.androidx.biometric)
implementation(libs.androidx.sharetarget)
implementation(libs.androidx.profileinstaller)
implementation(libs.androidx.asynclayoutinflater)
implementation(libs.androidx.asynclayoutinflater.appcompat)
implementation(libs.androidx.emoji2)
implementation(libs.firebase.messaging) {
exclude(group = "com.google.firebase", module = "firebase-core")
exclude(group = "com.google.firebase", module = "firebase-analytics")
exclude(group = "com.google.firebase", module = "firebase-measurement-connector")
}
implementation(libs.google.play.services.maps)
implementation(libs.google.play.services.auth)
implementation(libs.google.signin)
implementation(libs.bundles.media3)
implementation(libs.conscrypt.android)
implementation(libs.signal.aesgcmprovider)
implementation(libs.libsignal.android)
implementation(libs.mobilecoin)
implementation(libs.signal.ringrtc)
implementation(libs.leolin.shortcutbadger)
implementation(libs.emilsjolander.stickylistheaders)
implementation(libs.glide.glide)
implementation(libs.roundedimageview)
implementation(libs.materialish.progress)
implementation(libs.greenrobot.eventbus)
implementation(libs.google.zxing.android.integration)
implementation(libs.google.zxing.core)
implementation(libs.google.flexbox)
implementation(libs.subsampling.scale.image.view) {
exclude(group = "com.android.support", module = "support-annotations")
}
implementation(libs.android.tooltips) {
exclude(group = "com.android.support", module = "appcompat-v7")
}
implementation(libs.stream)
implementation(libs.lottie)
implementation(libs.lottie.compose)
implementation(libs.signal.android.database.sqlcipher)
implementation(libs.androidx.sqlite)
testImplementation(libs.androidx.sqlite.framework)
implementation(libs.google.ez.vcard) {
exclude(group = "com.fasterxml.jackson.core")
exclude(group = "org.freemarker")
}
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)
implementation(libs.kotlinx.coroutines.rx3)
implementation(libs.jackson.module.kotlin)
implementation(libs.rxjava3.rxandroid)
implementation(libs.rxjava3.rxkotlin)
implementation(libs.rxdogtag)
implementation(libs.androidx.credentials)
implementation(libs.androidx.credentials.compat)
implementation(libs.kotlinx.serialization.json)
implementation(project(":billing"))
"spinnerImplementation"(project(":spinner"))
"canaryImplementation"(libs.square.leakcanary)
"instrumentationImplementation"(libs.androidx.fragment.testing) {
exclude(group = "androidx.test", module = "core")
}
testImplementation(testLibs.junit.junit)
testImplementation(testLibs.assertk)
testImplementation(testLibs.androidx.test.core)
testImplementation(testLibs.robolectric.robolectric) {
exclude(group = "com.google.protobuf", module = "protobuf-java")
}
testImplementation(testLibs.bouncycastle.bcprov.jdk15on) {
version {
strictly("1.70")
}
}
testImplementation(testLibs.bouncycastle.bcpkix.jdk15on) {
version {
strictly("1.70")
}
}
testImplementation(testLibs.conscrypt.openjdk.uber)
testImplementation(testLibs.mockk)
testImplementation(testFixtures(project(":libsignal-service")))
testImplementation(testLibs.espresso.core)
testImplementation(testLibs.kotlinx.coroutines.test)
testImplementation(libs.androidx.compose.ui.test.junit4)
"perfImplementation"(libs.androidx.compose.ui.test.manifest)
androidTestImplementation(platform(libs.androidx.compose.bom))
androidTestImplementation(libs.androidx.compose.ui.test.junit4)
androidTestImplementation(testLibs.androidx.test.ext.junit)
androidTestImplementation(testLibs.espresso.core)
androidTestImplementation(testLibs.androidx.test.core)
androidTestImplementation(testLibs.androidx.test.core.ktx)
androidTestImplementation(testLibs.androidx.test.ext.junit.ktx)
androidTestImplementation(testLibs.assertk)
androidTestImplementation(testLibs.mockk.android)
androidTestImplementation(testLibs.diff.utils)
androidTestUtil(testLibs.androidx.test.orchestrator)
}
fun assertIsGitRepo() {
if (!file("${project.rootDir}/.git").exists()) {
throw IllegalStateException("Must be a git repository to guarantee reproducible builds! (git hash is part of APK)")
}
}
fun getLastCommitTimestamp(): String {
assertIsGitRepo()
return providers.exec {
commandLine("git", "log", "-1", "--pretty=format:%ct")
}.standardOutput.asText.get() + "000"
}
fun getGitHash(): String {
assertIsGitRepo()
return providers.exec {
commandLine("git", "rev-parse", "HEAD")
}.standardOutput.asText.get().trim().substring(0, 12)
}
fun getCurrentGitTag(): String? {
assertIsGitRepo()
val output = providers.exec {
commandLine("git", "tag", "--points-at", "HEAD")
}.standardOutput.asText.get().trim()
return if (output.isNotEmpty()) {
val tags = output.split("\n").toList()
tags.firstOrNull { it.contains("nightly") } ?: tags[0]
} else {
null
}
}
tasks.withType<Test>().configureEach {
testLogging {
events("failed")
exceptionFormat = TestExceptionFormat.FULL
showCauses = true
showExceptions = true
showStackTraces = true
}
}
gradle.taskGraph.whenReady {
if (gradle.startParameter.taskNames.any { it.contains("nightly", ignoreCase = true) }) {
if (!file("${project.rootDir}/nightly-url.txt").exists()) {
throw GradleException("Missing required file: nightly-url.txt")
}
}
}
fun loadKeystoreProperties(filename: String): Properties? {
val keystorePropertiesFile = file("${project.rootDir}/$filename")
return if (keystorePropertiesFile.exists()) {
val keystoreProperties = Properties()
keystoreProperties.load(FileInputStream(keystorePropertiesFile))
keystoreProperties
} else {
null
}
}
fun getDateSuffix(): String {
return SimpleDateFormat("yyyy-MM-dd-HH:mm").format(Date())
}
fun getMapsKey(): String {
val mapKey = file("${project.rootDir}/maps.key")
return if (mapKey.exists()) {
mapKey.readLines()[0]
} else {
"AIzaSyCSx9xea86GwDKGznCAULE9Y5a8b-TfN9U"
}
}
fun Project.languageList(): List<String> {
// In API 35, language codes for Hebrew and Indonesian now use the ISO 639-1 code ("he" and "id").
// However, the value resources still only support the outdated code ("iw" and "in") so we have
// to manually indicate that we support these languages.
val updatedLanguageCodes = listOf("he", "id")
return fileTree("src/main/res") { include("**/strings.xml") }
.map { stringFile -> stringFile.parentFile.name }
.map { valuesFolderName -> valuesFolderName.replace("values-", "") }
.filter { valuesFolderName -> valuesFolderName != "values" }
.map { languageCode -> languageCode.replace("-r", "_") }
.distinct()
.sorted() + updatedLanguageCodes + "en"
}
fun String.capitalize(): String {
return this.replaceFirstChar { it.uppercase() }
}

File diff suppressed because one or more lines are too long

View File

@@ -43,4 +43,8 @@
</issue>
<issue id="OptionalUsedAsFieldOrParameterType" severity="ignore" />
<issue id="SameParameterValue" severity="ignore" />
<!-- Disables check for digital asset linking in manifest. It's not needed, since we are not using CredentialManager for passkey support. -->
<issue id="CredManMissingDal" severity="ignore" />
</lint>

View File

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

View File

@@ -2,7 +2,9 @@
-dontobfuscate
-keepattributes SourceFile,LineNumberTable
-keep class org.whispersystems.** { *; }
-keep class org.signal.libsignal.net.** { *; }
-keep class org.signal.libsignal.protocol.** { *; }
-keep class org.signal.libsignal.usernames.** { *; }
-keep class org.thoughtcrime.securesms.** { *; }
-keep class org.signal.donations.json.** { *; }
-keepclassmembers class ** {
@@ -14,6 +16,10 @@
-keep class androidx.window.** { *; }
-keepclassmembers class * extends androidx.constraintlayout.motion.widget.Key {
public <init>();
}
# AGP generated dont warns
-dontwarn com.android.org.conscrypt.SSLParametersImpl
-dontwarn org.apache.harmony.xnet.provider.jsse.SSLParametersImpl

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