shannon
eac3222e65
Remove import AVKit from files that do not need it
2025-01-23 10:07:00 -05:00
shannon
1ec772d8a1
Show ungrouped notifications as before, but using the new MastodonFeedItemIdentifiers
...
Contributes to IOS-253
Contributes to IOS-355
Contributes to IOS-357
2025-01-10 16:17:51 -05:00
shannon
100937187c
Data model changes to enable grouped notifications
...
Work in progress. This will run but will not show any notifications.
Contributes to IOS-355
Contributes to IOS-253
2025-01-09 08:49:28 -05:00
shannon
b438d3db32
rename for clarity
...
Not all of these cases involve a MastodonStatus. Their actual use is as identifiers for the tableview datasources.
2025-01-06 14:45:29 -05:00
shannon
af6272014a
Refactor: Immutable view model for ProfileViewController
...
Goal: Begin to centralize the locus of view updates for easier bug fixing and future design flexibility.
Remaining: The supplementary views are still heavily using Combine.
Fixes #1372 [BUG] Cannot save new profile fields
Fixes iOS-340
2024-12-06 15:45:38 -05:00
shannon
65bf555d98
Refactor: Remove NeedsDependency
...
The AppContext is already a singleton. SceneCoordinators are unique to UIWindowScenes, so fetch them that way.
Fixes iOS-324
2024-12-03 13:21:05 -05:00
shannon
d2b4d7b6b4
Refactor: Filter and Content Warning display and management
...
A large amount of change primarily to the view model layer, to make reasoning about the content reveal/hide state easier.
To prevent terrible scrolling jags while allowing the cells to be shorter when hiding content, the layout changes for content display state now happen before the cell is returned by the datasource provider and the tableview is reloaded when a status’s display mode changes.
2024-11-28 13:08:01 -05:00
shannon
862e1186ce
Centralize filter management
...
Instead of publishing a list of filters, the StatusFilterService now publishes a struct that can apply those filters to any status in any context.
Also, we now use V2 of the filters API, which distinguishes between hide and warn.
Fixes #1354 [BUG] Mastodon iOS App Ignores "Hide completely" Filter action Setting
2024-11-28 13:07:18 -05:00
shannon
9ed9c79f25
Begin moving filesystem cache responsibility into PersistenceManager
...
contributes to iOS-319
2024-11-19 12:08:22 -05:00
shannon
04108fd0e4
Remove AuthContext
...
MastodonAuthenticationBox, which already wraps the MastodonAuthentication, is now used directly.
2024-11-14 09:49:19 -05:00
Marcus Kida
478cffa5b8
Fix voted indicator on poll missing (IOS-274)
2024-05-22 13:45:22 +02:00
Nathan Mattes
9507368fd1
Add localization (IOS-264)
2024-05-14 15:11:56 +02:00
Nathan Mattes
c3913815fb
Add basic cell for account-warnings (IOS-264)
2024-05-14 15:11:56 +02:00
Nathan Mattes
a4b175ce9c
Revert "Moderation Warning Notifications (IOS-264) ( #1287 )"
...
This reverts commit 794ffc002f384bb95b91d4369ddf5de93d3aba8c.
2024-05-14 15:11:23 +02:00
Nathan Mattes
794ffc002f
Moderation Warning Notifications (IOS-264) ( #1287 )
...
* Add moderation-warning-notification-type (IOS-264)
* Add entity for new AccountWarning (IOS-264)
Details see https://github.com/mastodon/mastodon/pull/30065 for now, as there's no documentation (yet)
* re-add file header (IOS-264)
* Add authorization to instance-calls (IOS-264)
This will improve using the app with `LIMITED_FEDERATION_INSTANCES`
* Add basic cell for account-warnings (IOS-264)
* Show some content for a warning (IOS-264)
* Open strike in browser (IOS-264)
* Add localization (IOS-264)
* Add missing localization (IOS-264)
* Cleanup (IOS-264)
2024-05-14 15:07:05 +02:00
Marcus Kida
24e573d9e2
Refactor Polls to not use Core Data ( #1265 )
2024-04-17 16:36:03 +02:00
Nathan Mattes
255b6ab0ef
Remove obsolete code (IOS-192)
...
We didn't use that as someone rebuilt this screen in SwiftUI.
2024-02-09 18:18:26 +01:00
Nathan Mattes
b2dbcc8095
Merge branch 'develop' into ios-192-profile-about
...
# Conflicts:
# Mastodon/Protocol/Provider/DataSourceProvider+NotificationTableViewCellDelegate.swift
# Mastodon/Scene/Notification/NotificationTimeline/NotificationTimelineViewController+DataSourceProvider.swift
# MastodonSDK/Sources/MastodonCore/DataController/FeedDataController.swift
# MastodonSDK/Sources/MastodonUI/View/Content/StatusView+Configuration.swift
2024-01-31 15:36:53 +01:00
Marcus Kida
383a75ea48
Improve status updating mechanism ( #1210 )
2024-01-30 23:02:13 +01:00
Nathan Mattes
7dfa56507e
Make follow-requests work again (IOS-192)
...
Aaaaand remove obsolete viewmodel and put relationship to make menu work again (too)
2024-01-30 11:13:39 +01:00
Nathan Mattes
018cf54084
Don't use publisher for most properties in NotificationView (IOS-192)
...
Timestamp and A11y are still missing (and A11y is broken atm)
2024-01-20 20:03:45 +01:00
Marcus Kida
976f934df9
Remove Status from CoreData ( #1167 )
2024-01-08 11:17:40 +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
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
0f3c50ba8a
Fix non-ui-thread modification in when editing poll (IOS-203)
2023-12-04 14:31:38 +01:00
Marcus Kida
e3f3e2c662
Merge branch 'develop' into remove_status
2023-11-22 13:22:49 +01:00
Marcus Kida
b010b6112e
Remove usage of Status (IOS-176)
2023-11-22 12:32:04 +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
59755b6d70
Adjust fonts, icon and colors for updated verified-design (IOS-130)
2023-11-09 11:25:57 +01:00
Nathan Mattes
ded7972f18
Hide follow-button for myself
2023-10-24 12:45:24 +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
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
Marcus Kida
943f3bc778
Merge branch 'develop' into performance_experiments
2023-09-29 12:43:34 +02:00
Nathan Mattes
44fda8fe2f
Move settings-model to their appropriate location (IOS-14)
2023-09-27 15:11:43 +02:00
Marcus Kida
360bfd29f1
Merge branch 'develop' into performance_experiments
2023-09-26 10:25:26 +02:00
Nathan Mattes
fbde2a5833
More cleanup
2023-09-22 15:27:46 +02:00
Marcus Kida
dcfe13ac36
Merge branch 'develop' into performance_experiments
2023-09-22 11:36:57 +02:00
Nathan Mattes
a304fb2108
Show profile-page for suggested accounts in search (IOS-141)
2023-09-17 12:48:58 +02:00
Nathan Mattes
e8509a063d
Show title instead of "x" for clear-all-button (IOS-141)
...
Also: Move stuff around. It doesn't make sense for search-diffable-stuff to live in an enitrely different folder than the rest.
2023-09-15 11:38:12 +02:00
Marcus Kida
d570d3ef09
Replace MastodonAuthentication to not be backed by CoreData
2023-06-13 14:47:43 +02:00
Nathan Mattes
8804432b60
Fix Brand Color (IOS-160) ( #1054 )
2023-06-02 09:52:12 +02:00
Nathan Mattes
e4578686e3
Follow all suggested user accounts (IOS-157)
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
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
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
5efdb3c209
Revert FollowedBlockedUserIdProviding (IOS-140)
2023-05-09 11:33:31 +02:00