Commit Graph

5335 Commits

Author SHA1 Message Date
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
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
Jed Fox 4014fb41f1
Allow pinning to a view with padding 2022-12-20 09:37:12 -05:00
Jed Fox dd95724d14
Factor out code for the close button 2022-12-20 09:37:12 -05:00
Nathan Mattes 0f28f9aedd
Temporarily downgrade python-version
reason: https://github.com/codemagic-ci-cd/cli-tools/issues/293
2022-12-20 14:59:46 +01:00
Nathan Mattes 2bb86f79a4
Merge pull request #793 from j-f1/status-a11y-again
Improve status accessibility
2022-12-20 14:11:06 +01:00
Nathan Mattes 08b63bda00
Merge pull request #753 from j-f1/following-customization
Differentiate between “My followers” and other accounts followers for i18n
2022-12-20 14:05:07 +01:00
Nathan Mattes 858e4fc4ec
Merge branch 'develop' into bugfix/309 2022-12-20 14:01:19 +01:00
Nathan Mattes 97c469e624
Merge pull request #716 from jordanekay/unused
Remove unused file
2022-12-20 13:57:07 +01:00
Nathan Mattes eedc1a9dfd Bump version 2022-12-20 09:29:41 +01:00
Jed Fox a05b794090
Hide post contentMetaText when it is empty 2022-12-19 15:17:46 -05:00
Jed Fox 6ae1446a92
Add reply/reblog/favorite actions to statuses 2022-12-19 14:53:00 -05:00
Jed Fox a7b0f30d08
Fix status view not having actions from the menu 2022-12-19 14:24:50 -05:00
Nathan Mattes da3f631380
Merge pull request #736 from cdoncarroll/cdoncarroll-VisibleWindowTouches
Add Debug Option For Displaying Touches
2022-12-19 15:51:26 +01:00