Commit Graph

29239 Commits

Author SHA1 Message Date
Harry
8c702c8a02
Add Signal-Staging build scheme 2022-09-26 17:11:02 -07:00
Harry
c544e46ee1
Story fix bargain bin
* fix conflict between story viewer context menu drag and navigational pan gestures

* Fix RTL chevrons on story list

* swipe only between hidden stories OR visible stories, never both

* Add table row swipe actions for hiding/unhiding stories & update icons to sharp corners instead of rounded

* make story viewer context menu always dark theme to match design mocks

* dont fail dev builds when harmlessly double dismissing a context menu, which happens if backgrounding the app while the context menu is open

* update my story row icons to 16pt

* swipe to delete on my story rows

* Use themed icons. Get filled versions of various context menu icons from design
2022-09-26 17:10:10 -07:00
Nora Trapp
ecf98414ba Ensure notification observer is free'd 2022-09-26 14:58:51 -07:00
Sasha Weiss
ac97aeba92
Migrate to using ExpiredProfileKeyCredentials 2022-09-26 14:33:57 -07:00
Harry
86d4e97597
Hide tab bar when multiselecting chats 2022-09-26 14:21:31 -07:00
Max Radermacher
cc0e45c895 Set a per-test timeout of 60 seconds on CI 2022-09-26 14:19:43 -07:00
Nora Trapp
bcbaa8dd45 Don't read or write dbPath in debug dbPaypload 2022-09-26 14:13:06 -07:00
Nora Trapp
dd654a71e1 Remove stale strings 2022-09-26 14:07:40 -07:00
Nora Trapp
7eaeab8b3b "Bump build to 5.56.0.9." (Internal) 2022-09-26 13:56:39 -07:00
Nora Trapp
5e277b6eb4 Reduce logging 2022-09-26 13:48:00 -07:00
Nora Trapp
c829176b2c Actually, don't show connected status on the settings screen 2022-09-26 13:48:00 -07:00
Nora Trapp
f8949d93cd Show connected status on proxy settings 2022-09-26 13:48:00 -07:00
Nora Trapp
110aa9ab6b Move proxy settings to advanced privacy settings 2022-09-26 13:48:00 -07:00
Nora Trapp
323bbb5a4b Add some doc comments and make restart clearer 2022-09-26 13:48:00 -07:00
Nora Trapp
9d021f50fe Allow specifying a port for a proxy to connect to 2022-09-26 13:48:00 -07:00
Nora Trapp
fb31679cc7 Validate proxy address and that we can connect to it 2022-09-26 13:48:00 -07:00
Nora Trapp
f06d5f629a Wait for proxy to be ready before fetching messages in NSE 2022-09-26 13:48:00 -07:00
Evan Hahn
7a357a9cd3 Harden isValidProxyLink against strange URLs 2022-09-26 13:48:00 -07:00
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