Commit Graph

14701 Commits

Author SHA1 Message Date
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
Max Radermacher
6ecb002886 Update translations 2022-09-21 15:57:37 -07:00
Igor Solomennikov
094fa0f30d
Allow attaching links to text stories with "Generate Link Previews" setting being OFF. 2022-09-21 14:55:49 -07:00
Michelle Linington
4ada6b3a3f Derive bundle ID from an Xcode build setting
See [#5423][5423].

[5423]: https://github.com/signalapp/Signal-iOS/pull/5423
2022-09-21 18:10:42 +00:00
Nora Trapp
f3862b92fa "Bump build to 5.55.0.7." (nightly-09-21-2022) 2022-09-21 04:00:15 -07:00
Jordan Rose
6b45ffde73 Play ringing sound while a group call is ringing
In the happy path, someone will join you in the call, and the join
sound will be played, stopping the ringing. If you instead leave the
call, the change in the call service's "current call" will stop the
ringing (as a looping sound). If you get disconnected, that will also
stop the ringing. And if it turns out there were already people in the
call, that will be treated the same as joining.
2022-09-20 14:46:55 -07:00
Jordan Rose
16aa232836 Track ringing state for a group call more explicitly
Separate "wants to ring" from "ringing" and "ringing ended".
2022-09-20 14:46:55 -07:00
Igor Solomennikov
5c98fcfeb7
Updated look for link previews in text stories. 2022-09-20 12:57:22 -07:00
Igor Solomennikov
c8831ed921
Improved appearance for text on colored background in text story composer.
Also in photo editing UI - for text overlays.

Previous implementation used NSAttributedString's ability to set text background
color. Appearance wasn't impressive though as there wasn't a way to add padding
around the text or round corners for the background.

New approach is to add a rectangle background underneath the text - which
story viewer was already doing.
2022-09-20 12:52:43 -07:00
Evan Hahn
156c174fbb
Launch failure enum should convert itself to a string
_This change should have no user impact._

`LaunchFailure`s need to be converted to strings in a few places, mostly
for debugging. Previously, this was done with a static method on
`AppDelegate`. Now it's done on the enum itself.
2022-09-20 13:03:51 -05:00
Evan Hahn
02494b048a
Hide left groups from various pickers
If you've left a group, we shouldn't show it in any pickers except the
blocking manager (`AddToBlockListViewController`). Before this commit,
we were showing it in a few places. That might let you sorta-send a
message to a group you'd left.

I enumerated all the places where we have pickers, and what their
behavior should be.

| Description                                                           | Code                                        | Show groups?             | Show left groups?        |
| --------------------------------------------------------------------- | ------------------------------------------- | ------------------------ | ------------------------ |
| Various group member pickers (adding members, group story recipients) | `BaseMemberViewController`                  | No                       | N/A                      |
| Send payment screen                                                   | `PaymentsSendRecipientViewController`       | No                       | N/A                      |
| Gift badging “choose recipient” screen                                | `BadgeGiftingChooseRecipientViewController` | No                       | N/A                      |
| Composer                                                              | `ComposeViewController`                     | Yes, only when searching | No                       |
| Add to block list (in Settings → Privacy)                             | `AddToBlockListViewController`              | Yes, only when searching | Yes, only when searching |
| Share sheet                                                           | `SharingThreadPickerViewController`         | Yes                      | No                       |
| Message forwarding                                                    | `ForwardMessageViewController`              | Yes                      | No                       |
| In-app camera                                                         | `CameraFirstCaptureSendFlow`                | Yes                      | No                       |
| Share group link via Signal                                           | `GroupLinkViewController`                   | Yes                      | No                       |
| Share sticker pack, from in a chat                                    | `StickerPackViewController`                 | Yes                      | No                       |
| Share sticker pack, from sticker management screen                    | `ManageStickersViewController`              | Yes                      | No                       |
| “New Group Story” screen                                              | `NewGroupStoryViewController`               | Yes (exclusively)        | No                       |

This doesn't intend to change the behavior of *deleted* groups. Those
will show up when searching if groups are shown at all. For example, a
deleted group will show in the composer if you search for it just like
any other group. A deleted group will *not* show in the "send payment"
screen because groups are never shown there. Again, the behavior around
deleted groups should remain unchanged.

Co-authored-by: Max Radermacher <max@signal.org>
2022-09-20 14:36:36 +00:00
Nora Trapp
2ca3483da1 "Bump build to 5.55.0.6." (nightly-09-20-2022) 2022-09-20 04:00:13 -07:00
Harry Sanabria
240337e837 "Bump build to 5.55.0.5." (nightly-09-19-2022) 2022-09-19 17:17:02 -07:00
Igor Solomennikov
e46b597fe2
Fix layout issue with link preview input UI on iOS 16.
On iOS 16 tapping on "Add Link" button in text story composer would result in keyboard appearing but no other UI visible. This commit fixes that issue.

This commit also fixes an issue where UI layout becomes somewhat broken during interactive dismiss of the sheet.
2022-09-19 15:10:12 -07:00
Sasha Weiss
c96144ad38
Always configure the textLabel in a CVComponentSysteMessage 2022-09-19 14:14:50 -07:00
Harry
299c76fedd
fix iPhone 14/Xcode14 issues 2022-09-19 08:17:28 -07:00
Nora Trapp
4bc48a629e "Bump build to 5.55.0.4." (nightly-09-18-2022) 2022-09-18 04:00:50 -07:00
Nora Trapp
9443fb18d8 Sort recipients on story info sheet 2022-09-18 00:00:49 -07:00
Nora Trapp
10d3e6509e Render 'Partially Sent' story failure state 2022-09-18 00:00:49 -07:00
Nora Trapp
a4d2f7d694 Fix 'My Story' cell thumbnails 2022-09-18 00:00:49 -07:00
Nora Trapp
59fa9d3323 Tweak context menu styling 2022-09-18 00:00:49 -07:00
Nora Trapp
4280ffe635 "Bump build to 5.55.0.3." (nightly-09-17-2022) 2022-09-17 04:00:47 -07:00
Harry
ae4837e600
Segment story videos longer than 30s
* initial approach commit, needs cleanup

* Keep >30s videos for non-story recipients, but split for stories

* Some cleanup

* fix too many chats toast offset

* show tooltip in the send flow

* pr feedback
2022-09-16 15:29:44 -07:00
Max Radermacher
5876ea3058 Add expiresIn… when replying from a notification 2022-09-16 14:31:36 -07:00
Nora Trapp
7bc176ac7d "Bump build to 5.55.0.2." (nightly-09-16-2022) 2022-09-16 04:00:43 -07:00
Igor Solomennikov
83b2e0c6a6 Fix a bug when badged Done button was visible in text story composer. 2022-09-15 09:51:57 -07:00
Igor Solomennikov
3a6d9fd9d3 Make it easier to tap to edit text when there is a link preview. 2022-09-15 09:51:57 -07:00
Igor Solomennikov
e2a1eaa0d4 Do not hide link preview when editing text. 2022-09-15 09:51:57 -07:00
Evan Hahn
4d55d95869 Autofix SwiftLint whitespace issues
I recommend reviewing this with whitespace changes disabled.
2022-09-15 16:37:44 +00:00
Nora Trapp
129ba331e5 "Bump build to 5.55.0.1." (nightly-09-15-2022) 2022-09-15 04:00:43 -07:00
Harry Sanabria
482eccd884 "Bump build to 5.55.0.0." (nightly-09-14-2022) 2022-09-14 14:13:08 -07:00
Harry Sanabria
259ffd4712 Update translations 2022-09-14 14:06:01 -07:00
Igor Solomennikov
6547ef556e Add support for posting text stories on iPad. 2022-09-14 13:27:16 -07:00
Sasha Weiss
28709f9b27
Remove GroupManager#GroupUpdate enum 2022-09-14 11:23:12 -07:00
Igor Solomennikov
607fdc810e
Add support for multi-point gradient background in text stories.
Also update palette of background colors and gradients to latest spec.
2022-09-14 08:26:23 -07:00
Nora Trapp
5d33485582 "Bump build to 5.54.0.7." (nightly-09-14-2022) 2022-09-14 04:00:37 -07:00
Evan Hahn
4445f0cedf
Improvements to PNG transcoding 2022-09-13 23:22:50 +00:00
Nora Trapp
676889cb49 "Bump build to 5.54.0.6." (nightly-09-13-2022) 2022-09-13 04:04:32 -07:00
Nora Trapp
ae6b55b1bf Hide some extraneous back button labels 2022-09-12 15:35:02 -07:00
Nora Trapp
fd7a89e552 Tweak context menu styling 2022-09-12 15:35:02 -07:00
Nora Trapp
44791879b4 Remove text story sending feature flag 2022-09-12 12:04:22 -07:00
Nora Trapp
6dda63ccf5 "Bump build to 5.54.0.5." (Internal) 2022-09-12 12:00:27 -07:00
Nora Trapp
ad34089ffe Sync group stories with storage service 2022-09-12 12:00:14 -07:00
Igor Solomennikov
a6ff75a24c
Text story composer
* Hide camera controls when switching to TEXT.

* Streamline camera capture session state tracking.

Stop camera when switching to TEXT.

* Basic text story composer.

All UI works, but needs fine-tuning and tapping on Next (->) doesn't do anything.

* Run auto-genstrings.

* Adjust text size and alignment as user enters text.

1..49 characters: 34 pt, center-aligned.
50..199 characters: 24 pt, center-aligned.
200.. characters: 18 pt, natural alignment.

* Change default text color in text story composer to white.

* Added support for changing background of text story composer.

Selection is allowed from palette of 5 gradients and 11 solid colors.

* Improve vertical alignment of text in text story composer.

Text (and possible link preview panel in the future) should be vertically
centered in the area above either bottom controls or onscreen keyboard.

* Add UI for attaching a link preview to a text story.

* Add support for posting text stories.

* Lint.
2022-09-12 11:38:28 -07:00
Nora Trapp
62d1aa2e8b Allow viewing story from conversation header view 2022-09-12 11:23:23 -07:00
Nora Trapp
b60a862e17 allow choosing if you want to view story or avatar 2022-09-12 11:23:23 -07:00
Nora Trapp
b40485e09c Fix a bug where presenting story from member sheet would get stuck 2022-09-12 11:23:23 -07:00
Nora Trapp
da9f52c67d Update conversation split view styling 2022-09-12 10:48:28 -07:00