Commit Graph
5805 Commits
Author SHA1 Message Date
Greyson ParrelliandCody Henthorne 9ba2724d0a Fix V190 database migration with a new migration. 2023-05-11 15:21:22 -04:00
Greyson Parrelli 7866851f5d Temporarily give up on the V190 migration. 2023-05-11 11:17:01 -04:00
Greyson Parrelli c938035ec1 Improve error handling around unknown UUIDs. 2023-05-11 11:15:13 -04:00
Nicholas Tinsley 965fdc5e9b Fix linked devices reminder appearing all the time. 2023-05-11 11:08:06 -04:00
NicholasandCody Henthorne 208147db9e Make change number error notifications more prominent. 2023-05-10 15:59:26 -04:00
NicholasandCody Henthorne e4f70fa4fe Delegate to system to handle rotation in video call PiP. 2023-05-10 15:59:26 -04:00
Cody Henthorne 4d09abd0d3 Fix group state loss during concurrent updates.
Storage sync and a message process can both attempt to create a group at the same time. Message processing caches the local group state and performs networking which allows the cached state to become stale. The state was being used to decide to call create instead of update and the create would fail silently as the group record already exists. This would cause state to not be persisted and result in odd double events.
2023-05-10 15:59:26 -04:00
Nicholas TinsleyandCody Henthorne ac027d9267 Store linked devices presence in separate key than reminder. 2023-05-10 15:59:26 -04:00
NicholasandCody Henthorne 92e8f125f9 Improve nullability for setting communication devices. 2023-05-10 15:59:26 -04:00
Greyson ParrelliandCody Henthorne bef15482af Add unique index on message (sentTimestamp, author, thread). 2023-05-10 15:59:26 -04:00
Greyson ParrelliandGitHub 93d78b3b2e Improve conditional logic around prekey refresh schedule. 2023-05-09 15:35:48 -04:00
Greyson ParrelliandCody Henthorne 9bf6922d97 Ensure users have a service identifier before sending receipts. 2023-05-09 13:41:28 -04:00
Greyson ParrelliandCody Henthorne 41fc4096e4 Fix migration crash if user is unregistered. 2023-05-09 13:41:28 -04:00
NicholasandCody Henthorne e46564cb7e Add jitter to backup scheduling. 2023-05-09 13:41:28 -04:00
ClarkandCody Henthorne 77751c1d28 Add read through cache for thread id. 2023-05-09 13:41:28 -04:00
ClarkandCody Henthorne 054a1e4017 Reduce number of db calls when processing data messages. 2023-05-09 13:41:28 -04:00
Greyson ParrelliandCody Henthorne ee3f2d62cf Add extra guard against inserting unnecessary error messages. 2023-05-09 13:41:28 -04:00
Cody Henthorne 268c9a1c26 Fix conversation list not updating with current state. 2023-05-09 13:41:27 -04:00
Jon ChambersandCody Henthorne e8e01b5965 Remove vestiges of CDS "classic". 2023-05-09 13:41:27 -04:00
ClarkandCody Henthorne c2c1537858 Disable interactions while user is unregistered or expired. 2023-05-09 13:41:27 -04:00
Cody Henthorne 65d5f4c426 Add ConversationAdapterV2. 2023-05-09 13:41:27 -04:00
Alex HartandCody Henthorne a1eb33b1f6 CallLinkTable migration to add necessary columns for integration. 2023-05-09 13:41:27 -04:00
Alex Hart 9eadd92d05 Ensure websocket state changes are handled on main thread. 2023-05-05 13:55:45 -03:00
NicholasandAlex Hart b0e1294584 Only show linked devices reminder if devices previously linked. 2023-05-05 12:49:18 -03:00
NicholasandAlex Hart f1fd29a477 Use Bluetooth headset mic to record voice notes. 2023-05-05 12:49:18 -03:00
Cody HenthorneandAlex Hart fc9a6b98d1 Add sync group sent text message processing test. 2023-05-05 12:49:18 -03:00
Alex Hart 305f6c610c Fix bad formatting in CallTable. 2023-05-05 12:49:16 -03:00
Alex Hart 66f4732db5 Reimplement MessageRequestViewModel for CFV2. 2023-05-05 12:48:53 -03:00
NicholasandAlex Hart ccdfa546b4 Prevent launching multiple audio device dialogs during call. 2023-05-05 12:48:53 -03:00
Greyson ParrelliandAlex Hart 855e194baa Add initial username link screen + QR code generation. 2023-05-05 12:48:53 -03:00
ClarkandAlex Hart 0aa7bd6a4e Reorder security provider initialization. 2023-05-05 12:48:53 -03:00
Greyson ParrelliandAlex Hart 78b530f8b8 Show toast to internal users for invalid messages. 2023-05-05 12:48:53 -03:00
ClarkandAlex Hart 29796f51d7 Try calling startForeground in onCreate. 2023-05-05 12:48:53 -03:00
Alex HartandGreyson Parrelli 4d2ce7a2be Batch call event syncs.
Co-authored-by: Greyson Parrelli <greyson@signal.org>
2023-05-05 12:48:53 -03:00
Alex Hart 8dc45263cd Add requestLayout when textfields are updated.
These fields appear to not resize themselves correctly and there appears
to be a possible race where they can end up wrongly ellipsizing
themselves.
2023-05-05 12:48:53 -03:00
Greyson ParrelliandAlex Hart d8d95d8efe Update SQLCipher to 4.5.4-S1 2023-05-05 12:48:53 -03:00
Greyson ParrelliandAlex Hart f081591354 Add Android 14 improvements for dynamic shortcuts.
Closes #12923
Co-authored-by: Yuichi Araki <yaraki@google.com>
2023-05-05 12:48:53 -03:00
NicholasandAlex Hart 35e96fecdb Launch the MediaPreviewV2Activity in its own stack from Bubbles. 2023-05-05 12:48:53 -03:00
NicholasandAlex Hart 89397ae7cc Picture-in-Picture call improvements. 2023-05-05 12:48:53 -03:00
Alex Hart 6c57c2ac2a Fix crash from external share. 2023-05-05 12:48:53 -03:00
Greyson ParrelliandAlex Hart 90c9cc17b9 Handle unregistered responses in more locations.
There were some send jobs where we knew users were unregistered, but we
weren't marking them as such in the DB.
2023-05-05 12:48:53 -03:00
NicholasandAlex Hart 125c4f43cf Make audio device button directly toggle when only two devices are present. 2023-05-05 12:48:53 -03:00
Greyson ParrelliandAlex Hart 634e4abcc1 Use the word 'chat' instead of 'conversation'. 2023-05-05 12:48:53 -03:00
Greyson ParrelliandAlex Hart a5431330d1 Ensure user has a serviceId/e164 before attempting a read receipt. 2023-05-05 12:48:53 -03:00
Alex Hart 30fc6d94c5 Flesh out event listeners and add load sequencing to CFV2. 2023-05-05 12:48:53 -03:00
Alex Hart 694d8f1984 Add scroll buttons to CFV2. 2023-05-05 12:48:53 -03:00
Alex Hart bff8fc8230 Add call link details screen scaffolding. 2023-05-05 12:48:53 -03:00
Greyson ParrelliandAlex Hart 8c707555f2 Fix bad migration state that could happen during a device transfer. 2023-05-05 12:42:31 -03:00
Greyson Parrelli 63ce2de3bf Add some more missing indexes for foreign keys and create test. 2023-05-05 09:27:40 -04:00
Alex Hart 5e86cca277 Ensure call events are reverse-chron by timestamp. 2023-05-05 10:12:58 -03:00