Commit Graph

247 Commits

Author SHA1 Message Date
Matthew Chen
9bc526b6bb Respond to CR. 2020-06-18 12:49:35 -03:00
Matthew Chen
2a72d563ae Respond to CR. 2020-06-18 12:22:14 -03:00
Matthew Chen
a4ae58c0f6 Respond to CR. 2020-06-18 12:09:42 -03:00
Matthew Chen
c6d5a52f82 Rework SDS extensions to support deep copies and cache lifecycle. 2020-06-18 12:05:07 -03:00
Matthew Chen
b37c2bc713 Rework SDS extensions to support deep copies and cache lifecycle. 2020-06-18 12:05:07 -03:00
Matthew Chen
b1f0a869a7 Add a script to just parse & generate SSK Obj-c. 2020-06-11 17:45:39 -07:00
Matthew Chen
0891ce52e1 Copy model read cache values. Add deepCopy method to all models. 2020-06-11 13:22:16 -03:00
Nora Trapp
a9ab44741c Codegen 2020-06-07 09:35:02 -07:00
Nora Trapp
3d084f958d Mark as unread 2020-05-27 18:29:59 -07:00
Nora Trapp
3698125424 Track reaction read state 2020-04-20 10:25:31 -07:00
Matthew Chen
d57cb36ace Merge remote-tracking branch 'private/release/3.8.0' 2020-04-15 10:08:56 -03:00
Ehren Kret
d0b7faeebc Update attachment model to hold cdn key and cdn number 2020-04-14 08:52:34 -07:00
Ehren Kret
5cd2bd0fe4 Update all sds python shebang lines to 2.7 2020-04-14 08:52:34 -07:00
Matthew Chen
6ee2ad097e Prepare for per-group queues in group message processing. 2020-04-13 17:36:36 -03:00
Nora Trapp
167f88bed6 Generated code 2020-04-13 12:49:27 -07:00
Matthew Chen
2d41ad42b4 Fix build warnings around initializers. 2020-04-08 16:05:54 -03:00
Matthew Chen
41267d9e54 Add upload timestamp to attachment models. 2020-04-02 13:39:40 -03:00
Matthew Chen
1d643bb61b Clean up code generation. 2020-04-02 13:31:14 -03:00
Matthew Chen
02f853a8dc Clean up code generation. 2020-04-02 13:31:14 -03:00
Michael Kirk
9f4c8e22ed regen 2020-01-31 20:33:57 -07:00
Matthew Chen
bc0359268e Rework outgoing messages; embed change protos in outgoing change messages for groups v2. 2020-01-27 11:47:44 -03:00
Nora Trapp
a1a54c4f78 Fix column ordering 2020-01-24 13:43:35 -08:00
Michael Kirk
1fb1af3c84 regen 2020-01-23 11:55:48 -07:00
Michael Kirk
61ec8612ee revamp group updates - show source, show changes, show icon 2020-01-23 11:55:48 -07:00
Michael Kirk
904b333924 codegen handles "id" type 2020-01-23 11:55:48 -07:00
Nora Trapp
a08a8cd8a7 Codegen 2020-01-23 08:59:22 -08:00
Matthew Chen
db0adf077a Respond to CR. 2020-01-23 12:00:42 -03:00
Matthew Chen
892ce5c135 Rework message processing to handle groups v2. 2020-01-17 17:34:37 -03:00
Nora Trapp
a68f5277bf Support profile given and family names 2020-01-09 13:17:09 -08:00
Michael Kirk
9d625c2823 ContactOffersInteractions should not be saved 2019-12-18 16:52:18 -08:00
Michael Kirk
16b9ca5d69 ignore reaction messages 2019-12-07 16:57:56 -07:00
Nora Trapp
14c8f4175e Add Reaction Model 2019-11-14 13:22:47 -08:00
Matthew Chen
9b015a57ff Combine row ids. 2019-11-12 15:24:02 -03:00
Matthew Chen
ed1fc257a5 Fix property ordering on SignalAccount. 2019-11-05 13:50:43 -03:00
Matthew Chen
5d787da830 Update code generation to ensure consistent property ordering. 2019-11-05 10:59:58 -03:00
Matthew Chen
179131c615 Update code generation to ensure consistent property ordering. 2019-11-05 10:45:16 -03:00
Matthew Chen
af1a74b01d Update code generation to ensure consistent property ordering. 2019-11-05 10:42:07 -03:00
Matthew Chen
471a54cc64 Update code generation to ensure consistent property ordering. 2019-11-05 10:15:07 -03:00
Michael Kirk
be0190f060 update templates 2019-11-04 14:06:54 -08:00
Michael Kirk
0fca274e62 Sync Groups and Contacts 2019-11-04 14:06:54 -08:00
Michael Kirk
d6353a99a7 rename OWSSyncGroupsRequestMessage -> OWSGroupInfoRequestMessage
It's not a sync message.
2019-11-04 14:05:59 -08:00
Matthew Chen
553a74b685 Further refine interaction writes. 2019-10-17 10:32:21 -03:00
Matthew Chen
156efd575c Revert "streamline interaction writes" refinements. 2019-10-17 10:32:21 -03:00
Matthew Chen
f5bc78696a Fix "record id v. sort id" conflicts. 2019-10-16 16:17:47 -03:00
Matthew Chen
54783c5e40 Fix typo in the "streamline interaction writes" changes. 2019-10-16 14:17:06 -03:00
Matthew Chen
b4c0fc5776 Respond to CR. 2019-10-15 11:05:15 -03:00
Matthew Chen
508b371294 Streamline interaction writes. 2019-10-15 11:01:08 -03:00
Michael Kirk
6d73d01e01 remove some unused columns 2019-10-14 18:23:35 -06:00
Matthew Chen
06e310d391 Rework thread mapping updates. 2019-10-11 09:31:35 -03:00
Michael Kirk
a00c1eb8d1 codegen id source 2019-09-20 16:25:55 -07:00
Michael Kirk
ca0179a1f6 fix indent 2019-09-20 16:25:55 -07:00
Nora Trapp
ee4fb20803 Cache audio waveforms to disk. 2019-09-19 12:45:48 -07:00
Matthew Chen
232f65618e Respond to CR. 2019-09-18 09:07:29 -03:00
Matthew Chen
464df8016b Respond to CR. 2019-09-18 09:07:28 -03:00
Matthew Chen
cf4ec3f469 Respond to CR. 2019-09-18 09:07:28 -03:00
Matthew Chen
11dfd413e3 Fix numeric/date edge cases in GRDB serialization. 2019-09-18 09:07:28 -03:00
Matthew Chen
a41e204de5 Add TestModel. 2019-09-18 09:04:19 -03:00
Matthew Chen
04b2863311 Add TestModel. 2019-09-18 09:04:19 -03:00
Matthew Chen
dcc3e25829 Unique ids are unique. 2019-09-16 17:18:18 -03:00
Matthew Chen
2c9720263d Respond to CR. 2019-09-16 13:32:23 -03:00
Matthew Chen
39750ba8a6 Respond to CR. 2019-09-16 13:01:37 -03:00
Matthew Chen
8775dd686d Respond to CR. 2019-09-16 13:01:37 -03:00
Matthew Chen
0389cdb730 Respond to CR. 2019-09-16 13:01:37 -03:00
Matthew Chen
bf8b632e24 Respond to CR. 2019-09-16 13:01:37 -03:00
Matthew Chen
7cd93cbf05 Add Batching class. 2019-09-16 13:01:36 -03:00
Matthew Chen
7dd1d61552 Batched and unbatched enumerations (generated changes). 2019-09-16 13:01:36 -03:00
Matthew Chen
9dea6069e4 Batched and unbatched enumerations. 2019-09-16 13:01:36 -03:00
Michael Kirk
6eb1595e87 update GRDB 2019-09-04 18:23:01 -06:00
Michael Kirk
78174a83e3 cleanup StatementArguments for generated code 2019-08-29 16:31:46 -06:00
Nora Trapp
129535f2d7 Merge branch 'release/2.42.0' 2019-08-29 15:21:40 -07:00
Nora Trapp
686e439106 Restore contact offer 2019-08-29 10:15:30 -07:00
Michael Kirk
e4f3fc42ca archivedAsOfSortId is a sortId 2019-08-28 18:34:35 -06:00
Michael Kirk
5360b2fb0f serialize even codable structs
In theory GRDB can take care of encode/decode of Codables, however the
hardcoded init(row:) entails using only things which can be
DatabaseValueConvertible, which not all Codables are.

The only field which fell afoul of this was the CGSize struct on TSAttachmentPointer.
2019-08-22 10:31:55 -06:00
Michael Kirk
f6f6a6c5cf perf: hardcode column offsets
SDS Performance Test changes:

insertion: 8% faster
fetch: 27% faster
enumeration 50% faster
2019-08-22 10:31:55 -06:00
Michael Kirk
73b0f736c9 ignore NSOrderedSet types 2019-08-22 10:31:55 -06:00
Matthew Chen
0f2a0d01b4 Merge remote-tracking branch 'private/release/2.42.0' 2019-08-21 10:58:41 -03:00
Matthew Chen
3a388d9bb3 Respond to CR. 2019-08-21 10:20:07 -03:00
Matthew Chen
85756b0fe9 Merge remote-tracking branch 'private/release/2.42.0' 2019-08-16 13:21:38 -03:00
Matthew Chen
895cbe8c96 Fix exception in "remove all" logic. 2019-08-16 11:19:39 -03:00
Michael Kirk
c917f41c0f codegen 2019-08-15 09:36:57 -06:00
Matthew Chen
8ca337e2c3 Rework generic change observation. 2019-08-13 09:58:27 -03:00
Matthew Chen
94ad1e35ff Improvements and fixes for "any FTS". 2019-08-07 17:48:54 -03:00
Matthew Chen
f2b20dcd6d Fix RI breakage. 2019-08-06 15:24:40 -03:00
Matthew Chen
eccfad0f46 Merge remote-tracking branch 'private/release/2.41.0' 2019-08-06 12:12:39 -03:00
Matthew Chen
e4b082746d Add GRDB support for full text search. 2019-08-02 15:42:34 -03:00
Matthew Chen
1e363d2c65 Make uniqueId non-nil. 2019-07-31 10:50:59 -03:00
Nora Trapp
81783c253a Remove Contacts Offer 2019-07-29 12:40:09 -07:00
Michael Kirk
796b1ebb73 modern CDS vs. UUID 2019-07-25 14:06:06 -06:00
Michael Kirk
816889a894 as threatened 2019-07-25 11:48:31 -06:00
Michael Kirk
6482f6177a OWSContactQuery record and codegen 2019-07-25 11:48:31 -06:00
Matthew Chen
87950b11f2 Respond to CR. 2019-07-19 17:15:39 -03:00
Matthew Chen
b2fc66aca3 Honor shouldBeSaved flag in anyRemove. 2019-07-19 17:13:51 -03:00
Matthew Chen
3c3e84168a Respond to CR. 2019-07-19 15:37:53 -03:00
Matthew Chen
92fe08208a Convert interactions to BaseModel (generated changes). 2019-07-19 15:25:28 -03:00
Matthew Chen
ebd45743c6 Convert interactions to BaseModel. Add typed 'any update with...' methods. 2019-07-18 15:44:36 -03:00
Nora Trapp
9031d8fdc9 SDS Codegen 2019-07-17 12:46:50 -07:00
Matthew Chen
19ec1f332f Add typed 'any update with...' methods. 2019-07-16 14:00:13 -03:00
Matthew Chen
6f562e903f Add typed 'any update with...' methods. 2019-07-16 14:00:13 -03:00
Matthew Chen
dab6328dc8 Don't generate SDS extensions for migrations. 2019-07-16 14:00:13 -03:00
Matthew Chen
3ef10b38ad Add typed 'any update with...' methods. 2019-07-16 14:00:13 -03:00