Greyson Parrelli
084cdd7200
Fix de-duping migration when resolving date conflicts.
2023-05-12 09:45:02 -04:00
Greyson Parrelli
2eff9e0230
Update default conflict method to be 'ignore'.
2023-05-12 09:26:44 -04:00
Greyson Parrelli
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
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
Greyson Parrelli
bef15482af
Add unique index on message (sentTimestamp, author, thread).
2023-05-10 15:59:26 -04:00
Clark
77751c1d28
Add read through cache for thread id.
2023-05-09 13:41:28 -04:00
Greyson Parrelli
ee3f2d62cf
Add extra guard against inserting unnecessary error messages.
2023-05-09 13:41:28 -04:00
Alex Hart
a1eb33b1f6
CallLinkTable migration to add necessary columns for integration.
2023-05-09 13:41:27 -04:00
Alex Hart
305f6c610c
Fix bad formatting in CallTable.
2023-05-05 12:49:16 -03:00
Greyson Parrelli
d8d95d8efe
Update SQLCipher to 4.5.4-S1
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 Parrelli
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
Alex Hart
e0bda8cf53
Fix group call ring state for some calls.
2023-05-04 13:31:09 -03:00
Greyson Parrelli
a1c807d65b
Force usage of best index for conversation query.
2023-05-04 09:35:45 -04:00
Greyson Parrelli
77f5c290cc
Add 'if not exists' to index migration.
2023-05-04 09:33:29 -04:00
Alex Hart
4294b446f3
Hide call events from hidden and blocked contacts.
2023-05-04 10:02:15 -03:00
Greyson Parrelli
6aa4bb549a
Add database indices to improve message delete performance.
2023-05-03 09:59:47 -04:00
Greyson Parrelli
fe9ed4c5f7
Attempt to repair local recipient state in the V185 migration.
2023-05-02 10:04:57 -04:00
Greyson Parrelli
b3c0cda2be
Fix rendering of some update message types.
2023-05-01 10:09:57 -04:00
Greyson Parrelli
a01fb7ff1c
Fix foreign key constraint issues with backup restore.
2023-04-25 15:52:09 -04:00
Alex Hart
0e631508b2
Fix call log multiselect deletions.
2023-04-25 16:42:33 -03:00
Alex Hart
eedf7d4280
Update threads on call event message deletes.
2023-04-25 14:49:49 -03:00
Cody Henthorne
aaca487b8f
Improve performance around marking messages read.
2023-04-25 11:29:45 -04:00
Greyson Parrelli
353434e1ef
Possible fix for SQLite error.
2023-04-24 19:12:11 -04:00
Cody Henthorne
763e14f25f
Do not reveal spoilers in quotes.
2023-04-24 19:12:10 -04:00
Clark
324e83489e
Fix edit message with media.
2023-04-24 19:12:10 -04:00
Clark
8505530547
Fix link preview thumbnail not matching when receiving quote of edited message.
2023-04-24 09:43:41 -07:00
Greyson Parrelli
a11c34d1f6
Fix migration crash for unregistered users.
2023-04-24 10:14:43 -04:00
Cody Henthorne
1d793de213
Fix notification profile UI state bug and crash.
2023-04-21 13:37:03 -04:00
Clark
85787ba1df
Fix race for edit message notifying listeners.
2023-04-20 13:50:12 -04:00
Greyson Parrelli
6db71f4a39
Improve performance of finding message positions in chats.
2023-04-20 13:50:12 -04:00
Clark
23a3d78deb
Merge v186 and v185 migrations.
2023-04-20 13:50:12 -04:00
Greyson Parrelli
3264a0a795
Fix receipts for stories.
2023-04-20 13:50:12 -04:00
Clark
07f6baf7c1
Add message editing feature.
2023-04-20 13:50:12 -04:00
Cody Henthorne
4f06a0d27c
Improve performance from thread being updated to data available to render.
2023-04-20 13:50:12 -04:00
Greyson Parrelli
279ad7945e
Move to defined from_recipient_id and to_recipient_id columns on message table.
2023-04-20 13:50:11 -04:00
Alex Hart
5959545ae9
Add call log search support for group names.
2023-04-20 13:50:11 -04:00
Greyson Parrelli
56e008ea4f
Add database consistency test, fix calling migration.
2023-04-13 17:26:26 -04:00
Alex Hart
2a16d8baed
Mark all call events as read whenever we enter the calls tab.
2023-04-13 17:26:26 -04:00
Alex Hart
3e63ac46b4
Ensure message deletion marks event deleted.
2023-04-13 17:26:26 -04:00
Alex Hart
c881c67f5e
Fix child filtering.
2023-04-13 17:26:26 -04:00
Alex Hart
d77555266b
Prevent deleting call events with DELETION_TIMESTAMP set to 0.
2023-04-13 17:18:59 -04:00
Alex Hart
e8570c3680
Add call tab event grouping.
2023-04-12 16:31:35 -04:00
Alex Hart
433e8266c9
Add stricter call row identification.
2023-04-12 16:31:27 -04:00
Greyson Parrelli
71e2b8225a
Debounce thread updates for incoming messages.
2023-04-12 16:31:19 -04:00
Clark
48360d08d4
Integrate contact hiding with message requests.
2023-04-11 10:34:18 -04:00
Greyson Parrelli
c5af204de3
Prevent FK violation from bad decryption insert.
...
Fixes #12880
2023-04-11 10:02:00 -04:00