Commit Graph

1914 Commits

Author SHA1 Message Date
Nathan Mattes 49c273e056 Increment number of errors by one (#898) 2023-07-20 11:49:47 +02:00
Nathan Mattes 9699e93169
Merge pull request #1089 from j-f1/fix-double-tap-image-text
Restore zoom behavior when double-tapping on text in an image
2023-07-04 16:36:59 +02:00
Nathan Mattes cc2f7f0b8c
Hide activity indicator in case of no emojis (#1088) 2023-07-04 16:08:11 +02:00
Jed Fox 967b7e5b53
Prioritize the double-tap-to-zoom gesture over other double-tap gestures 2023-07-04 08:49:55 -04:00
Jed Fox e16185fa71
Remove unused long press gesture recognizer 2023-07-04 08:49:26 -04:00
Nathan Mattes e50b9e13a6
Add belarusian localization (#1083) 2023-07-04 10:26:30 +02:00
Nathan Mattes 06e9e3c990 Fix build 🤦 (IOS-171) 2023-07-02 14:52:34 +02:00
Nathan Mattes 4b5151bb39 Get servers and choose one randomly for signup (IOS-171)
Server list from backend has a weight which plays a role in which server gets selected.
mastodon.social is the fallback in case something goes wrong
2023-07-02 14:43:49 +02:00
Jed Fox bd1339e9f2
Hide the entire top toolbar for videos & audio (#1070) 2023-06-29 08:54:10 +02:00
Nathan Mattes 7b08403035 Add menu-action to untranslate a translated status (IOS-103) 2023-06-13 15:30:30 +02:00
Nathan Mattes d455da85d2 Add follow/unfollow-option to user-section (IOS-103) 2023-06-13 15:30:30 +02:00
Nathan Mattes 846fa44369 Refactor action-menu to better support sections (IOS-103) 2023-06-13 15:30:30 +02:00
Nathan Mattes 081727865f Show correct checkmark 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 58ddb2bd06 Fix build (#1053) 2023-06-13 14:47:43 +02:00
Nathan Mattes 8df4729cdd Load profile 2023-06-13 14:47:43 +02:00
Nathan Mattes 5513174696 Apply differences on main-queue
This fixes a lot of warnings in Console when searching for a server
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
Jed Fox c45e40b21e
IOS-159: Fix tap location check for dismissing media preview (#1059) 2023-06-07 11:35:05 +02:00
Nathan Mattes 8804432b60
Fix Brand Color (IOS-160) (#1054) 2023-06-02 09:52:12 +02:00
Jed Fox 4aff4c65c5
Fix loading of follower/following count on profile pages (#1053) 2023-05-30 08:32:10 +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 3597e69f3c Use same way to run stuff on main everywhere (IOS-157) 2023-05-25 15:31:03 +02:00
Nathan Mattes 02d305e482 Update localizations (before release) 2023-05-25 14:50:30 +02:00
Nathan Mattes 8b7e491590 Fix search-button on empty-view (IOS-157)
Wasn't tappable on iPhone
2023-05-25 14:42:00 +02:00
Nathan Mattes 63a79b1cfe Fix Suggestion-screen on iPad (IOS-157)
Follow-button wasn't attached to the right side
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 5daf944384 Dismiss after following all (IOS-157) 2023-05-25 14:42:00 +02:00
Nathan Mattes 9c19bf2985 Fix build (IOS-157) 2023-05-25 14:42:00 +02:00
Nathan Mattes ce897a0e05 Fix navigation-bar-style (IOS-157) 2023-05-25 14:42:00 +02:00
Nathan Mattes 2b59def31e Don't set title for profile-screen when modal (IOS-157)
aka when account-suggestion-screen
2023-05-25 14:42:00 +02:00
Nathan Mattes e20b2e4e11 Present suggestions when user visits onboarding and doesn't follow people (IOS-157) 2023-05-25 14:42:00 +02:00
Nathan Mattes 11bab5e337 Make button-state work (IOS-157)
Reason for button-state not working/updating feels like to be a weird combination of Combine, UIKit, Snapshots, CoreData and me being stupid and not getting a hang on it.
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 e06d852d78 Add emoji-support (IOS-157) 2023-05-25 14:42:00 +02:00
Nathan Mattes c4db4afcdb Kill some log-messages along the way (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 a1315b9006 Re-introduce viewModel for each cell and set button-state (IOS-157)
We need this viewModel for the button--state of the follow-button.
There's still a runtime-issue that resets the button-state to follow.
2023-05-25 14:42:00 +02:00
Nathan Mattes 1cd7bc9105 Make follow work (IOS-157)
The secret is to set the delegate before getting the account. This doesn't feel right.
2023-05-25 14:42:00 +02:00
Nathan Mattes e4578686e3 Follow all suggested user accounts (IOS-157) 2023-05-25 14:42:00 +02:00
Nathan Mattes 9b0e503603 Minor UI-fixes (IOS-157)
- NavigationBar
- ContentInset for TableView
2023-05-25 14:42:00 +02:00
Nathan Mattes cfc60e6721 Add footer-view to follow all suggested accounts (IOS-157)
- Also: Rename folder as this contains not only the cell anymore
- This is just UI, follow-function is still missing
2023-05-25 14:42:00 +02:00
Nathan Mattes a30c77c783 Use UserView etc. to present suggested people to follow (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 b3309b4bd0 Show only five accounts (IOS-157) 2023-05-25 14:42:00 +02:00
Nathan Mattes 66ce4802ef Cleanup/Style TableView (IOS-157) 2023-05-25 14:42:00 +02:00
Nathan Mattes c0532d7b56 Remove collection view from suggestion-screen (IOS-157) 2023-05-25 14:42:00 +02:00
J c3c94f15a9
Call apiService in viewDidAppear (#825) 2023-05-25 14:18:51 +02:00
Nathan Mattes b3ff75b7f9
Add Greek Localization (#1050) 2023-05-20 13:57:09 +02:00
woxtu d24fe00420
Fix the alt text view initialization (#1047) 2023-05-15 14:21:43 +02:00
Marcus Kida 3a05799df8
Remember notifications tab after app restart (#1048) 2023-05-15 14:12:41 +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 496be0c4df
Merge branch 'IOS-140_Verified_Links' of github.com:mastodon/mastodon-ios into IOS-140_Verified_Links 2023-05-09 15:44:45 +02:00
Marcus Kida dbf6e6b467
Remove duplicate code (IOS-140) 2023-05-09 15:44:39 +02:00
Marcus Kida a7485eba29
Update Mastodon/Diffable/User/UserSection.swift
Co-authored-by: Nathan Mattes <hallo@bullenscheisse.de>
2023-05-09 15:31:54 +02:00
Marcus Kida 93533654f8
Remove dead code 2023-05-09 11:36:19 +02:00
Marcus Kida 5efdb3c209
Revert FollowedBlockedUserIdProviding (IOS-140) 2023-05-09 11:33:31 +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 d253143969
Fix typo 2023-05-08 15:25:11 +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 05c35e9bd4 Set timezone for joined-dates to UTC (#1015)
Fixes #1015
2023-05-04 10:48:12 +02:00
Nathan Mattes d3680618da Add relevant base-classes for Hashtag-Widget (IOS-37) 2023-05-02 21:35:40 +02:00
Marcus Kida 1816c7ce1a
Implement UserView follow button on SearchResultsViewController (IOS-140) 2023-04-25 14:00:57 +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 645542c581
Begin implementing verified link in UserView (IOS-140) 2023-04-20 16:29:12 +02:00
woxtu 2214bb7342
Remove a duplicate condition (#1021) 2023-04-19 22:40:09 +02:00
Jed Fox 124638a0cb
IOS-148 Updates to the media badging look & feel (#1019) 2023-04-19 22:38:58 +02:00
Marcus Kida 75bde8258f
IOS-95: Mark filter buttons as a11y buttons (#1011) 2023-04-17 21:51:15 +02:00
Nathan Mattes 0b9277db37
Center image (IOS-145) (#1010) 2023-04-12 14:04:19 +02:00
Nathan Mattes 21f57d3623
Enable missing parallax-effect (IOS-134) (#1008) 2023-04-12 14:04:06 +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
Nathan Mattes 1672121675
Set padding by hand (#413) (#1001) 2023-04-01 22:11:41 +02:00
Marcus Kida 087a02c8da
Improve server rules in onboarding according to VQA (#996) 2023-03-28 21:44:51 +02:00
Nathan Mattes eb826fb310
Remove wizard (IOS-135) (#995) 2023-03-28 21:36:32 +02:00
Marcus Kida b7508f8fb6
IOS-132: Server picker VQA improvements (#994) 2023-03-28 11:13:13 +02:00
Nathan Mattes 245543ea60 Fix broken localization
- (Re)-Add missing strings
- Fix keys
2023-03-27 21:29:38 +02:00
Marcus Kida 41d3d8a7c6
IOS-131: Remove blurry background, make pageControl background promintent, remove inset (#991) 2023-03-27 15:41:33 +02:00
Marcus Kida 0c239a7882
IOS-129: Redesign onboarding buttons and add loading indicator on Next-Button (#989) 2023-03-23 07:51:23 +01: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
Bedir Ekim 0dd8a9178e
Unnecessary Space Deleted (#984) 2023-03-20 08:27:15 +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
Nathan Mattes 245582961b
IOS-123: Open profiles and statuses in app (#981) 2023-03-17 10:47:19 +01:00
Marcus Kida bb15e16959
IOS-82: Increase Contrast (#973) 2023-03-16 09:05:41 +01:00
Marcus Kida 73ce92216a
IOS-110: Fix Cannot switch accounts when large content viewer is enabled (#976) 2023-03-16 00:18:22 +01:00
Marcus Kida d85b151757
IOS-96: Label Privacy Policy links as links/buttons in the onboarding (#971) 2023-03-15 14:53:06 +01:00
Marcus Kida 71a72d2581
IOS-97: Improve labelling of username field on Create Account screen (#970) 2023-03-15 14:52:49 +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
Jed Fox 4dbf8d35ec
Don’t assertionFailure() when tapping on non-status cells (#963) 2023-03-13 11:34: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
Marcus Kida 2b805872cc
Fixes #942 - Tapping home button or Pull to Refresh does not reload (#960) 2023-03-01 16:41:20 +01:00
Jed Fox 44f366083c
Improve the UX around post translation (#933) 2023-03-01 15:05:22 +01:00
Nathan Mattes 75e1dc3abd
Update server-list-sorting during onboarding (IOS-116) (#956) 2023-02-25 12:35:29 +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
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 fe12019370
Change random server picking logic to require "general" category, prefer no approval and own language code (#929) 2023-02-08 23:41:49 +01:00
Marcus Kida d7c9b1ded7
Merge pull request #923 from j-f1/profile-about-a11y
IOS-76: Improve accessibility of the About fields on profiles
2023-02-08 11:05:38 +01:00
Jed Fox eef98ea70b
Fix large content viewer for DoubleTitleLabelNavigationBarTitleView 2023-02-07 21:20:39 -05:00
Jed Fox 952ae0f621
Expose metas in fields as accessibility actions 2023-02-07 15:36:27 -05:00
Jed Fox 5a3afef978
Make ProfileFieldCollectionViewCell an accessibility element 2023-02-07 13:27:45 -05:00
Jed Fox f1099326d9
Fix typo in method name 2023-02-07 13:12:49 -05:00
Marcus Kida a6dc97b22b
Merge pull request #915 from mastodon/IOS-37_Widgets
Feature: Followers, Multiple Followers, Latest Followers Widget
2023-02-07 13:54:47 +01:00
Marcus Kida 9a3ba02683
feat(App): Implement Haptic Feedback for Tab switches and Timeline reload 2023-02-07 11:38:07 +01:00
Marcus Kida e88dea0034
Merge branch 'develop' into IOS-37_Widgets 2023-02-07 09:53:01 +01:00
Marcus Kida 9f40f4ae0f
Merge pull request #919 from j-f1/recent-searches-heading
IOS-78: Mark “Recent searches” as a heading
2023-02-07 09:49:48 +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 f4b3f7550a
Merge pull request #917 from j-f1/translated-info-view-a11y
IOS-81: Make “Translated From” UI accessible
2023-02-07 09:48:16 +01:00
Marcus Kida 0647cae24a
Merge branch 'develop' into IOS-37_Widgets 2023-02-07 08:18:35 +01:00
Jed Fox e6a9a14361
Update label for X button next to Recent searches from “close” to “clear” 2023-02-06 22:35:03 -05:00
Jed Fox 3b4d782325
Mark “Recent searches” as a heading (IOS-78) 2023-02-06 22:32:30 -05:00
Jed Fox 21e4a81ca7
Make UserView accessible 2023-02-06 22:22:22 -05:00
Jed Fox d933f2d0cb
Fix sizing of userView in search history 2023-02-06 22:08:38 -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
Jed Fox 5118649dd4
IOS-67: Add the “Header” and “Button” traits to the logo button 2023-02-06 21:15:13 -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 d685b9e365
Add LatestFollowersWidget 2023-02-06 11:39:40 +01:00
Marcus Kida 8438bbc032
chore(Widget): Rename MultiFollowersCountSmallIntent -> MultiFollowersCountIntent 2023-01-31 14:55:59 +01:00
Marcus Kida 9eb26d4ed8
feat(Widget): Implement MultiFollowersCountWidget for single Column 2023-01-31 14:37:49 +01:00
Marcus Kida 5a3636cb22
feat(Widget): Implement FollowersCountIntent 2023-01-24 11:15:21 +01:00
Marcus Kida c0cd51c0d4
fix(Mention): Fixes an issue where user Profiles are not found because matching is not done via href (#895) 2023-01-19 13:47:16 +01:00
Marcus Kida 37678caed5
Merge pull request #878 from mastodon/IOS-31_ActionExtension
Feature: Action Extension
2023-01-12 10:24:20 +01:00
Marcus Kida 412d9b6fc8
Merge pull request #877 from j-f1/username-align
Left-align the username in the profile header
2023-01-12 10:24:03 +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 68fe3cb8f2
feat(ActionExtension): Implement Open in Search as Fallback 2023-01-11 13:09:23 +01:00
Jed Fox df25feb7fd
Left-align the username in the profile header 2023-01-10 17:57:09 -05: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 35dfd13c96
fix(share-menu): Fixes URL for shared status when using suare.and.arrow.up share menu on status 2023-01-09 15:48:56 +01:00
Nathan Mattes 35d9caabbe Minor cleanup here and there (#690) 2023-01-08 15:34:16 +01:00
Nathan Mattes d220949514 Remove obsolete dependency (#690) 2023-01-08 15:25:52 +01:00
Nathan Mattes f9661db0df Remove duplicated code (#690) 2023-01-08 15:15:31 +01:00
Nathan Mattes 485ecc8e57 Fix title for login-screen (#690)
Was a norma label, is the _real_ title now
2023-01-08 14:53:15 +01:00
Nathan Mattes 023e70ebcb Add page control (#690) 2023-01-08 14:25:22 +01:00
Nathan Mattes 04f19b6b9d Fix content-page-size (#690) 2023-01-08 13:35:08 +01:00
Nathan Mattes 44d85e0263 Replace the pagecontrol with a collection view (#690)
Scrolling wasn't smooth with pageviews, as they do some black magic with scrollviews (like resetting contentOffset). If you depend on contentOffset, this breaks things and makes them hard.
2023-01-07 16:02:46 +01:00
Nathan Mattes 8ff47a72d0 Make blurry-view lighter (#690) 2023-01-07 13:15:25 +01:00
Nathan Mattes 1aa3a20997 Add a blurry background (#690) 2023-01-07 13:03:21 +01:00
Nathan Mattes 77beff55d5 Fix text-color for education-screens (#690)
In dark mode, the text was white and so unreadable
2023-01-07 13:03:21 +01:00