Commit Graph

27855 Commits

Author SHA1 Message Date
Nora Trapp
ab8bdff4e6 "Bump build to 5.35.0.21." (nightly-04-06-2022) 2022-04-06 04:00:58 -07:00
Evan Hahn
cda73bbf92 Merge branch 'evanhahn/renderasimage-always-returns' 2022-04-05 13:32:59 -05:00
Evan Hahn
f84c578420 UIView's renderAsImage always returns an image
We extend `UIView` with a new method, `renderAsImage`. It always returns a `UIImage`, but we marked its return type as `UIImage?`.

This removes that optionality and updates all callers.
2022-04-05 13:32:29 -05:00
Jordan Rose
0a982ebc83 Include timestamp in missed call notifications
...if the call was more than five minutes ago. This should help in two
scenarios:

- you've been offline for a while, and you see "missed call" but don't
  know when they tried to call

- you hit that NSE bug where a ring gets processed hours or even days
  later, possibly when a second call arrives
2022-04-05 10:48:05 -07:00
Jordan Rose
8c1a31e094 auto-genstrings: Fix OWSLocalizedString breakage
genstrings warns on non-constant strings being passed to
NSLocalizedString, but that happens precisely when we define
OWSLocalizedString. Skip the two files where we define it (one for
each language).

While here:
- Use find's -exec feature rather than a separate xargs invocation.
- Make the script shellcheck-clean.
2022-04-05 10:48:05 -07:00
Nora Trapp
121bb45596 "Bump build to 5.35.0.20." (nightly-04-05-2022) 2022-04-05 04:01:05 -07:00
Martin Böttcher
8067277ca6
fixed broken date cell if keyboard is dismissed (#4124) 2022-04-05 10:22:32 +02:00
Jordan Rose
849d6ee60a Generate PNI identity key and pre-keys for existing accounts
At launch time, if a primary device doesn't have a PNI identity key,
it should generate one immediately, as well as pre-keys. If a linked
device doesn't have a PNI identity key, it messages the primary to ask
for one; when it gets a response it generates its own pre-keys.
2022-04-04 15:19:10 -07:00
Jordan Rose
039dcc1d48 -[SSKPreKeyStore storePreKeyRecords:] should take a transaction
...so it can use an existing one when there is one, which in practice
there always is because we never refresh one-time pre-keys without
rotating our signed pre-key too.
2022-04-04 15:19:10 -07:00
Evan Hahn
1db25d5ef8 Merge branch 'evanhahn/github.base_ref-variable-not-available-outside-of-prs' 2022-04-04 12:07:15 -05:00
Evan Hahn
84ebba40a2 CI: only run precommit script for pull requests
According to [GitHub's docs][0], the `github.base_ref` property "is only
available when the event that triggers a workflow run is either
`pull_request` or `pull_request_target`.

Because of this, pushes were running the following command...

    python3 Scripts/precommit.py --ref origin/

...and getting this error:

    fatal: ambiguous argument 'origin/': unknown revision or path not in the working tree.

This has been broken for a long time, but it didn't cause CI to fail until
d7c33eb211.

After some discussion, we decided not to run these on pushes to `master`
or `release/*`.

(See also: [this GitHub issue][1] which asks for clarification.)

[0]: https://docs.github.com/en/actions/learn-github-actions/contexts#github-context
[1]: https://github.com/github/docs/issues/13810
2022-04-04 09:57:24 -05:00
Nora Trapp
d9fb1ebcf4 "Bump build to 5.35.0.19." (nightly-04-03-2022) 2022-04-03 04:00:48 -07:00
Nora Trapp
a6340e375f Open group reply sheet at 60% of screen height 2022-04-02 15:21:30 -07:00
Nora Trapp
cfaceb8add Fix group reply cell grouping 2022-04-02 15:21:30 -07:00
Nora Trapp
d71e2c2eca Fix group reply cell sizing bug 2022-04-02 15:21:30 -07:00
Nora Trapp
4bb1bedbf3 Start with group replies scrolled to top 2022-04-02 15:21:30 -07:00
Nora Trapp
433f3da3f1 "Bump build to 5.35.0.18." (nightly-04-02-2022) 2022-04-02 04:00:45 -07:00
Nora Trapp
702e38e7ff Break up index migrations over multiple releases 2022-04-01 16:21:21 -07:00
Michelle Linington
532db84e73 Merge branch 'mlin/PR/VariousFixes' 2022-04-01 14:55:50 -07:00
Michelle Linington
f4539ab83c PR Feedback: Restrict logging 2022-04-01 14:55:30 -07:00
Michelle Linington
cebd09e17c Disable button while trying to create profile 2022-04-01 14:55:30 -07:00
Michelle Linington
0f3a2b4c2e Perform emoji mapping in EmojiGenerator 2022-04-01 14:55:30 -07:00
Michelle Linington
f2bb180d65 Leverage spinner error UI 2022-04-01 14:55:30 -07:00
Michelle Linington
29dc1eefcd Lint 2022-04-01 14:55:30 -07:00
Michelle Linington
350cc16c17 Update fastlane dependency 2022-04-01 14:55:30 -07:00
Michelle Linington
5d404bb350 IOS-2286: Onboarding loop during profile creation failure 2022-04-01 14:55:30 -07:00
Michelle Linington
ea25ebb9ff Don't show USMI emoji in picker sheet 2022-04-01 14:55:30 -07:00
Michelle Linington
fc69576a74 Include status code in network request success log message 2022-04-01 14:55:30 -07:00
Michelle Linington
049b68c4ea Better description for OWSHTTPHeaders 2022-04-01 14:55:30 -07:00
Nora Trapp
4eeb9f6e6d "Bump build to 5.35.0.17." (nightly-04-01-2022) 2022-04-01 04:00:42 -07:00
Nora Trapp
90649969dd "Bump build to 5.35.0.16." (Internal) 2022-04-01 00:46:11 -07:00
Nora Trapp
9ae0ec4127 "Bump build to 5.35.0.14." (Internal) 2022-03-31 22:14:56 -07:00
Nora Trapp
26c6f9a6e2 "Bump build to 5.35.0.13." (Internal) 2022-03-31 22:14:04 -07:00
Nora Trapp
404f140a19 "Bump build to 5.35.0.12." (Internal) 2022-03-31 22:13:58 -07:00
Nora Trapp
c36d8fb31e "Bump build to 5.35.0.11." (Internal) 2022-03-31 22:13:51 -07:00
Nora Trapp
4cda6541b3 "Bump build to 5.35.0.10." (Internal) 2022-03-31 22:13:44 -07:00
Michelle Linington
c0d6bd9ef4 Merge branch 'release/5.34.0' 2022-03-31 13:50:38 -07:00
Michelle Linington
dfe63ad91b "Bump build to 5.34.0.20." (Internal) 2022-03-31 13:47:59 -07:00
Michelle Linington
c07be79e7b "Feature flags for .qa." 2022-03-31 13:47:55 -07:00
Michelle Linington
56d4d4a13a "Bump build to 5.34.0.19." (Beta) 2022-03-31 13:47:53 -07:00
Michelle Linington
5092bb3b56 "Feature flags for .beta." 2022-03-31 13:47:49 -07:00
Michelle Linington
1704e9740d "Bump build to 5.34.0.18." 2022-03-31 13:47:46 -07:00
Michelle Linington
2e3c216e27 "Feature flags for .production." 2022-03-31 13:47:39 -07:00
Michelle Linington
af2ca8a3fc Merge branch 'release/5.33.2' into release/5.34.0 2022-03-31 13:47:22 -07:00
Michelle Linington
c8bd971612 "Bump build to 5.33.2.2." 2022-03-31 13:42:05 -07:00
Jordan Rose
70073b1ecb Report HTTP status code when web sockets fail to connect
Necessary to detect when a device has been unlinked or unregistered.
2022-03-31 13:41:55 -07:00
Michelle Linington
eff6b9740e "Bump build to 5.33.2.1." 2022-03-31 13:22:50 -07:00
Michelle Linington
41e25e1694 PR Feedback 2022-03-31 13:22:33 -07:00
Michelle Linington
db64c160ac IOS-2283: Crash on launch: Invalid pointer offset 2022-03-31 13:22:33 -07:00
Evan Hahn
3b937976be Merge branch 'evanhahn/fix-badgeselectionmode-typo' 2022-03-31 09:10:49 -05:00