shannon
ffc6e0ebaf
Clearer naming (“nanosPerUnit” instead of “second”)
2024-12-13 13:17:59 -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
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
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
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
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
0c8e7d2cea
feat: update to new purple tint color
2022-06-02 17:48:18 +08:00
Marcus Kida
852b91912d
fix: cursor jumping when entering text before non-ascii char in share extension ( #395 )
2022-04-28 21:41:13 +02:00
CMK
080f20d253
feat: add hashtag and news list for Discovery scene
2022-04-13 20:43:16 +08:00
CMK
4614bd8692
fix: textView break IME input issue. resolve #342
2022-03-19 02:51:24 +08:00
CMK
fe14e17810
fix: share extension not accept plaintext content issue. resolve #335
2022-03-10 17:12:36 +08:00
CMK
b76b3a2750
feat: adapt the app to async & await. Update timeline UI
2022-01-27 21:23:39 +08:00
CMK
c6fc5cc09d
feat: update to new UI tint style
2021-10-29 14:58:09 +08:00
CMK
575035daaf
fix: ShareExtension UI hack not works on iOS 15 issue
2021-10-11 15:26:00 +08:00
CMK
54bd9dcb39
feat: make share extension supports URL item
2021-08-16 15:13:08 +08:00
CMK
ddd1d0f6e4
chore: update project for new i18n resources
2021-08-09 19:44:04 +08:00
CMK
d3c77ee6cf
feat: add Idempotency-Key` header for status
2021-08-09 17:54:11 +08:00
CMK
7b8500e120
feat: set theme color for share action extension
2021-07-20 19:24:24 +08:00
CMK
d2f9828f50
feat: complete upload and publish logic
2021-07-20 16:40:04 +08:00
CMK
1cdbd7fa2a
feat: make UI works
2021-07-19 20:16:56 +08:00