shannon
138230e936
Fix build error
2024-11-15 14:55:15 -05:00
shannon
d7f473c892
MainActor for the new PersistenceManager
2024-11-15 14:45:37 -05:00
shannon
35f1280904
Make view models @MainActor
2024-11-15 14:15: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
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
4737d59b9f
Remove unused code
2024-11-14 10:03:59 -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
16f7a86374
Fix concurrency error
...
Future work: Make MastodonAuthentication immutable and Sendable.
2024-11-13 09:21:28 -05:00
shannon
60f7f91114
Update accountCreatedAt date if missing
...
Contributes to iOS-252
2024-11-12 15:54:11 -05:00
shannon
b1a4571c53
Fixes #687 [BUG] Sign Out from the app does not forget the user's authorization
...
Use an ephemeral session when authenticating user.
Contributes to iOS-315
2024-11-12 15:24:19 -05:00
shannon
e8ab6753d2
Add MainActor to AboutInstanceViewControllerDelegate
2024-11-12 13:00:28 -05:00
shannon
9257477f92
Deleting unused code
2024-11-11 14:31:50 -05:00
shannon
76498442e3
Fix for logged in user requiring reauthorization.
...
Related to iOS-252
2024-11-07 15:37:18 -05:00
shannon
28f1743ebf
Fix truncated message text in some situations
...
Reduce stack view spacing and allow font to scale down.
Related to iOS-252
2024-11-07 15:37:17 -05:00
shannon
531c1a054e
Fix issue where app sometimes launches to login screen even though you are already logged in.
2024-11-07 08:56:03 -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
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
shannon
583c796a4c
Some defense against ProfileViewController.authContext.getter Forced Unwrapping Crash
...
Make the viewModel of the ProfileViewController optional rather than force unwrapping it. If the necessary information is not available, Profile page should show blank rather than crashing, and hopefully will have the expected info soon or the next time it is opened.
There is still a crash danger inherent in the use of TabBarPager, which requires a non-optional for several protocol methods were we can’t guarantee to have one to return. This dependency should be removed in the future.
2024-10-23 10:29:50 -04:00
Marcus Kida
4a654de127
Update icon
2024-10-08 14:53:15 +02:00
Marcus Kida
cd2a5d4b6b
Update L10n
2024-10-08 09:54:34 +02:00
Marcus Kida
f900c5f7ae
Implement new Icons (IOS-290)
2024-10-02 14:17:04 +02:00
Marcus Kida
b13a0e03d6
Update strings
2024-08-02 10:45:44 +02:00
Marcus Kida
6471316d46
Fix touches not reaching tableview cell on notification filters
2024-07-30 13:54:09 +02:00
Marcus Kida
97d6a08a93
Align dismiss icon for notification filters with web
2024-07-29 12:00:03 +02:00
Nathan Mattes
5d8e453da6
Notification Filtering (IOS-241) ( #1319 )
...
- Adds a new cell on the "Everything"-notification-screen to show
unwanted notifications
- Users can define what "unwanted" means to them using the new
"Filter"-button in the upper right corner of the Notification-screen
- Filtered notifications are sorted by account and users can
dismiss/accept if they want to get notifications of that user (it's some
standard table-views and delegates)
## Screenshots


2024-07-26 11:15:31 +02:00
Nathan Mattes
bac8c23d2c
Adress feedback (IOS-241)
2024-07-26 11:08:28 +02:00
Nathan Mattes
766e631217
Update policy after changes
2024-07-24 16:37:33 +02:00
Nathan Mattes
8d535be84a
Fix bottom margins as requested (IOS-241)
2024-07-24 16:20:23 +02:00
Nathan Mattes
9da5b99b28
Show modal on ipad (IOS-241)
2024-07-24 16:01:25 +02:00
Marcus Kida
07b0ddc14f
Improve empty state for lists (IOS-287)
2024-07-24 15:32:32 +02:00
Marcus Kida
50ee1c51e4
Hide loader if no statuses are retrieved (IOS-287)
2024-07-24 14:51:44 +02:00
Marcus Kida
bff3afb3a4
Add missing # symbol (IOS-287)
2024-07-24 14:36:32 +02:00
Nathan Mattes
2d059455d8
Add chevron (IOS-241)
2024-07-24 14:29:05 +02:00
Nathan Mattes
86aa92da0b
Cleanup (IOS-241)
2024-07-24 12:35:08 +02:00
Nathan Mattes
b3bfa5101b
Sprinkle in some, you guessed it: Localization (IOS-241)
2024-07-24 12:35:08 +02:00
Nathan Mattes
f3c035ce92
Add accept/dismiss-menu (IOS-241)
2024-07-24 12:35:08 +02:00
Nathan Mattes
ff48cc2f01
Add swipe-action to dismiss (IOS-241)
2024-07-24 12:35:08 +02:00
Nathan Mattes
f5bc847b30
Reverse buttons (IOS-241)
2024-07-24 12:35:08 +02:00
Nathan Mattes
287587fcf1
[WIP] Plural Localization for banner-subtitle (IOS-241)
...
Caveat: doesn't work yet 🤡
2024-07-24 12:35:08 +02:00
Nathan Mattes
ffc80268c5
Localization for Banner (IOS-241)
2024-07-24 12:35:08 +02:00
Nathan Mattes
9e8de739ec
Localization (IOS-241)
2024-07-24 12:35:08 +02:00
Nathan Mattes
25f15d256e
Update policies (IOS-241)
2024-07-24 12:35:08 +02:00
Nathan Mattes
d87deffa6d
Update notifications after policy/request-change (IOS-241)
2024-07-24 12:35:08 +02:00
Nathan Mattes
48f58642ac
Add first draft for Notification-count-view (IOS-241)
2024-07-24 12:35:08 +02:00
Nathan Mattes
67e1e5e3b4
Minor cleanup (IOS-241)
2024-07-24 12:35:08 +02:00
Nathan Mattes
5925d84dd9
Accept/reject notification requests (IOS-241)
2024-07-24 12:35:08 +02:00
Nathan Mattes
94a8791c4b
[WIP]: Add spinner and do something when pressing the button (IOS-241)
2024-07-24 12:35:07 +02:00
Nathan Mattes
e645bc1fd1
Show accept/reject-button (IOS-241)
...
For now they are just ... there to gather feedback, functions follows
2024-07-24 12:35:07 +02:00
Nathan Mattes
1a123d04be
Set title and fix background color (IOS-241)
2024-07-24 12:35:07 +02:00
Nathan Mattes
8115aea0db
Some more UI-feedback (IOS-241)
2024-07-24 12:35:07 +02:00