Commit Graph

4003 Commits

Author SHA1 Message Date
Hồ Nhất Duy d470c686d4 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (535 of 535 strings)

Translated using Weblate (Vietnamese)

Currently translated at 100.0% (534 of 534 strings)

Translated using Weblate (Vietnamese)

Currently translated at 100.0% (532 of 532 strings)

Co-authored-by: Hồ Nhất Duy <duy@tutamail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/vi/
Translation: Tusky/Tusky
2022-12-20 17:40:42 +00:00
Ihor Hordiichuk 596f591dd3 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (535 of 535 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (534 of 534 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (533 of 533 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (532 of 532 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/uk/
Translation: Tusky/Tusky
2022-12-20 17:40:42 +00:00
Sveinn í Felli 9976dc364c Translated using Weblate (Icelandic)
Currently translated at 100.0% (534 of 534 strings)

Translated using Weblate (Icelandic)

Currently translated at 100.0% (532 of 532 strings)

Co-authored-by: Sveinn í Felli <sv1@fellsnet.is>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/is/
Translation: Tusky/Tusky
2022-12-20 17:40:42 +00:00
Eric f0684eb455 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (535 of 535 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (534 of 534 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (533 of 533 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (532 of 532 strings)

Co-authored-by: Eric <alchemillatruth@purelymail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans/
Translation: Tusky/Tusky
2022-12-20 17:40:41 +00:00
Ümit Solmaz 557e384bce Translated using Weblate (Turkish)
Currently translated at 100.0% (534 of 534 strings)

Translated using Weblate (Turkish)

Currently translated at 99.6% (530 of 532 strings)

Co-authored-by: Ümit Solmaz <usnotv@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/tr/
Translation: Tusky/Tusky
2022-12-20 17:40:41 +00:00
Jan Lindblom 0e1369c0db Translated using Weblate (Swedish)
Currently translated at 100.0% (535 of 535 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (534 of 534 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (533 of 533 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (532 of 532 strings)

Co-authored-by: Jan Lindblom <janlindblom@fastmail.fm>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/sv/
Translation: Tusky/Tusky
2022-12-20 17:40:41 +00:00
UlrichKu 6aed1c6806
issue 2890: Add an "ALT" sticker to the media preview container (#2942)
* issue 2890: Add an "ALT" sticker to the media preview container if there are descriptions

* issue 2890: Use end and start for positioning

* issue 2890: Adapt to new media view group

* issue 2890: Use an indicator overlay for every (single) preview image

* issue 2890: Reduce radius to match that of the preview layout

* issue 2890: Remove (again) unused code

* issue 2890: Set visibility in any case

* issue 2890: Use a translatable text for ALT

* issue 2890: Show ALT flag only when showing media

* issue 2890: Call doOnLayout on the layout wrapper
2022-12-18 16:50:30 +01:00
Eva Tatarka 2de2af0a8c
Fix media preview sometimes not showing (#3023) 2022-12-08 21:25:59 +01:00
Levi Bard a6b6a40ba6
Add post editing capability (#2828)
* Add post editing capability

* Don't try to reprocess already uploaded attachments.
Fixes editing posts with existing media

* Don't mark post edits as modified until editing occurs

* Disable UI for things that can't be edited when editing a post

* Finally convert SFragment to kotlin

* Use api endpoint for fetching status source for editing

* Apply review feedback
2022-12-08 10:18:12 +01:00
Levi Bard 51d02388b9
Fix tests (#3022) 2022-12-08 09:58:58 +01:00
Konrad Pozniak 88125ef7da
fix crash in TouchDelegateHelper when not all views are available (#3016)
* fix crash in TouchDelegateHelper when not all views are available

* filter views before passing to TouchDelegateHelper

* remove unused import

* fix indentation
2022-12-07 19:34:54 +01:00
Nik Clayton e20fda322e
Remove rxjava from API calls used by AccountListFragment::fetchAccounts() (#3005)
* Remove rxjava from API calls used by AccountListFragment

* Use "Throwable" type and name
2022-12-07 19:34:31 +01:00
Nik Clayton f796f77f9a
Implement getFilters() without rxjava (#2990) 2022-12-07 19:30:53 +01:00
kylegoetz 25443217c2
2952/proxy (#2961)
* replace hard-coded strings with existing constants

* proxy port

* * custom proxy port and hostname inputs
* typesafety, refactor, linting, unit tests

* relocate ProxyConfiguration in app structure

* remove unused editTextPreference fn

* allow preference category to have no title

* refactor proxy prefs hierarchy/dependency
2022-12-07 19:29:18 +01:00
Konrad Pozniak 59c24381a3
replace Manifest package with Gradle namespace (#3007) 2022-12-06 20:32:26 +01:00
Konrad Pozniak 864e72d6f3
make date converter null safe (#3006) 2022-12-06 20:32:12 +01:00
Nik Clayton 48ad2f9eee
Ensure the "Apply" button is always visible (#3004)
On smaller devices the notification filter listview may be longer than the
screen height, and pushes the "Apply" button out of sight.

Fix this by:

- Set the height of the listview to 0dp and its layout_weight to 1
- Set the layout_weight of the button to 0

This ensures the button always appears (because the listview height is 0dp)
and the listview then expands to fill any remaining space (because the
layout_weight is 1).

Fixes https://github.com/tuskyapp/Tusky/issues/2985
2022-12-06 20:31:16 +01:00
Nik Clayton 08642d7bdb
Use light/dark mode colors for image description text (#3003)
* Use light/dark mode colors for image description text

This is an accessibility issue -- in light mode (which should have dark text
on a light background) the text color was hardcoded to light grey and the
background color was a semi-transparent black.

Fixes https://github.com/tuskyapp/Tusky/issues/2983.

* Update app/src/main/res/drawable/ic_drag_indicator_horiz_24dp.xml

Co-authored-by: Konrad Pozniak <connyduck@users.noreply.github.com>

Co-authored-by: Konrad Pozniak <connyduck@users.noreply.github.com>
2022-12-06 20:24:26 +01:00
Nik Clayton 0d962c7cc1
Implement status() without rxjava (#2999)
* Implement status() without rxjava

* Use lambda param named `throwable`

* Update DraftsActivity.kt
2022-12-06 20:23:48 +01:00
Konrad Pozniak 0f11e5c062
Merge pull request #2976 from nailyk-weblate/weblate-tusky-tusky
Translations update from Weblate
2022-12-06 20:22:42 +01:00
Konrad Pozniak 420722912f
Merge pull request #2974 from nailyk-weblate/weblate-tusky-tusky-app
Translations update from Weblate
2022-12-06 20:21:54 +01:00
Ümit Solmaz 1a3e31036d Translated using Weblate (Turkish)
Currently translated at 82.4% (438 of 531 strings)

Co-authored-by: Ümit Solmaz <usnotv@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/tr/
Translation: Tusky/Tusky
2022-12-06 19:20:49 +00:00
puf 63cabccc54 Translated using Weblate (Welsh)
Currently translated at 83.0% (441 of 531 strings)

Co-authored-by: puf <puffinux@tutanota.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/cy/
Translation: Tusky/Tusky
2022-12-06 19:20:49 +00:00
Hồ Nhất Duy 60b73a20e3 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (531 of 531 strings)

Translated using Weblate (Vietnamese)

Currently translated at 100.0% (529 of 529 strings)

Co-authored-by: Hồ Nhất Duy <duy@tutamail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/vi/
Translation: Tusky/Tusky
2022-12-06 19:20:49 +00:00
Sveinn í Felli e0beb115eb Translated using Weblate (Icelandic)
Currently translated at 100.0% (531 of 531 strings)

Translated using Weblate (Icelandic)

Currently translated at 100.0% (529 of 529 strings)

Co-authored-by: Sveinn í Felli <sv1@fellsnet.is>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/is/
Translation: Tusky/Tusky
2022-12-06 19:20:49 +00:00
Vegard Skjefstad 1e2f23d4ed Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (529 of 529 strings)

Co-authored-by: Vegard Skjefstad <vegard@vegard.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
Translation: Tusky/Tusky
2022-12-06 19:20:49 +00:00
batuhanakkurt 102a288abd Translated using Weblate (Turkish)
Currently translated at 78.2% (414 of 529 strings)

Co-authored-by: batuhanakkurt <batuhanakkurt000@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/tr/
Translation: Tusky/Tusky
2022-12-06 19:20:49 +00:00
TAKAHASHI Shuuji d243f5c2fb Translated using Weblate (Japanese)
Currently translated at 95.0% (503 of 529 strings)

Co-authored-by: TAKAHASHI Shuuji <shuuji3@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ja/
Translation: Tusky/Tusky
2022-12-06 19:20:49 +00:00
XoseM 3c8224f694 Translated using Weblate (Galician)
Currently translated at 100.0% (527 of 527 strings)

Co-authored-by: XoseM <xosem@disroot.org>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gl/
Translation: Tusky/Tusky
2022-12-06 19:20:49 +00:00
Luna 7174db71d4 Translated using Weblate (Polish)
Currently translated at 97.5% (514 of 527 strings)

Co-authored-by: Luna <moonyblush@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/pl/
Translation: Tusky/Tusky
2022-12-06 19:20:49 +00:00
Vri a0de865ec8 Translated using Weblate (German)
Currently translated at 99.0% (524 of 529 strings)

Translated using Weblate (German)

Currently translated at 99.2% (523 of 527 strings)

Co-authored-by: Vri <vrifox@vrifox.cc>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/de/
Translation: Tusky/Tusky
2022-12-06 19:20:49 +00:00
Hồ Nhất Duy fc31329fd3 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (525 of 525 strings)

Co-authored-by: Hồ Nhất Duy <kantcer@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/vi/
Translation: Tusky/Tusky
2022-12-06 19:20:49 +00:00
Eric ca661b2965 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (531 of 531 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (529 of 529 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (527 of 527 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (525 of 525 strings)

Co-authored-by: Eric <alchemillatruth@purelymail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans/
Translation: Tusky/Tusky
2022-12-06 19:20:49 +00:00
Jan Lindblom c120fecaf3 Translated using Weblate (Swedish)
Currently translated at 100.0% (531 of 531 strings)

Translated using Weblate (Swedish)

Currently translated at 99.8% (530 of 531 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (529 of 529 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (527 of 527 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (525 of 525 strings)

Co-authored-by: Jan Lindblom <janlindblom@fastmail.fm>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/sv/
Translation: Tusky/Tusky
2022-12-06 19:20:49 +00:00
Newidyn d17d8e8779 Translated using Weblate (Welsh)
Currently translated at 83.8% (440 of 525 strings)

Co-authored-by: Newidyn <grugallt@protonmail.ch>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/cy/
Translation: Tusky/Tusky
2022-12-06 19:20:49 +00:00
Danial Behzadi b397c60d04 Translated using Weblate (Persian)
Currently translated at 100.0% (525 of 525 strings)

Co-authored-by: Danial Behzadi <dani.behzi@ubuntu.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fa/
Translation: Tusky/Tusky
2022-12-06 19:20:48 +00:00
Ihor Hordiichuk 5a3caa85ce Translated using Weblate (Ukrainian)
Currently translated at 100.0% (531 of 531 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (529 of 529 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (527 of 527 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (525 of 525 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (507 of 507 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/uk/
Translation: Tusky/Tusky
2022-12-06 19:20:48 +00:00
Quentí 9e9aaee4e4 Translated using Weblate (Occitan)
Currently translated at 99.8% (526 of 527 strings)

Translated using Weblate (Occitan)

Currently translated at 98.2% (516 of 525 strings)

Translated using Weblate (Occitan)

Currently translated at 97.1% (510 of 525 strings)

Translated using Weblate (Occitan)

Currently translated at 96.7% (499 of 516 strings)

Translated using Weblate (Occitan)

Currently translated at 94.3% (486 of 515 strings)

Translated using Weblate (Occitan)

Currently translated at 94.1% (485 of 515 strings)

Translated using Weblate (Occitan)

Currently translated at 93.3% (477 of 511 strings)

Translated using Weblate (Occitan)

Currently translated at 91.3% (463 of 507 strings)

Co-authored-by: Quentí <quentinantonin@free.fr>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/oc/
Translation: Tusky/Tusky
2022-12-06 19:20:48 +00:00
UlrichKu 2accfd0712
2890 show warning on missing description (#2919)
* issue 2890: Show a warning icon if media description is missing

* issue 2890: Remove disturbing additional signs

* issue 2890: Add another icon; use a snackbar; change wording; use orange as color

* issue 2890: Remove now unneeded new resource

* issue 2890: Use a toast (also) to avoid elevation problems

* issue 2890: Use snackbar with elevation again; refactor a bit
2022-12-06 19:28:44 +01:00
Luna 618feccd3d Translated using Weblate (Polish)
Currently translated at 100.0% (19 of 19 strings)

Translation: Tusky/Tusky description
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky-app/pl/
2022-12-06 18:27:39 +00:00
Danial Behzadi ccaaed71e3 Translated using Weblate (Persian)
Currently translated at 84.2% (16 of 19 strings)

Translation: Tusky/Tusky description
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky-app/fa/
2022-12-06 18:27:39 +00:00
Konrad Pozniak 615c7adc86
hide "take photo" button when no Photo app is installed (#2997) 2022-12-05 19:15:58 +01:00
Konrad Pozniak bdeb88c41f
respect "animate emojis" setting in emoji picker (#2996) 2022-12-05 19:15:28 +01:00
Konrad Pozniak 564caf4e9d
don't include dependency info in apk (#2995) 2022-12-05 19:13:15 +01:00
Konrad Pozniak 157f4adfa1
Upgrade gradle to 7.6 and AGP to 7.3.1 (#2977) 2022-12-05 19:10:55 +01:00
Eva Tatarka 36befdebe2
Add a touch delegate to increase action touch targets to 48dp (#2872)
* Add a touch delegate to increase action touch targets to 48dp

Fixes #2825

* Adjust layout to make action buttons larger

* Remove 4dp vertical margin
2022-12-05 19:05:46 +01:00
Nik Clayton 965d51100c
Cleanup NotificationFragment to make future conversion to Kotlin easier (#2993)
* Convert NotificationsFragment to use view binding

* Use requireContext() in places a context is required

Removes a nullness warning.

* Simplify code by using .sublist() and .contains()

Removes a lint warning.

* Add @NonNull annotations to onViewTag and onViewAccount

* Use consistent comment styles
2022-12-05 14:51:45 +01:00
Levi Bard 11de43f470
Sort language lists by the localized language name (#2991) 2022-12-05 14:49:09 +01:00
Konrad Pozniak f3962058dc
fix blocking accounts in thread view (#2988) 2022-12-05 14:44:52 +01:00
Eva Tatarka 0b921f3c26
Increase the size of the accept/reject follow buttons (#2987)
Also swapped the order to follow android's convention of having the
positive button on the right.
2022-12-05 14:44:32 +01:00