Commit Graph

483 Commits

Author SHA1 Message Date
Jordan Rose
61232780ee Don't reindex conversations on every model change
Every single message updates a TSThread model, but only a change in a
member's profile name or phone number, or a change to a group's model,
can update the indexing information. Turn 'shouldBeIndexedForFTS' into
a tri-state 'FTSIndexMode' with options 'never', 'manualUpdates', and
'always', and use 'manualUpdates' for TSThreads. Then explicitly
reindex on any of the changes listed above.
2022-02-01 15:05:34 -08:00
Michelle Linington
220a49134e Fix lint script 2022-01-31 11:00:13 -08:00
Michelle Linington
e19b800b17 Merge branch 'release/5.27.0' 2022-01-28 13:37:59 -08:00
Michelle Linington
e3d18733da Bump copyright 2022-01-28 13:23:47 -08:00
Jordan Rose
01fc3945ae Fix setup_private_pods script for newly-cloned repos
- The Pods/ directory always exists even before submodules have been
  initialized; check for Pods/.git instead, which may be a file or
  a folder depending on how the submodule was set up.

- When cloning for the first time, make sure the remote is called
  'private' so that later updates will reference it correctly. Also
  run `git submodule absorbgitdirs` so that git stores the submodule
  state inside the top-level .git directory.

- For an existing directory, simplify the check for the presence of
  a proper 'private' remote.

- Check that we're running from the repository root so we don't get
  weird errors or do random clones.

- Make the script Shellcheck-clean.
2022-01-28 10:04:00 -08:00
Michelle Linington
e3f1efb459 Update comment 2022-01-25 16:59:59 -08:00
Michelle Linington
30f51a10d0 Allow specifying of build variants from build tag script
ASC will assign its own build numbers to our builds independent of what
our plist requests. Right now, we're in a situation where a failed build
has forced our local and ASC variants out-of-sync. This change allows
the version flag to specify a fix to re-sync.
2022-01-25 16:56:37 -08:00
Ehren Kret
528257e705 Remove unused files 2022-01-10 10:50:09 -06:00
Matthew Chen
726fa6577f Fix bug around handling forward declarations of obj-c protocols in precommit script. 2021-11-23 14:16:35 -03:00
Nora Trapp
edc89c3db1 Store badge receipt credential presentation on the durable job 2021-11-17 15:14:03 -08:00
Eugene Bistolas
78cb9352c3 [Badging] Durable receiptCredential fetch and redemption 2021-11-15 12:47:35 -10:00
Michelle Linington
0b698fbd69 Run codegen 2021-11-09 14:25:42 -08:00
Michelle Linington
fa0d10f047 Firm up database schema 2021-11-09 14:25:42 -08:00
Michelle Linington
7a3f063276 Fix clang format 2021-11-03 13:46:03 -07:00
Michelle Linington
b4acfbcfe7 Enhancements to emoji codegen script
- Any errors that are hit are propogated out to stdout
- Notifies via stdout if a new emoji needs a component definition
- Uses Character instead of UnicodeScalar when appropriate
- Explicitly declares the RemoteModel that's in use
- Enhancements to file writing to simplify indentation
2021-11-02 14:47:26 -07:00
Michelle Linington
582426a203 Update emoji script to account for new component emojis 2021-11-02 14:47:26 -07:00
Matthew Chen
9211ac8fa3 Move MobileCoin SDK to SignalUI. 2021-11-02 14:26:03 -03:00
Matthew Chen
153095a500 Reduce statics. 2021-11-02 10:36:25 -03:00
Matthew Chen
9963df1f23 Reduce statics. 2021-11-02 10:36:25 -03:00
Matthew Chen
8472571d0a Rename NSE. 2021-10-28 11:40:26 -03:00
Michelle Linington
98f9fcc9ad Fix emoji generator script to not re-add warnings 2021-10-21 21:30:56 -07:00
Michelle Linington
77b7ea5c40 Fix a whole bunch of warnings 2021-10-21 21:11:26 -07:00
Matthew Chen
a0efdc2e95 Respond to CR. 2021-10-21 09:21:33 -03:00
Matthew Chen
eca3fdf26f Respond to CR. 2021-10-21 09:21:33 -03:00
Matthew Chen
03abd1c398 Respond to CR. 2021-10-21 09:21:33 -03:00
Matthew Chen
91ad7d1df7 Respond to CR. 2021-10-21 09:21:31 -03:00
Matthew Chen
29cdf51db5 Add script to normalize includes and imports. 2021-10-21 09:21:12 -03:00
Matthew Chen
3d7e8a0ba4 Add script to normalize includes and imports. 2021-10-21 09:21:12 -03:00
Matthew Chen
cb90e10b52 Add script to normalize includes and imports. 2021-10-21 09:19:43 -03:00
Michelle Linington
29de85f0f7 Restore localizations removed after merging SUI 2021-10-19 18:38:53 -07:00
Matthew Chen
600f866c96 Update RI check. 2021-10-13 12:52:41 -03:00
Michelle Linington
6028212361 Re-add swiftlint --fix invocation 2021-10-12 11:46:44 -07:00
Michelle Linington
fa190b88cd Skip files where sourcekitd crashes 2021-10-12 11:46:44 -07:00
Michelle Linington
d2de17afb9 Fix lint script 2021-10-12 11:46:44 -07:00
Michelle Linington
ce8f0a8b0b Update emoji 2021-10-12 11:46:44 -07:00
Michelle Linington
13a2e75fb6 A couple small changes to improve visibility of build configuration 2021-10-05 20:43:42 -07:00
Ehren Kret
3d768ffe3d Update copyright dates in SDS codegen 2021-09-24 10:30:09 -03:00
Michelle Linington
44b38c27e8 Alert user if specified tag variant doesn't match the current build flag 2021-09-20 12:36:31 -07:00
Michelle Linington
88309e7cc1 Fix various issues with TESTABLE_RELEASE
While running some perf tests on database queries, I was building
against TESTABLE_RELEASE to have things built with optimizations.

I saw some weird behavior:
- Share extension would crash
- No logs would be recorded

I went through and cleaned up some things that appeared incorrect with
how we handled TESTABLE_RELEASE
2021-09-03 16:11:19 -07:00
Matthew Chen
c2171db12d Assert when we emit invalid e164 in a proto. 2021-09-01 16:33:16 -03:00
Matthew Chen
953fe32300 Never emit invalid e164 in storage service contact records; be robust to invalid e164 incoming protos. 2021-09-01 16:33:16 -03:00
Michelle Linington
c7444cb01d Remove isHidden column, use recordType instead 2021-08-26 20:57:06 -07:00
Michelle Linington
5b1b0d3bd0 Make hiddenUntilTimestamp a boolean column 2021-08-26 20:57:06 -07:00
Michelle Linington
4eeb4e34be Tests should be runnable in Profiling scheme 2021-08-26 20:57:06 -07:00
Michelle Linington
ba89d93ee4 Add new database column 2021-08-26 20:29:21 -07:00
Matthew Chen
647f723610 Add OWSStaticOutgoingMessage. 2021-08-25 22:43:42 -03:00
Matthew Chen
65a591c898 Revise app versioning scheme. 2021-08-23 18:24:40 -03:00
Matthew Chen
a41aec9305 Revise app versioning scheme. 2021-08-23 18:23:50 -03:00
Matthew Chen
dfb73669a5 Revise app versioning scheme. 2021-08-23 18:23:49 -03:00
Matthew Chen
3b18df6934 Revise app versioning scheme. 2021-08-23 18:23:49 -03:00