Commit Graph

29221 Commits

Author SHA1 Message Date
Nora Trapp
e05a19d962 Handle backgrounding in relay server 2022-09-26 13:48:00 -07:00
Nora Trapp
a0970db6fa Allow configuring proxy in onboarding 2022-09-26 13:48:00 -07:00
Nora Trapp
8d1e038611 Fix bug with link previews 2022-09-26 13:48:00 -07:00
Nora Trapp
e5e9e544b3 Add UI for configuring proxy connection 2022-09-26 13:48:00 -07:00
Nora Trapp
286a930a79 Add support the Signal TLS Proxy 2022-09-26 13:48:00 -07:00
Max Radermacher
fa5960d4ef Don’t resolve SPM dependencies in CI 2022-09-26 12:43:01 -07:00
Harry
f65493ae7c
Fix InteractiveBottomSheetController on old devices/iOS versions
* fix InteractiveBottomSheet controller

* Remove outside styled bottom sheet handle as per design request

* allow shrinking the bottom sheet after maximizing, as per design request

* tweak animation values per design request

* nits
2022-09-26 12:20:51 -07:00
Max Radermacher
084a2b2274 Fix crash when toggling censorship circumvention
Changing the setting updates whether or not it’s enabled, which resulted
in a lock being re-entrantly acquired to check the current value.
2022-09-26 11:40:38 -07:00
Max Radermacher
85d8749048 Don’t check isNSE in LocalDevice.memoryUsageString
This can get called asynchronously during tests, and that can lead to
flakiness if we’re between two tests. There doesn’t seem to be a
compelling reason to only distinguish critical errors from warnings in
the NSE, so distinguish the two types everywhere.
2022-09-26 11:39:29 -07:00
Max Radermacher
b8ab27efc9 Add more retries for -showBuildSettings on CI 2022-09-26 11:38:21 -07:00
Evan Hahn
9080aadfe6 Remove unknown ID from Xcode group, fixing mistake
I made a mistake in 11c2cf0813 and
accidentally included an unreferenced child in
`SignalServiceKitTests/Storage/`. This was likely due to a merge/rebase
error on my part.

It caused this warning when installing dependencies:

> `<PBXGroup name=`Storage` path=`SignalServiceKit/tests/Storage`
> UUID=`F94261D7289B1B5400460798`>` attempted to initialize an object
> with an unknown UUID. `F97217FC28DCBC4100113D9F` for attribute:
> `children`. This can be the result of a merge and the unknown UUID is
> being discarded.

This fixes that!
2022-09-26 09:34:02 -07:00
Nora Trapp
befeef88ae "Bump build to 5.56.0.8." (nightly-09-26-2022) 2022-09-26 08:44:02 -07:00
Evan Hahn
0d059d1319
Clean up code for a debug flag
_This change should have no user impact._

This flag had a condition that would always evaluate to `false`. This PR
fixes that, and adds a comment about why it's a little verbose.
2022-09-26 10:20:36 -05:00
Nora Trapp
16c49c696e "Bump build to 5.56.0.7." (nightly-09-26-2022) 2022-09-26 04:00:31 -07:00
Nora Trapp
3fc4031010 "Bump build to 5.56.0.6." (nightly-09-25-2022) 2022-09-25 23:20:49 -07:00
Nora Trapp
ae1cf9e097 "Bump build to 5.56.0.5." (Internal) 2022-09-25 23:20:43 -07:00
Nora Trapp
498fa60442 "Bump build to 5.56.0.4." (Internal) 2022-09-25 22:11:28 -07:00
Nora Trapp
b295dd43ea "Bump build to 5.56.0.3." (nightly-09-24-2022) 2022-09-24 04:00:35 -07:00
Jordan Rose
bd264b462f Use rich intents whenever possible
For certain kinds of notifications, we attach "intents" to let the
system know who's contacting us (for use in, say, share sheet
suggestions; controlled by Settings > Chats > Share Contacts with
iOS). Previously we only provided "rich" intents on iOS 15 and a
minimal implementation for iOS 13, but even if iOS 13 won't do as much
with the information we can be more consistent.
2022-09-23 15:50:33 -07:00
Evan Hahn
28e988c4a1 Remove unused thread method
This was added in a0df56a68e but never
used.
2022-09-23 15:39:54 -07:00
Max Radermacher
6f19522b55
Clarify label for recurring donations 2022-09-23 15:38:34 -07:00
Max Radermacher
20409d51b5 Update Pods for RingRTC v2.21.1 2022-09-23 15:20:42 -07:00
Jim Gustafson
0a700079dd Update to RingRTC v2.21.1 2022-09-23 22:05:46 +00:00
Sasha Weiss
9c74e8dfcd
Serialize canceling notifications with posting them 2022-09-23 13:48:05 -07:00
Max Radermacher
13e57aad9a Use setup-ruby’s bundler-cache option
The [docs][0] recommend this instead of manually caching the artifacts.

[0]: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby#caching-bundle-install-automatically
2022-09-23 13:12:37 -07:00
Sasha Weiss
32b88948e8
Clear story messages before attachments 2022-09-23 11:52:46 -07:00
Evan Hahn
4da042c1d5
Clean up database corruption storage code
_This change should have no user impact._

The database corruption flag lives on `UserDefaults`. Currently, this
flag is controlled through `SSKPreferences`, but I kinda think that's
the wrong place—database corruption isn't really a user preference.

This moves it into its own file, tests it, and [drops booleans in favor
of an enum][0]. I think this is useful on its own, but also prepares us
for an upcoming change.

[0]: https://www.luu.io/posts/dont-use-booleans
2022-09-23 18:19:02 +00:00
Evan Hahn
e67030700d
Update Fastlane from 2.210.0 to 2.210.1 2022-09-23 09:23:59 -07:00
Nora Trapp
ca441ce9ff "Bump build to 5.56.0.2." (nightly-09-23-2022) 2022-09-23 04:00:21 -07:00
Harry Sanabria
ad65ef501f Add lastReceivedStoryTimestamp to schema.sql 2022-09-22 17:05:06 -07:00
Sasha Weiss
121161e212
Clear StoryMessage instances when clearing all chat history 2022-09-22 15:22:52 -07:00
Nora Trapp
96d8abac67 PR Feedback 2022-09-22 14:53:29 -07:00
Nora Trapp
7553745603 Enable story sending to groups from sync message 2022-09-22 14:53:29 -07:00
Nora Trapp
70d8d54484 Don't offset context menu button on iPad when expanded 2022-09-22 14:53:29 -07:00
Nora Trapp
1d5d14ac65 Record 'lastSentStoryTimestamp' when story sent sync is received 2022-09-22 14:53:29 -07:00
Nora Trapp
338207a753 Tweak context menu background color 2022-09-22 14:53:29 -07:00
Nora Trapp
01425714bf Fix sorting of 'My Stories' view 2022-09-22 14:53:29 -07:00
Nora Trapp
4816af7a49 Don't render 'You' on group settings viewer list 2022-09-22 14:53:29 -07:00
Nora Trapp
c8dc629351 Show active group stories in the conversation picker 2022-09-22 14:53:29 -07:00
Evan Hahn
c5b4f67613 Swiftify contact thread tests
_This change should have no user impact._

A very mechanical change. No surprises.
2022-09-22 14:41:59 -07:00
Max Radermacher
2fbcf58213 Update release notes 2022-09-22 14:21:44 -07:00
Sasha Weiss
bbd3e8c531
Move function in UserNotificationsAdaptee 2022-09-22 12:22:06 -07:00
Max Radermacher
6a5bc7ce68 Update CI to Xcode 14
- Use Xcode 14 for all of our jobs. If something like `genstrings`
  changes, this should keep that job consistent with everything else.

- Use macos-12 for all of our jobs. It’s probably best to keep things
  consistent, and macos-11 will eventually go away.
2022-09-22 11:00:34 -07:00
Harry
29c1d11640
update fastlane to use xcode 14.0 2022-09-22 10:59:10 -07:00
Evan Hahn
11c2cf0813
Add basic test for database migration
_This change should have no user impact._

This adds a basic test for database migration, and makes the necessary
changes to make that possible.
2022-09-22 17:24:40 +00:00
Rashad Sookram
877a26e4bc
Fix missing call record when hanging up while accepting 2022-09-22 13:14:51 -04:00
Evan Hahn
3cf796e55c
Add utility for remaining disk space 2022-09-22 09:28:42 -07:00
Evan Hahn
e9cdcb3dd9
Swiftify determination of launch failure 2022-09-22 09:25:00 -07:00
Nora Trapp
6795fe6020 "Bump build to 5.56.0.1." (nightly-09-22-2022) 2022-09-22 04:00:19 -07:00
Max Radermacher
29098ff03e "Bump build to 5.56.0.0." (nightly-09-21-2022) 2022-09-21 15:58:06 -07:00