Commit Graph

3547 Commits

Author SHA1 Message Date
Nora Trapp
35cd3a4d64 Allow conforming to sync manager stuff in Swift 2019-11-19 18:07:51 -08:00
Nora Trapp
b4897b5d52 Derive storage service key, send keys sync message. 2019-11-19 18:07:08 -08:00
Nora Trapp
87e6cb3d41 Keys sync message protos 2019-11-19 18:06:18 -08:00
Matthew Chen
db7bd944de Respond to CR. 2019-11-19 14:15:47 -03:00
Matthew Chen
4813491a26 Versioned profiles, part 1. 2019-11-19 13:41:29 -03:00
Matthew Chen
5feb130032 Rework TSConstants. 2019-11-19 13:22:03 -03:00
Matthew Chen
4da84b986f Respond to CR. 2019-11-19 13:13:05 -03:00
Matthew Chen
0ca1b2e028 Rework profile fetch. 2019-11-19 13:06:48 -03:00
Matthew Chen
20544953a4 Update proto wrappers for group v2 protos (proto3, swift-only, free-standing enums, etc.) (generated changes). 2019-11-19 11:07:21 -03:00
Matthew Chen
3d5954dcf0 Update proto wrappers for group v2 protos (proto3, swift-only, free-standing enums, etc.) 2019-11-19 11:06:42 -03:00
Matthew Chen
6415eef120 Restore the group proto changes. 2019-11-19 11:06:42 -03:00
Matthew Chen
748f3ec3b0 Merge remote-tracking branch 'private/release/3.0.0' 2019-11-18 21:12:54 -03:00
Michael Kirk
1d5c0aeffa work around missing grdb_migrations table 2019-11-18 12:06:15 -07:00
Michael Kirk
71fcc1cd58 Ensure new-user schema migrations run
The "file exists" check doesn't work, because GRDB itself automatically creates
the database earlier on, so instead we inspect if any migrations exist in the
migrations table.

also removes a spurious main-thread check for a non-ui db accessor and renames
it to be more ergonomic.
2019-11-18 12:06:15 -07:00
Michael Kirk
8289539b3a fixup logging 2019-11-18 10:52:27 -07:00
Nora Trapp
8f6ddb6d02 Merge branch 'release/3.0.0' 2019-11-15 19:09:21 -08:00
Michael Kirk
45a3fccb58 dont change order of downloaded attachments 2019-11-15 18:51:37 -07:00
Matthew Chen
c6ed1976a1 Avoid duplicate sort ids in migrated interactions. 2019-11-15 13:31:25 -03:00
Matthew Chen
401288ebba Avoid duplicate sort ids in migrated interactions. 2019-11-15 12:19:11 -03:00
Matthew Chen
571caaae1f Avoid duplicate sort ids in migrated interactions. 2019-11-15 12:17:54 -03:00
Matthew Chen
2e4b697499 Avoid duplicate sort ids in migrated interactions. 2019-11-15 12:17:32 -03:00
Matthew Chen
005e4d3e13 Avoid duplicate sort ids in migrated interactions. 2019-11-15 11:45:55 -03:00
Nora Trapp
a3e5ab19b0 Merge branch 'release/3.0.0' 2019-11-14 17:43:33 -08:00
Michael Kirk
e54c47e15e Fix index ordering and off by 1
ROW_NUMBER starts at 1, but we were treating the result as if it were 0 based.
2019-11-14 18:10:24 -07:00
Nora Trapp
5aa8e482f5 PR Feedback 2019-11-14 13:24:55 -08:00
Nora Trapp
1f74a77548 Reaction sending 2019-11-14 13:24:55 -08:00
Nora Trapp
d7d471101e Handle incoming reactions 2019-11-14 13:24:55 -08:00
Nora Trapp
1f78ae5bb0 Reaction cleanup 2019-11-14 13:24:55 -08:00
Nora Trapp
9f94dd427e Reaction finder 2019-11-14 13:24:55 -08:00
Nora Trapp
29059328e0 Reaction protos 2019-11-14 13:24:55 -08:00
Nora Trapp
14c8f4175e Add Reaction Model 2019-11-14 13:22:47 -08:00
Matthew Chen
e46eefe50e Remove readReturningResult(). 2019-11-14 10:39:33 -03:00
Matthew Chen
b3b0c43320 All writes return results. 2019-11-14 10:39:33 -03:00
Matthew Chen
7d00f55434 Update service proto schema for groups v2. 2019-11-14 10:31:50 -03:00
Matthew Chen
3f424f72e9 Set feature flags to .qa. 2019-11-14 10:31:14 -03:00
Matthew Chen
b472abdd98 Touch thread when touching interaction. 2019-11-14 10:17:58 -03:00
Nora Trapp
2316865975 Feature flags for beta 2019-11-13 15:28:07 -08:00
Matthew Chen
d3c1696337 Set feature flags to 'GRDB for all in beta'. 2019-11-13 11:25:59 -03:00
Nora Trapp
fbdafc6bd5 Store KBS keys in the database instead of the keychain 2019-11-13 10:48:36 -03:00
Nora Trapp
09895d753c Attempt to fix Bench crashes 2019-11-13 10:47:44 -03:00
Nora Trapp
ea7cc2b78f Provisioning message will not always contain a UUID 2019-11-13 10:47:02 -03:00
Michael Kirk
fe8503ebc7 Fix freeze/crash in gallery
If for whatever reason we can't load the underlying image, we must return nil
and call the failure handler. Otherwise the thumbnailing service doens't know
what to do with an empty image.
2019-11-13 10:46:18 -03:00
Matthew Chen
ee2b0f3f47 Fix mispelling. 2019-11-13 10:39:07 -03:00
Michael Kirk
6cfd7c3f20 avoid assertion failure
none of the underlying errors are (currently) retryable anyway, so there's no
harm in *never* retrying unless we add some retryable error later.
2019-11-13 10:38:38 -03:00
Matthew Chen
80be65ba14 Further increase restart checkpoint frequency. 2019-11-13 10:35:11 -03:00
Matthew Chen
0c84f99246 Perform restart checkpoints more often. 2019-11-13 10:35:11 -03:00
Matthew Chen
9bdb85b897 Fix test broken by group manager. 2019-11-13 10:29:07 -03:00
Matthew Chen
9b015a57ff Combine row ids. 2019-11-12 15:24:02 -03:00
Matthew Chen
0d28d827dd Fix build break. 2019-11-12 14:44:13 -03:00
Matthew Chen
888237723a Don't preserve YDB database after migration. 2019-11-12 13:24:29 -03:00