Commit Graph

5449 Commits

Author SHA1 Message Date
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
Tommy Braccia d09339ea20 fix: updated to use vars from strings.swift 2022-12-22 13:26:27 -05:00
Tommy Braccia 8064e9c532 Merge branch 'bugfix/309' of https://github.com/Bracciata/mastodon-ios into bugfix/309 2022-12-22 12:52:31 -05:00
Tommy Braccia c08be1e1dd fix: corrected alt for title button 2022-12-22 12:52:27 -05: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
Mary 7eebb62267 Accept missing metadata on attachments
Akkoma/Pleroma (and Friendica until recently) aren't providing attachment meta information like width or height.

Because Mastodon app enforced those fields to be present, attachments would be filtered out.

This commit change the behaviour of Mastodon.Entity.Status.mastodonAttachments by allowing those values to be missing and use default values instead.
2022-12-21 23:06:49 +01: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 36b7e50f5b
Delete NotificationAvatarButton.swift 2022-12-20 18:18:21 -05:00
Iván Dombiak 91547939f3 Change background color and text color to improve text readability for visually impaired prompt.
Closes #732
2022-12-20 14:14:00 -08: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
Jed Fox e8e15f3a0e
Remove support for previewing local images
(it was unused)
2022-12-20 09:37:12 -05:00