Commit Graph

1171 Commits

Author SHA1 Message Date
Marcus Kida f15311f2f6
Receive on DispatchQueue.main for consistency (IOS-285) 2024-07-31 11:55:56 +02:00
Marcus Kida 147c417a74
Run NSDataDetector link detection on background queue (IOS-285) 2024-07-31 11:53:13 +02:00
Marcus Kida d84ca7bc75
Fix link char count (IOS-285) 2024-07-31 11:29:47 +02:00
Marcus Kida 42b47af8de
Revert plural workaround 2024-07-30 15:09:59 +02:00
Marcus Kida 25cd3b4815
Fix pluralized fallback on notification filters 2024-07-30 13:53:51 +02: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
Nathan Mattes bac8c23d2c Adress feedback (IOS-241) 2024-07-26 11:08:28 +02:00
Nathan Mattes 8d535be84a Fix bottom margins as requested (IOS-241) 2024-07-24 16:20:23 +02:00
Marcus Kida 07b0ddc14f
Improve empty state for lists (IOS-287) 2024-07-24 15:32:32 +02:00
Nathan Mattes 1bf763a94c Add an english translation (IOS-241)
For whatever reason the plural-translation doesn't have a fallback to Base?!
2024-07-24 15:05:24 +02:00
Nathan Mattes b3bfa5101b Sprinkle in some, you guessed it: Localization (IOS-241) 2024-07-24 12:35:08 +02:00
Nathan Mattes 287587fcf1 [WIP] Plural Localization for banner-subtitle (IOS-241)
Caveat: doesn't work yet 🤡
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
Nathan Mattes d87deffa6d Update notifications after policy/request-change (IOS-241) 2024-07-24 12:35:08 +02:00
Nathan Mattes 55d6b281a6 Use correct URL 🤦 (IOS-241) 2024-07-24 12:35:08 +02:00
Nathan Mattes 8b65421103 [WIP] Add API-calls for accepting/rejecting notification requests (IOS-241) 2024-07-24 12:35:08 +02:00
Nathan Mattes fb3dfb5a6a Show notifications from one account (IOS-241) 2024-07-24 12:35:07 +02:00
Nathan Mattes 0d5dd513dd [WIP] Prepare enum-cases to show notifications from one account (IOS-241) 2024-07-24 12:35:07 +02:00
Nathan Mattes b119a6db1f Use correct properties for account (IOS-241) 2024-07-24 12:35:07 +02:00
Nathan Mattes 7cdde7797f Download notification-requests (IOS-241) 2024-07-24 12:35:07 +02:00
Nathan Mattes 847cadb182 Upload updated policy (IOS-241) 2024-07-24 12:35:07 +02:00
Nathan Mattes 4843348034 Add and show filter-banner in "everything"-notifications (if there are any) (IOS-241) 2024-07-24 12:35:07 +02:00
Nathan Mattes cf39ad6d68 Add notification-policy-download (IOS-241) 2024-07-24 12:35:07 +02:00
Nik Clayton b58a67e0fa
fix: Remove charset from application/json content type
Per https://datatracker.ietf.org/doc/html/rfc8259, application/json does not have a charset parameter
2024-07-20 15:01:55 +02:00
Marcus Kida 4d2bdaf219
Safely unwrap API Version in case MARKETING_VERSION is missing (IOS-262) 2024-07-18 11:53:00 +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 21ea90200e
Address PR Feedback (IOS-102) 2024-07-17 12:59:01 +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 9cb88bcff5
Implement viewing lists on home timeline (IOS-21) 2024-07-12 13:10:05 +02:00
Marcus Kida 4c832d0547
Implement Lists Menu (IOS-21) 2024-07-12 11:07:11 +02:00
Marcus Kida 7f96aa579f
Implement Lists API (IOS-21) 2024-07-11 15:24:46 +02:00
Nathan Mattes 49af346780 Add authorization to custom emojis
This is (mostly) relevant for isolated instances but also these people have a right to custom emojis, right? :D
2024-07-02 11:04:57 +02:00
Eugen Rochko c72b7dbcc3
New Crowdin updates (#1318)
* New translations app.json (Vietnamese)

* New translations app.json (Vietnamese)

* New translations app.json (Romanian)

* New translations app.json (French)

* New translations app.json (Spanish)

* New translations app.json (Arabic)

* New translations app.json (Belarusian)

* New translations app.json (Catalan)

* New translations app.json (Czech)

* New translations app.json (Danish)

* New translations app.json (German)

* 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 (Portuguese)

* 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 Simplified)

* New translations app.json (Chinese Traditional)

* New translations app.json (English)

* New translations app.json (Galician)

* New translations app.json (Icelandic)

* New translations app.json (Portuguese, Brazilian)

* New translations app.json (Indonesian)

* New translations app.json (Spanish, Argentina)

* New translations app.json (Thai)

* 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 (Chinese Traditional)

* New translations app.json (Galician)

* New translations app.json (Spanish, Argentina)

* Update strings

---------

Co-authored-by: Nathan Mattes <hallo@bullenscheisse.de>
2024-07-01 09:41:31 +02:00
Nathan Mattes b3854f140b Fix label for non-mastodon-authors (IOS-284)
Sorry, non-mastodon-authors
2024-06-30 20:06:36 +02:00
Nathan Mattes 663bff6cb2 Cleanup (IOS-284) 2024-06-30 19:53:15 +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
Nathan Mattes d972578176 UI-Fixes (IOS-284) 2024-06-30 18:25:01 +02:00
Nathan Mattes 52ba086f94 Move the author-button into its own class (IOS-284)
and add avatar-image
2024-06-30 17:13:54 +02:00
Nathan Mattes 2876bcced6 Coordinate to Profile if there's an account (IOS-284) 2024-06-30 12:41:39 +02:00
Nathan Mattes 495332e021 Use account as only existing criterium (IOS-284) 2024-06-30 12:23:33 +02:00
Nathan Mattes a3b4528862 Show (optional) published-date (IOS-284) 2024-06-29 19:00:36 +02:00
Nathan Mattes 96798f941c Re-enable menu (IOS-284) 2024-06-29 17:49:00 +02:00
Nathan Mattes 87d17022d4 Add a hacky way to differ between taps on profile and taps on content (IOS-284) 2024-06-29 17:38:57 +02:00
Nathan Mattes ed72022de2 Add label for publisher (IOS-284) 2024-06-29 14:05:48 +02:00
Nathan Mattes b9fa20f083 Adopt new authors-API-change and add publisher 2024-06-29 14:02:10 +02:00
Nathan Mattes 54986620e7 Show author and tinker description (IOS-284)
Also: Background Color, so minor UI-adjustments it is, I guess?
2024-06-26 23:17:48 +02:00
Nathan Mattes cf5bc5b424 Add existing prototype (IOS-284) 2024-06-26 18:50:45 +02:00