Commit Graph

698 Commits

Author SHA1 Message Date
Jed Fox 5adce841ef
Label images as “[alt], attachment 3 of 4” 2022-12-20 14:22:38 -05: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 754b0a7eb0
Move HUDButton to MastodonUI 2022-12-20 09:37:13 -05:00
Jed Fox 4014fb41f1
Allow pinning to a view with padding 2022-12-20 09:37:12 -05: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
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
Nathan Mattes f3d71d982a Update strings 2022-12-19 12:07:16 +01:00
Marcus Kida 98154ec2c3
chore: Don't limit number of lines on translation info text 2022-12-19 11:01:13 +01:00
Marcus Kida 258aea3682
feat: Show translation provider 2022-12-19 07:32:48 +01:00
Tommy Braccia 955389efad fix: ran swiftgen 2022-12-18 10:51:18 -05:00
Tommy Braccia 26488390f1 Revert "fix: updated logo button's alt text to be more accessible"
This reverts commit 92a698fa3e.
2022-12-18 10:48:27 -05:00
Tommy Braccia 9f53dbdc0a Revert "fix: updated all other occurrences of Logo Button"
This reverts commit bca33aeecd.
2022-12-18 10:48:25 -05:00
Tommy Braccia d621763a85 Revert "fix: swapped to correct alt for the image."
This reverts commit e4027bbe68.
2022-12-18 10:48:23 -05:00
Tommy Braccia e4027bbe68 fix: swapped to correct alt for the image. 2022-12-18 10:33:13 -05:00
Nathan Mattes 3b77ed7612
Merge pull request #613 from j-f1/joined-at
Add a “Joined” cell to the top of the About tab to match the web version
2022-12-18 14:30:57 +01:00
Tommy Braccia bca33aeecd fix: updated all other occurrences of Logo Button 2022-12-17 21:26:35 -05:00
Tommy Braccia 92a698fa3e fix: updated logo button's alt text to be more accessible 2022-12-17 21:20:03 -05:00
Nathan Mattes cb1b35c008 Fix iOS 15-deprecation-warning 2022-12-18 01:17:35 +01:00
Nathan Mattes 1d7dc2f266 Bump to iOS 15 deployment target and fix build issues 2022-12-17 20:26:20 +01:00
Marcus Kida ddf6e691fe
IOS-32: Fix paragraph margins in compose 2022-12-16 10:28:06 +01:00
Jed Fox f8556183a3
Fix inverting pizelSize! 2022-12-15 08:11:51 -05:00
Jed Fox 0c8c9778b0
Merge remote-tracking branch 'upstream/develop' into status-cards 2022-12-15 07:46:37 -05:00
Jed Fox 1be9dcef66
Bump data model version 2022-12-15 07:43:25 -05:00
Jed Fox dccfb4e831
Avoid division by 0 2022-12-15 07:42:10 -05:00
Jed Fox cc4df41fbb
Disable divider autoresizing mask
Co-Authored-By: Marcus Kida <marcus.kida@bearologics.com>
2022-12-15 07:39:52 -05:00
Marcus Kida 6329f10046
chore: Move translated info directly below translated text 2022-12-14 10:34:01 +01:00
Marcus Kida f530d109d3
chore: Address PR codestyle feedback 2022-12-14 09:51:15 +01:00
Marcus Kida 855f626c42
fix: Make translatedContent a transient CoreData property 2022-12-14 09:35:45 +01:00
Jed Fox 47024bfb4d
Differentiate between “My followers” and other accounts followers in i18n 2022-12-13 10:07:37 -05:00
Marcus Kida 518941b10c
chore: Codestyle changes 2022-12-13 07:10:08 +01:00
Marcus Kida 903d789b53
chore: Remove unused code 2022-12-13 07:07:56 +01:00
Marcus Kida 85f4c454a3
chore: Refactor code and apply PR improvements 2022-12-13 06:56:07 +01:00
Marcus Kida 8f32e1a80e
Update MastodonSDK/Sources/MastodonSDK/Entity/Mastodon+Entity+Translation.swift
Co-authored-by: Jed Fox <git@jedfox.com>
2022-12-12 16:53:41 +01:00
Marcus Kida cb2765fd0f
chore: Replace instance by server in strings 2022-12-12 16:43:54 +01:00
Marcus Kida 2d9e980215
feat: Implement /api/v2/instance to conditionally show Translation option 2022-12-12 16:41:13 +01:00
Marcus Kida 58dcadf642
feat: Implement error-handling for translation 2022-12-09 16:12:13 +01:00
Marcus Kida fda3ae1516
chore: Update translated footer alignment 2022-12-07 17:10:32 +01:00
Marcus Kida da3c9a42ec
fix: Don't make isCurrentlyTranslating depend on translatedFromLanguage 2022-12-07 17:03:09 +01:00
Marcus Kida 7368e487af
chore: Add L10n for status translation 2022-12-07 16:32:51 +01:00
Marcus Kida 671b0e33f4
chore: Code-style adjustments 2022-12-07 16:03:52 +01:00
Marcus Kida bfdb2e2de9
chore: Update translated status footer style 2022-12-07 16:00:18 +01:00
Marcus Kida dc174b4b6d
feat: Implement translation progress indicator on status 2022-12-07 15:52:38 +01:00
Marcus Kida 1020ca531a
feat: Implement status translation info footer and reversion 2022-12-07 15:41:33 +01:00
Chase Carroll 34b3d7d559 Fix file header 2022-12-07 07:20:08 -05:00
Chase Carroll 08ec662e22 Fixing case where events aren't forwarded 2022-12-07 07:19:48 -05:00
Chase Carroll 6f09034668 Tweak touch view border color 2022-12-06 14:42:25 -05:00
Chase Carroll b634d2b844 Add extra contrast on the touch views
Felt like they needed to stand out just a bit more in light mode.
2022-12-06 11:23:04 -05:00
Chase Carroll 5648b13517 Tidy up. 2022-12-05 20:22:50 -05:00
Chase Carroll 7f58422900 Add debug menu option
Puts an option in the debug menu for toggling on/off visible touches.
2022-12-05 10:32:10 -05:00
Chase Carroll 52fa05b0fc Add UIWindow subclass to display all touches. 2022-12-05 10:21:29 -05:00
Jed Fox 41e9cfa80d
Fix i18n formatting for a11y.plural.count.characters_left 2022-12-03 14:18:39 -05:00
Jed Fox 4f8ca8d481
Use a non-opaque background color for the image view 2022-12-03 14:07:43 -05:00
Jed Fox 1642839084
Force card into large mode if it has an embed 2022-12-03 14:03:53 -05:00
Jed Fox 285fbd4247
Fix divider not visible in compact cards 2022-12-03 14:02:22 -05:00
Jed Fox 3c806393a3
Fix core data update 2022-12-03 14:00:01 -05:00
Jed Fox 7e74b4beb3
Merge remote-tracking branch 'upstream/develop' into status-cards 2022-12-03 13:49:04 -05:00
Jed Fox 1379cdc448
Disable cards in notifications
both to save space and because I’m too lazy to wire up the delegate methods for the menu
2022-12-03 13:41:51 -05:00
Jed Fox 17b39da316
Add “Copy,” “Share,” and “Share Link in Post” actions to cards 2022-12-03 13:38:32 -05:00
Jed Fox 3661b5ce90
Refactor compose intialization
- split ComposeContentViewModel.Kind into Destination (top level/reply) and an initial content string
- replies get the mentions prepended to the initial content string
2022-12-03 13:25:07 -05:00
Jed Fox 348e176f89
slight code reorg 2022-12-03 11:30:44 -05:00
Jed Fox e46c25892d
Add label to the “load embed” button 2022-12-03 11:30:44 -05:00
Jed Fox c67e6ce45e
Fix white flash in dark mode 2022-12-03 11:27:51 -05:00
Jed Fox 7944ec6399
Load embed web view only on tap (for privacy) 2022-12-02 23:29:14 -05:00
Jed Fox 5932d00f2f
add a divider between the image and the text in the card 2022-12-02 22:56:12 -05:00
Jed Fox 946d47abdd
Fix highlight behavior 2022-12-02 22:35:18 -05:00
Jed Fox a29e88b60b
Fix web view reuse 2022-12-02 22:10:35 -05:00
Jed Fox 1c5b66f7e7
Embed a web view for viewing content inline 2022-12-02 20:35:11 -05:00
Marcus Kida ac76e7f435
feat: Implement translation of reposts 2022-12-02 23:15:07 +01:00
Marcus Kida d5be87992d
feat: Implement /translate endpoint 2022-12-02 23:15:07 +01:00
Marcus Kida 9affb0f637
feat: Implement `translatedContent` which can be used to replace the StatusView content 2022-12-02 23:15:06 +01:00
Jed Fox 16a814a27c
Cap the height of the status card 2022-12-02 16:02:05 -05:00
Jed Fox 52f5213990
Allow a little bit of variance from square for compact layout 2022-12-02 15:54:02 -05:00
Marcus Kida a6ff6e7cec
chore: Update localizable strings for follow tags 2022-12-02 11:06:15 +01:00
CMK b15ae5e50f
Merge pull request #717 from mastodon/fix-issue-660
Workaround paste crash on iOS 14.x issue
2022-12-02 13:40:47 +08:00
Nathan Mattes 8ed451e858
Merge pull request #711 from j-f1/search-and-explore
Rename second tab to “Search and Explore”
2022-12-01 21:42:44 +01:00
Marcus Kida 6c2fabaa03
chore: Fix hashtag follow button style 2022-12-01 14:52:55 +01:00
Marcus Kida bf5a091798
chore: Improve Tag.predicate(name:) case-insensitivity 2022-12-01 14:24:54 +01:00
Marcus Kida 270bb6a1ed
fix: Update HashtagTimelineHeaderView if follow state changes 2022-12-01 12:38:23 +01:00
Marcus Kida 75dc530dcf
chore: Implement FollowedTagsViewModel+DiffableDataSource 2022-12-01 11:39:02 +01:00
Marcus Kida 0c571a2df6
fix: Localizable string issues 2022-12-01 10:55:00 +01:00
Marcus Kida 6a9b29e4a6
chore: Add missing L10n 2022-12-01 10:54:59 +01:00
Marcus Kida f112e68e79
chore: Add L10n for Followed Tags 2022-12-01 10:54:59 +01:00
Marcus Kida ba26dd2076
feat: Implement navigating followed tags 2022-12-01 10:54:59 +01:00
Marcus Kida 855d2cbacd
feat: Implement followed tags overview 2022-12-01 10:54:59 +01:00
Marcus Kida b9e4c69576
feat: Implement follow/unfollow tag functionality 2022-12-01 10:54:59 +01:00
Marcus Kida b020f566f4
feat: Implement real numbers of HashtagTimelineHeader 2022-12-01 10:54:59 +01:00
Marcus Kida 178a6e503a
feat: Implement layout for hashtag timeline header view 2022-12-01 10:54:58 +01:00
Marcus Kida b7458dfc7b
feat: Implement hashtag button on Profile 2022-12-01 10:54:58 +01:00
CMK fd9a253fac fix: workaround paste crash on iOS 14.x issue 2022-12-01 15:29:56 +08:00
Jed Fox 2003e4987c
Rename second tab to “Search and Explore” 2022-11-30 09:09:24 -05:00
Marcus Kida 7aed050ded
Merge pull request #600 from woxtu/nil-coalescing
Remove redundant nil coalescing
2022-11-29 14:41:52 +01:00
Marcus Kida 248d0a5570
fix: Text in compose post is not selectable, focussable, pastable 2022-11-29 11:51:28 +01:00
Marcus Kida e8bccb7eb7
Merge pull request #702 from kylebshr/kb/button-targets
Space buttons instead of stretching
2022-11-28 16:11:12 +01:00
Kyle Bashour 61a07e9a5b Layout improvements 2022-11-27 21:00:03 -08:00
Kyle Bashour 176067800c Add card when merging 2022-11-26 23:42:02 -08:00
Kyle Bashour 8a8ecb0b68 Improve layout 2022-11-26 22:05:43 -08:00
Kyle Bashour 3a90b1c865 Change name and improve a11y 2022-11-26 21:47:49 -08:00
Kyle Bashour 03918301fb Space buttons instead of stretching 2022-11-26 19:26:10 -08:00
Kyle Bashour 4616d40519 More spacing 2022-11-26 19:22:05 -08:00
Kyle Bashour 439217d0e1 Constraints work 2022-11-26 19:21:47 -08:00
Sven Weidauer a247bfc91f Remove dead code. 2022-11-26 16:38:02 +01:00
Sven Weidauer bf741a3f63 Merge remote-tracking branch 'upstream/develop' into fix-warnings 2022-11-26 16:08:26 +01:00
Marcus Kida 54a75d4138
feat: Delete Status and Notification Feeds for Blocked/Muted Users 2022-11-26 08:02:30 +01:00
Marcus Kida 803571bb81
chore: Revert CoreData 5 and update Block / Mute Database interactions 2022-11-26 08:02:30 +01:00
Marcus Kida bb30aae322
feat: Update block/mutes on block/mute action 2022-11-26 08:02:30 +01:00
Marcus Kida b1d92c69bd
chore: Don't recursively iterate through blocks/mutes 2022-11-26 08:02:29 +01:00
Marcus Kida 12cb8cf8d6
feat: Implement blocks/mutes pagination using link header 2022-11-26 08:02:29 +01:00
Marcus Kida 9c86dfe166
chore: Remove limit query for GET Block/Mute 2022-11-26 08:02:29 +01:00
Marcus Kida 6be1e502b7
chore: Use MastodonUser.predicate in APIService+Mute 2022-11-26 08:02:29 +01:00
Marcus Kida 65ed6650e8
feat: Implement deletion of records for blocked users 2022-11-26 08:02:29 +01:00
Marcus Kida ac5e68b74b
feat: Delete Users / Statuses on Mute 2022-11-26 08:02:28 +01:00
Kyle Bashour 00af336298 Remove some debugging 2022-11-25 20:20:26 -08:00
Kyle Bashour 3a732b688c Better layout 2022-11-25 20:16:42 -08:00
Kyle Bashour ba7955bdb5 Handle taps 2022-11-24 07:48:07 -08:00
Kyle Bashour f8d1afc7e4 Working pretty well 2022-11-23 21:51:39 -08:00
Kyle Bashour 595b46e96e Add card persistence 2022-11-23 20:03:45 -08:00
Kyle Bashour a4cab15d86 Make it compile 2022-11-23 19:03:54 -08:00
Kyle Bashour d0f1bb82f7 Merge branch 'develop' into kb/link-previews
# Conflicts:
#	MastodonSDK/Package.swift
2022-11-23 18:42:16 -08:00
CMK 366287a9f8 fix: use singleton AppContext to workaround reentry problem 2022-11-23 14:16:28 +08:00
CMK a45fa65802 chore: set minimal size limit for photo to 1MiB 2022-11-23 12:27:46 +08:00
CMK f784df912d fix: no downscaling for raw image from camera issue 2022-11-22 15:59:29 +08:00
CMK c6b2f730d2
Merge pull request #592 from j-f1/live-text
Add Live Text support to images
2022-11-22 13:14:38 +08:00
Marcus Kida 12bfff8b00
Merge pull request #579 from woxtu/patch
Fix typos
2022-11-21 17:31:05 +01:00
Rose 8f61562355 Fix compiler warnings
Including fixing some deprecations
2022-11-21 10:12:54 -05:00
Jed Fox 228a9a1798
Revert auto-formatter changes to file 2022-11-21 08:46:49 -05:00
Jed Fox 45c35ab146
Merge remote-tracking branch 'upstream/develop' into live-text 2022-11-21 08:41:05 -05:00
Jed Fox 788bdb14f8
Remove duplicate timestamps 2022-11-21 08:40:04 -05:00
Jed Fox 82da37e1e7
Merge remote-tracking branch 'upstream/develop' into notifications-tab-a11y 2022-11-21 08:39:08 -05:00
CMK 2064a318c3 Merge branch 'main' into develop
# Conflicts:
#	Mastodon/Scene/MediaPreview/Video/MediaPreviewVideoViewController.swift
2022-11-21 11:18:36 +08:00
CMK 73f7814e87
Merge pull request #634 from mastodon/fix/auto-complete
Fix hashtag auto complete issue
2022-11-19 01:01:27 +08:00
CMK ce076b264b fix: hashtag auto complete issue 2022-11-19 00:56:44 +08:00
Jed Fox f0bf9c6937
Bump the timeout interval for all requests to 60s 2022-11-18 10:55:25 -05:00
CMK 31699ea9fc chore: update i18n resources 2022-11-18 19:04:22 +08:00
Nathan Mattes d4eabf95d1
Merge pull request #622 from painhapp/refactorPinToParent
[Refactor] Use UIView extension to create constraints (to parent view)
2022-11-17 23:19:03 +01:00