Commit graph

4507 commits

Author SHA1 Message Date
renovate[bot] 5b6389d4ae
fix(deps): update dependency androidx.activity:activity-ktx to v1.7.0 (#3483)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-30 18:52:53 +02:00
Konrad Pozniak 60af582750
Merge pull request #3490 from nailyk-weblate/weblate-tusky-tusky
Translations update from Weblate
2023-03-30 18:52:39 +02:00
Konrad Pozniak 24dd68c996
distinguish between different error types in ScheduledStatusActivity (#3487) 2023-03-30 18:52:24 +02:00
Ali Rohman 4f34c2effa Translated using Weblate (Indonesian)
Currently translated at 40.3% (242 of 600 strings)

Co-authored-by: Ali Rohman <laymoth@pm.me>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/id/
Translation: Tusky/Tusky
2023-03-30 16:42:49 +00:00
Quentí 8d122989da Translated using Weblate (Occitan)
Currently translated at 98.5% (591 of 600 strings)

Co-authored-by: Quentí <quentinantonin@free.fr>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/oc/
Translation: Tusky/Tusky
2023-03-30 16:42:49 +00:00
Deleted User 6f1e5ba744 Translated using Weblate (German)
Currently translated at 100.0% (600 of 600 strings)

Co-authored-by: Deleted User <noreply+268@weblate.org>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/de/
Translation: Tusky/Tusky
2023-03-30 16:42:49 +00:00
XoseM 8c5f1209ab Translated using Weblate (Galician)
Currently translated at 100.0% (600 of 600 strings)

Translated using Weblate (Galician)

Currently translated at 94.0% (564 of 600 strings)

Co-authored-by: XoseM <xosem@disroot.org>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gl/
Translation: Tusky/Tusky
2023-03-30 16:42:49 +00:00
Hồ Nhất Duy 33cac594ca Translated using Weblate (Vietnamese)
Currently translated at 100.0% (600 of 600 strings)

Co-authored-by: Hồ Nhất Duy <mastoduy@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/vi/
Translation: Tusky/Tusky
2023-03-30 16:42:49 +00:00
Eric 8b38f5b75b Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (600 of 600 strings)

Co-authored-by: Eric <alchemillatruth@purelymail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans/
Translation: Tusky/Tusky
2023-03-30 16:42:49 +00:00
Danial Behzadi 00d1d4aeb5 Translated using Weblate (Persian)
Currently translated at 100.0% (600 of 600 strings)

Co-authored-by: Danial Behzadi <dani.behzi@ubuntu.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fa/
Translation: Tusky/Tusky
2023-03-30 16:42:49 +00:00
Paul Sanz 92642f73e8 Translated using Weblate (Spanish)
Currently translated at 95.5% (573 of 600 strings)

Translated using Weblate (Spanish)

Currently translated at 95.1% (571 of 600 strings)

Co-authored-by: Paul Sanz <registro@polkillas.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/es/
Translation: Tusky/Tusky
2023-03-30 16:42:49 +00:00
XoseM f76c354aff Translated using Weblate (Galician)
Currently translated at 94.0% (564 of 600 strings)

Co-authored-by: XoseM <xosem@disroot.org>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gl/
Translation: Tusky/Tusky
2023-03-28 03:46:14 +00:00
Hồ Nhất Duy 99f5980f8e Translated using Weblate (Vietnamese)
Currently translated at 100.0% (600 of 600 strings)

Co-authored-by: Hồ Nhất Duy <mastoduy@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/vi/
Translation: Tusky/Tusky
2023-03-28 03:46:14 +00:00
Eric 6db5b788b6 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (600 of 600 strings)

Co-authored-by: Eric <alchemillatruth@purelymail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans/
Translation: Tusky/Tusky
2023-03-28 03:46:14 +00:00
Danial Behzadi ddbd859d45 Translated using Weblate (Persian)
Currently translated at 100.0% (600 of 600 strings)

Co-authored-by: Danial Behzadi <dani.behzi@ubuntu.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fa/
Translation: Tusky/Tusky
2023-03-28 03:46:14 +00:00
Paul Sanz bfab84ce89 Translated using Weblate (Spanish)
Currently translated at 95.1% (571 of 600 strings)

Co-authored-by: Paul Sanz <registro@polkillas.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/es/
Translation: Tusky/Tusky
2023-03-28 03:46:14 +00:00
UlrichKu 9e66ccf4a6
3434: Make description dialog (text field) more usable (#3458)
* 3434: Make description dialog (text field) more usable

* 3434: Close dialog on back button

* 3434: Use a TextInputLayout

* 3434: Adapt German plurals text

* 3434: Remove unused id

* 3434: Disable counter officially
2023-03-24 18:21:56 +01:00
renovate[bot] de5b72e472
fix(deps): update androidx-work to v2.8.1 (#3482)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-24 18:21:05 +01:00
Konrad Pozniak 08efb0ecae
Merge pull request #3466 from nailyk-weblate/weblate-tusky-tusky
Translations update from Weblate
2023-03-24 18:07:57 +01:00
renovate[bot] 057d38bc5f
fix(deps): update androidx-room to v2.5.1 (#3481)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-24 16:58:14 +01:00
UlrichKu aa5703fd5d
3435: Have loading progress visible (shares with recycler view and moved to top) (#3453) 2023-03-24 16:57:21 +01:00
Eric 8ade624e69 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (598 of 598 strings)

Co-authored-by: Eric <alchemillatruth@purelymail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans/
Translation: Tusky/Tusky
2023-03-24 15:49:05 +00:00
xzFantom 8f67b344c3 Translated using Weblate (Belarusian)
Currently translated at 94.1% (562 of 597 strings)

Co-authored-by: xzFantom <xzfantom@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/be/
Translation: Tusky/Tusky
2023-03-24 15:49:05 +00:00
Ihor Hordiichuk 3d4a6e7898 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (598 of 598 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (598 of 598 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (597 of 597 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/uk/
Translation: Tusky/Tusky
2023-03-24 15:49:05 +00:00
Gera, Zoltan 11c218012d Translated using Weblate (Hungarian)
Currently translated at 100.0% (597 of 597 strings)

Co-authored-by: Gera, Zoltan <gerazo@manioka.hu>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/hu/
Translation: Tusky/Tusky
2023-03-24 15:49:05 +00:00
Hồ Nhất Duy a98b450d50 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (598 of 598 strings)

Translated using Weblate (Vietnamese)

Currently translated at 100.0% (598 of 598 strings)

Translated using Weblate (Vietnamese)

Currently translated at 100.0% (597 of 597 strings)

Co-authored-by: Hồ Nhất Duy <mastoduy@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/vi/
Translation: Tusky/Tusky
2023-03-24 15:49:05 +00:00
Sveinn í Felli 51300bae42 Translated using Weblate (Icelandic)
Currently translated at 100.0% (597 of 597 strings)

Translated using Weblate (Icelandic)

Currently translated at 95.8% (572 of 597 strings)

Co-authored-by: Sveinn í Felli <sv1@fellsnet.is>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/is/
Translation: Tusky/Tusky
2023-03-24 15:49:05 +00:00
Danial Behzadi e5b5c6e24e Translated using Weblate (Persian)
Currently translated at 100.0% (598 of 598 strings)

Translated using Weblate (Persian)

Currently translated at 100.0% (597 of 597 strings)

Co-authored-by: Danial Behzadi <dani.behzi@ubuntu.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fa/
Translation: Tusky/Tusky
2023-03-24 15:49:05 +00:00
UlrichKu b70e4be305
3469: Do not jump in the list on the (second) refresh (#3471) 2023-03-24 16:26:50 +01:00
renovate[bot] 444a1c0e48
fix(deps): update dependency androidx.lifecycle:lifecycle-reactivestreams-ktx to v2.6.1 (#3479)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-22 22:01:21 +01:00
renovate[bot] 2e138dbbe3
fix(deps): update dependency androidx.fragment:fragment-ktx to v1.5.6 (#3478)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-22 22:01:12 +01:00
Konrad Pozniak 787f88b801
remove Rx from AccountViewModel and ReportViewModel (#3463) 2023-03-22 22:00:03 +01:00
UlrichKu 8c519af611
3408: Only support iconics (get rid of "discouraged api") (#3476)
* 3408: Only support iconics (get rid of "discouraged api")

* 3408: Remove unused import
2023-03-21 22:19:34 +01:00
renovate[bot] 7f7afb3e46
fix(deps): update dependency androidx.recyclerview:recyclerview to v1.3.0 (#3424)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-21 20:08:43 +01:00
UlrichKu 182df2bfae
3408 home help message (#3415)
* 3408: First draft of help message on empty home timeline

* 3408: Move image spanning to utils; tweak gui a bit (looks like status)

* 3408: Use proper R again; appease linter

* 3408: Add doc; remove narrow comment

* 3408: null is default

* 3408: Add German text

* 3408: Stack refresh animation on top of help message (reorder)
2023-03-21 19:44:35 +01:00
UlrichKu 9484a8b2b9
3457: Allow multi-line poll options (#3459) 2023-03-21 19:34:18 +01:00
UlrichKu 0c36b369dd
3159: Correctly refresh timestamps (#3456)
* 3159: Correctly refresh timestamp (of all elements) and refresh all on display options change

* Remove unnecessary import

* 3159: Remove unnecessary semicolon

* 3159: Remove todo question
2023-03-21 19:01:33 +01:00
Konrad Pozniak 3d71b6e69a
add lint to ci checks (#3462)
* add lint to ci checks

* update lint baseline
2023-03-21 18:56:11 +01:00
UlrichKu d754df8f07
3472: Give polls a default duration (#3473) 2023-03-21 18:52:38 +01:00
Konrad Pozniak 3fc1892c7d
Merge pull request #3455 from nailyk-weblate/weblate-tusky-tusky
Translations update from Weblate
2023-03-18 11:04:51 +01:00
Nik Clayton 81f725667e
Show better errors when loading notifications fails (#3448)
* Show better errors with notification loading fails

The errors are returned as a JSON object, parse it, and show the error
message it contains.

Handle the cases where there might be no error message, or the JSON may be
malformed.

Add tests.

Fixes #3445

* Lint
2023-03-18 10:25:41 +01:00
Eric af762db529 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (597 of 597 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (597 of 597 strings)

Co-authored-by: Eric <alchemillatruth@purelymail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans/
Translation: Tusky/Tusky
2023-03-18 09:16:59 +00:00
Danial Behzadi b9e2695597 Translated using Weblate (Persian)
Currently translated at 100.0% (597 of 597 strings)

Co-authored-by: Danial Behzadi <dani.behzi@ubuntu.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fa/
Translation: Tusky/Tusky
2023-03-18 09:16:59 +00:00
Hồ Nhất Duy b12b06a8c2 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (596 of 596 strings)

Co-authored-by: Hồ Nhất Duy <mastoduy@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/vi/
Translation: Tusky/Tusky
2023-03-18 09:16:59 +00:00
Mārtiņš Bruņenieks 2b13b96372 Translated using Weblate (Latvian)
Currently translated at 91.1% (543 of 596 strings)

Translated using Weblate (Latvian)

Currently translated at 90.7% (541 of 596 strings)

Co-authored-by: Mārtiņš Bruņenieks <martinsb@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/lv/
Translation: Tusky/Tusky
2023-03-18 09:16:59 +00:00
Rhoslyn Prys 5c7bd41109 Translated using Weblate (Welsh)
Currently translated at 100.0% (596 of 596 strings)

Co-authored-by: Rhoslyn Prys <post@meddal.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/cy/
Translation: Tusky/Tusky
2023-03-18 09:16:59 +00:00
renovate[bot] 84188ed10f
fix(deps): update glide to v4.15.1 (#3449)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-18 10:12:07 +01:00
Konrad Pozniak 321d17f5de
Remove Rx from EventHub and TimelineCases (#3446)
* remove Rx from EventHub and TimelineCases

* fix tests

* fix AccountViewModel.unblockDomain

* remove debug logging
2023-03-18 10:11:47 +01:00
Konrad Pozniak 66eadabd44
update release process (#3439) 2023-03-18 09:51:21 +01:00
Nik Clayton c36b243745
Show reblog/favourite confirmations as menus not dialogs (#3418)
* Show reblog/favourite confirmations as menus not dialogs

The previous code used dialogs and displayed the text of the status when
reblogging or favouriting.

This didn't work when the post just contained images, and other material
from the status (content warning, polls) was not shown either.

Fix this by displaying a popup menu instead. The status remains visible so
the user can clearly see what they're acting on.

In addition, this lays the groundwork for supporting a long-press menu
in the future to allow the user to reblog/favourite from a different
account.

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

* Revert the change that puts the menu immediately over the icon

Although this behavious is consistent with how the option menu works, I
decided that the risk of someone inadvertently double-tapping in the same
location, and the first tap opens the menu and the second tap confirms the
action was too great.

So now the menu appears either above or below the icon depending on space,
and the user has to tap in two slightly different spaces.

This is also consistent with the previous behaviour, where it's highly
unlikely that the confirm button on the dialog would have been directly
under the user's finger if they double-tapped.
2023-03-18 09:37:55 +01:00