Commit Graph

1773 Commits

Author SHA1 Message Date
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
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 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 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 e6ba8db5b6
Merge branch 'develop' into remove_status 2023-12-01 09:59:37 +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 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
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 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 361ad357db Clean search-history for one user only (IOS-196) 2023-11-23 15:33:28 +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 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
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
Marcus Kida 5c834c7e09
IOS-175: Remove CoreData status edit (#1148) 2023-11-10 11:32:02 +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 32e656f342 Fix more warnings 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 19d67d6dab Don't Ddos servers for fetching each relatinoship individually 2023-10-23 12:18:03 +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
Nathan Mattes 0e0855982f Add localization (IOS-20) 2023-10-10 13:55:57 +02:00
Nathan Mattes 622df06d4a Load admin-account (IOS-20) 2023-10-10 13:55:57 +02:00
Nathan Mattes cebbe04741 Show admin-account and contact (IOS-20) 2023-10-10 13:55:57 +02:00
Nathan Mattes 7cd5be1454 Show Rules (IOS-20) 2023-10-10 13:55:56 +02:00
Nathan Mattes f2bf822faa Add container-setup and download instance (IOS-20) 2023-10-10 13:55:56 +02:00
Nathan Mattes 9f68ec3364 Add basic viewcontrollers for server details (IOS-20) 2023-10-10 13:55:56 +02:00
Nathan Mattes afd90d62e8 Add settings-entry for server-details (IOS-14, IOS-20) 2023-10-10 13:55:56 +02:00
Nathan Mattes 132af03bb2
Set Deployment Target to iOS 16 (#1125)
Co-authored-by: Marcus Kida <marcus.kida@bearologics.com>
2023-09-29 19:31:22 +02:00
Marcus Kida 943f3bc778
Merge branch 'develop' into performance_experiments 2023-09-29 12:43:34 +02:00
Nathan Mattes a0d455058a Put some constants into an extension (IOS-14) 2023-09-28 15:59:19 +02:00
Nathan Mattes 548798e401 Update CoreData-model to remove old settings (IOS-14)
They're stored in UserDefaults and this is kind of redundant. So: Bye!

Thanks @kimar
2023-09-28 15:51:35 +02:00
Nathan Mattes b0886979e5 Remove old settings 2023-09-27 18:02:59 +02:00
Nathan Mattes bbf7c541bb Minor Cleanup (IOS-14) 2023-09-27 17:51:47 +02:00
Nathan Mattes b6a7126eb1 Animate toggle-switch (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes 0e964de0df Disable "Support"-setting for now (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes 65f39f4b61 Sprinkle in some localization (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes 8e54da5dff Add a hint in case notifications are disabled (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes b7399e79bf Move files 2023-09-27 15:12:43 +02:00
Nathan Mattes 85a82cbb9b Disable notifications if they aren't enabled (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes f5365a9d6e Toggle alerts on tap (IOS-14)
This feels kind of good :D
2023-09-27 15:12:43 +02:00
Nathan Mattes ba0f689acd Set notification-types (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes fcb19b9734 Set toggle-values for notification-settings (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes f2180034ee Read notification-setting from CoreData (IOS-14)
aka subscription
2023-09-27 15:12:43 +02:00
Nathan Mattes 00fa7e1220 Show list of Notification-policies (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes 1f1d8587e0 Store animation-settings in UserDefaults, too (IOS-14)
Because why not?
2023-09-27 15:12:43 +02:00
Nathan Mattes 67e3078df9 Sprinkle in some localizations on Notificaiton-Screen (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes fedde3e159 Fix build (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes a1d0c74617 Implement basic UI for notification-settings-screen (IOS-14)
No functionality (yet), but all relevant classes and protocols are there.
2023-09-27 15:12:43 +02:00
Nathan Mattes 24724b9943 Clean up settings (a bit, IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes 9ec380cccd Refactor Toggle-cell to be (more) reusable (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes 5d58010907 Localize General-Setting-Screen (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes 97e6d750ee Persist general settings (IOS-14, IOS-166) 2023-09-27 15:12:43 +02:00
Nathan Mattes c14418c440 Implement toggle-cell and improve selection-cell for general-settings (IOS-14)
and hook up the cell with the viewmodel.

Also: Put DiffableTableViewDataSource into its own file (and fix a typo while doing so)
2023-09-27 15:12:43 +02:00
Nathan Mattes dfcda1f1da Show general-settings (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes e201193ee4 Don't change icon-color (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes 2f7eec48c7 Add first draft of GeneralSettings-Screen (IOS-14)
Setting the Appearance already works, but that's it for now.
2023-09-27 15:12:43 +02:00
Nathan Mattes 3c9648e52f Show accountname on logout-button (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes a27cb88400 Add mastodon-version to about-screen (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes 7c977d562f Fix build (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes 79ba6ed13f Remove obsolete code 2023-09-27 15:12:43 +02:00