2
2
mirror of https://github.com/mastodon/mastodon-ios synced 2025-04-11 22:58:02 +02:00

373 Commits

Author SHA1 Message Date
shannon
d73e318c39 Improve Voice Over experience on Followers and Following lists
Fixes IOS-394
2025-04-02 11:28:22 -04:00
shannon
f552c3af91 Correct and simplify handling of user view button action
Also delete a bunch of unused code.

Fixes IOS-359
2025-01-24 10:30:55 -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
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
c4442fe8a9 Fix crash on launch due to infinite loop
And more honestly about singletons.
2024-11-15 12:25:58 -05:00
shannon
04108fd0e4 Remove AuthContext
MastodonAuthenticationBox, which already wraps the MastodonAuthentication, is now used directly.
2024-11-14 09:49:19 -05:00
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
Nathan Mattes
2876bcced6 Coordinate to Profile if there's an account (IOS-284) 2024-06-30 12:41:39 +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
ef666be391 Remove debug statement (IOS-272) 2024-05-24 20:52:01 +02:00
Nathan Mattes
d7ec60cff2 Cleanup (IOS-272) 2024-05-24 16:01:28 +02:00
Nathan Mattes
58fdd39c2b Remove dead code (IOS-272) 2024-05-24 15:46:16 +02:00
Nathan Mattes
1f0be78ee1 Fix typo 2024-05-24 15:45:26 +02:00
Nathan Mattes
e67ec46b68 Fix reload-condition-calculation (IOS-272) 2024-05-24 12:12:46 +02:00
Nathan Mattes
008691bdf8 [WIP] Implement alternative "Load more"-mechanism for scroll-views (#IOS-272) 2024-05-23 15:23:22 +02:00
Marcus Kida
677670055e
Fix "Load More" Button on Home/Public Timeline (#1283)
* Begin fixing of "Load More" on Home Timeline (IOS-266)

* Don't show "Load More" if last status is first existing (IOS-266)

* Insert missing items upon "Load More" (IOS-266)

* Implement sinceID usage when loading latest posts (IOS-266)

* Change updating of items on Load More(IOS-266)

* Do not try to modify datasource directly (IOS-266)

* Improve load more (IOS-266)

* Fix load more using maxID and limit to 20 items (IOS-266)

* Implement loading missing status in public timeline (IOS-266)

* Implement subsequent "Load More" (IOS-266)

* Make loadMore(item:at:) API more Swifty (IOS-266)

* Address PR comments (IOS-266)
2024-05-08 10:02:21 +02:00
Marcus Kida
24e573d9e2
Refactor Polls to not use Core Data (#1265) 2024-04-17 16:36:03 +02: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
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
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
ab2f54307f Group files and use simpler context (IOS-192) 2024-01-20 18:21:02 +01:00
Nathan Mattes
35c017986a [WIP] Add relationships/user to notifications (IOS-192) 2024-01-16 17:12:47 +01:00
Nathan Mattes
9bf072e827 Remove unused code 2024-01-11 14:07:57 +01:00
Marcus Kida
976f934df9
Remove Status from CoreData (#1167) 2024-01-08 11:17:40 +01:00
Nathan Mattes
0b959f5bca Remove private-note and notification from user (IOS-192) 2024-01-05 16:50:44 +01:00
Nathan Mattes
6b6ed28134 Emojis aren't optional (IOS-192)
meet []
2024-01-05 12:30:36 +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
Marcus Kida
22324f4c1e
Fix Polls not showing up (IOS-213) 2023-12-14 16:33:50 +01:00
Marcus Kida
63e45d65f9
Fix notifications show empty view (IOS-198) 2023-12-04 10:14:42 +01:00
Marcus Kida
b010b6112e
Remove usage of Status (IOS-176) 2023-11-22 12:32:04 +01:00
Marcus Kida
5c834c7e09
IOS-175: Remove CoreData status edit (#1148) 2023-11-10 11:32:02 +01:00
Nathan Mattes
e9c9745277 Add a dirty hack to give the backend enough time to process the relationship-change 2023-10-25 14:35:51 +02:00
Nathan Mattes
242f351e10 Update follow-button-state after (un)following a person 2023-10-24 15:42:23 +02: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
7432b6f22b Show account-information from entities 2023-10-20 17:49:48 +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
Nathan Mattes
b92ffe8a46 Duplicate methods to work with Entity.Account
This is preparation, but as you know: Proper Preperation and Planning Prevent Piss Poor Performance
2023-10-19 14:39:07 +02:00
Nathan Mattes
c3ef66aeaa Send the device-language to translate-endpoint 2023-10-17 12:48:01 +02:00
Nathan Mattes
3850c24b93 Remove duplicate properties 2023-10-16 18:19:52 +02:00
Nathan Mattes
e473084038
Simplify Theme (#1121) 2023-09-27 15:08:12 +02:00
Nathan Mattes
fbde2a5833 More cleanup 2023-09-22 15:27:46 +02:00
Nathan Mattes
b74f17c6b6 Don't show follow-button for me (IOS-141) 2023-09-17 18:14:42 +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
2e384f3cb5 WIP: Add some search-implementation and clean stuff (IOS-141)
Shame on me for such a big commit. I'm new to iOS-development, sorry :nerd:
2023-09-15 17:45:22 +02:00
Nathan Mattes
bbda8c41b6 Add post-visibility to notifications (#594) 2023-08-28 12:58:46 +02:00