133 Commits

Author SHA1 Message Date
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
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
Nathan Mattes
1fabe5f776
Restore Credentials from Keychain (#1171) 2023-11-18 18:52:19 +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
fbde2a5833 More cleanup 2023-09-22 15:27:46 +02:00
Nathan Mattes
aa9a6ee701 Make account switching work again 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
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
1fd509f4f9
Fix Share Extension Display Name 2023-01-04 15:35:40 +01:00
Jed Fox
7e74b4beb3
Merge remote-tracking branch 'upstream/develop' into status-cards 2022-12-03 13:49:04 -05:00
Jed Fox
ebf3835403
extract out StatusActivityItem class 2022-12-03 13:09:04 -05:00
CMK
366287a9f8 fix: use singleton AppContext to workaround reentry problem 2022-11-23 14:16:28 +08:00
CMK
f784df912d fix: no downscaling for raw image from camera issue 2022-11-22 15:59:29 +08:00
Stefan Painhapp
abe25f2156 Refactor pin to (parent) layout constraints as extension of UIView 2022-11-18 01:45:27 +09:00
CMK
82abc68486 chore: code clean 2022-11-14 00:06:44 +08:00
CMK
939429aacc feat: restore share action extension 2022-11-14 00:05:43 +08:00
CMK
1e8bb1dca2 Merge branch 'develop' into feature-compose-media 2022-11-13 22:41:34 +08:00
woxtu
5d2f4b68f8 Remove duplicate imports 2022-11-11 00:36:39 +09:00
CMK
fc3750c377 feat: add mediaView for compose scene 2022-11-08 16:39:19 +08:00
CMK
78ce26b889 fix: manually bump the version to workaround auto version management not working issue 2022-11-08 14:17:43 +08:00
CMK
eb86b5a9d8 chore: update to version 1.4.7 2022-11-04 12:26:38 +08: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
CMK
02e3ad9a16 chore: [WIP] restore the replyTo entry for compose 2022-10-10 19:14:52 +08:00
CMK
64f3d2fe3a chore: [WIP] move core logic into package 2022-09-30 19:28:09 +08:00
CMK
78b2259b8f chore: replace CocoaPods-Keys with Arkana 2022-07-15 11:34:16 +08:00
CMK
fbbfd5cda6 chore: bump package version and update version to 1.4.6 (146) 2022-07-15 04:27:41 +08:00
CMK
fc1ec7ec62 chore: update version to 1.4.6 (145) 2022-07-15 04:23:19 +08:00
CMK
a3cfbdd373 chore: update version to 1.4.5 (144) 2022-07-01 14:02:37 +08:00
CMK
867f98d089 chore: update version to 1.4.4 (142) 2022-06-15 12:59:16 +08:00
CMK
0c0cbb103f chore: update version to 1.4.4 (141) 2022-06-14 14:34:48 +08:00
CMK
2dc876a09a chore: update to version 1.4.3 (139) 2022-06-05 16:51:44 +08:00
CMK
392b6a13e2 chore: update version to 1.4.3 (137) 2022-06-02 19:47:49 +08:00
CMK
a3e709fd0a chore: update version to 1.4.3 (136) 2022-06-02 18:58:43 +08:00
CMK
0fe067420f Merge branch 'release-1.4.3' into feature-purple-tint
# Conflicts:
#	Mastodon.xcodeproj/xcuserdata/mainasuk.xcuserdatad/xcschemes/xcschememanagement.plist
2022-06-02 18:58:21 +08:00
CMK
a19293a163 chore: update version to 1.4.3 (135) 2022-06-02 18:49:41 +08:00
CMK
0c8e7d2cea feat: update to new purple tint color 2022-06-02 17:48:18 +08:00
CMK
5467a04a6d chore: update version to 1.4.3 (134) 2022-05-27 00:10:48 +08:00
CMK
052979fa93 chore: update version to 1.4.2 (133) 2022-05-23 12:11:17 +08:00
CMK
08aa0d4655 chore: update version to 1.4.2 (132) 2022-05-19 11:22:01 +08:00
CMK
cc413074f3 chore: update version to 1.4.2 (131) 2022-05-19 10:55:41 +08:00
CMK
4e83be76c4 chore: update version to 1.4.2 (130) 2022-05-18 00:33:13 +08:00
CMK
ca91e756ff chore: update version to 1.4.2 (129) 2022-05-17 23:28:29 +08:00
CMK
b0edbb9db0 chore: update version to 1.4.2 (128) 2022-05-16 19:43:20 +08:00