Commit Graph

1782 Commits

Author SHA1 Message Date
Max Radermacher
c229bd8eed Improve performance of unread count queries 2023-05-24 09:54:36 -07:00
Sasha Weiss
9d16dd49e0
Support PNI invites in groups 2023-05-23 15:40:58 -07:00
Harry
cc67fe55ad
SVR2 implementation part 1: local operations 2023-05-23 12:26:25 -07:00
Max Radermacher
231dde0a2f Remove unused conversation view loading code 2023-05-19 14:33:17 -07:00
Pete Walters
6a81e409d3
Add edit message history modal 2023-05-19 11:16:48 -05:00
Max Radermacher
279c518f32
Improve conversation view load performance
Co-authored-by: Harry <109690906+harry-signal@users.noreply.github.com>
2023-05-18 18:38:06 -07:00
Pete Walters
c4ef4402a4
Properly set the read state when creating edit copies 2023-05-17 14:47:15 -05:00
Pete Walters
60989ad5f8
Collapse db log output into a single line 2023-05-17 13:56:57 -05:00
Igor Solomennikov
f22ae21b54
Convert SignalApp to Swift. 2023-05-16 16:48:06 -07:00
Sasha Weiss
97167eed7a
Use ServiceId in username lookup 2023-05-16 10:02:36 -07:00
Pete Walters
d0475890f4
Delete old edit revisions during a remote delete 2023-05-15 19:17:38 -05:00
Igor Solomennikov
472a38ccec
Convert all DebugUI classes to Swift. 2023-05-12 21:05:25 -07:00
Marissa Le Coz
67d1141cfb
Add custom cursor option to SDSCodableModel enumeration 2023-05-12 16:44:08 -07:00
Harry
1bd1354a1d
Rename KeyBackupService protocol to SecureValueRecovery 2023-05-12 10:13:46 -07:00
Marissa Le Coz
4be334c5ad
Migrate SignalAccount to use SDSCodableModel 2023-05-11 17:34:15 -04:00
Pete Walters
2eba24de18
Add sync message support for edit message 2023-05-11 12:56:09 -05:00
Pete Walters
1aa7cdcf55
Clean up more Edit Message edge cases 2023-05-10 21:04:39 -05:00
Max Radermacher
c2f30c3b78 Grab a background task during async checkpoints 2023-05-10 17:52:13 -07:00
Sasha Weiss
a6fbbefa9b
Remove PniIdentitySyncMessage 2023-05-10 14:35:48 -07:00
Sasha Weiss
88f304b0c9
Prune orphaned job records 2023-05-10 14:32:22 -07:00
Max Radermacher
62965f6781
Convert TSThread.anyRemove to ThreadRemover 2023-05-10 14:03:08 -07:00
Max Radermacher
f5759cd17e
Use modern matching check for duplicate messages 2023-05-10 10:36:42 -07:00
Max Radermacher
2437083a68 Don’t mark SDS enumerate blocks as escaping 2023-05-05 14:52:48 -07:00
Pete Walters
407da806b3
Ignore edit label sizing for unedited messages 2023-05-04 15:30:54 -05:00
Pete Walters
cf37a8b1f9
Edit Message DB changes & conversation edit filtering 2023-05-03 17:22:10 -05:00
Max Radermacher
31f2f3d681
Improve MSL performance 2023-04-25 14:13:59 -07:00
Max Radermacher
0d8ef0f17e
Improve FailedAttachmentDownloadsJob perf 2023-04-25 12:22:20 -07:00
Evan Hahn
4e9dd76b69
Remove a bunch of dead code. 2023-04-24 15:44:51 -07:00
Evan Hahn
d6b60ac2cd
Add F_BARRIERFSYNC remote config kill switch 2023-04-21 16:10:35 -05:00
Max Radermacher
7d0d59f451
Support contact merges for yourself 2023-04-20 14:11:51 -07:00
Evan Hahn
874e07d1c2
Don't start disappearing messages job if database is corrupted 2023-04-20 11:51:46 -05:00
Evan Hahn
7d44dbbc4a Remove unused argument from database method
This change should have no user impact. The `name` argument was never
used so we can remove it.
2023-04-20 10:30:16 -05:00
Max Radermacher
89b6b4136c Improve performance of database callbacks 2023-04-19 15:38:33 -07:00
Max Radermacher
df9a6f09a7
Improve performance of checkpointIfNecessary() 2023-04-19 12:24:26 -07:00
Sasha Weiss
d219bfe59e
Serialize amount property as nullable 2023-04-19 09:38:27 -07:00
Harry
b6c6d60141
Fix long query for story replies 2023-04-18 13:08:03 -07:00
Max Radermacher
94a9c8cd65 Improve the performance of some tests 2023-04-17 14:14:57 -07:00
Evan Hahn
510f10ad32
Update SQLCipher to fork that supports BARRIERFSYNC 2023-04-17 12:03:45 -05:00
Max Radermacher
92e170fe12
Swiftify SSKEnvironment 2023-04-14 10:58:21 -07:00
Max Radermacher
a8511014cb
Use LocalIdentifiers in Storage Service 2023-04-14 10:20:58 -07:00
Sasha Weiss
f1063c1071
Migrate OWSDevice to SDSCodableModel 2023-04-13 14:00:46 -07:00
Sasha Weiss
c9fbc9a9ee
Migrate SSKJobRecord and subclasses to SDSCodableModel using factory init 2023-04-13 10:57:48 -07:00
Evan Hahn
8b2ec27f19
Clean up database checkpointing
This change should have no impact on behavior.

SQLite supports [several different checkpoint modes][0]. We always use
the "TRUNCATE" mode, so we can remove the code that handles different
ones.

We can also stop logging checkpoint results that are [always 0 in
"TRUNCATE" mode][1].

We can also use GRDB's WAL checkpoint method instead of calling SQLite's
API directly.

[0]: https://www.sqlite.org/c3ref/c_checkpoint_full.html
[1]: https://sqlite.org/c3ref/wal_checkpoint_v2.html
2023-04-13 12:21:12 -05:00
Max Radermacher
e8d8362e5f Simplify SDSDatabaseStorageObservationTest 2023-04-13 10:02:09 -07:00
Max Radermacher
25825edd07 Swiftify some TSAccountManager code 2023-04-12 18:05:36 -07:00
Max Radermacher
22ef2d8e55
Swiftify AppSetup 2023-04-12 17:54:48 -07:00
Evan Hahn
8a91bf188b
Periodically check internal users's databases for corruption 2023-04-12 15:04:21 -05:00
Evan Hahn
ea01acb00b Database integrity checker shouldn't manage its dispatch queue
*I recommend reviewing this with whitespace changes disabled.*

`GRDBDatabaseStorageAdapter.logIntegrityChecks()` needn't return a
promise. It only does that so it can run on a specific dispatch queue.

Instead, the dispatch queue should be the responsibility of the caller.

This change should have no user impact and makes a future improvement
easier.
2023-04-11 14:59:46 -05:00
Max Radermacher
3b75249144
Stop performing searches if they’ve been canceled 2023-04-10 13:38:14 -07:00
Max Radermacher
7060637cae
Clean up state transitions on app launch 2023-04-06 17:41:08 -07:00