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

362 Commits

Author SHA1 Message Date
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
13bef5b75b Change “Follow” button on notifications screen to “Follow back”
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-03-04 09:59:20 -05:00
shannon
620e7d8aef Additional localized strings for notification headers
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-03-04 08:34:29 -05:00
shannon
0c0e8f2552 Additional localized strings
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-03-03 10:38:30 -05:00
shannon
725a004f33 Add localizations for grouped notifications
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-03-03 08:06:26 -05:00
shannon
c85bbad148 Add label above notification to call attention to public vs. private mentions and replies
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-18 14:02:27 -05:00
shannon
f2311cc0fd Additional localized strings
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-14 08:39:53 -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
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
137cd4015a Update localized strings to add “No recent searches”
Fixes #1389
2025-01-14 14:43:47 -05:00
shannon
8926e5a5f2 Refactor: Simplify login flow
Give full responsibility for API calls to the AuthenticationViewModel.
Give (nearly) full responsibility for UI flow of the signup/log in experience to the WelcomeViewController.

Transition more APIService functions to async await.
Remove unnecessary AppContext vars.
Update helpful text on Log In screen.

Contributes to iOS-321
2024-11-22 13:01:47 -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
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


![ios_241_1](https://github.com/user-attachments/assets/b2297a13-e220-4916-b3b9-24dfcef431de)


![ios_241_2](https://github.com/user-attachments/assets/5fd5b894-cd4e-40f9-abce-56ff17d41dfa)
2024-07-26 11:15:31 +02:00
Marcus Kida
07b0ddc14f
Improve empty state for lists (IOS-287) 2024-07-24 15:32:32 +02:00
Nathan Mattes
b3bfa5101b Sprinkle in some, you guessed it: Localization (IOS-241) 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
Marcus Kida
8a5180b54a
Show empty message if no lists exist / hashtags are followed (IOS-102) 2024-07-17 13:18:37 +02:00
Marcus Kida
019f483c0c
Remove unused code 2024-07-16 13:45:01 +02:00
Marcus Kida
0a887a4841
Implement "Followed Hashtags" (IOS-102) 2024-07-15 15:22:36 +02:00
Marcus Kida
4c832d0547
Implement Lists Menu (IOS-21) 2024-07-12 11:07:11 +02:00
Nathan Mattes
6315abeb9e Use different labels for publisher and date (IOS-284)
so that in case of loooooooooooong publisher names the publisher name is shortened but the date is still visible
2024-06-30 19:47:59 +02:00
Nathan Mattes
f56d7ebaa8 Throw in some localization (IOS-284) 2024-06-30 18:54:47 +02:00
Marcus Kida
84f445426a
Add Privacy & Safety Settings Item (IOS-168) 2024-06-12 10:55:37 +02:00
Marcus Kida
f1aebc4220
Update Onboarding Privacy Copy (IOS-221) (#1295)
# Rationale

| Screenshot | Description |
|---|---|
| ![Simulator Screenshot - iPhone 15 - 2024-05-18 at 14 13
51](https://github.com/mastodon/mastodon-ios/assets/126418/0822433f-b362-4787-9f42-2f7c37f4ea55)
| This PR modifies the Onboarding Privacy Copy and allows it to render
Markdown. |
2024-05-22 09:26:12 +02:00
Nathan Mattes
8d3cb2beb3
Update Post Menu (IOS-229) (#1292)
* Add missing actions, hack way to inject options into menu (IOS-229)

* Implement new menu structure (IOS-229)

This doesn't work-work yet, as functionality isn't implemented yet. Also: Special options and traits.

* Add preferredElementSize to submenus (IOS-229)

* Copy Link (IOS-229)

* Open In Browser (IOS-229)

* Boost status from menu (IOS-229)

* Favorite status from menu (IOS-229)

* Fix following-status in menu and don't cache menu (IOS-229)

* Add some destruction, add localization and use "Boost" instead of "Reblog" (IOS-229)

* Use struct instead of tuple for those menu-parts (IOS-229)
2024-05-18 14:30:51 +02:00
Marcus Kida
41c34d4e82
Update onboarding privacy text to render Markdown 2024-05-16 17:13:55 +02:00
Nathan Mattes
1c1f67c4f9 Add missing localization (IOS-264) 2024-05-14 15:11:56 +02:00
Nathan Mattes
9507368fd1 Add localization (IOS-264) 2024-05-14 15:11:56 +02:00
Nathan Mattes
a4b175ce9c Revert "Moderation Warning Notifications (IOS-264) (#1287)"
This reverts commit 794ffc002f384bb95b91d4369ddf5de93d3aba8c.
2024-05-14 15:11:23 +02:00
Nathan Mattes
794ffc002f
Moderation Warning Notifications (IOS-264) (#1287)
* Add moderation-warning-notification-type (IOS-264)

* Add entity for new AccountWarning (IOS-264)

Details see https://github.com/mastodon/mastodon/pull/30065 for now, as there's no documentation (yet)

* re-add file header (IOS-264)

* Add authorization to instance-calls (IOS-264)

This will improve using the app with `LIMITED_FEDERATION_INSTANCES`

* Add basic cell for account-warnings (IOS-264)

* Show some content for a warning (IOS-264)

* Open strike in browser (IOS-264)

* Add localization (IOS-264)

* Add missing localization (IOS-264)

* Cleanup (IOS-264)
2024-05-14 15:07:05 +02:00
Nathan Mattes
8d97b5a51e
"Welcome back" screen cleanup (IOS-226) (#1282)
* Update texts (IOS-226)

* Remove next-button (IOS-226)

* Tap on row to login (IOS-226)

* Make text use blurple and no disclosure indicator (IOS-226)

* Fix separator lines (IOS-226)

Well. Configurations don't work with custom UI-elements (or I'm just stupid), that's why I had to fall back to good ol UITableViewCell with UIKit-components
2024-05-03 20:53:20 +02:00
Nathan Mattes
c2d0701062
Improve Multi-User Account Sheet (IOS-245) (#1273)
* Copynpaste cell to logout all accounts (IOS-245)

* Show cell (IOS-245)

* Logout of all accounts (IOS-245)

* Use iOS-formsheet to present account-list (IOS-245)

* Remove dead code (IOS-245)

* Don't animate account-switches (IOS-245)

* Remove panModal (IOS-245)

* UI-fixes (IOS-245)

* Add swipe-to-logout-action (IOS-245)

* Localize (IOS-245)

* Add a little bit of margin (IOS-245)

* Fix separator-insets (IOS-245)

* Don't crash on iPad when logging out of all accounts (IOS-245)
2024-04-30 09:22:27 +02:00
Nathan Mattes
8bb9bca4b9 Sprinkle in localization (IOS-234) 2024-04-10 14:03:13 +02:00
Nathan Mattes
26f3b5a7ce Sprinkle in some localization (IOS-235) 2024-04-04 12:19:44 +02:00
Marcus Kida
484d72fbdd
Adjust Server Rules Screen (IOS-220) (#1251)
* Adjust Server Rules Screen (IOS-220)

* Update Server Rules (IOS-220)

* Use new server rules UI in Server Details (IOS-220)

* Improve disclaimer usage (IOS-220)

* Fix background in server details (IOS-220)
2024-03-19 09:55:42 +01:00
Marcus Kida
2e7054cb68
Implement "Default Post Language" and "Ask Before"-Alerts (#1240)
* Implement Settings->General->"Ask Before" and add "Ask Before Posting Without Alt Text" IOS-166

* Implement Alt Missing Alert for Status Edits (IOS-166)

* Fix status edit composes duplicate message

* Show (or don't) the "Really delete post?" Alert based on the User's preference (IOS-166)

* Implement alert for boost/unboost (IOS-166)

* Begin implementing "Default Post Language"-Setting (IOS-166)

* Show "Unfollow @user?" Alert (IOS-166)

* Merge conflict fixes for IOS-166

* Implement default post language setting (IOS-166)

* Fix follow button state not updated correctly (IOS-166)

* Add PR feedback (IOS-166)

* Improve default language cell style (IOS-166)

* Fix language filter broken (IOS-166)
2024-02-28 10:52:04 +01:00
Nathan Mattes
4322607552 Localize Domain Block (IOS-5) 2023-12-19 13:12:32 +01:00
Nathan Mattes
197e636c0c Fix typo 2023-11-14 12:42:18 +01:00
Nathan Mattes
3647ec0eb2 Fix JSON 2023-11-14 12:28:44 +01:00
Nathan Mattes
143e9ad683 Add missing piece of localization (IOS-20) 2023-10-10 14:00:32 +02:00
Nathan Mattes
b8eea23108 Localization. Localization everywhere! (IOS-20) 2023-10-10 13:55:57 +02:00
Nathan Mattes
0e0855982f Add localization (IOS-20) 2023-10-10 13:55:57 +02:00
Nathan Mattes
afd90d62e8 Add settings-entry for server-details (IOS-14, IOS-20) 2023-10-10 13:55:56 +02:00
Nathan Mattes
65f39f4b61 Sprinkle in some localization (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes
67e3078df9 Sprinkle in some localizations on Notificaiton-Screen (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes
5d58010907 Localize General-Setting-Screen (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes
54a7fdee01 Fix app.json-JSON 🤦 (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes
4107370957 Set title for about-screen (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes
951f46353f Add localization to about-screen (IOS-14) 2023-09-27 15:12:43 +02:00