Commit Graph

6281 Commits

Author SHA1 Message Date
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
woxtu bfc20655c4 Update the requirements 2024-03-12 09:08:52 +01:00
woxtu 4d652b5cbe Remove CocoaPods gems 2024-03-11 22:31:16 +01:00
Nathan Mattes 4517a4fffb
Remove Cocoapods (#1179)
* Remove Cocoapods and Workspace

* Fix build

* Fix build again 🤦

* Update docs

* Fix fastlane to not use workspace anymore

* Update Documentation/Setup.md

Co-authored-by: Marcus Kida <marcus.kida@bearologics.com>

* Pin versions for swiftgen/sourcery

* Improve docs

---------

Co-authored-by: Marcus Kida <marcus.kida@bearologics.com>
2024-02-29 18:15:30 +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
Nathan Mattes d3ffa3782e Bump version 2024-02-27 09:07:40 +01:00
Eugen Rochko 8807002404
New Crowdin updates (#1224)
* New translations app.json (Portuguese)

* New translations app.json (Portuguese)

* New translations app.json (Portuguese)

* New translations app.json (Thai)

* Update localizations

---------

Co-authored-by: Nathan Mattes <hallo@bullenscheisse.de>
2024-02-26 22:04:38 +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 db12ea4aa9
Make Profile-screen use Mastodon.Entity.Account instead of MastodonUser (#1192)
- Make Profile-screen use Mastodon.Entity.Account instead of
MastodonUser
- Fix things left and right
- Just like with the Status-refactoring I'm expecting more bugs to show
up over time.
2024-02-21 18:31:27 +01:00
Nathan Mattes 3cf397d2d1 Merge branch 'develop' into ios-192-profile-about 2024-02-20 18:29:27 +01:00
Marcus Kida a5f74b8b8c Fix widgets not working since iOS 17 #1234 2024-02-20 18:28:54 +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 06711f44f8 Merge branch 'develop' into ios-192-profile-about 2024-02-20 16:28:50 +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
Marcus Kida c05169affb Fix crash / deadlock when selecting hashtag from search history 2024-02-19 22:19:07 +01:00
Nathan Mattes 22b9e912f6 Remove unused completion (IOS-192) 2024-02-19 12:09:51 +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 dc53fbbe7c Remove more users (IOS-192) 2024-02-09 18:41:12 +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 a90d5ea084
Fix Follow-Button in App-Dark Mode (#1218) (#1222)
* Don't set colors (#1218

* Use UIButton.configuration for ... configuration (#1218)

* Fix activity indicator (#1218)
2024-02-09 11:12:15 +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 224defcf27 Bump version 2024-02-07 14:48:45 +01:00