Commit Graph

5277 Commits

Author SHA1 Message Date
Nathan Mattes f26f36a60b Slightly adjust code (#806)
Renaming, remove iOS-checks.
2022-12-26 15:29:45 +01:00
Nathan Mattes 80c145111a
Merge pull request #814 from j-f1/alt-scroll
Allow AltViewController text to scroll + increase HUDButton contrast
2022-12-24 00:25:02 +01:00
Nathan Mattes 530d69a78c
Merge pull request #795 from mattrobmattrob/mr/mastodon.on.diet
Move `MastodonSDK` to dynamic framework
2022-12-23 23:26:55 +01:00
Nathan Mattes dc1f65e0b5
Merge pull request #810 from woxtu/defer
Remove a redundant defer
2022-12-23 20:33:18 +01:00
Nathan Mattes e56ab2aa4d
Merge pull request #811 from woxtu/uti
Replace a deprecated constant
2022-12-23 20:31:39 +01:00
Jed Fox d553dd4f62
Resize text when Dynamic Type style updates 2022-12-23 14:16:41 -05:00
Jed Fox 752d76c8be
fix sizing if the text view does not need to scroll 2022-12-23 14:08:22 -05:00
Jed Fox d0812f4275
Further improve HUDButton contrast 2022-12-23 11:34:05 -05:00
Jed Fox b8b59674f3
Fix scroll insets, increase contrast 2022-12-23 11:34:05 -05:00
Jed Fox 2a161886a1
Improve HUDButton contrast 2022-12-23 10:57:53 -05:00
Jed Fox 0faea45485
Allow AltViewController text to scroll 2022-12-23 10:27:07 -05:00
woxtu b00d6c0d27 Replace a deprecated constant 2022-12-23 21:00:13 +09:00
woxtu 2a66afc52c Remove a redundant defer 2022-12-23 20:36:27 +09:00
Nathan Mattes 3e2282cb03
Merge pull request #783 from mastodon/ios_15
Bump Deplyment Target to iOS 15
2022-12-22 18:36:26 +01:00
Nathan Mattes 7ee51d06cc
Merge pull request #699 from j-f1/alt-button
Add a button to show alt text for media
2022-12-22 09:29:00 +01:00
Jed Fox f5c6529341
i18n for accessibility hint 2022-12-21 19:38:29 -05:00
Jed Fox dc6a86f846
Extract out TouchTransparentStackView 2022-12-21 19:38:29 -05:00
Jed Fox ff502a4868
Remove some os_logs 2022-12-21 19:25:39 -05:00
Jed Fox e4848d21e5
Improve handling of transparent avatars + avatar press state (#802)
* Fix Podfile.lock checksum

* Fix layout of avatarButton inside of border

* Set a background for the avatar button in profile headers
2022-12-21 21:41:18 +01:00
Eugen Rochko cac1637095
New Crowdin updates (#788)
* New translations app.json (Korean)

* New translations app.json (Swedish)

* New translations app.json (Catalan)

* New translations app.json (Icelandic)

* New translations app.json (Slovenian)

* New translations app.json (Italian)

* New translations app.json (Galician)

* New translations app.json (Kurmanji (Kurdish))

* New translations app.json (Chinese Traditional)

* New translations app.json (German)

* New translations app.json (Spanish)

* New translations app.json (Vietnamese)

* New translations app.json (English)

* New translations app.json (Latvian)

* New translations app.json (Czech)

* New translations app.json (Latvian)

* New translations Localizable.stringsdict (Czech)

* New translations Intents.stringsdict (Czech)

* New translations app.json (French)

* New translations app.json (Thai)

* New translations app.json (Latvian)

* New translations ios-infoPlist.json (Latvian)

* New translations Localizable.stringsdict (Latvian)

* New translations app.json (Spanish, Argentina)

* New translations Localizable.stringsdict (Latvian)

* New translations Intents.strings (Latvian)

* New translations Intents.stringsdict (Latvian)

* New translations app.json (Korean)

* New translations app.json (French)

* New translations app.json (Czech)

* New translations app.json (Romanian)

* New translations app.json (Spanish)

* New translations app.json (Arabic)

* New translations app.json (Catalan)

* New translations app.json (Danish)

* New translations app.json (German)

* New translations app.json (Basque)

* New translations app.json (Finnish)

* New translations app.json (Italian)

* New translations app.json (Japanese)

* New translations app.json (Dutch)

* New translations app.json (Hebrew)

* New translations app.json (Slovenian)

* New translations app.json (Chinese Traditional)

* New translations app.json (Vietnamese)

* New translations app.json (Kabyle)

* New translations app.json (Swedish)

* New translations app.json (Turkish)

* New translations app.json (Ukrainian)

* New translations app.json (Scottish Gaelic)

* New translations app.json (Portuguese)

* New translations app.json (Russian)

* New translations app.json (Chinese Simplified)

* New translations app.json (English)

* New translations app.json (Galician)

* New translations app.json (Portuguese, Brazilian)

* New translations app.json (Indonesian)

* New translations app.json (Spanish, Argentina)

* New translations app.json (Thai)

* New translations app.json (Latvian)

* New translations app.json (Hindi)

* New translations app.json (English, United States)

* New translations app.json (Welsh)

* New translations app.json (Sinhala)

* New translations app.json (Kurmanji (Kurdish))

* New translations app.json (Sorani (Kurdish))

* New translations app.json (Icelandic)

* New translations app.json (Burmese)

* New translations app.json (Aragonese)

* New translations app.json (Slovenian)

* New translations app.json (Catalan)

* New translations app.json (Latvian)

* New translations app.json (Welsh)

* New translations app.json (Spanish, Argentina)

* New translations app.json (Welsh)

* New translations app.json (Icelandic)

* New translations app.json (Swedish)

* New translations app.json (French)

* New translations app.json (Finnish)

* New translations app.json (Arabic)

* New translations app.json (Thai)

* New translations app.json (Italian)

* New translations app.json (Chinese Traditional)

* New translations app.json (Galician)

* New translations app.json (Kurmanji (Kurdish))

* New translations app.json (German)

* New translations app.json (Czech)
2022-12-21 21:27:00 +01:00
Nathan Mattes fba444d82f
Merge pull request #681 from j-f1/there-is-no-escape
Allow pressing escape to close the media viewer
2022-12-21 21:17:27 +01:00
Nathan Mattes c85e503a71
Merge pull request #792 from j-f1/hide-empty-status-text
Hide post contentMetaText when it is empty
2022-12-21 20:58:36 +01:00
Nathan Mattes 68b8169086
Merge pull request #728 from j-f1/characters_left-i18n
Fix i18n formatting for a11y.plural.count.characters_left
2022-12-21 20:57:00 +01:00
Nathan Mattes 270d42d1d3
Merge pull request #746 from cdoncarroll/cdoncarroll-FixMediaPreviewJump
Fix Issue Media Preview Jumping on Interactive Dismissal
2022-12-21 20:26:54 +01:00
Nathan Mattes 65da752170
Merge pull request #799 from j-f1/block-reblog-dms
Prevent reblogging DMs
2022-12-21 20:21:53 +01:00
Jed Fox 726af2e8ea
Fall back to allowing reblogs of unsupported visibilities 2022-12-20 16:12:43 -05:00
Jed Fox 2f553c1648
Prevent reblogging DMs 2022-12-20 16:07:03 -05:00
Nathan Mattes 5986c078dc
Merge pull request #797 from j-f1/banish-DateToolsSwift
Remove unused DateToolsSwift dependency
2022-12-20 21:23:40 +01:00
Jed Fox 2d606a52af
Remove unused DateToolsSwift dependency 2022-12-20 14:49:15 -05:00
Jed Fox a9534e480a
FIx NewsView+Configuration.swift 2022-12-20 14:44:49 -05:00
Jed Fox 5adce841ef
Label images as “[alt], attachment 3 of 4” 2022-12-20 14:22:38 -05:00
Matt Robinson da8b6848b7 Exclude `Preview Assets.xcassets` from Release config 2022-12-20 13:17:20 -06:00
Matt Robinson 6b041abd6f Publish both static & dynamic libraries 2022-12-20 13:17:20 -06:00
Jed Fox cd9e013a40
Fix HUDButton hitTest method 2022-12-20 14:01:46 -05:00
Jed Fox 7553b0aae6
Fix MediaView accessibility 2022-12-20 13:38:25 -05:00
Jed Fox 042c496832
Fix image sizing 2022-12-20 13:38:25 -05:00
Jed Fox 019a9920f0
better animations? or at least different 2022-12-20 13:38:25 -05:00
Jed Fox 1461b314ff
Add a thin white border 2022-12-20 13:38:25 -05:00
Jed Fox 7235ba3fb2
Spring transition 2022-12-20 13:38:25 -05:00
Jed Fox 4bcf76740f
Render alt text 2022-12-20 13:38:25 -05:00
Jed Fox 28b52533f9
Add a non-functional “ALT” button to MediaView 2022-12-20 13:38:25 -05:00
Jed Fox c9a7405519
Add altDescription attribute to MediaView.Configuration values 2022-12-20 13:38:25 -05:00
Jed Fox 26aff2d627
MediaView: remove unused property 2022-12-20 13:38:25 -05:00
Matt Robinson 31bd74383d Move MastodonSDK to dynamic framework 2022-12-20 11:49:55 -06:00
Jed Fox dbf95f726c
fix preferredContentSize 2022-12-20 09:37:13 -05:00
Jed Fox 7ab6ea0d23
Make alt text selectable 2022-12-20 09:37:13 -05:00
Jed Fox 754b0a7eb0
Move HUDButton to MastodonUI 2022-12-20 09:37:13 -05:00
Jed Fox 501e17bf18
Hide the ALT button when alt text is unavailable 2022-12-20 09:37:13 -05:00
Jed Fox ed580541f0
Merge top buttons into a single parent view
(also fix tapping just outside a HUDButton)
2022-12-20 09:37:12 -05:00
Jed Fox 582d1cf295
Add an ALT button to the media preview to display alt text 2022-12-20 09:37:12 -05:00