Commit Graph

1033 Commits

Author SHA1 Message Date
Nathan Mattes 001404b1ae Slightly refactor authentication migration 2023-06-13 15:11:50 +02:00
Nathan Mattes aede20f2c8 Mark migration as succesful only in case of success 2023-06-13 15:11:50 +02:00
Nathan Mattes 183f303065 Move extension to its own file 2023-06-13 15:11:50 +02:00
Marcus Kida 73909005de Fix migration issues with duplicate persistent store 2023-06-13 15:11:50 +02:00
Marcus Kida 55afa02b52 Try migrating old auth to keychain 2023-06-13 15:11:50 +02:00
Marcus Kida 4c9c34b6ce Migrate legacy authentications 2023-06-13 15:11:50 +02:00
Nathan Mattes c5cfca93ea Download not one but all authenticated users at start 2023-06-13 14:47:43 +02:00
Nathan Mattes aa9a6ee701 Make account switching work again 2023-06-13 14:47:43 +02:00
Marcus Kida 1bb8e64574 Fix TabBar avatar loading 2023-06-13 14:47:43 +02:00
Nathan Mattes ca61d29ae2 Download user when we need them 2023-06-13 14:47:43 +02:00
Marcus Kida 06c72a022a Persist Authentication in Keychain 2023-06-13 14:47:43 +02:00
Marcus Kida d570d3ef09 Replace MastodonAuthentication to not be backed by CoreData 2023-06-13 14:47:43 +02:00
Marcus Kida c94f0126b7 Switch CoreData to In-Memory Store 2023-06-13 14:47:43 +02:00
Jed Fox 3a9e1aa716
+ backdrop for play triangle 2023-06-04 17:11:30 -04:00
Jed Fox 10303eee37
Move “play video” image to SwiftUI, adjust to match design spec 2023-06-04 16:39:59 -04:00
Jed Fox 290a62aa5e
Refactor: isGIF → mediaType 2023-06-04 16:17:34 -04:00
Jed Fox 5ff25e31d3
Rename: MediaBadgesContainer → InlineMediaOverlayContainer 2023-06-04 16:15:05 -04:00
Nathan Mattes 8804432b60
Fix Brand Color (IOS-160) (#1054) 2023-06-02 09:52:12 +02:00
Nathan Mattes ddf0afcc6d
Merge pull request #1044 from mastodon/ios-157-popular-on-mastodon
Better UI/UX for suggestions for new users (IOS-157)
2023-05-25 15:42:11 +02:00
Nathan Mattes 7a9c002fe8 Simplify overly complicated init (IOS-157)
Thank you @kimar!
2023-05-25 15:30:45 +02:00
Nathan Mattes 02d305e482 Update localizations (before release) 2023-05-25 14:50:30 +02:00
Nathan Mattes 71d8cfb485 Fix name for development (IOS-157) 2023-05-25 14:42:00 +02:00
Nathan Mattes 1a0ab4607c Refresh hometimeline (IOS-157) 2023-05-25 14:42:00 +02:00
Nathan Mattes 25e4b732ed Sprinkle in some localization (IOS-157) 2023-05-25 14:42:00 +02:00
Nathan Mattes 1a1b2d44a4 Download (and cache) requested follows (IOS-157)
Thanks to @kimar for pointing this out!
2023-05-25 14:42:00 +02:00
Nathan Mattes f1777376f4 Update title for suggestion-screen (IOS-157) 2023-05-25 14:42:00 +02:00
Nathan Mattes 58e5686460 Extract follow-button into its own file (IOS-157) 2023-05-25 14:42:00 +02:00
Nathan Mattes 44f6fc9a5c Add request-follow/pending-states to follow-button (IOS-157, IOS-140) 2023-05-25 14:42:00 +02:00
Nathan Mattes a2729b17c5 Minor UI-improvements in UserView (IOS-157)
Make avatar-image bigger, fix position of follow-button
2023-05-25 14:42:00 +02:00
Nathan Mattes b3ff75b7f9
Add Greek Localization (#1050) 2023-05-20 13:57:09 +02:00
Natalia Ossipova e397191773 Show visibility icon also in notification view 2023-05-17 14:07:43 +02:00
Natalia Ossipova 00a8c7523b Merge branch 'develop' into 594-post-visibility 2023-05-17 13:11:13 +02:00
Marcus Kida 3a05799df8
Remember notifications tab after app restart (#1048) 2023-05-15 14:12:41 +02:00
Jed Fox 88d54b6151
Fix crash when a server has an emoji category named after its domain (#1045) 2023-05-15 09:35:08 +02:00
Nathan Mattes 774b7830d5 Update localizations before release 2023-05-10 16:26:23 +02:00
Marcus Kida e7fe60f7d0
Fix broken code 2023-05-09 16:16:31 +02:00
Marcus Kida 141d3561dd
Only update current active user in-memory state 2023-05-09 16:07:08 +02:00
Marcus Kida 5dde21c2ae
Fix typo 2023-05-09 16:05:32 +02:00
Marcus Kida 3e6d75e1b5
Update in-memory following/blocking states upon (un)follow/block action (IOS-140) 2023-05-09 16:03:37 +02:00
Marcus Kida b8744c24fc
Fix UserView follower count label not supporting dynamic type (IOS-140) 2023-05-09 15:47:03 +02:00
Marcus Kida c7c635d32a
Implement MastodonAccountInMemoryCache (I)OS-140) 2023-05-09 11:15:28 +02:00
Marcus Kida 9d2e8eca16
Improve UserView button behavior (IOS-140) 2023-05-08 17:24:41 +02:00
Marcus Kida 096b1200b0
Improve follow/unbutton behavior (IOS-140) 2023-05-08 16:41:29 +02:00
Marcus Kida 92704dc7f7
Implement fetching of following / blocking for user list buttons (IOS-140) 2023-05-08 15:24:01 +02:00
Marcus Kida 4de184c85f
Merge branch 'develop' into IOS-140_Verified_Links 2023-05-05 15:40:46 +02:00
Nathan Mattes 96e9d8e5ad
Merge pull request #993 from mastodon/ios-37-hashtag-widget
Hashtag-Widget (IOS-152)
2023-05-05 15:35:57 +02:00
Nathan Mattes 0fbe54d368 Use colors from assets (IOS-152) 2023-05-05 15:15:37 +02:00
Marcus Kida f63b56bbf2
Make NSAttributedString extension allow multiple palceholder string replacements (IOS-140) 2023-05-05 14:48:02 +02:00
Marcus Kida 2f4ce19983
Fix verified link priority (IOS-140) 2023-05-05 14:47:38 +02:00
Marcus Kida 622953c649
Update MastodonSDK/Sources/MastodonUI/View/Content/UserView+ViewModel.swift
Co-authored-by: Nathan Mattes <hallo@bullenscheisse.de>
2023-05-05 14:28:12 +02:00
Marcus Kida de336e9341
Update MastodonSDK/Sources/MastodonUI/View/Content/UserView.swift
Co-authored-by: Nathan Mattes <hallo@bullenscheisse.de>
2023-05-05 14:26:36 +02:00
Nathan Mattes d406dcd553 Use better strings in strings-files, too (IOS-152) 2023-05-05 12:29:46 +02:00
Marcus Kida 40db0e36c0
Add missing L10n (IOS-140) 2023-05-05 10:07:47 +02:00
Marcus Kida 313d5e2d8a
Update colors for UserView (IOPS-140) 2023-05-04 11:56:34 +02:00
Marcus Kida d1d9e86244
Add missing L10n for IOS-140 2023-05-04 11:39:57 +02:00
Nathan Mattes e6e691b7aa Scroll enabled for large display zoom only (#1009) 2023-05-04 10:48:59 +02:00
Nathan Mattes 4066b26030 Put actions in scrollView (#1009) 2023-05-04 10:48:59 +02:00
Nathan Mattes 1829793ac5 Locale notfound/placeholder-texts (IOS-37) 2023-05-02 21:36:16 +02:00
Nathan Mattes 49307a316f Add localization (IOS-37) 2023-05-02 21:36:16 +02:00
Nathan Mattes a99f3a152b
Change text for alternative server-button (IOS-153) (#1030) 2023-05-02 20:20:13 +02:00
Marcus Kida e2a05cd747
Implement follow/unfollow/block in UserView (IOS-140) 2023-04-25 12:48:53 +02:00
Marcus Kida 52fb1eff1f
Begin implementing follow button on UserView (IOS-140) 2023-04-25 10:54:10 +02:00
Marcus Kida 3e14b9b6c5
Give display priority to Display name over Username (IOS-140) 2023-04-25 10:53:41 +02:00
Jed Fox 17dce25e07
Fix “hide sensitive content” button being hidden (#1024) 2023-04-22 21:46:34 +02:00
Marcus Kida fb4d5b9ea8
Implement switcheable vertical/horizontal layout (IOS-140) 2023-04-21 15:03:52 +02:00
Marcus Kida 3c877416d6
Improve formatter followers count (IOS-140) 2023-04-21 14:35:17 +02:00
Marcus Kida 645542c581
Begin implementing verified link in UserView (IOS-140) 2023-04-20 16:29:12 +02:00
Nathan Mattes 330555dbee Update strings 2023-04-19 22:49:21 +02:00
Jed Fox 124638a0cb
IOS-148 Updates to the media badging look & feel (#1019) 2023-04-19 22:38:58 +02:00
Jed Fox 391bc455ea
Fix new crash when closing compose VC (#1018) 2023-04-17 23:21:55 +02:00
Jed Fox ad5070d2b9
Trim whitespace from webpage titles in StatusCardControl (#1020) 2023-04-17 12:09:36 +02:00
Nathan Mattes b81ceb926c Update strings 2023-04-13 22:57:38 +02:00
Jed Fox e2ef9f07a1
Fix calculating the position of the keyboard in ComposeContentViewController (#909)
Co-authored-by: Marcus Kida <marcus.kida@bearologics.com>
2023-04-12 14:39:17 +02:00
Nathan Mattes b52e57ad1a Update localizations 2023-04-08 23:46:12 +02:00
Nathan Mattes 8c7da32950 Fix localization again 2023-04-08 23:30:15 +02:00
Nathan Mattes 5e1e22a723
Updated Welcome-Screen (IOS-134) (#1005) 2023-04-08 23:10:34 +02:00
Marcus Kida 560003f78b
Improve style of "Check your Inbox" screen IOS-139 (#1000) 2023-04-04 16:22:02 +02:00
Marcus Kida 7bdc37ac05
Improve Create Account VQA IOS-138 (#999) 2023-04-04 16:21:47 +02:00
Marcus Kida b4c08bf0c8
Make UITableView background color clear IOS-137 (#998) 2023-03-30 22:18:19 +02:00
Nathan Mattes ebcb837b9a Update strings 2023-03-28 21:50:15 +02:00
Nathan Mattes eb826fb310
Remove wizard (IOS-135) (#995) 2023-03-28 21:36:32 +02:00
Nathan Mattes 245543ea60 Fix broken localization
- (Re)-Add missing strings
- Fix keys
2023-03-27 21:29:38 +02:00
Nathan Mattes a53792507e Update localized strings 2023-03-27 17:13:27 +02:00
Marcus Kida 8f327d4c05
IOS-113 fix general vqa issues (#986) 2023-03-21 08:01:40 +01:00
Nathan Mattes 8060017880
IOS-113, bullet 4: Replace icons (#980)
Co-authored-by: Marcus Kida <marcus.kida@bearologics.com>
2023-03-20 08:45:28 +01:00
Jed Fox 414df3154a
IOS-92: Enlarge post action buttons at larger text sizes (#927) 2023-03-20 08:39:11 +01:00
Jed Fox f0753e9d0d
IOS-80 Add AXCustomContent to ProfileCardView (#979) 2023-03-20 08:02:41 +01:00
Marcus Kida 85ad331a5e
IOS-94: Improve accessibility of the onboarding intro (#972) 2023-03-17 11:16:58 +01:00
Marcus Kida f6f90bda9d
IOS-71: Read persons account name when going through statuses (#974) 2023-03-16 09:06:14 +01:00
Marcus Kida bb15e16959
IOS-82: Increase Contrast (#973) 2023-03-16 09:05:41 +01:00
Marcus Kida c1dab782b1
IOS-69: Label this “re-blog” otherwise it sounds like “reh-blog” (#975) 2023-03-15 14:58:25 +01:00
Nathan Mattes cd4cd66f61
Switch tabs in notification-screen (#969) 2023-03-13 20:37:55 +01:00
Jed Fox 2987149ba5
IOS-87: Add “Search” and “Explore” input labels for Search & Explore (#935)
Co-authored-by: Marcus Kida <marcus.kida@bearologics.com>
2023-03-13 12:54:52 +01:00
Jed Fox e6b8908ca5
IOS-75: Make StatusCardControl an accessibility element (#934)
Co-authored-by: Marcus Kida <marcus.kida@bearologics.com>
2023-03-13 12:54:40 +01:00
Nathan Mattes 0c224f47df
Implement post editing / edit history (#875)
Co-authored-by: Marcus Kida <marcus.kida@bearologics.com>
Co-authored-by: Jed Fox <git@jedfox.com>
2023-03-02 11:06:13 +01:00
Jed Fox 44f366083c
Improve the UX around post translation (#933) 2023-03-01 15:05:22 +01:00
Jed Fox b8f1304c56
Fix errors and some warnings when building with Swift 5.8 (#952) 2023-03-01 14:58:12 +01:00
Marcus Kida a0b318ad7b
Fix #902: Uploaded video get's distorted because aspect ratio is not maintained (#958) 2023-02-27 14:36:21 +01:00
Nathan Mattes eb0c0f395c
Fix Crash when publishing a new post (#947) 2023-02-23 21:56:18 +01:00
Jed Fox b70bab901a
IOS-88: Use post content as the primary user input label for posts in feeds/threads (#937) 2023-02-23 12:58:14 +01:00
Natalia Ossipova 157492a6af Move visibility switch to extension 2023-02-16 16:34:02 +01:00
Natalia Ossipova 2b3660086d Add icon for 'other' visibility 2023-02-16 16:23:02 +01:00
Natalia Ossipova 21d1a59e7b Show post visibility indicator 2023-02-15 14:18:55 +01:00
Jed Fox d3bcaa3f01
IOS-86: Edit L10n.Scene.Favorite.title from "Your Favorites" to "Favorites" (#936) 2023-02-14 22:29:53 +01:00
Marcus Kida 70d939c3ad
Merge pull request #924 from j-f1/poll-compose-a11y
IOS-72: Improve accessibility for the poll composer UI
2023-02-08 15:29:10 +01:00
Marcus Kida b178c0cff9
Refactor if/else in PollOptionRow 2023-02-08 15:25:55 +01:00
Jed Fox 8217f5ce28
Mark the poll editor as a group 2023-02-07 17:00:22 -05:00
Jed Fox 9f541957a7
Hide the circle and grabber icons from a11y tools 2023-02-07 16:57:08 -05:00
Jed Fox 5637056790
Add label to “Add Option” button 2023-02-07 16:56:49 -05:00
Jed Fox 7d8c40218c
Add move up / move down / remove option actions to poll options 2023-02-07 16:56:17 -05:00
Jed Fox 06183f5649
Refactor: remove unnecessary Published property 2023-02-07 16:52:09 -05:00
Jed Fox 952ae0f621
Expose metas in fields as accessibility actions 2023-02-07 15:36:27 -05:00
Marcus Kida 736c3b515f
fix(Widget): User lookup for widget does not yield correct result 2023-02-07 12:36:13 +01:00
Marcus Kida e88dea0034
Merge branch 'develop' into IOS-37_Widgets 2023-02-07 09:53:01 +01:00
Marcus Kida 6362eea3b9
Merge pull request #920 from j-f1/avatar-is-indeed-an-image
IOS-73: Mark AvatarButton as an image
2023-02-07 09:50:53 +01:00
Marcus Kida 5fc04dfc07
Merge pull request #918 from j-f1/user-search-a11y
IOS-77: Improve accessibility of account rows in search results/recent searches
2023-02-07 09:49:14 +01:00
Marcus Kida 8a1a483787
chore(Widget): Add missing L10n 2023-02-07 09:33:47 +01:00
Marcus Kida 0647cae24a
Merge branch 'develop' into IOS-37_Widgets 2023-02-07 08:18:35 +01:00
Jed Fox 2cb3f1263a
Mark AvatarButton as an image (IOS-73) 2023-02-06 22:42:56 -05:00
Jed Fox 21e4a81ca7
Make UserView accessible 2023-02-06 22:22:22 -05:00
Jed Fox 7e9655e903
Apply “translated from” label to StatusView accessibilityLabel 2023-02-06 21:52:26 -05:00
Jed Fox 32fbbc37c1
Move setupTranslationIndicator into StatusView.ViewModel 2023-02-06 21:51:07 -05:00
Jed Fox 97f5132977
Add a “Show Original” accessibility action to statuses when relevant 2023-02-06 21:39:41 -05:00
Jed Fox ab7166017b
Fix typo: “Shown Original” 2023-02-06 21:39:41 -05:00
Jed Fox 9c30ecd9c0
Make the translation info view accessible at the root of a thread 2023-02-06 21:39:41 -05:00
Marcus Kida 3b87916d9a
chore(Feed): Improve Feed performance by fetching statuses in batches (#914) 2023-02-07 00:46:35 +01:00
Marcus Kida 998ed3b307
chore(Widget): Implement L10n for mock account 2023-02-06 19:57:33 +01:00
Marcus Kida b5dca48cb2
feat(Widget): Implement L10n 2023-02-06 12:13:29 +01:00
Marcus Kida d685b9e365
Add LatestFollowersWidget 2023-02-06 11:39:40 +01:00
Jed Fox 0a9689c67f
Add support for selecting the post language (#907)
* Basic fake language picker support

* Recognize languages from post text

* Exclude suggested languages from recents

* Load recent languages from Settings object

* Send the language to the API

* Persist the used language to settings

* Always show the currently selected language in the list

* Fix crash

* Add support for picking arbitrary lanuages

* Fix display of 3 letter language codes

* Improve label to include endonym too

* Limit to 3 recent languages

* Reduce lower bound for displaying language suggestions

* Fix saving recent language when publishing

* Fix tint color of language picker button

* Add a badge to prompt users to change language

* Dismiss the badge even if you pick the same language

* Read language names in the language if possible

* Use a compressed font for 3-letter codes

Also use `minimumScaleFactor` to shrink troublesome codes to fit

Co-Authored-By: samhenrigold <49251320+samhenrigold@users.noreply.github.com>

* Remove .vscode/launch.json

* Add message to fatalError()

Co-authored-by: samhenrigold <49251320+samhenrigold@users.noreply.github.com>
2023-01-24 01:50:10 +01:00
Marcus Kida 6685470652
Update Colors (#906) 2023-01-24 01:49:41 +01:00
Marcus Kida 6e45f8fcd0
Merge branch 'develop' into IOS-31_ActionExtension 2023-01-11 15:31:57 +01:00
Marcus Kida 83f4eb1d8e
Merge pull request #862 from mastodon/fix-urlscheme-profile-resolve
fix(deeplinking): Fix profile resolving didn't use WebFinger so resolving non-local profiles might fail
2023-01-11 15:31:22 +01:00
Marcus Kida 5daaa5a32f
feat(AppExtension): Improve open in link validation, add L10n 2023-01-11 15:12:11 +01:00
woxtu 864ec73a9a
Remove Kingfisher (#858)
* Replace image type detection

* Replace image processing

* Remove Kingfisher
2023-01-11 09:10:04 +01:00
Marcus Kida 7582fb5ab5
fix(deeplinking): Fix profile resolving didn't use WebFinger so resolving non-local profiles might fail 2023-01-10 16:40:55 +01:00
Marcus Kida 042166a282
Revert "chore(i18n): Update strings"
This reverts commit be3b91e334.
2023-01-09 10:33:40 +01:00
Marcus Kida be3b91e334
chore(i18n): Update strings 2023-01-09 10:18:23 +01:00
Nathan Mattes 77826956e8 Fetch all servers for login-auto-complete (#690)
so far, only those with an open registration were available. Server needs to be adjusted as well.
2023-01-07 13:02:59 +01:00
Nathan Mattes efafefac48 Add missing localization (#690) 2023-01-07 13:02:59 +01:00
Nathan Mattes ade95302ca Localize and style resend-button (#690) 2023-01-07 13:02:59 +01:00
Nathan Mattes de87424f53 Add button to resend email (#690)
Make it work (<- we're here)
Make it right
Make it fast
2023-01-07 13:02:59 +01:00
Nathan Mattes 1f7298c6b9 Fix eh wrong eh translation? 2023-01-07 13:02:59 +01:00
Nathan Mattes 2be1cabca7 Remove navigation-view on email-confirmation (#690) 2023-01-07 13:02:59 +01:00
Nathan Mattes 9e1dbe1dff Fix email-confirmation-screen-title (#690)
what a word.
2023-01-07 13:02:59 +01:00
Nathan Mattes 18e25aea30 Localize username-suggestion (#690)
Please be aware of the username-requirements, when changing the localized versions.
2023-01-07 13:02:59 +01:00
Nathan Mattes 3e76f43637 Add username-suggestion (#690) 2023-01-07 13:02:58 +01:00
Marcus Kida 98421802eb chore(onboarding): Update hill images and animation 2023-01-07 13:02:58 +01:00
Nathan Mattes 7f60eb1608 Fix search-bar-placeholder for server-picker (#690) 2023-01-07 13:02:58 +01:00
Nathan Mattes 1cbe623bd4 Add strings for signup-speed (#690) 2023-01-07 13:02:58 +01:00
Nathan Mattes 7c8c5fe214 Add language-selector (#690)
For now, it searches for German servers only because.
2023-01-07 13:02:58 +01:00
Nathan Mattes 5e4820739f Download languages (#690) 2023-01-07 13:02:58 +01:00
Nathan Mattes e074ee63b7 Adjust registration-screen to match updated design (#690)
Please note: this doesn't contain any logic, yet. It's solely UI.
2023-01-07 13:02:58 +01:00
Nathan Mattes 18e313fbe4 Set color for privacy-cells (#690)
Also: Make light blurple the dark-mode-version of blurple
2023-01-07 13:02:58 +01:00
Nathan Mattes 62fe8d5881 Fix some colors (#690) 2023-01-07 13:02:58 +01:00
Nathan Mattes 669716208e Set new title for account-creation (#690) 2023-01-07 13:02:58 +01:00
Nathan Mattes 2e4ff59bc2 Add some localization here and there (#690) 2023-01-07 13:02:58 +01:00
Marcus Kida 96f51f039d Implement mastodon wordmark on WelcomeContentPage 2023-01-07 13:02:58 +01:00
Nathan Mattes 4f304f39fc Get rid of title (#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
Marcus Kida b3a4967c80
Merge pull request #800 from ivannnito/Issue_732
Change background color and text color to improve text readability for visually impaired prompt.
2023-01-06 14:43:49 +01:00
Marcus Kida a0a8a28c88
chore(compose): Update ALT input to reflect Figma design 2023-01-06 14:19:34 +01:00
Marcus Kida 61465a8f9f
Merge branch 'develop' into Issue_732 2023-01-06 13:55:19 +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 318c734f4b
Merge branch 'develop' into Warning-fix 2023-01-06 11:41:05 +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
Marcus Kida 6180159899
Merge branch 'develop' into feature/emoji-picker-structure 2023-01-05 17:02:20 +01:00
Marcus Kida 6beaabbe32
Merge branch 'develop' into fix-warnings 2023-01-04 15:12:51 +01:00
jinsu kim 843eeed616 Leave data loading to ThreadViewModel 2023-01-02 00:26:15 -08: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
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
Marcus Kida bb1c003228
Merge pull request #833 from mastodon/IOS-6_implement_short_status_action_counts
feat: Implement abbreviated status counts
2022-12-29 08:10:46 +01:00
woxtu d5d9080815 Replace deprecated properties 2022-12-29 00:47:53 +09:00
Marcus Kida 6c260f942f
feat: Implement abbreviated status counts 2022-12-28 11:59:24 +01:00
Nathan Mattes b65bf9155b Somehow swiftgen didn't run once? 2022-12-26 20:08:08 +01:00
Nathan Mattes 33be360979 Set color of playback-button
White on light gray doesn't look good, now it's at least visible.
2022-12-26 20:07:19 +01:00
Nathan Mattes 6c6978c524
Merge pull request #805 from marysaka/fix/reduce-attachment-constraints
Accept missing metadata on attachments
2022-12-26 19:46:51 +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 f26f36a60b Slightly adjust code (#806)
Renaming, remove iOS-checks.
2022-12-26 15:29:45 +01:00
Mary deb977707a Address comments 2022-12-25 12:04:59 +01:00
Iván Dombiak 93eeface69 Adding inset to the text of the user due to the prompt having the inset but not the user text. 2022-12-23 20:26:28 -08: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
Iván Dombiak c89ff95f0c Extended the border of the visibility of the visually impaired prompt and moved the text inwards.
Please let me know if any other change should be made.
2022-12-23 14:27:13 -08:00
Nathan Mattes dc1f65e0b5
Merge pull request #810 from woxtu/defer
Remove a redundant defer
2022-12-23 20:33:18 +01:00
Jed Fox d0812f4275
Further improve HUDButton 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
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
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
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
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
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
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