Commit Graph

819 Commits

Author SHA1 Message Date
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
Nathan Mattes 2119c9de0b
Merge pull request #1196 from mastodon/ios-214-refactor-userlist
Use accounts on FavoritedBy/RetootedBy-screens (IOS-214)
2024-01-03 17:13:15 +01:00
Nathan Mattes b00625c99a Fix Typo (🙈) 2024-01-03 16:36:03 +01:00
Nathan Mattes 96fddaef27 192-profile-about
# Conflicts:
#	Mastodon/Protocol/Provider/DataSourceFacade+Status.swift
#	Mastodon/Scene/Profile/Header/View/ProfileHeaderView+ViewModel.swift
#	Mastodon/Scene/Profile/ProfileViewController.swift
#	MastodonSDK/Sources/MastodonUI/ViewModel/RelationshipViewModel.swift
2024-01-02 12:15:15 +01:00
Nathan Mattes 953816ea94 Bump version to 2024.01 2024-01-01 17:33:53 +01:00
Nathan Mattes a2c03bd6d1 Remove unused code (IOS-192) 2023-12-31 12:59:39 +01:00
Nathan Mattes e7c1edbbc3 Persist user after login (IOS-192) 2023-12-31 12:57:56 +01:00
Nathan Mattes 60aafe6330 Add JSON-based account-persistence (IOS-192)
This is per user.

Also: Fetch authenticated accounts regularly
Also: Move Persistence-stuff to MastodonCore because.
2023-12-31 12:57:56 +01:00
Nathan Mattes 34b962e3ca Remove me/remote-profile-viewmodel (IOS-192) 2023-12-31 12:56:59 +01:00
Marcus Kida 31796f1680
Implement thread reload after publishing reply (IOS-176) 2023-12-13 15:09:37 +01:00
Marcus Kida a1cd1690fa
Implement cache for Notifications (IOS-200) 2023-12-04 11:04:00 +01:00
Marcus Kida 5532324f83
Implement caching for home timeline items (IOS-176) 2023-12-01 10:47:18 +01:00
Nathan Mattes 3ee2024c3b
Merge pull request #1177 from mastodon/ios-196-search
Remove CoreData for Tags/Users on Search
2023-11-27 15:04:21 +01:00
Nathan Mattes c842cfb489 Bump version 2023-11-25 09:48:08 +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
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 bbebfac99d Remove obsolete folder (IOS-194) 2023-11-20 12:13:15 +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 1400b527dc Bump version 2023-11-15 17:52:05 +01:00
Nathan Mattes ed426a950c Update strings 2023-11-15 12:52:07 +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 a344c3aa8a Bump version 2023-11-15 12:09:58 +01:00