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

7160 Commits

Author SHA1 Message Date
shannon
32d897e557 More visible close button in dark mode
Contributes to IOS-398
2025.02-7160
2025-04-09 15:08:22 -04:00
shannon
ff0aa34515 Improve layout of notification filter options
Contributes to IOS-398
2025-04-09 15:08:22 -04:00
shannon
1ae72b9431 Show notification policy at full height if there are admin options included
Contributes to IOS-398
2025-04-09 15:08:22 -04:00
shannon
b9a997dba9 Do not extend caption text below control
Contributes to IOS-398
2025-04-09 15:08:11 -04:00
shannon
e64bef0492 Improve top margin spacing of notifications policy view and make close button look better
Contributes to IOS-398
2025-04-09 13:57:39 -04:00
shannon
0ecc98be32 Do not show admin options if you do not have admin privileges
Contributes to IOS-398
2025-04-09 13:54:37 -04:00
shannon
727fad853f Show menu in an overlay rather than a ZStack, so that showing it does not change the metrics of the main view. 2025-04-09 13:18:20 -04:00
shannon
0be0568542 Add custom menu for filter options to include explanatory text
Contributes to IOS-398
2025.02-7153
2025-04-09 10:49:04 -04:00
shannon
777f4d9b99 Removing obsolete code
Contributes to IOS-398
2025-04-09 10:42:14 -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.02-7150
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
38e2e6baab Trigger update of view when notification group changes contents.
Fixes IOS-388
2025-04-07 10:04:36 -04:00
shannon
fa49cd6630 Update to three-way choice API for notification filtering 2025.02-7147 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.02-7145
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
d345a6872a Add Bodega dependency 2025-04-03 14:58:08 -04:00
shannon
7975b13d2a Replace localizable format for new signups with plural 2025.02-7141 2025-04-03 09:02:27 -04:00
shannon
a785a36a0e Exclude admin notifications until we can offer control over them 2025.02-7140 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
c809d18d97 Remove Arkana from scripts
Contributes to IOS-393
2025.02-7135
2025-04-02 08:41:34 -04:00
shannon
a7bdbd710a Remove Arkana from the gemfile
Contributes to IOS-393
2025-04-02 08:28:23 -04:00
shannon
7734f59072 Multiple states can now wrap a valid deviceToken
Contributes to IOS-384
2025.02-7133
2025-04-01 15:42:28 -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
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.02-7127
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
3b8f1f6fae Warning fix 2025.02-7125 2025-03-26 19:00:58 -04:00
shannon
95afad2050 Localization updates 2025-03-26 18:59:22 -04:00
Eugen Rochko
ab7a82cc74
New Crowdin updates (#1423)
* New translations app.json (Lithuanian)

* New translations ios-infoplist.json (Lithuanian)

* New translations intents.strings (Lithuanian)

* New translations intents.stringsdict (Lithuanian)

* New translations localizable.stringsdict (Lithuanian)

* New translations app.json (Lithuanian)

* New translations localizable.stringsdict (Lithuanian)

* New translations localizable.stringsdict (Lithuanian)

* New translations localizable.stringsdict (Lithuanian)

* New translations localizable.stringsdict (Lithuanian)

* New translations app.json (Lithuanian)

* New translations ios-infoplist.json (Lithuanian)

* New translations intents.strings (Lithuanian)

* New translations intents.stringsdict (Lithuanian)

* New translations localizable.stringsdict (Lithuanian)

* New translations app.json (Lithuanian)

* New translations app.json (Lithuanian)

* New translations app.json (Chinese Simplified)

* New translations app.json (Chinese Simplified)

* New translations localizable.stringsdict (Chinese Simplified)

* New translations app.json (Chinese Simplified)

* New translations app.json (Chinese Simplified)

* New translations app.json (Chinese Simplified)

* New translations app.json (German)

* New translations app.json (Lithuanian)

* New translations app.json (Lithuanian)

* New translations ios-infoplist.json (Chinese Simplified)

* New translations intents.strings (Chinese Simplified)

* New translations app.json (Chinese Simplified)

* New translations app.json (Portuguese, Brazilian)

* New translations intents.strings (Chinese Simplified)

* New translations intents.stringsdict (Chinese Simplified)

* New translations localizable.stringsdict (Chinese Simplified)

* New translations app.json (Icelandic)

* New translations app.json (Icelandic)

* New translations localizable.stringsdict (Icelandic)

* New translations app.json (Vietnamese)

* New translations app.json (Vietnamese)

* New translations localizable.stringsdict (Vietnamese)

* New translations app.json (Thai)

* New translations app.json (Icelandic)

* New translations app.json (Spanish)

* New translations app.json (Czech)

* New translations app.json (German)

* New translations app.json (Portuguese)

* New translations app.json (Chinese Simplified)

* New translations app.json (Vietnamese)

* New translations app.json (Portuguese, Brazilian)

* New translations app.json (Lithuanian)

* New translations app.json (Thai)

* New translations app.json (Romanian)

* New translations app.json (French)

* New translations app.json (Arabic)

* New translations app.json (Belarusian)

* New translations app.json (Catalan)

* New translations app.json (Danish)

* New translations app.json (Greek)

* New translations app.json (Basque)

* New translations app.json (Finnish)

* New translations app.json (Hebrew)

* New translations app.json (Hungarian)

* New translations app.json (Armenian)

* New translations app.json (Italian)

* New translations app.json (Japanese)

* New translations app.json (Korean)

* New translations app.json (Dutch)

* New translations app.json (Polish)

* New translations app.json (Russian)

* New translations app.json (Slovenian)

* New translations app.json (Swedish)

* New translations app.json (Turkish)

* New translations app.json (Ukrainian)

* New translations app.json (Chinese Traditional)

* New translations app.json (English)

* New translations app.json (Galician)

* New translations app.json (Indonesian)

* New translations app.json (Spanish, Argentina)

* New translations app.json (Latvian)

* New translations app.json (Hindi)

* New translations app.json (English, United States)

* New translations app.json (Burmese)

* New translations app.json (Welsh)

* New translations app.json (Sinhala)

* New translations app.json (Scottish Gaelic)

* New translations app.json (Aragonese)

* New translations app.json (Kurmanji (Kurdish))

* New translations app.json (Sorani (Kurdish))

* New translations app.json (Kabyle)

* New translations app.json (Vietnamese)

* New translations app.json (Icelandic)

* New translations app.json (German)

* New translations localizable.stringsdict (Icelandic)

* New translations app.json (Italian)

* New translations app.json (Chinese Traditional)

* New translations app.json (Italian)
2025.02-7123
2025-03-26 18:53:24 -04:00
shannon
11e1d97c1f Bump version number to 2025.02 2025.02-7122 2025-03-26 16:48:32 -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
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
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.01 2025.01-7114
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