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

1345 Commits

Author SHA1 Message Date
shannon
6cfba47d48 Correct handling of unboosting from the record of your own boost
Contributes to IOS-382
2025-04-11 14:52:58 -04:00
shannon
6dac7562d9 Commenting out debug-only logic 2025-04-11 14:50:20 -04:00
shannon
329cad97e7 Some debug prints for push notification subscriptions 2025-04-11 14:12:54 -04:00
whattherestimefor
02a2294330 Refetch status on reblog or favorite
This is a temporary fix for favorites and boosts of boosted posts not displaying properly.  A datamodel change in the future should make all of this logic less confusing.

Fixes IOS-382
2025-04-11 14:00:52 -04:00
shannon
b72d5f34c5 Convert NotificationPolicyViewController to SwiftUI
Fixes IOS-396
Fixes IOS-398
2025-04-09 10:41:33 -04:00
shannon
fa207e3a44 Add Terms of Service to the onboarding flow
Fixes IOS-385
2025-04-07 17:40:58 -04:00
shannon
1421795eab Move responsibility for instance configuration updates to the AuthenticationServiceProvider
Fixes IOS-401
2025-04-07 14:36:29 -04:00
shannon
fa49cd6630 Update to three-way choice API for notification filtering 2025-04-04 15:28:18 -04:00
shannon
c9da109ea3 Correct handling of permissions bitmask 2025-04-04 08:46:00 -04:00
shannon
8153c16932 Add option to filter out admin notifications 2025-04-03 14:58:14 -04:00
shannon
7975b13d2a Replace localizable format for new signups with plural 2025-04-03 09:02:27 -04:00
shannon
a785a36a0e Exclude admin notifications until we can offer control over them 2025-04-02 17:07:08 -04:00
shannon
a1774ced00 Add Role and Permissions to Account entity 2025-04-02 17:00:02 -04:00
shannon
36cde7dc50 Tap on admin report navigates to full report
This will only work if you are logged in to the admin account on the system browser.
2025-04-02 13:59:20 -04:00
shannon
030c3e1260 Distinguish between different types of admin reports in the notifications screen 2025-04-02 13:24:58 -04:00
shannon
d73e318c39 Improve Voice Over experience on Followers and Following lists
Fixes IOS-394
2025-04-02 11:28:22 -04:00
shannon
7734f59072 Multiple states can now wrap a valid deviceToken
Contributes to IOS-384
2025-04-01 15:42:28 -04:00
shannon
a53b454a92 Check if notification permission has been granted when returning from the background.
This whole area needs work. This solution updates the subscriptions more often than necessary.

Contributes to IOS-384
2025-04-01 15:17:52 -04:00
shannon
428fa2b19d Additional error handling for push notification subscriptions
Contributes to IOS-384
2025-04-01 10:51:44 -04:00
shannon
d7d565879f Remove push notification subscription management responsibility from SettingService
The SettingService used to be created very soon after launch, so it would catch the new registration token. It is now only created when needed by the Settings view controller, which makes it a bad place to keep the listener responsible for updating the current subscriptions with the new device token.

Also, update all subscriptions on launch, rather than each account’s subscriptions only when they become the active account.

Contributes to IOS-384
2025-04-01 09:16:28 -04:00
shannon
bf2a1ce790 Remove Arkana
Was only used for setting push notification endpoints.
2025-03-31 10:39:51 -04:00
shannon
457f494a28 Hardcode push notification endpoint
Contributes to IOS-384
2025-03-28 16:30:23 -04:00
shannon
a9b7e5a341 Prepare to handle grouped adminSignUp notifications 2025-03-28 12:02:17 -04:00
shannon
95afad2050 Localization updates 2025-03-26 18:59:22 -04:00
shannon
47358a746e Add handling for several missing notification types 2025-03-26 16:47:54 -04:00
shannon
491cbd09c3 Add reason_required handling to new account registrations 2025-03-26 10:34:01 -04:00
shannon
d02fef490f Correct handling of approval_required on V2 instances 2025-03-26 09:48:27 -04:00
shannon
597d704d4e Add age verification to new account registration on servers that require it
Also improve the form fill experience by only marking a field invalid after it has been edited at least once, or was valid and then became invalid. (Or, for date of birth, is the last thing standing in the way of everything being valid, since the birth date is pre-filled with a likely-invalid value.)

Contributes to IOS-378
2025-03-26 09:48:19 -04:00
shannon
9f1291ca36 Localized strings for age verification
Contributes to IOS-378
2025-03-26 08:19:51 -04:00
shannon
f7b72faf56 Add the new min_age key to V2 Instance 2025-03-26 08:18:16 -04:00
shannon
7502daecd0 Honor requested minID when fetching notifications
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-03-24 11:15:38 -04:00
shannon
e7ad48c9c0 Correctness improvement for merging cached and freshly fetched notification groups
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-03-24 10:47:57 -04:00
shannon
fb4724371b Updated localizations 2025-03-13 14:56:54 -04:00
shannon
7b348c0d5b Update strings 2025-03-11 14:06:07 -04:00
shannon
6783182e21 Regularly update the time-elapsed stamps in the notification views
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-03-11 11:12:17 -04:00
shannon
77f81e5849 Do not show seconds in notification timestamp, only “now” if < 1 minute
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-03-11 11:12:17 -04:00
shannon
4721dd102a Show notification stamp in units no larger than days
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-03-11 11:12:17 -04:00
shannon
357282ee53 Remove beta setting for grouped notifications
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-03-11 11:12:17 -04:00
shannon
f7b992f996 Remove baseline alignment 2025-03-10 14:39:01 -04:00
shannon
2e458c8f00 Remove unused localized keys 2025-03-10 14:29:19 -04:00
shannon
ac5c088005 Correct plurals in base localization 2025-03-10 14:28:32 -04:00
shannon
62c1f05db4 Remove redundant accessibility label. 2025-03-10 13:37:12 -04:00
shannon
53db7079b4 Use shortest possible timestamp on notifications
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-03-10 13:37:12 -04:00
shannon
552a844582 Move visibility selection to top of compose window 2025-03-10 13:37:12 -04:00
shannon
3fc7fc64ae Show non-public visibility indicator in author header 2025-03-10 09:49:43 -04:00
shannon
804fdf89f8 Distinguish private mentions and replies in the status view header 2025-03-07 11:14:30 -05:00
shannon
3c3facdf4d Correction to stringsdict formatting 2025-03-06 19:04:36 -05:00
shannon
94d6a13e00 Consistent spelling of “favorite” in the UI
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-03-06 14:48:40 -05:00
shannon
11fa1c1a90 Remove superheaders for all but mentions
Includes restoring the action summary text below the avatar row, but no longer shows the name of the first avatar in grouped notifications, only shows the total count.

Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-03-05 17:08:45 -05:00
shannon
5e6978248f Expand existing cache system to handle grouped notifications
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-03-05 16:01:49 -05:00