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

103 Commits

Author SHA1 Message Date
shannon
6031af6a0d Open mastodon-schemed urls that match findable results the same way we do with universal links
Fixes #968 Support opening any Mastodon URL directly in the app
2025-01-24 10:15:08 -05:00
shannon
af6272014a Refactor: Immutable view model for ProfileViewController
Goal: Begin to centralize the locus of view updates for easier bug fixing and future design flexibility.

Remaining: The supplementary views are still heavily using Combine.

Fixes #1372 [BUG] Cannot save new profile fields
Fixes iOS-340
2024-12-06 15:45:38 -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
082f5e6ce3 Fully initialize AuthenticationServiceProvider from within init
contributes to iOS-319
2024-11-19 12:10:38 -05:00
shannon
54d04aed4e Continue to make MastodonAuthenticationBox the standard form of passing user information
Further simplify the AuthenticationViewModel and the public interface of AuthenticationServiceProvider.

Publish currentActiveUser from AuthenticationServiceProvider instead of assuming all callers know to take the first in the list as the active one.

contributes to iOS-319
2024-11-19 12:09:55 -05:00
shannon
9ed9c79f25 Begin moving filesystem cache responsibility into PersistenceManager
contributes to iOS-319
2024-11-19 12:08:22 -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
77f3c5a64d Combine AuthenticationService into AuthenticationServiceProvider
Also, AppContext, APIService, and AuthenticationServiceProvider are now more obviously singletons.

And AuthenticationServiceProvider can now be asked for the current active user, instead of every caller assuming the first element of a list of users is the active user.
2024-11-14 16:30:51 -05:00
shannon
04108fd0e4 Remove AuthContext
MastodonAuthenticationBox, which already wraps the MastodonAuthentication, is now used directly.
2024-11-14 09:49:19 -05:00
shannon
20f7d761bd Increasing thread safety for authentications.
Attempting to fix multiple crashes associated with the call to persist() triggered by the authentications setter called in restore().
2024-10-30 14:41:48 -04:00
Marcus Kida
4ea600403b
Move all UI*FeedbackGenerators to FeedbackGenerator and disable them for now (IOS-247) (#1267)
* Move all UI*FeedbackGenerators to FeedbackGenerator and disable them for now (IOS-247)

* Fix copyright header

* Remove empty private constructor
2024-04-09 16:41:47 +02:00
Nathan Mattes
f6e630aa66 Cleanup (IOS-192) 2024-02-20 17:41:10 +01:00
Nathan Mattes
6bcbc0ac07 Remove obsolete code (IOS-192) 2024-02-14 16:52:27 +01:00
Nathan Mattes
fe5c88254b Fix warnings
I guess that they made their way back into the app due to the merge
2024-01-08 22:48:35 +01:00
Nathan Mattes
76304e59e5 Configure Profile-button based on relationship and accounts (IOS-192)
Also `me` is not optional anymore as we need it
2023-12-31 12:57:56 +01:00
Nathan Mattes
6aea178609 Add relationship to ProfileViewModel (IOS-192) 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
Nathan Mattes
ed426a950c Update strings 2023-11-15 12:52:07 +01:00
Marcus Kida
943f3bc778
Merge branch 'develop' into performance_experiments 2023-09-29 12:43:34 +02:00
Nathan Mattes
e473084038
Simplify Theme (#1121) 2023-09-27 15:08:12 +02:00
Marcus Kida
360bfd29f1
Merge branch 'develop' into performance_experiments 2023-09-26 10:25:26 +02:00
Nathan Mattes
a74de8fba1 Get rid of FPS indicator 2023-09-22 15:28:07 +02:00
Nathan Mattes
778b44ecf4 Fix warnings 2023-09-22 15:27:46 +02:00
Nathan Mattes
fbde2a5833 More cleanup 2023-09-22 15:27:46 +02:00
Marcus Kida
06c72a022a Persist Authentication in Keychain 2023-06-13 14:47:43 +02:00
Marcus Kida
d570d3ef09 Replace MastodonAuthentication to not be backed by CoreData 2023-06-13 14:47:43 +02:00
Bedir Ekim
0dd8a9178e
Unnecessary Space Deleted (#984) 2023-03-20 08:27:15 +01:00
Nathan Mattes
245582961b
IOS-123: Open profiles and statuses in app (#981) 2023-03-17 10:47:19 +01:00
Nathan Mattes
0c224f47df
Implement post editing / edit history (#875)
Co-authored-by: Marcus Kida <marcus.kida@bearologics.com>
Co-authored-by: Jed Fox <git@jedfox.com>
2023-03-02 11:06:13 +01:00
Marcus Kida
68fe3cb8f2
feat(ActionExtension): Implement Open in Search as Fallback 2023-01-11 13:09:23 +01:00
Marcus Kida
5cd9343302
Merge pull request #847 from jinsu35/fix-issue-391
Implement URL scheme
2023-01-06 10:31:06 +01:00
jinsu kim
a00cd60076 Remove duplicate function fetchUser(). 2023-01-05 15:57:58 -08:00
jinsu kim
5c82c04232 Use authenticated domain for API calls. Modify URL scheme 2023-01-01 15:55:54 -08:00
jinsu kim
de962a0c09 Implement URL scheme 2023-01-01 01:01:01 -08:00
Jed Fox
3e4a5f35fa
Merge remote-tracking branch 'upstream/develop' into rotate-media-view 2022-12-30 08:15:10 -05:00
Nathan Mattes
da3f631380
Merge pull request #736 from cdoncarroll/cdoncarroll-VisibleWindowTouches
Add Debug Option For Displaying Touches
2022-12-19 15:51:26 +01:00
Chase Carroll
12791ddf28 Use UIWindow subclass in DEBUG builds 2022-12-05 10:22:14 -05:00
Jed Fox
7e74b4beb3
Merge remote-tracking branch 'upstream/develop' into status-cards 2022-12-03 13:49:04 -05:00
Jed Fox
3661b5ce90
Refactor compose intialization
- split ComposeContentViewModel.Kind into Destination (top level/reply) and an initial content string
- replies get the mentions prepended to the initial content string
2022-12-03 13:25:07 -05:00
Marcus Kida
ac5e68b74b
feat: Delete Users / Statuses on Mute 2022-11-26 08:02:28 +01:00
Jed Fox
0910baab6c
Allow media viewer to be rotated to any orientation 2022-11-22 16:19:18 -05:00
Jed Fox
82da37e1e7
Merge remote-tracking branch 'upstream/develop' into notifications-tab-a11y 2022-11-21 08:39:08 -05:00
Nathan Mattes
105a98a395 No extra orientation for Debug (#571) 2022-11-15 23:29:33 +01:00
Jed Fox
8e12d77a96
Merge remote-tracking branch 'upstream/develop' into notifications-tab-a11y 2022-11-14 14:03:02 -05:00
Marcus Kida
548543a8c0
chore: Move updateActiveUserAccountPublisher to AuthenticationService 2022-11-14 14:15:28 +01:00
Marcus Kida
a2f2fb83cd
Fix authenticated user account not reloaded 2022-11-14 13:12:16 +01:00
Jed Fox
ed9911ca76
Rename tab to “Notifications” 2022-11-09 17:30:57 -05:00
Jed Fox
7e52146de5
Merge remote-tracking branch 'upstream/develop' into drop-text-in-search 2022-11-01 07:35:18 -04:00
CMK
060aec6bcb Merge branch 'release-1.4.6' into feature/package-refactor
# Conflicts:
#	.arkana.yml
#	AppShared/Info.plist
#	Documentation/Setup.md
#	Gemfile
#	Gemfile.lock
#	Mastodon.xcodeproj/project.pbxproj
#	Mastodon.xcodeproj/xcuserdata/mainasuk.xcuserdatad/xcschemes/xcschememanagement.plist
#	Mastodon.xcworkspace/xcshareddata/swiftpm/Package.resolved
#	MastodonSDK/Package.swift
#	MastodonSDK/Sources/MastodonCore/AppSecret.swift
#	MastodonSDK/Sources/MastodonCore/Service/Notification/NotificationService.swift
#	Podfile
#	Podfile.lock
2022-11-01 14:14:00 +08:00
Jed Fox
f6c1f6c443
Add support for entering text to search via drag-and-drop 2022-10-31 10:01:12 -04:00