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

2546 Commits

Author SHA1 Message Date
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
58425ecad5 Remove obsolete NotificationViewController
Functionality replaced by #399 [BUG] Multiple interactions do not collapse into a single notification
2025-04-03 16:01:45 -04:00
shannon
ac30d4a3dc Some consolidation of logout logic 2025-04-03 16:01:35 -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
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
9adf10a05e Use account name as title of notifications screen
To make it clear that these settings are for the current account only, if there are multiple accounts signed in.

Contributes to IOS-384
2025-04-01 15:41:20 -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
a9b7e5a341 Prepare to handle grouped adminSignUp notifications 2025-03-28 12:02:17 -04:00
shannon
3b8f1f6fae Warning fix 2025-03-26 19:00:58 -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
d911c5a076 Remove self from count of other voters
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
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
a0c6b2c1ea Prevent race condition caused by loading newer notification groups at the same time as older
Possible when very few notifications groups exist for this user, so the bottom loader is visible as soon as the notifications tab is opened.
2025-03-24 13:52:11 -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
c746507cc4 Remove unreachable error handler 2025-03-24 10:48:14 -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
eb2b874ab5 Show new avatar image as soon as it has been chosen.
Also, lighten the editing overlay effect on the header and avatar images.
2025-03-13 13:05:55 -04:00
shannon
48be2e2f8f Add “see more” accessibility option to trigger refresh of notifications feed
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
Contributes to IOS-380
2025-03-13 11:23:39 -04:00
shannon
716cf2427f VoiceOver improvements for filtered notifications banner
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
Contributes to IOS-380
2025-03-13 11:22:49 -04:00
shannon
00bcae4bd6 Attempt to improve VoiceOver for accepted/rejected follower requests
Unfortunately needs further work (VoiceOver does not announce this label as part of the row).

Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
Contributes to IOS-380
2025-03-13 11:22:41 -04:00
shannon
b6b486533b Improved VoiceOver experience for Grouped Notifications screen
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
Contributes to IOS-380
2025-03-13 10:59:48 -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
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
dc6e0cfe2f Remove unwanted space between notification header and longer summary posts
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-03-11 11:12:09 -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
804fdf89f8 Distinguish private mentions and replies in the status view header 2025-03-07 11:14:30 -05:00
shannon
36fba12791 If instance information is unavailable, assume grouped notifications are possible rather than assuming they are not
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-03-06 19:14:50 -05:00
shannon
828e3c516e Avoid crash due to duplicate ids in search results
Fixes #1416 Mastodon iOS application sometimes quit when performing a search and scrolling down the results
2025-03-06 14:37:57 -05:00
shannon
f294dbe091 Exclude boosts from “Posts and Replies”
Fixes  #1419  ”Posts and replies" tab on profile should not include boosts
2025-03-06 14:28:48 -05:00
shannon
cc0247f138 Always allow attempting to load more after replacing the whole list.
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-03-06 12:51:47 -05:00
shannon
8f6e22a77f Remove unused index 2025-03-06 12:43:33 -05:00
shannon
f78f432932 Move selection of “Everything” vs. “Mentions” back to the navigation bar
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-03-06 12:03:29 -05:00
shannon
eb469917ed Remove extra space at bottom of notification row
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-03-06 12:02:18 -05:00
shannon
ba73254645 Add ellipsis to end of avatar row if more than the pictured accounts are included in the notification group
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-03-05 18:08:55 -05:00
shannon
41c0ae0b13 Move timestamp to action summary line
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-03-05 17:47:48 -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
332543aa3d Remove Boutique
Not appropriate for this use case.
2025-03-05 16:01:57 -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
shannon
535cb2429f Avoid retaining self 2025-03-05 15:05:22 -05:00
shannon
24665c8a6c Remove background view for notifications
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-03-04 10:28:55 -05:00