Commit Graph

841 Commits

Author SHA1 Message Date
whattherestimefor 9d774cb541
Add ability to donate to Mastodon from the app (#1353)
This change only affects users logged in to mastodon.social or mastodon.online. A banner may be periodically displayed at the bottom of the homescreen encouraging donations and menu options are now available in Settings to make new donations or manage existing ones.

Amounts will not necessarily be returned from the server in order. The first amount returned is taken as the default and the amounts are sorted before display.

---------

Co-authored-by: Marcus Kida <marcus.kida@bearologics.com>
2024-11-06 19:37:52 -05:00
Marcus Kida 7e28e3ce06
Revert "Set SWIFT_ENABLE_OPAQUE_TYPE_ERASURE=NO"
This reverts commit d7e983a217.
2024-10-09 12:11:55 +02:00
Marcus Kida d7e983a217
Set SWIFT_ENABLE_OPAQUE_TYPE_ERASURE=NO 2024-10-09 11:14:57 +02:00
Marcus Kida 97d6a08a93
Align dismiss icon for notification filters with web 2024-07-29 12:00:03 +02:00
Nathan Mattes f3c035ce92 Add accept/dismiss-menu (IOS-241) 2024-07-24 12:35:08 +02:00
Nathan Mattes 48f58642ac Add first draft for Notification-count-view (IOS-241) 2024-07-24 12:35:08 +02:00
Nathan Mattes 67e1e5e3b4 Minor cleanup (IOS-241) 2024-07-24 12:35:08 +02:00
Nathan Mattes b424dab5b5 Fix build issues that happened after rebase (IOS-241) 2024-07-24 12:35:07 +02:00
Nathan Mattes 4cf75d307d Show account for request (IOS-241) 2024-07-24 12:35:07 +02:00
Nathan Mattes 6702f0624c Implement special sheet header (IOS-241) 2024-07-24 12:35:07 +02:00
Nathan Mattes 5473e7f3f9 Add viewController for notification-requests (IOS-241) 2024-07-24 12:35:07 +02:00
Nathan Mattes 151880f661 Add basic UI filter notification-filtering-setting (IOS-241) 2024-07-24 12:35:07 +02:00
Nathan Mattes 4843348034 Add and show filter-banner in "everything"-notifications (if there are any) (IOS-241) 2024-07-24 12:35:07 +02:00
Nathan Mattes 3118861984 Add a filtering-button that is only visible if there's a policy (IOS-241) 2024-07-24 12:35:07 +02:00
Marcus Kida 6cf1643171
Add AppVersion.xcconfig to streamline versioning of all relevant targets 2024-07-18 11:54:08 +02:00
Nathan Mattes b3eaf0cd4c Bump version 2024-07-02 11:26:24 +02:00
Nathan Mattes c61d3d7cb2 Remove empty leftover folder 2024-06-30 15:16:21 +02:00
Nathan Mattes ca68a6cdbb Bump version to 2024.7 2024-06-20 07:52:08 +02:00
Marcus Kida 3b72d37758
Apply PR feedback (IOS-168) 2024-06-12 11:25:46 +02:00
Marcus Kida cea13cb3de
Begin implementing PrivacySafetyViewController (IOS-168) 2024-06-12 10:55:38 +02:00
Nathan Mattes 575b0c08ee Minor refactoring (IOS-272)
Use an extension instead of its own class
2024-05-24 21:02:03 +02:00
Nathan Mattes be85e896da Bump version 2024-05-23 09:03:33 +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 1c79c9ef1e re-add file header (IOS-264) 2024-05-14 15:11:56 +02:00
Nathan Mattes a4b175ce9c Revert "Moderation Warning Notifications (IOS-264) (#1287)"
This reverts commit 794ffc002f.
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
Nathan Mattes c2d0701062
Improve Multi-User Account Sheet (IOS-245) (#1273)
* Copynpaste cell to logout all accounts (IOS-245)

* Show cell (IOS-245)

* Logout of all accounts (IOS-245)

* Use iOS-formsheet to present account-list (IOS-245)

* Remove dead code (IOS-245)

* Don't animate account-switches (IOS-245)

* Remove panModal (IOS-245)

* UI-fixes (IOS-245)

* Add swipe-to-logout-action (IOS-245)

* Localize (IOS-245)

* Add a little bit of margin (IOS-245)

* Fix separator-insets (IOS-245)

* Don't crash on iPad when logging out of all accounts (IOS-245)
2024-04-30 09:22:27 +02:00
Nathan Mattes 235499ec10 Bump version 2024-04-21 20:43:04 +02:00
Nathan Mattes 6af94352e2 Remove NavigationBarTitleView and add first draft of TimelineStatusPill (IOS-234) 2024-04-05 14:27:06 +02:00
Marcus Kida cc9faf5aea
Improve Number Formatting (#1266)
* Improves number formatting (IOS-246)

* Implement formatting > 1T (IOS-246)

* Fix typo (IOS-246)

* Update MastodonTests/MetricFormatterTests.swift

Co-authored-by: Nathan Mattes <hallo@bullenscheisse.de>

* Improve decimal formatting and add tests (IOS-246)

---------

Co-authored-by: Nathan Mattes <hallo@bullenscheisse.de>
2024-04-04 16:55:19 +02:00
Nathan Mattes 07cab9b9ad Bump version 2024-03-27 10:34:35 +01:00
Nathan Mattes 83fd4a89fa
Remove Community-tab from Explore-tab (IOS-236) (#1260) 2024-03-20 14:03:01 +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
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 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 224defcf27 Bump version 2024-02-07 14:48:45 +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 ab2f54307f Group files and use simpler context (IOS-192) 2024-01-20 18:21:02 +01:00
Nathan Mattes 2c653320fb Refactor tab/MainTabBarController to add viewcontrollers as properties
This is a WIP-step for account-stuff. Also: iPhone only, iPad should come next
2024-01-11 23:38:06 +01:00
Marcus Kida 976f934df9
Remove Status from CoreData (#1167) 2024-01-08 11:17:40 +01:00
Nathan Mattes 58501da5fa Merge branch 'develop' into ios-192-profile-about
# Conflicts:
#	Mastodon/Scene/Profile/UserList/FavoritedBy/FavoritedByViewController+DataSourceProvider.swift
#	Mastodon/Scene/Profile/UserList/RebloggedBy/RebloggedByViewController+DataSourceProvider.swift
#	Mastodon/Scene/Profile/UserList/UserListViewModel+Diffable.swift
#	Mastodon/Scene/Profile/UserList/UserListViewModel+State.swift
2024-01-03 17:30:56 +01:00