Commit Graph

14972 Commits

Author SHA1 Message Date
Nora Trapp
7aa3bcca67 "Bump build to 6.1.0.4." (nightly-10-29-2022) 2022-10-29 04:01:18 -07:00
Max Radermacher
085c258956 [Payments] Remove space at top of settings screen 2022-10-28 16:20:40 -07:00
Evan Hahn
f07735f706 Precommit script should fail if lint fails
This change should have no user impact.

I thought I did this in 1b00741b6d7dbfbe48e5b1c46f856902d0e6d02a...this
*actually* does it.
2022-10-28 15:51:02 -07:00
Jim Gustafson
f08bec6705
Update to RingRTC v2.21.3 2022-10-28 11:22:17 -07:00
Max Radermacher
361634ea74
Remove db read when computing addableMembers 2022-10-28 10:38:18 -07:00
Harry
5865a0a478
Translate OWSViewController to swift 2022-10-28 10:24:55 -07:00
Sasha Weiss
d793cda28e
Remove imageSize from MegaphoneView 2022-10-28 09:52:20 -07:00
Sasha Weiss
6526a8a164
Remove all references to local 'subscriptionMegaphone' 2022-10-28 09:47:58 -07:00
Nora Trapp
8dbb6dc4ab "Bump build to 6.1.0.3." (nightly-10-28-2022) 2022-10-28 04:00:14 -07:00
Max Radermacher
0b906a45aa "Bump build to 6.1.0.2." (Internal) 2022-10-27 20:52:35 -07:00
Harry Sanabria
ef18f08181 Fix conversation title layout 2022-10-27 20:51:00 -07:00
Nora Trapp
9fc9accb59 "Bump build to 6.1.0.1." (nightly-10-27-2022) 2022-10-27 04:00:12 -07:00
Sasha Weiss
4ecb3e4bf2
Wire up the remote megaphone model to a view 2022-10-26 17:56:14 -07:00
Evan Hahn
cd7635cda4 Update currency label on donation screens
"Set currency" is now just "Currency".
2022-10-26 17:05:09 -05:00
Evan Hahn
f180185dd1 Update copy on donation thanks sheet 2022-10-26 17:05:03 -05:00
Evan Hahn
4675434c6c Add FiatMoney type
This change should have no user impact.

We commonly pair a currency, like USD, and an amount, like 1.23. This
adds the `FiatMoney` struct. It's a simple struct with two fields.

After adding it, I tried to use it everywhere. (It's possible I missed a
spot.)

I think this is a useful change on its own, but it'll be nice for an
upcoming change, too.

See also: [Android's equivalent class][0].

[0]: cb65347bb3/core-util/src/main/java/org/signal/core/util/money/FiatMoney.java (L1)
2022-10-26 17:04:51 -05:00
Jordan Rose
1ad673fa52 Calls: if the user denies mic/video access, treat that as muting
This keeps the local state and the UI in sync with the actual
behavior.
2022-10-26 15:04:32 -07:00
Sasha Weiss
1cb90e245f
Fetch and persist remote megaphones 2022-10-26 15:03:08 -07:00
Sasha Weiss
bfbdf5b78d
Move system contact names to ContactRecord 2022-10-26 15:00:36 -07:00
Max Radermacher
5eb5f0b610 "Bump build to 6.1.0.0." (Internal) 2022-10-26 14:24:05 -07:00
Max Radermacher
1b5691e019 Update translations 2022-10-26 14:23:20 -07:00
Max Radermacher
b7a8f2a49a "Bump build to 6.0.0.0." (Internal) 2022-10-26 14:18:12 -07:00
Evan Hahn
c8bc2cde2e Improve name of donation settings view controller
This change should have no user impact.

`DonationViewController` is now `DonationSettingsViewController`.

I think this is a better name on its own, but it'll seem even better
after upcoming change.
2022-10-26 14:12:48 -05:00
Nora Trapp
d63f24c6d2
fixing missing batch update of identity keys
* Ensure batch update of identity keys when sending text stories

* Ensure batch update of identity keys when forwarding messages
2022-10-26 08:30:52 -07:00
Nora Trapp
8c72372681 "Bump build to 5.60.0.4." (nightly-10-26-2022) 2022-10-26 04:01:08 -07:00
Evan Hahn
0d0c895e1b Remove unnecessary members of currency picker button
This change should have no user impact.
2022-10-25 19:38:41 -05:00
Harry
55b34eff11
Pre-release story fixes
* fix story views + replies sheet header update when swiping

* fix my story privacy show more off-by-one

* Disable story sends when hiding a group story. Unhide when enabling story sends to a group story.

* More consistent story tab bar badge offset
2022-10-25 16:19:36 -07:00
Harry
1516e71b48
Story search scrolling fixes
* Push up stories list content above keyboard when present

* Initially scroll search bar off screen if stories content doesn't fit without scrolling
2022-10-25 16:00:24 -07:00
Adam Mork
2dd98c37b3
[Payments] Show alert if client is outdated
Co-authored-by: Phil Larson <phil.larson@icloud.com>
Co-authored-by: Max Radermacher <max@signal.org>
2022-10-25 15:43:43 -07:00
Harry
075133be72
Observe story viewed ring changes in ConversationAvatarView
* Observe story viewed ring changes in ConversationAvatarView itself

* Manage ConversationAvatarView's story observation based on the context

* remove story state from thread view model, now unused

* pr feedback renames
2022-10-25 12:57:52 -07:00
Igor Solomennikov
bf580958b8
Allow users to swipe between camera and text story composer. 2022-10-25 12:03:59 -07:00
Igor Solomennikov
ad4c9fa57f
Two fixes for text story composer.
* Preserve selection in text story composer after changing font size.

Fixes an issue where input cursor would jump to the end when adding/deleting
text in the beginning or middle of the text and those edits caused font size
to increase / decrease.

That unwanted behavior was caused by replacing the entire `UITextView.attributedText`.

* Ensure entire text story draft has same font after undo / redo operation.

UITextView's undo manager preserves attributes of text being cut / pasted, which
might cause text view to contain fragments with different font.

The solution is to detect when there's more than one font used in UITextView
and re-apply attributes to the entire text if when that happens.
2022-10-25 11:54:16 -07:00
Jordan Rose
3cec45a5e8 Remove redundant applicationWillTerminate notification
AppDelegate already does the exact same thing.
2022-10-25 10:35:08 -07:00
Nora Trapp
bd7d76f3b7 "Bump build to 5.60.0.3." (nightly-10-25-2022) 2022-10-25 04:01:07 -07:00
Max Radermacher
f7b18c5ea9 Remove unused BaseMemberViewController code 2022-10-25 00:41:24 -07:00
Max Radermacher
72c4dcff51 Simplify methods to populate missing UUIDs
We no longer need `isBlocking`, and we can always consider errors.
2022-10-25 00:41:24 -07:00
Max Radermacher
358c884bce Don’t allow non-gv2 members in new groups
Right now, trying to add a non-gv2 member to an existing group will
present an error when selecting the row.

When creating a new group, we allow the row to be selected, and then we
show an error on the next screen. With this change, we’ll show an error
immediately when selecting the row. (This allows us to remove a few
hundred lines of migration UI that *should* be unused.)
2022-10-25 00:41:24 -07:00
Max Radermacher
ef1bd4064f Don’t fetch UUIDs when opening BaseMemberVC
(Also, don’t call out recipients that don’t support New Groups.)

We try to populate this picker with users we believe are registered. Now
that GV2 is fully rolled out, all the recipients we believe are
registered should have a UUID. (If any don’t, we’ll resolve that on
launch via UUIDBackfillTask.) Since these proactive fetches *shouldn’t*
run, prevent them from running by removing them entirely.

If we hit a rare race condition where a recipient is missing a UUID,
we’ll still perform a lookup when trying to select that recipient.

In these rare edge cases where a recipient doesn’t have a UUID (which,
again, shouldn’t happen), the subtitle indicating that they don’t
support New Groups will be out of date. By removing proactive fetches,
it’ll remain out of date until the user taps the row. To avoid
confusion, defer showing an error until the user taps on the recipient.
2022-10-25 00:41:24 -07:00
Max Radermacher
3aa95a999a
Update SignalCoreKit 2022-10-24 23:28:33 -07:00
Max Radermacher
4402f33e80 Use ProfileFetcherJob directly when in Swift 2022-10-24 23:26:49 -07:00
Harry
08dabd70d2
Story list search
* Hide navigation bar when searching in chats list

* Incomplete search bar layout

* apply story search filtering

* hide my stories section when searching

* Improve transitions for story tab bar search

* Show hidden stories in search results

* visual fixes to header when searching. include all unfiltered stories in viewer contexts

* delay getting the target story frame for interactive dismissal to give the view time to update after navigation bar changes

* fix strings

* pr feedback
2022-10-24 15:38:54 -07:00
Nora Trapp
d622879063 Ensure story view receipts are enabled for new users 2022-10-24 15:28:21 -07:00
Nora Trapp
8cc1a310eb
Filter story info and views sheets based on context 2022-10-24 15:28:00 -07:00
Harry
7437d14689
Continue playing story after cancelling a hide action 2022-10-24 14:33:19 -07:00
Igor Solomennikov
3235eb6618
Render condensed text style (AA) in all caps in text story composer.
Preserve case-sensitive user input and make UITextView display ALLCAPS if
AA style is selected.
2022-10-24 13:33:48 -07:00
Harry
26b5fd0673
Fix updates to my story row border colors 2022-10-24 11:30:16 -07:00
Max Radermacher
a51ce6ba2d Remove presentAddThreadToProfileWhitelist
It’s unused as of aab95db806.
2022-10-24 10:19:06 -07:00
Max Radermacher
ab55cf3929 Import SignalMessaging where it’s needed
The next commit removes a file that, through assorted Swift/Obj-C bridge
magic, resulted in SignalMessaging being available to all these files.
2022-10-24 10:19:06 -07:00
Max Radermacher
40dbeaacc6 Uppercase “PIN” in “Skip and Create New PIN” 2022-10-24 11:33:42 -05:00
Nora Trapp
8bf13d0e8c "Bump build to 5.60.0.2." (nightly-10-22-2022) 2022-10-22 04:00:55 -07:00