Commit Graph

1037 Commits

Author SHA1 Message Date
Nathan Mattes 58501da5fa Merge branch 'develop' into ios-192-profile-about
# Conflicts:
#	Mastodon/Scene/Profile/UserList/FavoritedBy/FavoritedByViewController+DataSourceProvider.swift
#	Mastodon/Scene/Profile/UserList/RebloggedBy/RebloggedByViewController+DataSourceProvider.swift
#	Mastodon/Scene/Profile/UserList/UserListViewModel+Diffable.swift
#	Mastodon/Scene/Profile/UserList/UserListViewModel+State.swift
2024-01-03 17:30:56 +01:00
Nathan Mattes 2119c9de0b
Merge pull request #1196 from mastodon/ios-214-refactor-userlist
Use accounts on FavoritedBy/RetootedBy-screens (IOS-214)
2024-01-03 17:13:15 +01:00
Nathan Mattes 9a25d20e02 Replace another user with an account (IOS-192) 2024-01-02 23:10:17 +01:00
Nathan Mattes 45028373d4 Store accounts in container (IOS-192)
In case you see an empty app: Add your account again.

Background: As we need access to the account from the extensions and the extensions can't access the documents-directory but the group-container, well, the accounts will live there from now on.
2024-01-02 23:05:25 +01:00
Nathan Mattes 7f26dfa6d6 Fix warnings and remove unused code (IOS-192) 2024-01-02 15:37:07 +01:00
Nathan Mattes d1b5b9fc98 Localize button-title for blocked domains (IOS-192) 2024-01-02 15:36:26 +01:00
Nathan Mattes bdb1853b18 Merge branch 'remove_status' into ios-192-profile-about 2024-01-02 12:19:28 +01:00
Nathan Mattes 96fddaef27 192-profile-about
# Conflicts:
#	Mastodon/Protocol/Provider/DataSourceFacade+Status.swift
#	Mastodon/Scene/Profile/Header/View/ProfileHeaderView+ViewModel.swift
#	Mastodon/Scene/Profile/ProfileViewController.swift
#	MastodonSDK/Sources/MastodonUI/ViewModel/RelationshipViewModel.swift
2024-01-02 12:15:15 +01:00
Marcus Kida 54b020ff61
Remove dead code 2024-01-02 11:32:27 +01:00
Nathan Mattes a6aa4291f6 Remove obsolete wrapper-code 2024-01-01 20:10:37 +01:00
Nathan Mattes ab7b0584dd Replace more users with account (IOS-192)
In Edit and notification
2024-01-01 20:10:22 +01:00
Nathan Mattes 4764116efc Use account to determine status-visibility (IOS-192) 2024-01-01 20:10:00 +01:00
Nathan Mattes 8e7e16870c Fix some warnings (IOS-192)
As relationship-information isn't optional anymore, there' no need for ?? everywhere (I just missed some)
2023-12-31 12:59:39 +01:00
Nathan Mattes 922f7116dd Use account for reblogged statuses (stati?) (IOS-192) 2023-12-31 12:59:39 +01:00
Nathan Mattes 47986262bc Use relationships in Report-process (IOS-192) 2023-12-31 12:59:39 +01:00
Nathan Mattes bb3ad77954 Remove persistence for tags (IOS-192)
Was connected to `let me = authenticationBox.authentication.user(in: managedObjectContext)`
2023-12-31 12:59:39 +01:00
Nathan Mattes 77f0f28960 Don't persist follow-requests (IOS-192) 2023-12-31 12:59:39 +01:00
Nathan Mattes 71b28cb977 We don't use the author when composing toots (IOS-192) 2023-12-31 12:59:39 +01:00
Nathan Mattes c0e08c4482 Fix warnings (IOS-192) 2023-12-31 12:59:39 +01:00
Nathan Mattes 460ede4852 User UserIdentification for search and accounts (IOS-192)
Thanks to @kimar!
2023-12-31 12:59:38 +01:00
Nathan Mattes 2a14e293e9 Move directory-stuff into its own FileManager-file (IOS-192) 2023-12-31 12:57:56 +01:00
Nathan Mattes 6225c50008 Add some actions to Relationship-action-button (IOS-192)
Well, it's basically just unblock, unmute or follow/unfollow
2023-12-31 12:57:56 +01:00
Nathan Mattes dda0ae2d7c Show text on relationship-button based on relationship (IOS-192) 2023-12-31 12:57:56 +01:00
Nathan Mattes 76304e59e5 Configure Profile-button based on relationship and accounts (IOS-192)
Also `me` is not optional anymore as we need it
2023-12-31 12:57:56 +01:00
Nathan Mattes d189119014 Remove obsolete Core Data-controller 2023-12-31 12:57:56 +01:00
Nathan Mattes 6aea178609 Add relationship to ProfileViewModel (IOS-192) 2023-12-31 12:57:56 +01:00
Nathan Mattes 16250b440d Fix domain 🤦 (IOS-192) 2023-12-31 12:57:56 +01:00
Nathan Mattes 6cc069ec5b Try to fix domain (IOS-192) 2023-12-31 12:57:56 +01:00
Nathan Mattes f373506aa3 Remove user from UserItem-lists (IOS-192)
Also: Remove CoreData and replace User with Account in several places
2023-12-31 12:57:56 +01:00
Nathan Mattes f51d5b7fe2 Replace MastodonUser.ID with string (IOS-192) 2023-12-31 12:57:56 +01:00
Nathan Mattes 9046b8b8c8 Remove placeholder (IOS-192) 2023-12-31 12:57:56 +01:00
Nathan Mattes 60aafe6330 Add JSON-based account-persistence (IOS-192)
This is per user.

Also: Fetch authenticated accounts regularly
Also: Move Persistence-stuff to MastodonCore because.
2023-12-31 12:57:56 +01:00
Nathan Mattes d3c7ba2c7c Show header-meta-information about account (IOS-192) 2023-12-31 12:56:59 +01:00
Nathan Mattes 8918d237ca Use placeholder for me (IOS-192) 2023-12-31 12:56:59 +01:00
Nathan Mattes 2be8d5b8df WIP: Comment out and replace user with status (IOS-192) 2023-12-31 12:56:59 +01:00
Nathan Mattes a9fc62eda4 Fix Documentation-URL 2023-12-31 12:54:09 +01:00
Nathan Mattes 682fe27319 Sprinkle in some deprecations to see what needs to be done with MastodonUser (IOS-192, IOS-189) 2023-12-31 12:54:09 +01:00
Marcus Kida bf433e332f
Address PR Feedback (IOS-176) 2023-12-28 13:47:07 +01:00
Marcus Kida 405b175bdf
Implement alternative Author for DataSourceFacade.MenuContext (IOS-176) 2023-12-27 14:46:31 +01:00
Marcus Kida 82cc0f2f3f
Tie JSON cache to domain based unique identifier 2023-12-27 10:35:00 +01:00
Nathan Mattes 4322607552 Localize Domain Block (IOS-5) 2023-12-19 13:12:32 +01:00
Nathan Mattes 8b02ba29dd UI/UX improvements and fixes (IOS-5)
- Blur images and hide bio/timeline
- Show correct texts (localization is about to come)
2023-12-19 12:14:58 +01:00
Nathan Mattes bc915e2ef9 Fix context for menu (IOS-5) 2023-12-19 11:28:12 +01:00
Nathan Mattes 7efe949c8e Remove duplicate code (IOS-5)
Stuff gets already updated in the other methods
2023-12-18 20:38:20 +01:00
Nathan Mattes 7a67b595a3 Add block-action to profile-menu (IOS-5) 2023-12-18 20:26:27 +01:00
Nathan Mattes 30314cdd34 Update relationship (IOS-5) 2023-12-18 20:20:32 +01:00
Nathan Mattes 910e101538 Add domain-block for MastodonUser (IOS-5) 2023-12-18 19:59:22 +01:00
Nathan Mattes 9a5b4a3621 Use accounts on FavoritedBy/RetootedBy-screens (IOS-214) 2023-12-15 15:51:35 +01:00
Marcus Kida 22324f4c1e
Fix Polls not showing up (IOS-213) 2023-12-14 16:33:50 +01:00
Marcus Kida b0bdaac8b4
Fix CW layout issues (IOS-207) 2023-12-08 14:29:01 +01:00
Marcus Kida d1ba457a2f
Remove status persistence (IOS-176) 2023-12-07 15:16:40 +01:00
Marcus Kida 1754375644
Fix favorited post might lose repost header (IOS-206) 2023-12-07 15:16:13 +01:00
Marcus Kida c30fb73922
Fix status deletion not updating data model (IOS-205) 2023-12-05 12:28:36 +01:00
Marcus Kida a4db8a2b90
Fix Poll appearance / layout / issues (IOS-201) 2023-12-05 11:52:47 +01:00
Marcus Kida 86d30887b6
Remove unused code 2023-12-04 14:36:31 +01:00
Marcus Kida 0f3c50ba8a
Fix non-ui-thread modification in when editing poll (IOS-203) 2023-12-04 14:31:38 +01:00
Marcus Kida 7323cb9d08
Fix missing poll information (IOS-201) 2023-12-04 11:48:48 +01:00
Marcus Kida 69a92c3d0f
Fix eventually incorrect domain used 2023-12-04 11:09:47 +01:00
Marcus Kida a1cd1690fa
Implement cache for Notifications (IOS-200) 2023-12-04 11:04:00 +01:00
Marcus Kida 63e45d65f9
Fix notifications show empty view (IOS-198) 2023-12-04 10:14:42 +01:00
Marcus Kida b57f38ddc5
Fix status eventuall nil MastodonNotification 2023-12-04 09:56:48 +01:00
Marcus Kida 5532324f83
Implement caching for home timeline items (IOS-176) 2023-12-01 10:47:18 +01:00
Marcus Kida e6ba8db5b6
Merge branch 'develop' into remove_status 2023-12-01 09:59:37 +01:00
Nathan Mattes 7b8898a1ae 🤦 (#1178) 2023-11-30 16:39:46 +01:00
Nathan Mattes 5928592aa7 Don't throw when one account can't be authenticated (#1178) 2023-11-30 16:35:53 +01:00
Marcus Kida 1f73bee772
Improve StatusFetchedResultsController update handling (IOS-176) 2023-11-28 12:23:14 +01:00
Marcus Kida 66b2bfd5cd
Fix missing case in StatusFetchedResultsController 2023-11-28 12:04:08 +01:00
Marcus Kida 7ad0b15b32
Fix bookmarked state (IOS-176) 2023-11-28 11:13:13 +01:00
Marcus Kida 45accb29e6
Fix CW cannot be hidden (IOS-176) 2023-11-28 10:46:24 +01:00
Marcus Kida 03aeb1fa7e
Merge branch 'develop' into remove_status 2023-11-28 09:50:56 +01:00
Marcus Kida a322a46fdf
Don't try to resolve self-relationship 2023-11-28 09:13:24 +01:00
Nathan Mattes 3ee2024c3b
Merge pull request #1177 from mastodon/ios-196-search
Remove CoreData for Tags/Users on Search
2023-11-27 15:04:21 +01:00
Marcus Kida cc3f1d030f
Merge branch 'develop' into remove_status 2023-11-27 14:02:39 +01:00
Marcus Kida c7d62d56a2
Fix handling of (re-)reblogged and favorites state in home timeline (IOS-176) 2023-11-27 11:18:43 +01:00
Nathan Mattes ad154a0c92 Update strings 2023-11-24 21:27:08 +01:00
Nathan Mattes d39aea7089 Update localizations 2023-11-24 21:24:21 +01:00
Marcus Kida 1a1eecac64 Delete authentication credentials from Keychain upon logout
Fixes #1181
2023-11-24 21:20:04 +01:00
Nathan Mattes 1514e5a2c2 Slight refactor paths (IOS-196) 2023-11-23 15:07:37 +01:00
Nathan Mattes 1e780481d1 Remove SearchHistory from Core Data (IOS-196) 2023-11-23 14:50:49 +01:00
Nathan Mattes 9c662f4d78 Remove FetchedResultsController for SearchHistory (IOS-196) 2023-11-23 14:30:53 +01:00
Nathan Mattes 59c6d31ca4 [WIP] Remove CoreData for Tags/Accounts in Search (IOS-196)
- Add basic, json-based persistence (it's WIP and pragmatic aka dirty, see FileManager+SearchHistory)
2023-11-23 13:58:56 +01:00
Marcus Kida e0671eb324
Reimplement favorite/reblog state (IOS-176) 2023-11-23 11:21:52 +01:00
Marcus Kida 9809e69751
Fix favorite action (IOS-176) 2023-11-22 21:18:25 +01:00
Marcus Kida e3f3e2c662
Merge branch 'develop' into remove_status 2023-11-22 13:22:49 +01:00
Marcus Kida 9ce078ce3e
Fix loading of home timeline (IOS-176) 2023-11-22 13:18:41 +01:00
Marcus Kida b010b6112e
Remove usage of Status (IOS-176) 2023-11-22 12:32:04 +01:00
Nathan Mattes 873c5befe2 Re-enable A11y (IOS-194) 2023-11-20 13:00:37 +01:00
Nathan Mattes 32520be6c9 Fix background color (IOS-194) 2023-11-20 12:35:13 +01:00
Nathan Mattes 4b298f6bd8 [WIP] Remove Core Data from Suggested Accounts/Familiar Followers (IOS-194) 2023-11-20 11:30:42 +01:00
Nathan Mattes a2aa9b70d2 Fix some warnings 2023-11-16 10:28:20 +01:00
Nathan Mattes 9947335b20 Use url for hashable/equatable (IOS-190)
and do some refactoring
2023-11-16 10:03:33 +01:00
Nathan Mattes 92fcd2e665 Make account conform to hashable (IOS-190) 2023-11-16 09:33:29 +01:00
Nathan Mattes ed426a950c Update strings 2023-11-15 12:52:07 +01:00
Marcus Kida e1f5d85a78
fix: weak link VisionKit to fix crash when running on iOS 16 (#1161) 2023-11-15 12:39:08 +01:00
Nathan Mattes b7a63239f6 Use correct language-code for Armenian 2023-11-14 13:41:54 +01:00
Nathan Mattes f29935af59 Fix build 🤦
Commit 6.000!
2023-11-14 13:03:14 +01:00
Nathan Mattes 9a6dd38e7f Update strings 2023-11-14 12:51:28 +01:00
Nathan Mattes 2f5169d0c3 Add pull to refresh (IOS-186) 2023-11-10 13:55:18 +01:00
Nathan Mattes 9975fd56d9 Make "Followed Hashtags"-screen work with entities (IOS-186) 2023-11-10 13:55:18 +01:00
Nathan Mattes d7c640908e
Merge pull request #1150 from mastodon/1147-armenian-localization
Add Armenian Localization (#1147)
2023-11-10 12:17:22 +01:00