Commit Graph

338 Commits

Author SHA1 Message Date
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 794ffc002f.
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
Nathan Mattes 0f495e67e4 Add localization to general-settings-screen (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes 5ac8d02b0b Re-add keys
This whole localization workflow is super annyoing and fragile.
2023-09-20 23:55:21 +02:00
Nathan Mattes 4e42505dee Fix wording in app.json 2023-09-20 23:07:19 +02:00
Nathan Mattes 08e71fbcda Fix app.jsons (again) 2023-09-20 22:00:29 +02:00
Nathan Mattes 5370d00504 Fix app.json 2023-09-20 19:51:10 +02:00
Nathan Mattes 5a7ee4c9e6 Add missing keys to the right app.json 2023-09-20 19:39:09 +02:00
Nathan Mattes 0c5b3a64cf Adopt search to follow mastodon-logic (IOS-141)
as defined here: https://github.com/mastodon/mastodon/blob/main/app/javascript/mastodon/features/compose/components/search.jsx#L280-L310
2023-09-20 16:03:46 +02:00
Nathan Mattes 7abc536d01 Add localization to "No such user"-alert (IOS-141) 2023-09-17 14:40:23 +02:00
Nathan Mattes c51f021b12
Merge pull request #1078 from j-f1/discard
Improve heuristic for skipping the post discard confirmation modal
2023-07-02 16:25:02 +02:00
Nathan Mattes 4b5151bb39 Get servers and choose one randomly for signup (IOS-171)
Server list from backend has a weight which plays a role in which server gets selected.
mastodon.social is the fallback in case something goes wrong
2023-07-02 14:43:49 +02:00
Jed Fox c7455a20b5
Remove unused `DiscardPostContent` strings 2023-06-30 17:38:55 -04:00
Nathan Mattes a4a78a2c09 Fix JSON (IOS-103) 2023-06-13 15:30:30 +02:00
Nathan Mattes d455da85d2 Add follow/unfollow-option to user-section (IOS-103) 2023-06-13 15:30:30 +02:00
Nathan Mattes 9b422a95ac Sprinkle in some localization (IOS-103) 2023-06-13 15:30:30 +02:00
Nathan Mattes 25e4b732ed Sprinkle in some localization (IOS-157) 2023-05-25 14:42:00 +02:00
Nathan Mattes f1777376f4 Update title for suggestion-screen (IOS-157) 2023-05-25 14:42:00 +02:00
Marcus Kida 4de184c85f
Merge branch 'develop' into IOS-140_Verified_Links 2023-05-05 15:40:46 +02:00
Nathan Mattes da8da2ae4b
Use better strings for placeholders (IOS-152)
Co-authored-by: Jed Fox <git@jedfox.com>
2023-05-05 12:10:57 +02:00
Marcus Kida 40db0e36c0
Add missing L10n (IOS-140) 2023-05-05 10:07:47 +02:00
Marcus Kida d1d9e86244
Add missing L10n for IOS-140 2023-05-04 11:39:57 +02:00
Nathan Mattes 1829793ac5 Locale notfound/placeholder-texts (IOS-37) 2023-05-02 21:36:16 +02:00
Nathan Mattes 49307a316f Add localization (IOS-37) 2023-05-02 21:36:16 +02:00
Nathan Mattes a99f3a152b
Change text for alternative server-button (IOS-153) (#1030) 2023-05-02 20:20:13 +02:00
Nathan Mattes 8c7da32950 Fix localization again 2023-04-08 23:30:15 +02:00