Commit Graph

2173 Commits

Author SHA1 Message Date
Nathan Mattes 099cb724d0 Configure barbutton-items on profile-screen (IOS-192) 2023-12-31 12:57:56 +01:00
Nathan Mattes e7c1edbbc3 Persist user after login (IOS-192) 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 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 3abb80a5df Migrate UserList to use Accounts (IOS-192) 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 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 873f282ad1 Fix fields (IOS-192) 2023-12-31 12:56:59 +01:00
Nathan Mattes 34b962e3ca Remove me/remote-profile-viewmodel (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 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 80df919da1
Remove switch case 2023-12-27 10:42:56 +01:00
Marcus Kida 4874615739
Fix incorrectly named variable 2023-12-27 10:36:48 +01:00
Marcus Kida f6e5f539d6
Remove unused code 2023-12-27 10:35:49 +01:00
Marcus Kida 82cc0f2f3f
Tie JSON cache to domain based unique identifier 2023-12-27 10:35:00 +01:00
Marcus Kida 275fa53f80
Fix DataSourceFacade+Bookmark protocol constraints (IOS-176) 2023-12-27 10:32:14 +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 7a67b595a3 Add block-action to profile-menu (IOS-5) 2023-12-18 20:26:27 +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 d759a4b69a
Update posts on timeline and thread if edited (IOS-211) 2023-12-14 10:11:05 +01:00
Marcus Kida 9167260e30
Update datasource on delete statuses in timelines and thread (IOS-212) 2023-12-14 09:56:50 +01:00
Marcus Kida 31796f1680
Implement thread reload after publishing reply (IOS-176) 2023-12-13 15:09:37 +01:00
Marcus Kida 7fb8fcaca1
Fix issue caused by duplicate IDs after reloadingtimeline 2023-12-12 08:56:28 +01:00
Marcus Kida ab689d3c02
Fix status thread CW not shown and interacted status not updated (IOS-208, IOS-210) 2023-12-08 15:45:40 +01:00
Marcus Kida c30fb73922
Fix status deletion not updating data model (IOS-205) 2023-12-05 12:28:36 +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 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 5532324f83
Implement caching for home timeline items (IOS-176) 2023-12-01 10:47:18 +01:00
Marcus Kida 837d8dd329
Fix user profile not loaded from status on home timeline (IOS-176) 2023-12-01 10:14:12 +01:00
Marcus Kida e6ba8db5b6
Merge branch 'develop' into remove_status 2023-12-01 09:59:37 +01:00
Marcus Kida 28cdd67e8a
Fix sensitive toggled state for reblogs (IOS-176) 2023-12-01 09:57:25 +01:00
Marcus Kida 38423a14ca
Preserve isSensitiveToggled state when interacting with posts (IOS-176) 2023-12-01 09:52:41 +01:00
Marcus Kida 112dce06f5
Improve flickering when interacting with posts (IOS-176) 2023-12-01 09:52:08 +01:00
Nathan Mattes 624c3226d5 Only search for relationships if there are accounts (#1187)
Otherwise this would lead to a `badRequest`
2023-11-30 16:23:41 +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 9fed54db1f
Fix compile issues after resolving merge conflicts 2023-11-28 09:55:18 +01:00
Marcus Kida 03aeb1fa7e
Merge branch 'develop' into remove_status 2023-11-28 09:50:56 +01:00
Marcus Kida 167e0e4616
Fix translate not working (IOS-176) 2023-11-28 09:41:34 +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
Nathan Mattes 7d8af4ef35 Reload search-results when entering the screen (IOS-196) 2023-11-27 14:56:38 +01:00
Marcus Kida 831665141c
Fix tabbar avatar not visible (IOS-176) 2023-11-27 14:19:17 +01:00
Marcus Kida cc3f1d030f
Merge branch 'develop' into remove_status 2023-11-27 14:02:39 +01:00
Marcus Kida 9c5e193673
Reimplement timeline anchoring (IOS-176) 2023-11-27 13:44:26 +01:00
Marcus Kida faac99cd10
Fix duplicate entry after reblog (IOS-176) 2023-11-27 11:54:01 +01:00
Marcus Kida 4cb845e0bd
Fix manual refresh of home timeline not working (IOS-176) 2023-11-27 11:35:57 +01:00
Nathan Mattes 2846ce4e4b Show alert on iPad (#1172) 2023-11-24 12:26:47 +01:00
Nathan Mattes 315d15b256 Fix warnings 2023-11-23 15:47:51 +01:00
Nathan Mattes 361ad357db Clean search-history for one user only (IOS-196) 2023-11-23 15:33:28 +01:00
Nathan Mattes a44d4eed47 Make search work with different accounts (IOS-196) 2023-11-23 15:22:50 +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 6b0fe64262 Replace items instead of adding them (IOS-196) 2023-11-23 14:28:55 +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 1dfcf407e1
Merge branch 'develop' into remove_status 2023-11-23 11:24:25 +01:00
Marcus Kida e0671eb324
Reimplement favorite/reblog state (IOS-176) 2023-11-23 11:21:52 +01:00
Nathan Mattes aeaaf87b68
Merge pull request #1174 from mastodon/ios-195-familiar-followers
Use Entities for familiar followers (IOS-195)
2023-11-23 09:46:22 +01:00
Marcus Kida 9809e69751
Fix favorite action (IOS-176) 2023-11-22 21:18:25 +01:00
Marcus Kida 36d4f6ea15
Fix threads not working (IOS-176) 2023-11-22 17:01:59 +01:00
Marcus Kida e3f3e2c662
Merge branch 'develop' into remove_status 2023-11-22 13:22:49 +01:00
Marcus Kida d0893d5c69
Fix notifications timeline loading (IOS-176) 2023-11-22 13:18:51 +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 dd0025cdae
Merge pull request #841 from jinsu35/fix-issue-744
Fix bug - scrollToTop() should be called when current tab is selected
2023-11-21 17:18:19 +01:00
Nathan Mattes 1637f0e146 Fix warning 🤦 2023-11-21 17:12:17 +01:00
Nathan Mattes e894596108 Remove imports 2023-11-21 16:55:39 +01:00
Nathan Mattes 1fbc2a8d1c Remove delegate again (IOS-195) 2023-11-21 16:51:46 +01:00
Nathan Mattes 5a3a10071b Show the correct familiar followers and their relationships (IOS-195) 2023-11-21 15:26:10 +01:00
Nathan Mattes 74d1fbe89a Migrate FamiliarFollowers over to Entity (IOS-195) 2023-11-21 14:40:31 +01:00
Nathan Mattes 2c26b3f97e
Merge pull request #1169 from rizwankce/feature/double-tap-search
Add option to focus the search bar when double tapping the search tab
2023-11-21 12:57:01 +01:00
Nathan Mattes f825198182 Check for me (IOS-194) 2023-11-21 12:13:25 +01:00
Rizwan Mohamed Ibrahim 5b55be092a
Fix crash on iPad non primary display focusing search bar
Crash happens when we try to focus search bar when in iPad portrait because of custom hight search bar don't have correct intrinsic size
2023-11-21 11:53:13 +05:30
Rizwan Mohamed Ibrahim 450edb0574
Add double tap top focus search bar for iPad 2023-11-21 11:51:51 +05:30
Rizwan Mohamed Ibrahim cfcf20d899
Clean up commented out code related to me tab 2023-11-20 20:54:08 +05:30
Nathan Mattes 6cf5134ff6 Properly update button-state when following people (IOS-194) 2023-11-20 13:59:25 +01:00
Nathan Mattes 601d52c28f Consider relationship and replace follow-button (IOS-194) 2023-11-20 13:51:20 +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 c45252b294 Set properties based on Entity.Account (IOS-194) 2023-11-20 12:27:10 +01:00
Nathan Mattes 4b298f6bd8 [WIP] Remove Core Data from Suggested Accounts/Familiar Followers (IOS-194) 2023-11-20 11:30:42 +01:00
Rizwan Mohamed Ibrahim d1588dda98
Add option to focus the search bar when double tapping the search tab bar
- Enables double tap for tab bar(s)
- Hides double tap for me tab (as per previous comment)
- Adds search tab double tab option to focus the search bar
2023-11-17 14:46:00 +05:30
Nathan Mattes a2aa9b70d2 Fix some warnings 2023-11-16 10:28:20 +01:00
Nathan Mattes b6f3aa52de Update suggestions (IOS-190) 2023-11-16 09:33:29 +01:00
Nathan Mattes 6eadd41c43 Show account-details (IOS-190) 2023-11-16 09:33:29 +01:00
Nathan Mattes 49f6cd6d29 Use entities on suggestion-screen (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 a77db7c1ea
Merge pull request #1154 from mastodon/authentication-fixes
Authentication/Profile Fixes
2023-11-13 15:07:27 +01:00
Nathan Mattes c6df361e4f Do main-q stuff on main-q 2023-11-13 14:15:40 +01:00
Nathan Mattes f45aba91dc Fix crash when reordering rows
containerStackView.isLayoutMarginsRelativeArrangement lead to an endless loop, so this is more of a quickfix (Honestly? No idea if it works, but it doesn't crash anymore). I changed the leading/trailing to match `contentView.layoutMarginsGuide`
2023-11-13 14:15:31 +01:00
Nathan Mattes 6f6711458b Make profile edit-able again 2023-11-13 12:53:47 +01:00
Nathan Mattes 395da6f0c3 Minor cleanup (IOS-186) 2023-11-10 13:55:18 +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
Marcus Kida 5c834c7e09
IOS-175: Remove CoreData status edit (#1148) 2023-11-10 11:32:02 +01:00
Nathan Mattes 38b4ab062e Add Armenian Localization (#1147) 2023-11-10 11:05:17 +01:00
Nathan Mattes 48d7592a9a Don't run into an endless loop if no followers exist
See also 3fc2793
2023-11-09 12:11:14 +01:00
Nathan Mattes f3a7fe8320 Fix title 2023-11-09 11:52:31 +01:00
Nathan Mattes 83e45847fe Fix another warning 2023-11-09 11:39:01 +01:00
Nathan Mattes 32e656f342 Fix more warnings 2023-11-09 11:39:01 +01:00
Nathan Mattes 0c3313227b Fix warning 2023-11-09 11:39:01 +01:00
Nathan Mattes 96bea2ad95 Add pull to refresh to Followers-list 2023-11-09 11:39:01 +01:00
Nathan Mattes 10f2358247 Migrate Followers-list to work with Mastodon.Entity.Account instead of MastodonUser 2023-11-09 11:39:01 +01:00
Nathan Mattes e445564e0a Doublecheck fonts and constraints (IOS-130) 2023-11-09 11:25:57 +01:00
Nathan Mattes c764db270e Use different assets for dark/light-mode (IOS-130) 2023-11-09 11:25:57 +01:00
Nathan Mattes c0bdcc43a1 Refactor layout to center checkmark (IOS-130) 2023-11-09 11:25:57 +01:00
Nathan Mattes 59755b6d70 Adjust fonts, icon and colors for updated verified-design (IOS-130) 2023-11-09 11:25:57 +01:00
Nathan Mattes 77bf1ab03d Use correct domain to find users 2023-11-04 15:11:42 +01:00
Nathan Mattes 3fc27936d6 Replace listbatch-model for Following-list with UIScrollViewDelegate-implementation
No more recursion due to no timer and better state handling
2023-11-01 21:28:32 +01:00
Nathan Mattes 38a9268abb Move provider in the same file 2023-10-25 18:16:36 +02:00
Nathan Mattes cd25f78ec8 Remove obsolete code 2023-10-25 17:54:18 +02:00
Nathan Mattes 585e1252af Add refresh-control to following-list 2023-10-25 14:59:17 +02:00
Nathan Mattes e9c9745277 Add a dirty hack to give the backend enough time to process the relationship-change 2023-10-25 14:35:51 +02:00
Nathan Mattes 242f351e10 Update follow-button-state after (un)following a person 2023-10-24 15:42:23 +02:00
Nathan Mattes 02207d1b1f Slightly refactor account-update
For whatever reason, fetchUser and accountInfo returned different results for me (something something ID), that's why I replaced accountInfo which came from #1053 with fetchUser, so the displayed profile is consistent
2023-10-24 13:38:41 +02:00
Nathan Mattes ded7972f18 Hide follow-button for myself 2023-10-24 12:45:24 +02:00
Nathan Mattes c597ee3039 Also reset relationships 2023-10-23 14:07:05 +02:00
Nathan Mattes d15181dcb6 Show profile on tap
Bridge account to user as long as Profile-screen doesn't work with Mastodon.Entity.Account, but MastodonUser
2023-10-23 13:57:50 +02:00
Nathan Mattes 0951e658a2 Add loading-indicator
cause I'm lazy
2023-10-23 13:55:54 +02:00
Nathan Mattes 19d67d6dab Don't Ddos servers for fetching each relatinoship individually 2023-10-23 12:18:03 +02:00
Nathan Mattes fa34df26df Determine button-state based on freshly loaded relationship 2023-10-20 18:53:27 +02:00
Nathan Mattes 480d1c5265 Deselect table 2023-10-20 18:53:11 +02:00
Nathan Mattes 7432b6f22b Show account-information from entities 2023-10-20 17:49:48 +02:00
Nathan Mattes a549534fcf Get (and show) account-entities on followings-list
This is a first step, for now we show the name to see if it works (and it does!), the other properties and functionality will follow.

Again, this includes some refactoring, like getting rid of Configuration
2023-10-19 16:16:18 +02:00
Nathan Mattes b92ffe8a46 Duplicate methods to work with Entity.Account
This is preparation, but as you know: Proper Preperation and Planning Prevent Piss Poor Performance
2023-10-19 14:39:07 +02:00
Nathan Mattes c3ef66aeaa Send the device-language to translate-endpoint 2023-10-17 12:48:01 +02:00
Nathan Mattes 3850c24b93 Remove duplicate properties 2023-10-16 18:19:52 +02:00
Nathan Mattes 87cb71da5d Get rid of translation-persistence 2023-10-16 13:28:12 +02:00
Nathan Mattes 8381a44b71
Merge pull request #1131 from mastodon/move-credentials-to-keychain
Use Keychain for credentials
2023-10-12 15:09:12 +02:00
Nathan Mattes e11ada8277 Show a little red badge when there are notifications (#1132) 2023-10-11 17:32:22 +02:00
Nathan Mattes af9cce34eb Receive some actions on main-queue 2023-10-11 16:33:04 +02:00
Nathan Mattes 785751aca4 Merge branch 'develop' into performance_experiments 2023-10-11 13:04:29 +02:00
Nathan Mattes 388d130aa4 Remove duplicate code (IOS-20)
Height is determined dynamically
2023-10-11 09:12:30 +02:00
Nathan Mattes 143e9ad683 Add missing piece of localization (IOS-20) 2023-10-10 14:00:32 +02:00
Nathan Mattes 2087c24cec Minor UI-fixes (IOS-20)
- Improve Image Download and add a placeholderimage
- Fix dark mode colors
- calculate header/footer-size based on the width of the table view (TIL!)
- Remove some old assets
2023-10-10 13:55:57 +02:00
Nathan Mattes a0baf93b0a Improve visual appearance for segmented control (IOS-20) 2023-10-10 13:55:57 +02:00
Nathan Mattes b8eea23108 Localization. Localization everywhere! (IOS-20) 2023-10-10 13:55:57 +02:00
Nathan Mattes 41c0a61de2 Add section-header "ADMINSTRATOR" (IOS-20) 2023-10-10 13:55:57 +02:00
Nathan Mattes 6397a8329b Add a footerview that shows legal information (IOS-20)
This is kind of WIP as not the whole text is shown for unknown reasons
2023-10-10 13:55:57 +02:00
Nathan Mattes cdf0aa98e6 Show thumbnail (IOS-20) 2023-10-10 13:55:57 +02:00