Commit Graph

2765 Commits

Author SHA1 Message Date
Ivan Kupalov c638ad7e6b
Make CaptionDialog non-cancellable, fix #2626 (#2676)
This prevents accidental closing of dialog by clicking
outside of the dialog.
2022-08-22 16:18:45 +02:00
Vegard Skjefstad 070b60de10 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (491 of 491 strings)

Co-authored-by: Vegard Skjefstad <vegard@vegard.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
Translation: Tusky/Tusky
2022-08-22 13:17:58 +00:00
Hồ Nhất Duy 27e5c15958 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (491 of 491 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-08-22 13:17:58 +00:00
Eric a7c77e4485 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (491 of 491 strings)

Co-authored-by: Eric <alchemillatruth@purelymail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans/
Translation: Tusky/Tusky
2022-08-22 13:17:58 +00:00
Tobiasz Kubisiowski a248dcee4b Translated using Weblate (Esperanto)
Currently translated at 96.9% (474 of 489 strings)

Co-authored-by: Tobiasz Kubisiowski <tobiasz.kub@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/eo/
Translation: Tusky/Tusky
2022-08-22 13:17:58 +00:00
Konrad Pozniak e020b35774
fix view thread back button content description (#2682) 2022-08-22 15:17:55 +02:00
Konrad Pozniak f094f84b86
fix ConversationLineItemDecoration (#2677)
* fix ConversationLineItemDecoration

* cleanup code a bit
2022-08-22 15:17:08 +02:00
Donno e68e3d1825
a monochrome icon for tusky (#2683) 2022-08-20 16:26:34 +02:00
Levi Bard c47d9ef6ac
Support setting filter expirations (#2667)
* Show filter expiration in list

* Add support for setting and updating the duration of a filter

* Add tests for duration conversion math

* Refactor network wrapper code

* Mark updated mastodon api functions as suspend

* Avoid creating unnecessary Date objects

* Apply suggestions to filter dialog layout
2022-08-17 17:50:34 +02:00
Konrad Pozniak 7a53bce439
improve sending error notifications (#2671)
* improve sending error notifications

* rename draftNotification -> buildDraftNotification
2022-08-16 20:08:03 +02:00
Konrad Pozniak edbc624625
fix saving multiple attachments as draft (#2670) 2022-08-16 20:07:49 +02:00
Levi Bard decd8a0f4b
Upgrade robolectric (#2664)
* Upgrade robolectric to 4.8.1

* Make TimelineDAO cleanup test deterministic
2022-08-15 11:01:17 +02:00
Levi Bard b21def5041
Respect filter expiration date when applying filters (#2661)
* Respect filter expiration date when applying filters. #2578

* Fix typing for filter `expires_in` api points
2022-08-15 11:01:04 +02:00
Ihor Hordiichuk b54ee32ea1 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (489 of 489 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/uk/
Translation: Tusky/Tusky
2022-08-15 09:00:23 +00:00
GunChleoc 0de452a332 Translated using Weblate (Gaelic)
Currently translated at 100.0% (489 of 489 strings)

Co-authored-by: GunChleoc <fios@foramnagaidhlig.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gd/
Translation: Tusky/Tusky
2022-08-15 09:00:23 +00:00
Hồ Nhất Duy 77d3d1bb0f Translated using Weblate (Vietnamese)
Currently translated at 100.0% (489 of 489 strings)

Translated using Weblate (Vietnamese)

Currently translated at 100.0% (489 of 489 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-08-15 09:00:23 +00:00
Vegard Skjefstad 43aeea357d Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (489 of 489 strings)

Co-authored-by: Vegard Skjefstad <vegard@vegard.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
Translation: Tusky/Tusky
2022-08-15 09:00:23 +00:00
Connyduck 2004d870a0 Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.5% (487 of 489 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 99.7% (488 of 489 strings)

Co-authored-by: Connyduck <weblate@connyduck.at>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
Translation: Tusky/Tusky
2022-08-15 09:00:23 +00:00
Konrad Pozniak 741461acde
rewrite threads with Kotlin & coroutines (#2617)
* initial class setup

* handle events and filters

* handle status state changes

* code formatting

* fix status filtering

* cleanup code a bit

* implement removeAllByAccountId

* move toolbar into fragment, implement menu

* error and load state handling

* fix pull to refresh

* implement reveal button

* use requireContext() instead of context!!

* jump to detailed status

* add ViewThreadViewModelTest

* fix ktlint

* small code improvements (thx charlag)

* add testcase for toggleRevealButton

* add more state change testcases to ViewThreadViewModel
2022-08-15 11:00:18 +02:00
Levi Bard 607f448eb3
Rename norsk bokmål translation from no_NB to nb_NO (#2652)
* Rename norsk bokmål translation from no_NB to nb_NO

* Revert locale name migration
2022-08-08 11:02:22 +02:00
Eric 4826d17bed Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (489 of 489 strings)

Co-authored-by: Eric <alchemillatruth@purelymail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans/
Translation: Tusky/Tusky
2022-08-08 08:54:41 +00:00
GunChleoc a5862c3547 Translated using Weblate (Gaelic)
Currently translated at 99.5% (487 of 489 strings)

Co-authored-by: GunChleoc <fios@foramnagaidhlig.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gd/
Translation: Tusky/Tusky
2022-08-08 08:54:41 +00:00
joenepraat 3065eae9f2 Translated using Weblate (Dutch)
Currently translated at 99.5% (485 of 487 strings)

Co-authored-by: joenepraat <joenepraat@posteo.org>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nl/
Translation: Tusky/Tusky
2022-08-08 08:54:41 +00:00
Konrad Pozniak 1fed84f948
fix caching of instance defaults and emojis (#2643)
* fix caching of instance defaults and emojis

* use correct OnConflictStrategy

* rename dao methods
2022-08-07 22:18:53 +02:00
Konrad Pozniak 4f0f9a7a12
update Kotlin to 1.7.10 and fix some (new?) warnings (#2647)
* update Kotlin to 1.7.10 and fix some (new?) warnings

* remove unused import
2022-08-07 19:36:09 +02:00
Konrad Pozniak 17cfa3d9b4
support Pleroma upload_limit configuration (#2646)
* support Pleroma upload_limit configuration

* fix ComposeActivityTest
2022-08-07 19:14:42 +02:00
Konrad Pozniak 68c9870b19
update AndroidX dependencies (#2641)
* update AndroidX dependencies

* fix ComposeActivityTest
2022-08-07 19:13:59 +02:00
Levi Bard 042176e523
Add support for following hashtags (#2642)
* Add support for following hashtags. Addresses #2637

* Update rxjava to coroutines

* Update new tag api to use suspend functions

* Update hashtag unfollow icon

* Set correct tint on hashtag follow/unfollow icons

* Translate hashtag follow/unfollow error messages

* Toast => Snackbar

* Remove unnecessary view lookup
2022-08-07 19:09:26 +02:00
Hồ Nhất Duy 3ee5efcb43 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (487 of 487 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-08-06 06:42:33 +00:00
Eric 5eb0764bd9 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (487 of 487 strings)

Co-authored-by: Eric <alchemillatruth@purelymail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans/
Translation: Tusky/Tusky
2022-08-06 06:42:33 +00:00
Vegard Skjefstad 46e78210af Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (487 of 487 strings)

Co-authored-by: Vegard Skjefstad <vegard@vegard.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
Translation: Tusky/Tusky
2022-08-06 06:42:33 +00:00
Weblate 2a2d96fbd9 Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/
Translation: Tusky/Tusky
2022-08-06 06:42:33 +00:00
Weblate 5e425cdaf0 Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/
Translation: Tusky/Tusky
2022-08-05 16:55:17 +00:00
Connyduck 69e43d718f Translated using Weblate (German)
Currently translated at 100.0% (489 of 489 strings)

Translated using Weblate (German)

Currently translated at 100.0% (489 of 489 strings)

Co-authored-by: Connyduck <weblate@connyduck.at>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/de/
Translation: Tusky/Tusky
2022-08-05 16:55:17 +00:00
QuirkyPony 17fb93626c
adapt file size error messages to show real instance upload limit (#2630)
* remove megabyte counts from file size error messages

The file size limits depend on the server; change strings to reflect that.

* show real file size limits instead of assuming Mastodon defaults

* correct previous commit

* correct previous commit (again)

* remove megabyte counts from file size error messages

The file size limits depend on the server; change strings to reflect that.

* Translated using Weblate (Galician)

Currently translated at 100.0% (489 of 489 strings)

Co-authored-by: XoseM <xosem@disroot.org>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gl/
Translation: Tusky/Tusky

* Translated using Weblate (Finnish)

Currently translated at 5.5% (1 of 18 strings)

Translation: Tusky/Tusky description
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky-app/fi/

* correct previous commit

correct previous commit (again)

fixed type error caused by previous commits

* fix lint error...

* Update strings.xml

* improve code, calculate correct max size and format it

Co-authored-by: Laura <the-ceo-of-antifa@protonmail.com>
Co-authored-by: XoseM <xosem@disroot.org>
Co-authored-by: Konrad Pozniak <k.pozniak@gmx.at>
2022-08-05 18:55:13 +02:00
Bruno Miguel df9e2652e9 Translated using Weblate (Portuguese (Portugal))
Currently translated at 100.0% (489 of 489 strings)

Co-authored-by: Bruno Miguel <brunoalexandremiguel@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/pt_PT/
Translation: Tusky/Tusky
2022-08-04 17:19:13 +02:00
knuxify afa92a7ca1 Translated using Weblate (Polish)
Currently translated at 100.0% (489 of 489 strings)

Co-authored-by: knuxify <knuxify@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/pl/
Translation: Tusky/Tusky
2022-08-04 17:18:45 +02:00
Laura Aléanor f1556ef97e Translated using Weblate (Finnish)
Currently translated at 51.9% (254 of 489 strings)

Co-authored-by: Laura Aléanor <the-ceo-of-antifa@protonmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fi/
Translation: Tusky/Tusky
2022-08-04 17:18:21 +02:00
Konstantin 119693bc3c Translated using Weblate (German)
Currently translated at 100.0% (489 of 489 strings)

Co-authored-by: Konstantin <konstantin.tutsch@disroot.org>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/de/
Translation: Tusky/Tusky
2022-08-04 17:17:49 +02:00
Konrad Pozniak 55796c9a30
update minSdkVersion to 23 (#2638)
closes #2606
2022-08-04 16:48:26 +02:00
Konrad Pozniak 2d2d7569e3
fix compose field focus when replying to post with cw (#2634) 2022-08-03 17:23:54 +02:00
XoseM ec5e4a6c09 Translated using Weblate (Galician)
Currently translated at 100.0% (489 of 489 strings)

Co-authored-by: XoseM <xosem@disroot.org>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gl/
Translation: Tusky/Tusky
2022-07-27 19:06:55 +00:00
Martin Marconcini 8b026991e0
2616: Save Scheduled Time for Drafts. (#2624)
* 2616: Save Scheduled Time for Drafts.

Signed-off-by: Martin Marconcini <martin.marconcini.rodriguez@nl.abnamro.com>

* Revert 39.json schema to the original state before my changes.
2022-07-27 21:06:51 +02:00
Konrad Pozniak 1b6a0908f6
Handle even more instance defaults (#2612)
* handle media size instance limits

* remove unused attributes from Instance entity

* support max_media_attachments

* support pleroma field limits, remove max_bio_chars support

* improve field input margin

* fix tests

* MAX_ACCOUNT_FIELDS -> DEFAULT_MAX_ACCOUNT_FIELDS

* improve "add field" button behavior

* fix copy paste mistake in AccountFieldEditAdapter

* refactor sendStatus to be a suspending function
2022-07-26 20:24:50 +02:00
Hồ Nhất Duy 378e87033e Translated using Weblate (Vietnamese)
Currently translated at 100.0% (489 of 489 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-07-15 14:26:58 +00:00
Gera, Zoltan 3a7d89189d Translated using Weblate (Hungarian)
Currently translated at 100.0% (489 of 489 strings)

Co-authored-by: Gera, Zoltan <gerazo@manioka.hu>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/hu/
Translation: Tusky/Tusky
2022-07-11 16:26:14 +00:00
codl 5ed0cc24a5 Translated using Weblate (French)
Currently translated at 99.7% (488 of 489 strings)

Co-authored-by: codl <codl@codl.fr>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fr/
Translation: Tusky/Tusky
2022-07-11 16:26:14 +00:00
Konrad Pozniak 526f170d51
don't crash on invalid json response for push subscription (#2613) 2022-07-11 18:17:58 +02:00
Konrad Pozniak a8a97b6834
fix relogin bug (#2609)
* fix relogin bug

* fix ktlint
2022-07-05 18:18:12 +02:00
Hồ Nhất Duy ae5364612e Translated using Weblate (Vietnamese)
Currently translated at 100.0% (489 of 489 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-07-02 16:26:53 +00:00