1
0
mirror of https://github.com/mastodon/mastodon-ios.git synced 2024-12-09 23:25:49 +01:00
Commit Graph

6786 Commits

Author SHA1 Message Date
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
Eugen Rochko
3100e065f1 New translations app.json (German) 2024-07-09 16:44:32 +02:00
Eugen Rochko
161435980a New translations app.json (Thai) 2024-07-04 21:35:08 +02:00
Eugen Rochko
2144295661 New translations app.json (Czech) 2024-07-04 02:11:25 +02:00
Eugen Rochko
5885c8db4d New translations localizable.stringsdict (Czech) 2024-07-04 02:11:23 +02:00
Eugen Rochko
2cf1b29dcd New translations app.json (Czech) 2024-07-04 01:07:41 +02:00
Eugen Rochko
1924792c18 New translations intents.stringsdict (Czech) 2024-07-04 01:07:40 +02:00
Eugen Rochko
e48fe333e8 New translations localizable.stringsdict (Czech) 2024-07-04 01:07:39 +02:00
Eugen Rochko
4bfa70d37d New translations app.json (Czech) 2024-07-03 23:38:34 +02:00
Eugen Rochko
cf202e8246 New translations app.json (Belarusian) 2024-07-03 14:19:57 +02:00
Nathan Mattes
b3eaf0cd4c Bump version 2024-07-02 11:26:24 +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
d9c903d695 New translations app.json (Icelandic) 2024-07-02 00:53:03 +02:00
Eugen Rochko
1f57551f64 New translations app.json (Greek) 2024-07-01 18:47:06 +02:00
Eugen Rochko
55c72ed711 New translations app.json (Italian) 2024-07-01 17:24:41 +02:00
Eugen Rochko
0cd8602664 New translations app.json (German) 2024-07-01 15:13:35 +02:00
Eugen Rochko
22d4ce8c95 New translations app.json (Belarusian) 2024-07-01 12:09:50 +02:00
Eugen Rochko
aae6e74648 New translations app.json (Vietnamese) 2024-07-01 11:11:52 +02:00
Eugen Rochko
2ec0495bba New translations app.json (Swedish) 2024-07-01 10:07:07 +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
4fdb1dd4a3
Show author in Card (IOS-284) (#1321)
This PR updates the Preview Card. Apart from a minor background color
change, it introduces the new `StatusCardAuthorControl`, which is
visible if the author of an article has a Mastodon-account. If the user
taps on the account, the given profile will open.

This feature will be available in Mastodon >4.3 (See [this
PR](https://github.com/mastodon/mastodon/pull/30398), for example). HMI,
if you need more information on how to test this etc.

Please enjoy these screenshots with some fake data:


![1321](https://github.com/mastodon/mastodon-ios/assets/2580019/cc580c84-6700-4f15-b1b0-b845c21a445e)
2024-06-30 22:35:09 +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
c61d3d7cb2 Remove empty leftover folder 2024-06-30 15:16:21 +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
Nathan Mattes
3adae7b3c3 Add optional author-account (IOS-284) 2024-06-26 18:47:29 +02:00
Marcus Kida
1a8fbe7692
IOS-271: Fix translate functionality leads to empty status content (#1320)
This PR solves the following things:

1. Fixes the post body being set to an empty string in case translation
fails
2. Fetches `/api/v1/instance/translation_languages` (only if the
`/api/v2/instance` is available) and checks if the transaction between
the desired languages is possible
3. Refactors `Instance` usage to now use
`MastodonAuthentication.InstanceConfiguration` if feasible with low
effort
4. On the home timeline, the reblog status (the wrapper) is taken into
account for translation which leads to the translation failing
2024-06-26 15:48:18 +02:00
Marcus Kida
7342b92edd
Improve code style - part 2 (IOS-271) 2024-06-26 14:37:27 +02:00
Marcus Kida
199a6624e8
Improve code style (IOS-271) 2024-06-26 14:36:17 +02:00
Marcus Kida
ad8d5e6e69
Fix reblog taken into account when translating status on home timeline (IOS-271) 2024-06-25 11:36:18 +02:00
Marcus Kida
972426fa50
Remove CoreData.Instance Entity Classes (IOS-271) 2024-06-25 11:36:04 +02:00
Marcus Kida
3db058800b
Refactor instance usage and use MastodonAuthentication.InstanceConfig (IOS-271) 2024-06-25 11:04:38 +02:00
Marcus Kida
6c43d49ce4
Fix file header (IOS-271) 2024-06-25 10:50:50 +02:00
Marcus Kida
b47ce98ef2
Hide spinner in case translation fails (IOS-271) 2024-06-25 10:45:37 +02:00
Marcus Kida
daaf1b330e
Implement translation language check (IOS-271) 2024-06-25 10:41:03 +02:00
Marcus Kida
7f8587913f
Implement TranslationLanguages fetching (IOS-271) 2024-06-21 12:09:49 +02:00
Marcus Kida
d4132640c5
Throw error in case translation returns empty content (IOS-271) 2024-06-21 12:09:18 +02:00