Commit Graph

5738 Commits

Author SHA1 Message Date
Nathan Mattes e040402a58 Choose a better name for the former managedObjectContext 2023-06-20 20:05:39 +02:00
Nathan Mattes 59ee2d333d Replace singleton with dependency injection 2023-06-20 19:47:29 +02:00
Nathan Mattes 8f3a0533e8 Rename CoreData-setting 2023-06-16 17:42:25 +02:00
Nathan Mattes dea59ac820
Merge pull request #1062 from mastodon/migrate-auth
Authentication Migrations
2023-06-13 15:46:06 +02:00
Nathan Mattes c5bba298ac Improve log statement
🤦

Co-authored-by: Marcus Kida <marcus.kida@bearologics.com>
2023-06-13 15:11:50 +02:00
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 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
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
Nathan Mattes 8b69ff3acd
Merge pull request #1058 from j-f1/video-play-button
IOS-119 Video attachment adjustments
2023-06-13 14:46:06 +02:00
Jed Fox c45e40b21e
IOS-159: Fix tap location check for dismissing media preview (#1059) 2023-06-07 11:35:05 +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
Jed Fox 4aff4c65c5
Fix loading of follower/following count on profile pages (#1053) 2023-05-30 08:32:10 +02:00
Nathan Mattes 823a478e0f Bump version 2023-05-26 13:17:47 +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 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 8b7e491590 Fix search-button on empty-view (IOS-157)
Wasn't tappable on iPhone
2023-05-25 14:42:00 +02:00
Nathan Mattes 71d8cfb485 Fix name for development (IOS-157) 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