Commit Graph

2171 Commits

Author SHA1 Message Date
Marcus Kida 484d72fbdd
Adjust Server Rules Screen (IOS-220) (#1251)
* Adjust Server Rules Screen (IOS-220)

* Update Server Rules (IOS-220)

* Use new server rules UI in Server Details (IOS-220)

* Improve disclaimer usage (IOS-220)

* Fix background in server details (IOS-220)
2024-03-19 09:55:42 +01:00
Nathan Mattes 62cc9105a9
Fix Profile Editing (#1245)
* Fix image-editing (#1244)

Probably introduced in 76304e5 and we just missed that :)

* Removed unused property (#1244)

* Don't allow tapping on followers/followees when editing my profile

* Remove obsolete code

relationship-update on viewDidAppear is not needed anylonger as we use update user/relationship using notifications like in the good ol days

* Make relationship optional and use switch-pattern-matching for button-configuration

* Don't change relationship when relationship is updating

* [WIP] don't toggle, but just set booleans.
2024-03-18 16:27:12 +01:00
Marcus Kida 0e207cf65d
Switch Everything and Mentions Tabs order (IOS-240) (#1258)
* Switch Everything and Mentions Tabs order (IOS-240)

* Swap switch category (IOS-240)
2024-03-14 07:19:46 +01:00
Marcus Kida 2e7054cb68
Implement "Default Post Language" and "Ask Before"-Alerts (#1240)
* Implement Settings->General->"Ask Before" and add "Ask Before Posting Without Alt Text" IOS-166

* Implement Alt Missing Alert for Status Edits (IOS-166)

* Fix status edit composes duplicate message

* Show (or don't) the "Really delete post?" Alert based on the User's preference (IOS-166)

* Implement alert for boost/unboost (IOS-166)

* Begin implementing "Default Post Language"-Setting (IOS-166)

* Show "Unfollow @user?" Alert (IOS-166)

* Merge conflict fixes for IOS-166

* Implement default post language setting (IOS-166)

* Fix follow button state not updated correctly (IOS-166)

* Add PR feedback (IOS-166)

* Improve default language cell style (IOS-166)

* Fix language filter broken (IOS-166)
2024-02-28 10:52:04 +01:00
Brentley Jones 10aa700e88
Fix Sourcery for `DiscoveryCommunityViewController` (#1231)
The annotation was referencing the wrong type.

Signed-off-by: Brentley Jones <github@brentleyjones.com>
2024-02-22 10:36:47 +01:00
Nathan Mattes 71d81cc486
#1229, but for search (#1237)
Trigger search right away and don't wait for ListBatchViewModel
2024-02-22 10:33:55 +01:00
Nathan Mattes f6e630aa66 Cleanup (IOS-192) 2024-02-20 17:41:10 +01:00
Nathan Mattes a170a462ee Remove nested tasks (IOS-192) 2024-02-20 16:47:55 +01:00
Nathan Mattes 8630bd1746 Show loading-indicator (IOS-192) 2024-02-20 16:33:27 +01:00
Nathan Mattes d7fa94211a Fix warning 2024-02-20 16:28:23 +01:00
Nathan Mattes 86e968fabd Don't reload content all the time (IOS-192) 2024-02-20 15:26:05 +01:00
Nathan Mattes 897fc0d348 Recude task-nestedness (IOS-192) 2024-02-20 12:04:44 +01:00
Nathan Mattes 49af28eeba Use constant (IOS-192) 2024-02-19 12:06:10 +01:00
Nathan Mattes 52f5458364 Fix build 2024-02-19 12:05:48 +01:00
Nathan Mattes ed7de63eb7 Remove unused code (IOS-192) 2024-02-19 11:52:12 +01:00
Nathan Mattes 0e46a811b7 Use constant foe UserInfo-key instead of string (IOS-192) 2024-02-19 10:18:12 +01:00
Nathan Mattes 7f2d459ccb Merge branch 'develop' into ios-192-profile-about 2024-02-19 09:39:33 +01:00
Nathan Mattes 91e3b63f1f Rework relationship-notification (IOS-192)
They get sent from the DataSourceFacade now
2024-02-16 12:16:55 +01:00
Nathan Mattes ffb5c59d12 Slighty refactor relationship-update-notification-handling (IOS-192)
Also: consider menu-changes from profile-screen
2024-02-16 10:34:28 +01:00
Nathan Mattes a1ba189822 Update profile-screen when relationship changes on user list (IOS-192) 2024-02-16 09:30:52 +01:00
Nathan Mattes 03e9ed7e80 FIx warning 2024-02-16 09:19:59 +01:00
Nathan Mattes ecc4535058 Update screen when relationship changes on another screen (IOS-192) 2024-02-16 09:19:22 +01:00
Nathan Mattes 04e3a573a0 Remove unused code (IOS-192) 2024-02-15 17:41:39 +01:00
Nathan Mattes 6f16a99759 Update accounts on profile-screen on pull to refresh (IOS-192) 2024-02-15 16:24:49 +01:00
Nathan Mattes 88c5cfa140 Make the app work on iPad again (IOS-192)
Friends don't let friends use forced unwrapping.
2024-02-15 12:53:21 +01:00
Nathan Mattes 6bcbc0ac07 Remove obsolete code (IOS-192) 2024-02-14 16:52:27 +01:00
Nathan Mattes 68e29d2aea Remove shadow 2024-02-14 16:52:05 +01:00
Nathan Mattes cb3a90b5be Remove more users (IOS-192) 2024-02-14 16:51:24 +01:00
Nathan Mattes 7024823cbf Remove persistence for user (IOS-192) 2024-02-14 10:44:32 +01:00
Nathan Mattes 94fb3f6c7e Update account-screen when following/unfollowing/... (IOS-192) 2024-02-13 11:35:25 +01:00
Nathan Mattes e912bec350 Trigger status-loading immediately (and not 30 seconds later)
See #1227, #1229, but for status-reporting
2024-02-09 19:13:11 +01:00
Nathan Mattes 3ff509cb27 Fix another user-warning (IOS-192) 2024-02-09 19:10:32 +01: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 c523f97d0c Merge branch 'develop' into ios-192-profile-about
# Conflicts:
#	MastodonSDK/Sources/MastodonUI/View/Control/ProfileRelationshipActionButton.swift
2024-02-09 12:43:56 +01:00
Nathan Mattes 23a505b321
Show more metadata for posts (#1200)
* Show first image when sharing (#1199)

* Don't share custom metadata (#1199)

🤦 that was way to easy, thanks docs!

* If we only share an URL, we don't need metadata (#1199)
2024-02-09 11:14:51 +01:00
Nathan Mattes 84236b1084 Merge branch 'develop' into ios-192-profile-about 2024-02-07 16:33:05 +01:00
Nathan Mattes a236e114fd Load User-lists initially (#1227) 2024-02-07 16:30:14 +01:00
Nathan Mattes f72de977de Enable domain-block for User-refactoring (IOS-192) 2024-01-31 23:25:57 +01:00
Nathan Mattes 53973bb4d9 Revert "Use `guard` (IOS-192)"
This reverts commit 64dc97ab9b.
2024-01-31 22:49:56 +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 6af38ade27
Reload notifications after interacting with them (#1221) 2024-01-31 11:28:48 +01:00
Nathan Mattes 5773ceb2ad
Fix build (#1220) 2024-01-31 10:07:31 +01:00
Nathan Mattes 35bc04be51
update strings (#1219) 2024-01-31 10:04:22 +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 f363316662 Move over a11y-actions for notifications (IOS-192) 2024-01-24 14:16:04 +01:00
Nathan Mattes 96c4fbfbdb Set a11y-label for notification-screen (IOS-192) 2024-01-24 11:58:08 +01:00
Nathan Mattes 304eb8b7ff Move notification-timestamp away from viewmodel (IOS-192) 2024-01-21 09:30:44 +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
Nathan Mattes ab2f54307f Group files and use simpler context (IOS-192) 2024-01-20 18:21:02 +01:00