Commit Graph

1711 Commits

Author SHA1 Message Date
Nathan Mattes 4ce111164d Some styling in pick-server-header (#690) 2023-01-07 13:02:57 +01:00
Nathan Mattes 00a05514a9 Minor styling (#690) 2023-01-07 13:02:57 +01:00
Nathan Mattes d102e090ea Download thumbnails (#690) 2023-01-07 13:02:57 +01:00
Marcus Kida 29cd795718 Adjust onboarding cloud alpha 2023-01-07 13:02:57 +01:00
Nathan Mattes c93902ff86 Show back-button on server-list (#690) 2023-01-07 13:02:57 +01:00
Nathan Mattes 185a3f5aa4 Get rid of highlight-indicator (#690) 2023-01-07 13:02:57 +01:00
Nathan Mattes fc25e12e05 Add thumbnail image (#690)
thumbnail-download is still missing, it's just the UI-element
2023-01-07 13:02:57 +01:00
Nathan Mattes 3f3a8c1a5b (Temporarily) Remove search field from header (#690) 2023-01-07 13:02:57 +01:00
Nathan Mattes ffe3b10f3c Update checkmark to match the new design (#690) 2023-01-07 13:02:57 +01:00
Nathan Mattes f2e419412b Remove meta-information (#690) 2023-01-07 13:02:57 +01:00
Nathan Mattes 4f304f39fc Get rid of title (#690) 2023-01-07 13:02:17 +01:00
Nathan Mattes d3ebd51d44 Replace NavigationActionView with a view with a simple button (#690) 2023-01-07 13:02:17 +01:00
Nathan Mattes 3a176edb91 Move files (#690) 2023-01-07 13:02:17 +01:00
Nathan Mattes dc91ebcd0a Apply new style to server-rules (#690) 2023-01-07 13:02:17 +01:00
Nathan Mattes 3a00010d89 Use native navigationItem instead of bottom-view (#690) 2023-01-07 13:02:17 +01:00
Nathan Mattes c22f1fc66e [WIP] Fix animations on illustration-view (#690)
It's still broken on iPad.
2023-01-07 13:02:17 +01:00
Nathan Mattes df783b3e53 Make images move (#690)
They're not moving in the right direction yet, and it's entirely based on autolayout and not on layoutSubviews. We'll see, if that's the way to go.
2023-01-07 13:02:17 +01:00
Nathan Mattes 38cafae28b [WIP] Move layoutcode and move plane (#690)
Turns out: Changing the constant of a layoutconstraint does the job, but is' laggy af, so I have to come up with another solution.
2023-01-07 13:02:17 +01:00
Nathan Mattes 32bc94322d Fix scrollview-offset-calculation (#690) 2023-01-07 13:02:17 +01:00
Nathan Mattes fa696a6f36 Figure out a way to attach to scrolling in pages (#690) 2023-01-07 13:02:17 +01:00
Nathan Mattes c925e48385 Add styling and localization to education (#690) 2023-01-07 13:02:17 +01:00
Nathan Mattes 831d5a6774 Add pages and page-controller for better onboarding (#690) 2023-01-07 13:02:16 +01:00
Marcus Kida d0710460ab
fix(deeplinking): Fix profile resolving didn't use WebFinger so resolving non-local profiles might fail 2023-01-06 13:14:18 +01:00
Marcus Kida 6662fcb0d4
chore(dependencies): Run bundle exec pod install 2023-01-06 11:35:22 +01:00
Marcus Kida 5cd9343302
Merge pull request #847 from jinsu35/fix-issue-391
Implement URL scheme
2023-01-06 10:31:06 +01:00
jinsu kim a00cd60076 Remove duplicate function fetchUser(). 2023-01-05 15:57:58 -08:00
Nathan Mattes b2c0871e9f
Merge pull request #682 from j-f1/rotate-media-view
Allow media viewer to be rotated to any orientation
2023-01-05 18:32:52 +01:00
Marcus Kida 74ea67181c
chore(profile): Add image to copy username action 2023-01-05 13:32:32 +01:00
Marcus Kida c56f1abd67
chore(profile): Allow profile header username to grow in height 2023-01-05 11:47:43 +01:00
Marcus Kida 2866721ca3
feat(profile): Implement tap to copy username 2023-01-04 16:38:18 +01:00
Marcus Kida 6beaabbe32
Merge branch 'develop' into fix-warnings 2023-01-04 15:12:51 +01:00
jinsu kim 5c82c04232 Use authenticated domain for API calls. Modify URL scheme 2023-01-01 15:55:54 -08:00
jinsu kim de962a0c09 Implement URL scheme 2023-01-01 01:01:01 -08:00
jinsu kim f71c4964f5 UI update should be invoked on the main thread 2023-01-01 01:00:00 -08:00
Jed Fox fbc4c98e7d
Force view controllers into portrait orientation where needed 2022-12-31 08:37:07 -05:00
Marcus Kida 6d80df1279
fix: Poll percentages were wrong due to wrong count being used (votes vs voters) (#834) 2022-12-31 02:22:00 +01:00
Jed Fox 3e4a5f35fa
Merge remote-tracking branch 'upstream/develop' into rotate-media-view 2022-12-30 08:15:10 -05:00
Marcus Kida 66b6bcd0ef
chore(onboarding): Replace parseUsersCount 2022-12-29 07:51:12 +01:00
Nathan Mattes cab9574fbb
Merge pull request #784 from Bracciata/bugfix/309
fix: updated logo button's alt text to be more accessible
2022-12-26 17:03:45 +01:00
Nathan Mattes b445bb4754
Merge pull request #801 from j-f1/remove-NotificationAvatarButton
Remove unused NotificationAvatarButton and RoundedImageView classes
2022-12-26 15:38:45 +01:00
Nathan Mattes df9154a220
Merge pull request #823 from mastodon/806-alt-scroll
Alt-Scroll-Adjustments
2022-12-26 15:35:27 +01:00
Nathan Mattes f26f36a60b Slightly adjust code (#806)
Renaming, remove iOS-checks.
2022-12-26 15:29:45 +01:00
Peter Minarik fd964c7b3a
fix: set Avatar border color based on theme 2022-12-25 16:57:14 +01:00
Peter Minarik c1f19d1f27
chore: DRY setting up colors from theme 2022-12-25 16:56:46 +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 b8b59674f3
Fix scroll insets, increase contrast 2022-12-23 11:34:05 -05:00
Jed Fox 0faea45485
Allow AltViewController text to scroll 2022-12-23 10:27:07 -05: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 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
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 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
Jed Fox 36b7e50f5b
Delete NotificationAvatarButton.swift 2022-12-20 18:18:21 -05:00
Jed Fox 2d606a52af
Remove unused DateToolsSwift dependency 2022-12-20 14:49:15 -05: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 dd95724d14
Factor out code for the close button 2022-12-20 09:37:12 -05: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 97c469e624
Merge pull request #716 from jordanekay/unused
Remove unused file
2022-12-20 13:57:07 +01: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
Marcus Kida ec80ad39ef
fix: Translation not available in threads 2022-12-19 07:33:20 +01:00
Marcus Kida 258aea3682
feat: Show translation provider 2022-12-19 07:32:48 +01: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
Nathan Mattes 2cdd8af7c3 Remove workaround for tableviews 2022-12-17 21:57:17 +01:00
Nathan Mattes af2cf75c56 Remove workaround for collection-views 2022-12-17 21:46:11 +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 e52315f0e0
Merge pull request #771 from j-f1/fix-voiceover-trap
Fix VoiceOver trap in thread titles
2022-12-16 21:17:29 +01:00
Jed Fox 0c8c9778b0
Merge remote-tracking branch 'upstream/develop' into status-cards 2022-12-15 07:46:37 -05:00
Jed Fox cd6bdead01
DispatchQueue.main.async 2022-12-15 07:39:05 -05:00
Jed Fox 13c54c39f1
Fix VoiceOver trap in thread titles 2022-12-15 07:29:25 -05: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 110a89f499
fix: AppContext is missing for some StatusView.ViewModels 2022-12-13 07:07:08 +01:00
Marcus Kida 85f4c454a3
chore: Refactor code and apply PR improvements 2022-12-13 06:56:07 +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
Chase Carroll d2d981ab0e Fix broken CCPoint conversion 2022-12-09 09:18:56 -05: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 4689c8e78f Use modern APIs for accessing key window
Shouldn't be relying on deprecated API. Tsk. Tsk.
2022-12-05 16:01:41 -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 12791ddf28 Use UIWindow subclass in DEBUG builds 2022-12-05 10:22:14 -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 ebf3835403
extract out StatusActivityItem class 2022-12-03 13:09:04 -05:00
Jed Fox 3212e54bf5
Fix generating relay delegate methods with return values 2022-12-03 13:07:55 -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
David Godfrey c92468a706
fix: Tidy up accessibility labels in bio fields
Enables reading out the label for the checkmark, and avoids describing
the title text as a 'button'.
2022-12-02 08:29:30 +00: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
Nathan Mattes 56efe8a93a
Merge pull request #691 from mastodon/follow_hashtags
[Feature] Follow hashtags
2022-12-01 20:33:06 +01:00
Marcus Kida 6c2fabaa03
chore: Fix hashtag follow button style 2022-12-01 14:52:55 +01:00
Marcus Kida 324e782fd5
chore: Improve Hashtag Header Post Count label alignment 2022-12-01 14:31:56 +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 9d245d3205
feat: Fix follow hashtags header layout 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 2987bb29fa
feat: Add FollowedTagsViewController 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 ee9f0538e3 fix: timeline reload blink issue 2022-12-01 15:48:01 +08:00
Jordan Kay 8db551837c Remove unused file 2022-11-30 17:22:17 -05: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 a790199ee4
Merge pull request #701 from kylebshr/kb/scroll-to-top
Fix scroll to top when tab is tapped
2022-11-28 16:08:18 +01:00
Kyle Bashour 459564ae6b Update table view 2022-11-26 23:49:51 -08:00
Kyle Bashour 0e5261ef94 Fix scroll to top 2022-11-26 16:08:52 -08:00
Sven Weidauer 5608cad673 Fix after merge. 2022-11-26 16:26:06 +01:00
Sven Weidauer bf741a3f63 Merge remote-tracking branch 'upstream/develop' into fix-warnings 2022-11-26 16:08:26 +01:00
Marcus Kida bb30aae322
feat: Update block/mutes on block/mute action 2022-11-26 08:02:30 +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
CMK b028380e7b fix: scroll to top animation cannot trigger smooth issue 2022-11-26 05:21:27 +08:00
Kyle Bashour ba7955bdb5 Handle taps 2022-11-24 07:48:07 -08:00
CMK 0d01e2ad23
Merge pull request #674 from mastodon/fix-665-image-downscaling
Fix no downscaling for raw image from camera issue
2022-11-23 12:42:22 +08:00
Jed Fox 0910baab6c
Allow media viewer to be rotated to any orientation 2022-11-22 16:19:18 -05:00
Nathan Mattes 7dd59906b7
Merge branch 'develop' into 191-pickserver 2022-11-22 22:11:37 +01:00
Nathan Mattes 0953b3d4ff
Merge branch 'develop' into issue607 2022-11-22 21:56:00 +01:00
Jed Fox 75b0f1bfb8
Allow pressing escape to close the media viewer 2022-11-22 13:06:17 -05:00
CMK f784df912d fix: no downscaling for raw image from camera issue 2022-11-22 15:59:29 +08:00
Marcus Kida d98306b505
Merge pull request #662 from mastodon/report_post_next
Always allow to continue when reporting a post if at least one is selected
2022-11-22 08:27:06 +01: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
Marcus Kida 3a7c39a485
Merge pull request #572 from jverkoey/191-welcome
[Welcome] Allow buttons to grow with Dynamic Type.
2022-11-21 17:17:19 +01:00
Jed Fox 45c35ab146
Merge remote-tracking branch 'upstream/develop' into live-text 2022-11-21 08:41:05 -05:00
Jed Fox 82da37e1e7
Merge remote-tracking branch 'upstream/develop' into notifications-tab-a11y 2022-11-21 08:39:08 -05:00