Commit Graph

290 Commits

Author SHA1 Message Date
Harry
f14b18d3f0
Fix underline of links in messages 2023-07-10 15:51:21 -07:00
Sasha Weiss
da6810e198
Implement username link sharing 2023-07-07 14:54:26 -07:00
Harry
ef1dfc1316
Add messageBody as a type of DisplayableText 2023-07-07 13:41:24 -07:00
Elaine
151f41c387
Fix missing "share" button on long-press in whitespace 2023-07-07 11:40:26 -06:00
Harry
ff89ef8e96
Add spoiler animator 2023-07-06 09:14:11 -07:00
Igor Solomennikov
cffc4aed50
Layout fixes for All Media screen. 2023-06-27 14:36:17 -07:00
Igor Solomennikov
0e9d511d1d
SignalUI cleanup.
• convert ObjC code from UIView+SignalUI to Swift.
• separate code from UIView+SignalUI to smaller files by functionality.
2023-06-23 14:36:21 -07:00
Harry
1112ef9bf2
Fixes for copy/paste formatted text 2023-06-23 14:17:01 -07:00
Harry
10985644b3
Add text formatting send support. 2023-06-23 10:26:46 -07:00
Igor Solomennikov
52f0015dfe
New set of icons. 2023-06-22 17:38:01 -07:00
Harry
0939663544
Strip leading whitespace before exporting composed message body 2023-06-20 15:41:45 -07:00
Harry
9aecfe3af5
[TextFormatting Send] UIMenu for formatting selected text 2023-06-15 15:45:36 -07:00
george-signal
128972e160
Add support for audio to All Media. 2023-06-13 15:41:07 -07:00
Igor Solomennikov
0686b39547 Add necessary imports to Swift files.
Those would be required for future PRs.
2023-06-13 14:46:12 -07:00
Harry
f728457039
Update build target to iOS 13.0 2023-06-08 16:21:20 -07:00
Igor Solomennikov
56e126bda6
Convert OWSSearchBar to Swift. 2023-06-07 11:39:51 -07:00
Igor Solomennikov
c457cefc94
Convert UIViewController+Permissions to Swift. 2023-06-07 11:36:46 -07:00
Igor Solomennikov
22f16c9a10
Re-worked bottom control panel in the media viewer. 2023-06-05 16:56:55 -07:00
Igor Solomennikov
c0b01db156
Convert Environment from SignalMessaging to Swift as SMEnvironment. 2023-06-02 20:53:07 -07:00
Igor Solomennikov
fad6d63b81
Convert two "fingerprint" VCs to Swift. 2023-06-01 13:28:35 -07:00
Max Radermacher
5655e6439f
Remove canOverlapLandingAnimations & dead code 2023-05-23 11:56:03 -07:00
Igor Solomennikov
dbecd3053e
Convert "Blocked" view controller to Swift. 2023-05-16 16:54:47 -07:00
Igor Solomennikov
c054f3de91
Remove unnecessary "@objc" in SignalUI. 2023-05-16 16:39:19 -07:00
Harry
8aaafc70c6
Display styles in story captions 2023-05-11 15:08:49 -07:00
Marissa Le Coz
4be334c5ad
Migrate SignalAccount to use SDSCodableModel 2023-05-11 17:34:15 -04:00
Harry
1fe5612cff
Support text formatting in text stories 2023-05-11 10:42:37 -07:00
Harry
3ecb16d377
Fix tiny text in message composer 2023-05-05 11:00:47 -07:00
Harry
e7f2c3b059
Show text formatting styles in media gallery 2023-05-05 09:06:03 -07:00
Harry
4d3eca887c
Text formatting support in Message detail, long text, and quoted reply views 2023-05-04 09:16:18 -07:00
Harry
c8da382654
Handle text formatting styles in conversation list snippets 2023-05-03 22:04:05 -07:00
Harry
c1017d8d4a
Actually populate mentions in mention text view 2023-05-02 15:11:47 -07:00
Igor Solomennikov
bb2b665f6f
Convert Theme to Swift. 2023-05-02 12:49:36 -07:00
Igor Solomennikov
31c60987d1
Convert two protocols and an enum from OWSBubbleView.h to Swift. 2023-05-02 11:39:01 -07:00
Igor Solomennikov
aef885237e
Attachment keyboard: flip UI horizontally for RTL interfaces. 2023-05-02 11:38:37 -07:00
Harry
b3700d07ce
Refactor mention/style/search result attribute application 2023-05-01 13:57:07 -07:00
Evan Hahn
14237a873f
NSLocalizedString -> OWSLocalizedString 2023-04-25 13:28:46 -05:00
Harry
7daed0ae2f
typo fix
Co-authored-by: Utsav Dave <utsavdave1997@gmail.com>
2023-04-24 10:30:09 -07:00
Evan Hahn
9be7718e54
Deprecate iOS 12 2023-04-21 11:49:34 -05:00
george-signal
95ffd7187b
Implement list mode in All Media. 2023-04-19 16:00:48 -07:00
Igor Solomennikov
6dd3d9a6f2
Convert all convenience methods in UIFont+OWS to Swift. 2023-04-18 17:14:51 -07:00
Evan Hahn
b10a697498
Update warning reminder designs 2023-04-18 15:11:37 -05:00
Igor Solomennikov
f7c5537348
Media viewer updates related to video playback and landscape mode.
• move video playback progress bar to the bottom panel.
• vertically compact layout of video playback controls in landscape.
• hide album preview strip when in landscape.
• move Forward and Share buttons to the navigation bar when in landscape.
2023-04-14 12:21:14 -07:00
Evan Hahn
58e276d0f0
Remove UIUtil.h 2023-04-12 14:59:59 -05:00
Igor Solomennikov
d24a1c1c3e
Fix (>) send button squished in media composer on iPhone 5.
Make margins around buttons smaller on narrow screen devices.
2023-04-11 12:36:52 -07:00
Harry
68bf6cf941
Handle search results in spoiler text 2023-04-11 09:18:23 -07:00
Harry
1bd1cf98ee
Add conversation view state for spoiler reveal 2023-04-11 08:10:51 -07:00
Harry
cbf6c41406
Apply text formatting styles to message body text 2023-04-10 15:24:04 -07:00
Harry
224e5a7c6b
Parse text formatting styles in MessageBody
* add deserialization test for MessageBodyRanges

* Add style ranges to MessageBodyText

* add deserialization tests and fix small other test

* add basic mention hydration tests

* Add RTL support for @mention hydration

* Add a test with accents for unicode shenanigans

* unique-ify TODOs

* Add emoji test and fix implementation to account for multi-point unicode that is captured in NSString.length but not String.count

* Add more TODOs for text formatting

* Collapse style ranges on init

* Handle mention overlaps on MessageBodyRanges init

* add tests, update existing tests, fix bugs

* Update v2 deserialization test; the meaning of Style raw values has changed

* comment nit
2023-04-04 12:46:09 -07:00
Igor Solomennikov
17850cb3ec
Fix double (+) button in media composer flow 2023-03-29 15:00:00 -07:00
Igor Solomennikov
b6ba857767 Bring vertical spacing between UI elements in media viewer's bottom panel up to spec. 2023-03-27 15:24:56 -07:00