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

2029 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
b199a6c630 Correct display of custom emoji contained in user names on notification screen
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-03-03 10:25:05 -05:00
shannon
0eb60db7d5 Add unread indicator for notifications screen
Does not yet send updated last read info to server.

Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-26 10:02:14 -05:00
Stanislas
0b5528d1c5
Fix authentication check to use identifier instead of userID (#1414) 2025-02-24 11:19:55 -05:00
Vincent Tourraine
40f909be85
Apply different cell styles for navigations/actions in About screen (#1400) 2025-02-24 08:56:57 -05:00
shannon
08e9af5806 Refactoring for simpler handling of grouped notification authors
Moving towards being able to navigate to the profile page of any notification author from their avatar.

Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-14 11:40:43 -05:00
shannon
44ac523f33 Implement quiet public as a default post visibility option
Update code to handle the additional .unlisted post visibility option. And make sure to fetch full account info, which includes any custom privacy settings.

Fixes  #1395 [BUG] Implement Quit Public post privacy like the Android app
2025-02-12 10:55:59 -05:00
shannon
87522825f5 Correct default visibility settings
Contributes to  #1395 [BUG] Implement Quit Public post privacy like the Android app
2025-02-12 10:45:47 -05:00
shannon
03b0bd8ac4 Add filter policy button to new grouped notifications view
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-07 15:03:28 -05:00
shannon
bba72cc6fb Show filtered notifications banner on the new grouped notifications screen
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-07 10:22:19 -05:00
shannon
893be62465 Code cleanup
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-06 09:55:17 -05:00
shannon
292b08c401 Finish building out the basics of the new grouped notifications layout
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-03 13:01:04 -05:00
shannon
52b955f5da Additional info for beta feature testing 2025-01-28 11:36:19 -05:00
shannon
233e8d4027 Some tweaks to the pick from photo library process.
Contributes to IOS-364
2025-01-28 11:02:03 -05:00
shannon
a0978d3a0a More effectively check for scrolling to end of loaded user timeline
Fixes  #1399 [BUG] Profile view does not load older content in the feed
2025-01-27 16:36:36 -05:00
shannon
999e74be47 Correctly track follow and reblog status in the notification view.
This is a temporary fix, the datamodel will be changing with grouped notifications.
2025-01-27 16:36:36 -05:00
shannon
bc918ffdfc Restore ability to load additional notifications beyond the first fetched batch 2025-01-24 16:09:12 -05:00
shannon
f552c3af91 Correct and simplify handling of user view button action
Also delete a bunch of unused code.

Fixes IOS-359
2025-01-24 10:30:55 -05:00
shannon
e9b58d3047 More careful handling of AVAudioSession
(May contribute to…)
Contributes to #1074  [BUG] When run on Mac, iOS app prevents sleep
2025-01-23 10:43:39 -05:00
shannon
eac3222e65 Remove import AVKit from files that do not need it 2025-01-23 10:07:00 -05:00
shannon
e91d6e3bc5 Update notification view after approving or rejecting a follow request
Fixes #1342 [BUG] Follow requests no longer working
2025-01-22 15:14:58 -05:00
whattherestimefor
7f0c9897d1 Update NotificationTimelineViewModel.loadMore() for recent changes 2025-01-22 11:09:36 -05:00
shannon
7814812b5a first stages of a swiftui list for notifications
changes to keep building that will quickly become moot

Starting to implement SwiftUI version of notifications

project update forgotten

Switch out whole view controller when testing grouped notifications.

make old view work again

Bump deployment target to iOS 17

better view model. follow button loads correctly, showing followers list or account works.

mostly kind of working

rename

rename
2025-01-21 19:03:57 -05:00
Damir Yackupov
571d73644c
support for focus point in image (#1392)
* support for focus point in image

* small fix

* small refactor
2025-01-15 06:34:09 -05:00
shannon
137cd4015a Update localized strings to add “No recent searches”
Fixes #1389
2025-01-14 14:43:47 -05:00
Gokul
f9ad9a4931
If recent search history is empty show text like No recent searches (#1387)
Displayed no recent searches text if recent search is empty
2025-01-14 14:33:48 -05:00
shannon
6ec1d9a591 Initial display of grouped notifications
Contributes to IOS-253
Contributes to IOS-355
2025-01-14 11:23:42 -05:00
shannon
12d737c4e1 Use grouped notifications beta setting in UserDefaults 2025-01-14 11:13:10 -05:00
shannon
1ec772d8a1 Show ungrouped notifications as before, but using the new MastodonFeedItemIdentifiers
Contributes to IOS-253
Contributes to IOS-355
Contributes to IOS-357
2025-01-10 16:17:51 -05:00
shannon
100937187c Data model changes to enable grouped notifications
Work in progress. This will run but will not show any notifications.

Contributes to IOS-355
Contributes to IOS-253
2025-01-09 08:49:28 -05:00
shannon
4dd856f106 Add full settings menu for beta features
Fixes IOS-354
2025-01-07 15:08:10 -05:00
shannon
1512f6e079 clarify private usage 2025-01-06 14:55:20 -05:00
shannon
b438d3db32 rename for clarity
Not all of these cases involve a MastodonStatus. Their actual use is as identifiers for the tableview datasources.
2025-01-06 14:45:29 -05:00
shannon
1ea485e349 rename for clarity 2025-01-06 14:19:30 -05:00
shannon
68cf3fa409 remove unnecessary import 2025-01-06 14:18:55 -05:00
shannon
e47d54d506 Rename for clarity 2025-01-06 10:24:14 -05:00
shannon
f28751872d Adjust HitTestExpandedButton to MinimumHitTargetButton, which enforces minimum hit target size of 44x44
Contributes to IOS-143
2024-12-17 15:08:13 -05:00
shannon
d84b5474c4 Only adjust scroll offset if new tableview contents does contain the expected anchoring index path. 2024-12-17 12:59:35 -05:00
shannon
99fad6fb23 Renaming for clarity 2024-12-17 12:55:28 -05:00