Commit Graph

646 Commits

Author SHA1 Message Date
Nora Trapp
f808813466 Manage app store metadata with transifex 2021-04-22 12:53:43 -07:00
Nora Trapp
aeba62018a Ignore more tags in RI 2021-04-15 10:59:27 -07:00
Nora Trapp
894841edde Fix private pods setup 2021-04-14 21:46:38 -07:00
Nora Trapp
99e2a739d1 add release lane to fastfile 2021-04-13 20:40:17 -07:00
Nora Trapp
bf660c85ce Add TSGroupMember table to allow performant querying of group membership 2021-04-08 13:44:00 -07:00
Matthew Chen
46c3408726 Update SDS to reflect payment columns. 2021-04-08 09:27:05 -03:00
Nora Trapp
73f4044ebf Fix db schema 2021-04-07 18:56:01 -07:00
Matthew Chen
cbfc7be372 Revisions to payments in SSK. 2021-04-06 13:57:07 -03:00
Matthew Chen
87ace3779d Respond to CR and proto schema/reconciliation review. 2021-04-06 13:57:06 -03:00
Matthew Chen
a00d14ddc4 Payments: Models 2021-04-06 13:57:06 -03:00
Matthew Chen
51e05cb6b7 Port feature flag scripts to Python. 2021-04-06 13:57:06 -03:00
Matthew Chen
3a8e4bcbc5 Payments: feature flags 2021-04-06 13:57:06 -03:00
Matthew Chen
2d0fdff372 Payments: Update proto schema. 2021-04-06 13:57:06 -03:00
Nora Trapp
63da30f617 Store mute as millisecond timestamp 2021-03-27 12:13:20 -07:00
Matthew Chen
86b8eb08b8 Remove YapDatabase.
Apply asset from design.

Fix rebase breakage.
2021-03-25 11:41:16 -03:00
Nora Trapp
da59806acf Update precommit.py for swiftlint 0.43.1 2021-03-17 13:15:51 -07:00
Nora Trapp
26253a0a27 Set the proto address during initialization 2021-02-16 13:05:13 -08:00
Matthew Chen
b890fdeed8 Fix build warnings. 2021-01-23 22:45:33 -03:00
Matthew Chen
d3eb77d6d3 Refine handling of unverified safety number changes. 2021-01-21 22:31:08 -03:00
Matthew Chen
3bb5f0777b Add profile bio fields to database schema. 2021-01-14 22:25:45 -03:00
Matthew Chen
111338b59d Rewrite conversation view. 2020-12-10 12:44:13 -03:00
Michelle Linington
f6a252d274 Send a group call update message when joining and leaving a group call 2020-11-19 16:02:22 -08:00
Nora Trapp
d8ca084b65 Tweak database fields and update RingRTC 2020-11-19 16:02:22 -08:00
Nora Trapp
b32c5bda4a Add scaffolding for Group Call messages 2020-11-19 16:02:22 -08:00
Jordan Rose
98884f9cba Proto wrappers: use structs when ObjC compatibility isn't needed
Shaves off about 20% of a deep serialization benchmark (that's
unfortunately using code that isn't checked in yet).

Also removes Equatable from oneof enums, which wasn't really doing the
right thing anyway when there were non-primitive payloads because the
proto classes didn't override isEqual.
2020-11-17 12:46:26 -08:00
Jordan Rose
a25f4b9e26 Proto builders: dramatically speed up add*() using in-place mutation
The Swift compiler ought to be smart enough to prove that
copy-out/mutate/copy-in is the same as mutate-in-place for structs,
but it currently isn't clever enough to do that.
(See https://bugs.swift.org/browse/SR-11895.)
2020-11-17 12:46:26 -08:00
Nora Trapp
21fcb5e763 Fix script to handle emoji with overlapping names 2020-11-05 13:18:39 -08:00
Matthew Chen
b13ff0c879 Respond to CR. 2020-10-08 17:31:29 -03:00
Matthew Chen
ce1dcbade5 Animated sticker support. 2020-09-02 13:44:15 -03:00
Nora Trapp
896b9f9902 Some small tweaks to emoji generation (determinate skin tone order, better 'couple' naming) 2020-08-24 15:12:24 -07:00
Nora Trapp
cfc6900440 Persist and render preferred skin tone permutations in reaction picker 2020-08-24 15:12:24 -07:00
Nora Trapp
f7dfcc3348 Generate skin tone information for Emoji 2020-08-24 15:12:24 -07:00
Nora Trapp
fc2d80335f codegen 2020-08-20 16:48:54 -07:00
Michelle Linington
7494eed9cc PR Feedback, update schema_dump to support sqlclient updates 2020-08-20 13:07:23 -07:00
Michelle Linington
c0dee48b37 IOS-784: Improvements to sqlclient script
This change makes the debug the sqlcipher database with command line
much easier. Leverages simctl to make simulator discovery and
introspection super straightforward
2020-08-20 13:07:23 -07:00
Matthew Chen
3942ff7fb2 Cautious proto address parsing. 2020-08-19 13:24:16 -03:00
Nora Trapp
f42c0a40dd Set expiry time in profiling builds 2020-08-17 08:59:04 -07:00
Nora Trapp
b035d35510 Add dedicated video call button 2020-08-14 20:44:03 -07:00
Nora Trapp
9696671f8a Add trustLevel to SignalServiceAddress 2020-08-05 14:36:43 -07:00
Nora Trapp
6f963c7ba5 Add mention notification settings 2020-08-04 14:09:06 -07:00
Nora Trapp
e8ec5330a0 Add mentions to the database 2020-08-04 14:08:29 -07:00
Nora Trapp
0878f9156e Add script to update the changelog 2020-07-22 17:46:43 -07:00
Nora Trapp
c5214e38b6 Add Codable adherance to proto wrappers 2020-07-22 14:34:24 -07:00
Nora Trapp
c4111f59d0 Generate interface for unknownFields 2020-07-22 14:34:24 -07:00
Nora Trapp
92fe7350f1 Fix linting for InfoPlist.strings 2020-07-08 11:40:47 -07:00
Matthew Chen
98f6bd43c6 Track last messaging date on user profile. 2020-07-08 11:10:37 -03:00
Matthew Chen
f3ff2dfda3 Track last fetch date on user profile. 2020-07-08 11:10:36 -03:00
Matthew Chen
3983974c53 Merge branch 'release/3.12.3' 2020-07-03 16:47:53 -03:00
Matthew Chen
68f1a71914 Add scripts to manipulate feature flags. 2020-06-25 21:06:35 -03:00
Matthew Chen
059909bd1b Address sticker perf hotspots. 2020-06-23 10:07:18 -03:00
Nora Trapp
d0534ea642 Preserve conversation scroll position 2020-06-18 16:25:04 -07:00
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
Matthew Chen
f2dec8a700 Update l10n strings. 2020-06-07 11:42:16 -03:00
Nora Trapp
0805ff8ca9 Refactor to use shortName as some emoji don't have a name defined 2020-06-01 12:52:58 -07:00
Nora Trapp
1f3a3764bc Merge smileys & people categories, ignore skin tones 2020-06-01 12:52:58 -07:00
Nora Trapp
150639080d Generate Emoji enum representing all available emoji 2020-06-01 12:52:58 -07:00
Nora Trapp
3d084f958d Mark as unread 2020-05-27 18:29:59 -07:00
Matthew Chen
2ce2504058 Merge remote-tracking branch 'private/release/3.8.0' 2020-04-28 16:01:52 -03:00
Matthew Chen
752bcdd6f9 Use blob protos for encrypted attributes. 2020-04-27 14:48:29 -03:00
Nora Trapp
3698125424 Track reaction read state 2020-04-20 10:25:31 -07:00
Matthew Chen
b2e90bf164 Merge remote-tracking branch 'private/release/3.8.0' 2020-04-20 11:52:54 -03:00
Matthew Chen
9b5004bc2a Fix reference to SCK in auto-genstrings. 2020-04-20 09:17:26 -03: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
Ehren Kret
429aa7bf32 Update proto wrapper script for python3 2020-04-09 12:45:34 -07:00
Matthew Chen
2d41ad42b4 Fix build warnings around initializers. 2020-04-08 16:05:54 -03:00
Nora Trapp
aa1f0ab39c Fix precommit script for when PRs remove files 2020-04-03 11:17:01 -07: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
Ehren Kret
82f3f3ed01 Change shebang line for pre and post commit scripts
These scripts are written for Python 2.7 and fail if python executable
points to Python 3.
2020-04-01 18:09:57 -07:00
Nora Trapp
89450058b4 More proto changes: flatten and limit account to relevant data 2020-03-24 17:11:02 -07:00
Nora Trapp
45945a530c Add support for proto3 oneof and fix a few other proto3 paths 2020-03-24 17:11:01 -07:00
Nora Trapp
f05f2ff85f Add lint action 2020-03-14 15:40:02 -07:00
Michael Kirk
cc6aafb7e6 marking internal build tag as such 2020-03-09 17:12:11 -06:00
Matthew Chen
e4d181b91a Update version script to update NSE. 2020-02-20 12:17:10 -03:00
Nora Trapp
1cf95c620b Merge branch 'release/3.4.0' 2020-02-05 12:27:48 -08:00
Matthew Chen
8f00330ce8 Merge branch 'release/3.3.1' into release/3.4.0 2020-02-05 16:04:32 -03:00
Matthew Chen
6461ea372e Update RI check script. 2020-02-05 16:03:53 -03:00
Michael Kirk
9f4c8e22ed regen 2020-01-31 20:33:57 -07:00
Nora Trapp
99ce53a786 Fix column ordering 2020-01-30 20:11:08 -08:00
Michael Kirk
a55263c0e8 regen 2020-01-30 20:10:55 -08:00
Michael Kirk
83d26fe62e revamp group updates - show source, show changes, show icon 2020-01-30 20:10:55 -08:00
Michael Kirk
076780b4ab codegen handles "id" type 2020-01-30 20:10:55 -08:00
Nora Trapp
c59818467b Codegen 2020-01-30 20:10:35 -08: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
Nora Trapp
4d55468bd3 Merge branch 'release/3.2.0' 2020-01-02 16:50:14 -08:00
Orta Therox
469e169962 Convert to just using CocoaPods for dependencies 2020-01-02 12:03:57 -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
Michael Kirk
f4dfd6973e ignore unmarked internal build 2019-12-05 16:39:45 -07:00
Nora Trapp
698989d8bb Ignore 2.46.0.26 2019-11-21 17:02:04 -08: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
Nora Trapp
8f6ddb6d02 Merge branch 'release/3.0.0' 2019-11-15 19:09:21 -08:00
Nora Trapp
778885db9f Fix precommit, git-clang-format doesn't like spaces between extension type 2019-11-15 14:17:46 -08: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
Michael Kirk
583077d94b skip formatting proto files 2019-11-06 21:24:53 -07:00
Matthew Chen
f5e9a83834 Revert "Merge branch 'charlesmchen/groupsProtos'"
This reverts commit ede6b98234, reversing
changes made to 35271c6d3e.
2019-11-06 17:48:52 -03:00
Matthew Chen
353fca396e Add Groups protos. 2019-11-06 17:34:56 -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
66bb6ed9da redump schema - Note, this was manually touched up to work around the dropped singal account indices 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
Michael Kirk
9b69b6bc0b disable debug logging in script 2019-10-24 13:11:21 -06:00
Nora Trapp
03f3f4aa9a Don't disable universal support in precommitt 2019-10-23 13:46:31 -07:00
Matthew Chen
64573a3e80 Fix RI check script. 2019-10-17 17:22:23 -03: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
Michael Kirk
47c2d1cf70 script to dump formatted schema 2019-10-11 10:50:21 -07:00
Matthew Chen
06e310d391 Rework thread mapping updates. 2019-10-11 09:31:35 -03:00
Nora Trapp
06f66b7cb5 Disable universal device support in precommit check. 2019-10-03 11:54:00 -07:00
Nora Trapp
4f3b109223 Add scripts to enable/disable universal support on all targets 2019-10-03 11:54:00 -07:00
Matthew Chen
813b9f0808 Refine build script to label internal tag commit messages as such. 2019-09-27 13:37:48 -03:00
Matthew Chen
7c169b5f6d Add --internal command line flag. 2019-09-27 13:03:19 -03:00
Michael Kirk
3868a56b63 update tags_to_ignore 2019-09-25 18:34:08 -07: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
Disconnect3d
0fc0377d0c Fix check_diff_for_keywords in scripts
Fixes the `objc_keywords` list in `check_diff_for_keywords`.

This list stores strings and Python automagically concatenates strings if there is no comma between them.

As a result the first two items of the list: `OWSAbstractMethod\(` and `OWSAssert\(` were wrongly conacatenated into `"OWSAbstractMethod\(OWSAssert\("`.

This has been found with LGTM 0ddaedbfad/files/Scripts/precommit.py (x84c147336239d4b6):1
2019-09-15 09:40:02 -07: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
Michael Kirk
b322d1a119 Merge tag '2.42.0.5' 2019-08-13 19:56:57 -06:00
Michael Kirk
76c4629acb auto-genstrings handles "=" in our translations 2019-08-13 12:57:47 -03: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
Nora Trapp
19f3de798e Limit optional proto setters to ObjC only 2019-07-24 14:53:45 -07:00
Nora Trapp
a439c89e93 Change proto builder setters to accept optional input 2019-07-24 14:53:45 -07:00
Michael Kirk
9e704be729 Merge tag '2.41.0.12' 2019-07-22 14:33:01 -06:00
Michael Kirk
74ca0aecb7 update string linter path 2019-07-22 12:41:01 -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
Michael Kirk
fefc06530b ProtoWrappers generation optionally skips address helpers 2019-07-16 22:45:13 -06:00
Michael Kirk
61949dda9d Merge branch 'release/2.41.0-with-uuid-address-unreverted' into mkirk/ri-2.41.0 2019-07-16 18:00:24 -06: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
Nora Trapp
430a4b872a If proto doesn't have uuid or e164 address should be nil 2019-07-16 09:23:15 -07:00
Nora Trapp
c416ee5a60 Generate proto address accessors 2019-07-10 13:31:03 -07:00
Michael Kirk
501466a765 grdb compat for touching interactions and threads 2019-07-03 14:38:32 -05:00
Michael Kirk
6806ee1a0f sds_generate understands int64_t 2019-07-03 09:06:37 -05:00
Michael Kirk
d06355c131 add to tags to ignore 2019-07-01 17:30:42 -06:00
Michael Kirk
535d798b01 add flag to run RI check off master 2019-07-01 17:30:28 -06:00
Matthew Chen
aadb418cd9 Convert message sending to use any transactions (code generated changes). 2019-06-25 16:00:58 -04:00
Matthew Chen
c8359fc932 Convert message sending to use any transactions. 2019-06-25 16:00:58 -04:00
Matthew Chen
b86ab9f611 Migrate OWSDisappearingMessagesConfiguration to any. 2019-06-25 15:48:37 -04:00
Matthew Chen
85af6572e3 Convert attachments to be any-only - code generated changes. 2019-06-24 15:34:02 -04:00
Matthew Chen
ff38ae1920 Respond to CR. 2019-06-24 15:29:43 -04:00
Matthew Chen
3f2a680b70 Add will/did...save/remove methods to models. 2019-06-24 15:29:43 -04:00
Matthew Chen
7cf58fdc94 Respond to CR. 2019-06-21 09:16:10 -04:00
Matthew Chen
a6f5f4b35b Rename anyVisitAll() to anyEnumerate(); use stop. 2019-06-21 09:02:34 -04:00
Matthew Chen
a0ca750f63 Respond to CR. 2019-06-19 11:53:15 -04:00
Matthew Chen
f3cbc4a91d Migrate more key-value stores. 2019-06-19 11:21:49 -04:00
Matthew Chen
b0375a5de4 Add anyCount() method to SDS extensions. 2019-06-19 11:21:41 -04:00
Matthew Chen
ccf217bade Migrate more key-value stores. 2019-06-19 11:21:34 -04:00
Nora Trapp
37406153c6 Add support for camel case conversion from upper and lower snake case 2019-06-18 19:04:08 -07:00
Matthew Chen
43eb138827 Receive per-message expiration sync messages. 2019-06-13 17:17:35 -04:00
Michael Kirk
1b9a8274f6 move localization scripts to Scripts 2019-06-13 09:28:14 -05:00
Michael Kirk
88252a04f6 update codegen: don't call block twice on same insance 2019-05-31 07:40:51 -06:00
Michael Kirk
d0a657f399 add anyReload method to codegen scripts 2019-05-30 18:26:15 -06:00
Matthew Chen
6e1cef3b04 Remove temporary changes in SDS code generation. 2019-05-29 11:57:24 -04:00
Matthew Chen
307a3f38a2 Respond to CR. 2019-05-29 11:26:40 -04:00
Matthew Chen
9ae86e438b Add "required" getter for optional enums. 2019-05-29 11:05:32 -04:00
Matthew Chen
5afe9de621 Add "required" getter for optional enums. 2019-05-29 11:05:01 -04:00
Matthew Chen
12f816b040 Remove @required from proto enums. 2019-05-29 11:05:01 -04:00
Matthew Chen
fc25251dd8 Merge remote-tracking branch 'private/release/2.40.0' 2019-05-29 10:56:24 -04:00
Matthew Chen
c05c314b80 Render "unknown protocol version" error messages. 2019-05-29 09:10:18 -04:00
Matthew Chen
e72961fa24 Handle unknown enum values. 2019-05-29 09:10:18 -04:00
Matthew Chen
56013f19da Add OWSUnknownProtocolVersionMessage. 2019-05-29 09:10:18 -04:00
Matthew Chen
0e04a59c70 Add protocol version to proto schema. 2019-05-29 09:10:18 -04:00
Nora Trapp
1053da3fef PR Feedback 2019-05-28 13:07:34 -07:00
Nora Trapp
9d3e8729ad Expire the app 90 days after compilation. 2019-05-27 20:55:16 -07:00
Matthew Chen
b679412401 Merge remote-tracking branch 'private/release/2.40.0' 2019-05-24 14:56:59 -04:00
Matthew Chen
242c21210a Convert ExperienceUpgrade to Obj-C. 2019-05-23 10:05:52 -04:00
Matthew Chen
2b90c2bc8c Only "update with". 2019-05-23 10:02:43 -04:00
Matthew Chen
edb5938f32 Fix rebase breakage. 2019-05-22 10:10:19 -04:00
Matthew Chen
e3b6cdb09f Streamline SDS extensions. 2019-05-22 09:51:31 -04:00
Matthew Chen
462fcfc017 Respond to CR. 2019-05-22 09:49:39 -04:00
Matthew Chen
1df72f2c7f Respond to CR. 2019-05-22 09:28:53 -04:00
Matthew Chen
b78f4db871 Clean up ahead of PR. 2019-05-22 09:28:53 -04:00
Matthew Chen
0cecce2e68 Use GRDB records for anyInsert() & anyUpdate(). Remove anySave(). Add handling of GRDB ids. 2019-05-22 09:18:42 -04:00
Matthew Chen
56cb7f1fef Remove old deserialization logic. 2019-05-21 17:24:59 -04:00
Matthew Chen
55c48f791a Use records for grdb cursors. 2019-05-21 17:17:52 -04:00
Michael Kirk
691209e25e Decrypt Messages with AnyTransaction
- Migrate protocol stores to KVStores
- Introduce AnyDatabaseQueue
- Move messaging pipeline to AnyTransactions
- Migrate specialized PushDecrypt job to generic JobQueue
2019-05-21 16:20:22 -04:00
Matthew Chen
c662e2f3f4 Rename "shouldAlwaysPad" property. 2019-05-20 12:36:18 -04:00
Michael Kirk
8a879b76b7 Update column name macros 2019-05-10 17:55:26 -06:00
Michael Kirk
3ef95a0b5f remove redundant sortId column from SSKJobRecord 2019-05-10 14:42:45 -06:00
Matthew Chen
26f2ea6bf3 Fix various issues. 2019-05-10 11:18:59 -04:00
Matthew Chen
e81c77fb25 Respond to CR. 2019-05-10 11:18:59 -04:00
Matthew Chen
1e0d0c2244 Respond to CR. 2019-05-10 11:18:59 -04:00
Matthew Chen
24957de779 Respond to CR. 2019-05-10 11:18:59 -04:00
Matthew Chen
f2b630cb5f Generate database records. 2019-05-10 11:18:59 -04:00
Matthew Chen
a4b5f5a1bc Generate database records. 2019-05-10 11:18:58 -04:00
Matthew Chen
e1db670b7f Generate database records. 2019-05-10 11:18:58 -04:00
Matthew Chen
6fe247c183 Generate database records. 2019-05-10 11:18:58 -04:00
Matthew Chen
6cce0dad2c Generate database records. 2019-05-10 11:18:58 -04:00
Matthew Chen
89542574ce Generate database records. 2019-05-10 11:18:58 -04:00
Matthew Chen
3fc806c8d0 Generate database records. 2019-05-10 11:18:58 -04:00
Matthew Chen
41fe77a56d Generate database records. 2019-05-10 11:18:58 -04:00
Matthew Chen
78bc3dbb6a Generate database records. 2019-05-10 11:18:58 -04:00
Matthew Chen
ddb5e6c1d6 Stabilize ordering of subclasses in serialization categories. 2019-05-06 13:40:19 -04:00
Matthew Chen
6705ab47c0 Add dateSaved column to sticker pack. 2019-05-06 13:40:19 -04:00
Matthew Chen
75527bcf8a Respond to CR. 2019-05-02 14:20:35 -04:00
Matthew Chen
6842b53942 Fix rebase breakage. 2019-05-02 13:41:15 -04:00
Matthew Chen
5fe6c7d784 Clean up ahead of PR. 2019-05-02 13:25:21 -04:00
Matthew Chen
ba509d65e7 Generate SDS extensions for all models in Signal, SignalMessaging, SAE, SSK. 2019-05-02 13:25:21 -04:00
Matthew Chen
12d868be27 Generate SDS extensions for all models in Signal, SignalMessaging, SAE, SSK. 2019-05-02 13:24:23 -04:00
Michael Kirk
4903815229 Remove Interaction.sortId column from GRDB
Instead back it from Interactin.id
2019-05-02 07:52:50 -06:00
Michael Kirk
0e6df761c0 make codegen more consistent with autoformatter 2019-05-02 07:46:02 -06:00
Matthew Chen
b6b2c8af3b Track "known" sticker packs. 2019-04-30 09:15:08 -04:00
Matthew Chen
2a2f18a571 Track "known" sticker packs. 2019-04-30 09:15:08 -04:00
Matthew Chen
51c163b8f6 Sketch out sticker management views. 2019-04-25 09:54:13 -04:00
Matthew Chen
10eefd2a98 Sketch out sticker management views. 2019-04-25 09:54:13 -04:00
Matthew Chen
06968cc05c Respond to CR. 2019-04-22 10:18:29 -04:00
Matthew Chen
6e87797966 Sketch out installed sticker classes. Add anyFetch() method to models. 2019-04-22 10:18:29 -04:00
Matthew Chen
ef1f227e65 Sketch out installed sticker classes. 2019-04-22 10:16:08 -04:00
Matthew Chen
e69b7d481b Sketch out installed sticker classes. 2019-04-22 10:16:08 -04:00
Matthew Chen
a001cc8e00 Add SDS finalization methods. 2019-04-17 17:08:46 -04:00
Matthew Chen
ff12605b50 Add SDS finalization methods. 2019-04-17 16:49:34 -04:00
Matthew Chen
d21c447099 Respond to CR. 2019-04-17 16:31:52 -04:00
Matthew Chen
0cb264c459 Skip initializer generation for classes without any properties. 2019-04-17 16:31:51 -04:00
Matthew Chen
58eb8a18fa Handle mutable collection properties. 2019-04-17 16:31:51 -04:00
Matthew Chen
15729876fa Code generate Obj-C initializer snippets. 2019-04-17 16:31:51 -04:00
Matthew Chen
2fa5d0ba13 Code generate Obj-C initializer snippets. 2019-04-17 16:31:51 -04:00
Matthew Chen
df5f9a148e Code generate Obj-C initializer snippets. 2019-04-17 16:31:51 -04:00
Matthew Chen
1514a332c6 Ignore more classes. 2019-04-16 17:09:26 -04:00
Matthew Chen
7e804fe00d Remove more intermediates. 2019-04-16 16:58:13 -04:00
Matthew Chen
9c804e8819 Ignore more classes. 2019-04-16 16:57:17 -04:00
Matthew Chen
51ae3864fd Clean up ahead of merge. 2019-04-16 13:32:06 -04:00
Matthew Chen
3c6dde5ee0 Respond to CR. 2019-04-16 13:30:26 -04:00
Matthew Chen
51d20c1970 Define cursor-based fetch methods in SDS extensions. 2019-04-16 13:08:47 -04:00
Matthew Chen
041d838bcd Respond to CR. 2019-04-16 13:04:17 -04:00