Commit graph

2973 commits

Author SHA1 Message Date
Konrad Pozniak
8a0848d252
fix data loss when re-adding existing account (#2601) 2022-06-30 20:49:48 +02:00
Konrad Pozniak
9dcb1b666c
show push migration snackbar above floating action button (#2598) 2022-06-30 20:49:27 +02:00
ButterflyOfFire
69d8dd9662 Translated using Weblate (French)
Currently translated at 100.0% (488 of 488 strings)

Co-authored-by: ButterflyOfFire <butterflyoffire@protonmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fr/
Translation: Tusky/Tusky
2022-06-26 08:59:49 +00:00
Gera, Zoltan
d9a1c55ee4 Translated using Weblate (Hungarian)
Currently translated at 100.0% (488 of 488 strings)

Co-authored-by: Gera, Zoltan <gerazo@manioka.hu>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/hu/
Translation: Tusky/Tusky
2022-06-26 08:59:49 +00:00
Hồ Nhất Duy
6c9f1f1563 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (488 of 488 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-06-26 08:59:49 +00:00
Vegard Skjefstad
ea0436d2f5 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (488 of 488 strings)

Co-authored-by: Vegard Skjefstad <vegard@vegard.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
Translation: Tusky/Tusky
2022-06-26 08:59:49 +00:00
Eric
8bccc96a5f Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (488 of 488 strings)

Co-authored-by: Eric <alchemillatruth@purelymail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans/
Translation: Tusky/Tusky
2022-06-26 08:59:49 +00:00
Stefano Pigozzi
aba31be49a Translated using Weblate (Italian)
Currently translated at 98.5% (481 of 488 strings)

Co-authored-by: Stefano Pigozzi <me@steffo.eu>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/it/
Translation: Tusky/Tusky
2022-06-26 08:59:49 +00:00
Weblate
d0adfbd607 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-06-26 08:59:49 +00:00
codl
de358e5307 Translated using Weblate (French)
Currently translated at 100.0% (488 of 488 strings)

Translated using Weblate (French)

Currently translated at 100.0% (488 of 488 strings)

Co-authored-by: codl <codl@codl.fr>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fr/
Translation: Tusky/Tusky
2022-06-26 08:59:49 +00:00
Levi Bard
8551785389
Fix hiding/showing preview cards for sensitive statuses (#2600)
* Update comment on StatusViewData.isCollapsible

* Fix hiding/showing preview cards for sensitive statuses.
Fixes #2565

* Fix typo
2022-06-24 21:47:49 +02:00
mcclure
3ca8a0b549
Use specific term "image" in error UI, not "attachment" (#2592)
The new message for the crop feature, "The attachment could not be edited.", turned out to be awkward in some languages (French) where according to the translator it would be better to more specifically say "The image could not be edited." (as currently we can only edit images). Patch replaces error_media_edit_failed with a error_image_edit_failed and deletes the existing error_media_edit_failed-s.
2022-06-21 22:14:11 +02:00
Conny Duck
0375aa1d18 release 92 2022-06-20 17:05:22 +02:00
Conny Duck
18506f7092 add 39.json 2022-06-20 16:52:01 +02:00
Konrad Pozniak
f419e83c16
improve logout (#2579)
* improve logout

* fix tests

* add db migration

* delete wrongly committed file again

* improve LogoutUsecase
2022-06-20 16:45:54 +02:00
XoseM
e0f5c35eff Translated using Weblate (Galician)
Currently translated at 100.0% (488 of 488 strings)

Co-authored-by: XoseM <xosem@disroot.org>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gl/
Translation: Tusky/Tusky
2022-06-20 14:11:34 +00:00
Konrad Pozniak
dba2fbc5c1
fix empty timeline on initial load (#2586) 2022-06-20 16:11:30 +02:00
Levi Bard
2e33233309
Don't display bot badge in account selection dialog (#2589) 2022-06-20 16:11:07 +02:00
Konrad Pozniak
1a29a589e1
rewrite InstanceDao queries to drop unused columns (#2585) 2022-06-20 16:08:19 +02:00
hebbeff
eeab688d9d Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (488 of 488 strings)

Co-authored-by: hebbeff <hebbeff@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans/
Translation: Tusky/Tusky
2022-06-16 16:51:39 +00:00
Konrad Pozniak
3417a7272a
use moshis Rfc3339DateJsonAdapter for json date parsing (#2584)
* Rename .java to .kt

* use moshis Rfc3339DateJsonAdapter for json date parsing
2022-06-16 18:51:35 +02:00
Konrad Pozniak
fd568aedba
fix refreshing notifications screen when there are no notifications (#2583) 2022-06-16 18:50:01 +02:00
Karmanyaah Malhotra
cbc5077b1f
UnifiedPush: FEATURE_BYTES_MESSAGE distributors (#2581)
Only use distributors which are compatible with FEATURE_BYTES_MESSAGE
This is because Mastodon sends notifications that are arbritary bytes,
not UTF-8. This causes issues in older versions of UnifiedPush
distributors and providers that don't support FEATURE_BYTES_MESSAGE
2022-06-09 20:03:27 +02:00
Sveinn í Felli
dcc04fb640 Translated using Weblate (Icelandic)
Currently translated at 100.0% (488 of 488 strings)

Co-authored-by: Sveinn í Felli <sv1@fellsnet.is>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/is/
Translation: Tusky/Tusky
2022-06-06 14:51:53 +00:00
XoseM
45a77b8d05 Translated using Weblate (Galician)
Currently translated at 100.0% (488 of 488 strings)

Co-authored-by: XoseM <xosem@disroot.org>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gl/
Translation: Tusky/Tusky
2022-06-06 14:51:53 +00:00
Ihor Hordiichuk
6251aa0d14 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (488 of 488 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/uk/
Translation: Tusky/Tusky
2022-06-06 14:51:53 +00:00
hebbeff
e378e03fae Translated using Weblate (Chinese (zh_SG))
Currently translated at 69.2% (338 of 488 strings)

Translated using Weblate (Chinese (Traditional))

Currently translated at 90.3% (441 of 488 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (488 of 488 strings)

Co-authored-by: hebbeff <hebbeff@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hant/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_SG/
Translation: Tusky/Tusky
2022-06-06 14:51:53 +00:00
Danial Behzadi
0fd43d0b54 Translated using Weblate (Persian)
Currently translated at 100.0% (488 of 488 strings)

Co-authored-by: Danial Behzadi <dani.behzi@ubuntu.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fa/
Translation: Tusky/Tusky
2022-06-06 14:51:53 +00:00
tobi
530eb61505
Use NetworkResult in MediaUploadApi (#2577) 2022-06-06 16:04:33 +02:00
Konrad Pozniak
e1c8461423
replace kotlin-result-calladapter with networkresult-calladapter (#2569)
* replace kotlin-result-calladapter with networkresult-calladapter

* fix tests
2022-05-30 20:03:40 +02:00
Konrad Pozniak
131309e99c
Fix conversations (#2556)
* fix conversations

* cleanup ConversationsRemoteMediator

* update conversation timestamps regularly

* improve loadStateListener

* add db migration

* make deleting from conversation db suspending

* reorganize code in ConversationsFragment

* delete NetworkStateViewHolder

* cleanup imports

* add 38.json

* honor fabHide setting in ConversationsFragment

* set page size to 30
2022-05-30 19:06:14 +02:00
Konrad Pozniak
2983c3f48e
Add UtcDateTypeAdapter for Gson (#2549)
* Add UtcDateTypeAdapter for Gson

* add 38.json
2022-05-30 18:15:17 +02:00
Konrad Pozniak
434d345d01
remove unused member vars from TimelineFragment (#2561) 2022-05-29 19:23:08 +02:00
Ivan Kupalov
e63cd68baf
Fix filters in timelines in a simple way, fix #2546 (#2566)
Loading of statuses and loading of filters is an "intended" race:
we want to display statuses first, especially if they are cached.
Unfortunately we do not cache filters themselves so when we load cached
statuses we do not apply filters.

One part of the solution is to re-filter the statuses once we fetch the
filters. This commit implements it. Caching of filters is not included
yet.
2022-05-29 19:22:59 +02:00
Konrad Pozniak
579f0eb833
update android animation glide plugin to 2.22.0 (#2557) 2022-05-29 19:21:44 +02:00
mcclure
06e32f703a
Fix unintended [mismatched] show-replies preference (with key force-reset) (#2568)
* Fix unintended [mismatched] show-replies preference and add a comment to prevent confusion.

* Change the key on TAB_FILTER_HOME_REPLIES to reset everyone's value here once.
2022-05-29 19:21:33 +02:00
UlrichKu
d2befa83d3
2554 refresh timestamps on resume (#2562)
* Fire observable to update timestamps directly on resume (#2554)

* Fire observable to update timestamps directly on resume (#2554)
2022-05-27 19:51:22 +02:00
Konrad Pozniak
becb677176
make WebView debuggable in debug builds (#2548) 2022-05-27 18:44:16 +02:00
Luca
3020ea59dc Translated using Weblate (Italian)
Currently translated at 98.7% (482 of 488 strings)

Co-authored-by: Luca <f5e54431-cf3e-4a72-afcd-66ad76a38c19@anonaddy.me>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/it/
Translation: Tusky/Tusky
2022-05-27 16:43:13 +00:00
Bruno Miguel
eef7ce4bb7 Translated using Weblate (Portuguese (Portugal))
Currently translated at 97.7% (477 of 488 strings)

Translated using Weblate (Portuguese (Portugal))

Currently translated at 98.1% (477 of 486 strings)

Co-authored-by: Bruno Miguel <brunoalexandremiguel@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/pt_PT/
Translation: Tusky/Tusky
2022-05-27 16:43:13 +00:00
Stefano Pigozzi
c3bac680ae Translated using Weblate (Italian)
Currently translated at 98.1% (477 of 486 strings)

Co-authored-by: Stefano Pigozzi <me@steffo.eu>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/it/
Translation: Tusky/Tusky
2022-05-27 16:43:13 +00:00
Gera, Zoltan
40bd54d5bd Translated using Weblate (Hungarian)
Currently translated at 100.0% (488 of 488 strings)

Translated using Weblate (Hungarian)

Currently translated at 99.5% (484 of 486 strings)

Co-authored-by: Gera, Zoltan <gerazo@manioka.hu>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/hu/
Translation: Tusky/Tusky
2022-05-27 16:43:13 +00:00
mondstern
f156188d02 Translated using Weblate (German)
Currently translated at 99.1% (482 of 486 strings)

Co-authored-by: mondstern <mondstern@snopyta.org>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/de/
Translation: Tusky/Tusky
2022-05-27 16:43:13 +00:00
XoseM
d0937077a2 Translated using Weblate (Galician)
Currently translated at 100.0% (485 of 485 strings)

Co-authored-by: XoseM <xosem@disroot.org>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gl/
Translation: Tusky/Tusky
2022-05-27 16:43:13 +00:00
GunChleoc
86470459b1 Translated using Weblate (Gaelic)
Currently translated at 99.5% (486 of 488 strings)

Translated using Weblate (Gaelic)

Currently translated at 99.5% (483 of 485 strings)

Co-authored-by: GunChleoc <fios@foramnagaidhlig.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gd/
Translation: Tusky/Tusky
2022-05-27 16:43:13 +00:00
Vegard Skjefstad
1546ea2e1f Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (488 of 488 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 100.0% (486 of 486 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 100.0% (485 of 485 strings)

Co-authored-by: Vegard Skjefstad <vegard@vegard.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
Translation: Tusky/Tusky
2022-05-27 16:43:13 +00:00
hebbeff
47e269fd07 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (485 of 485 strings)

Co-authored-by: hebbeff <hebbeff@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans/
Translation: Tusky/Tusky
2022-05-27 16:43:13 +00:00
ButterflyOfFire
d7d3c6a183 Translated using Weblate (French)
Currently translated at 98.7% (479 of 485 strings)

Co-authored-by: ButterflyOfFire <butterflyoffire@protonmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fr/
Translation: Tusky/Tusky
2022-05-27 16:43:13 +00:00
Hồ Nhất Duy
9cdf1ced87 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (488 of 488 strings)

Translated using Weblate (Vietnamese)

Currently translated at 100.0% (486 of 486 strings)

Translated using Weblate (Vietnamese)

Currently translated at 100.0% (485 of 485 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-05-27 16:43:13 +00:00
Eric
6fd76f7622 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (488 of 488 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (486 of 486 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (485 of 485 strings)

Co-authored-by: Eric <alchemillatruth@purelymail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans/
Translation: Tusky/Tusky
2022-05-27 16:43:13 +00:00
Ihor Hordiichuk
55e99be123 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (485 of 485 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (485 of 485 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/uk/
Translation: Tusky/Tusky
2022-05-27 16:43:13 +00:00
UlrichKu
2424dde9cc
Fire observable to update timestamps directly on resume (#2554) (#2555) 2022-05-27 18:43:10 +02:00
Constantin A
9139e7bbf1
Set FilemojiCompat to version 3.2.2 (#2553) 2022-05-25 20:55:00 +02:00
Konrad Pozniak
fd9d48e4a6
remove legacy notification channel cleanup (#2550) 2022-05-25 20:54:25 +02:00
mcclure
00c139190e
Ability to crop images attached to posts (#2531)
* First attachment crop attempt: Can crop in place, but does not delete/replace on server so has no effect

* Attachment crop feature works

* ktlint fixes on attachment crop patch

* Upgrade Android-Image-Cropper to 4.2.1

* An error message should be displayed if attachment cropping fails and it is not because the user intentionally cancelled.

* Remove 2 of the 3 "state passing" variables by using MediaUtils

* Cropper should use content uri (MIME type bearing) and setOutputCompressFormat so that PNGs reach the server safely.

* Change to crop requested by Conny: Store inflight cropImageItemOld in view model

* Change to crop requested by Conny: Sort cropImage with the other contracts

* ktlint fixes on attachment crop patch (again)
2022-05-22 21:01:14 +02:00
Levi Bard
4188670b42
Implement reply count indicator to track web UI (#2467)
Addresses #882
2022-05-20 16:47:45 +02:00
Konrad Pozniak
b2f2ca6c22
add shrinker rules to keep bouncycastle EC classes (#2542) 2022-05-19 07:19:16 +02:00
Konrad Pozniak
5abb82004a
migrate Lists from RxJava to Kotlin coroutines (#2537)
* migrate Lists from RxJava to Kotlin coroutines

* use DROP_OLDEST when creating MutableSharedFlow
2022-05-18 18:45:35 +02:00
Konrad Pozniak
bdd94d43c5
update android material to 1.6.0 (#2524) 2022-05-17 19:56:12 +02:00
Konrad Pozniak
7a5175c266
update dagger to 2.42 (#2523) 2022-05-17 19:55:58 +02:00
Konrad Pozniak
9a84d14f19
add app category to AndroidManifest (#2513) 2022-05-17 19:55:46 +02:00
Konrad Pozniak
cec8f6dd65
modernize autocomplete (#2510)
* modernize autocomplete

* use @WorkerThread annotation
2022-05-17 19:55:37 +02:00
Konrad Pozniak
4c9cd4084b
show list title when viewing list timeline (#2503) 2022-05-17 19:55:26 +02:00
Martin Marconcini
d97493d312
Issue 2477: Show account's creation date in Profile. (#2480)
* Show account's creation date in Profile.

* Fix broken test.

* Store account creation date in the Database.

* Reformat and reposition Joined Date according to PR Feedback.

* Revert "Store account creation date in the Database."

This reverts commit d9761f53 as it's not needed.

* Change Account's Creation Date to a java.util.Date.
Update Test.

* Fix wildcard import.

* Show full month instead of an abbreviation.

* Remove `lazy` usage in favor of local instantiation.

Co-authored-by: Martin Marconcini <martin.marconcini.rodriguez@nl.abnamro.com>
Co-authored-by: Konrad Pozniak <connyduck@users.noreply.github.com>
2022-05-17 19:49:42 +02:00
Konrad Pozniak
df49851042
never collapse tabs in SearchActivity (#2505) 2022-05-17 19:37:09 +02:00
Peter Cai
9ec5d6e3b0
Push notifications support via UnifiedPush (#2303)
Fixes #793.

This is an implementation for push notifications based on UnifiedPush
for Tusky. No push gateway (other than UP itself) is needed, since
UnifiedPush is simple enough such that it can act as a catch-all
endpoint for WebPush messages. When a UnifiedPush distributor is present
on-device, we will by default register Tusky as a receiver; if no
UnifiedPush distributor is available, then pull notifications are used
as a fallback mechanism.

Because WebPush messages are encrypted, and Mastodon does not send the
keys and IV needed for decryption in the request body, for now the push
handler simply acts as a trigger for the pre-existing NotificationWorker
which is also used for pull notifications. Nevertheless, I have
implemented proper key generation and storage, just in case we would
like to implement full decryption support in the future when Mastodon
upgrades to the latest WebPush encryption scheme that includes all
information in the request body.

For users with existing accounts, push notifications will not be enabled
until all of the accounts have been re-logged in to grant the new push
OAuth scope. A small prompt will be shown (until dismissed) as a
Snackbar to explain to the user about this, and an option is added in
Account Preferences to facilitate re-login without deleting local drafts
and cache.
2022-05-17 19:32:09 +02:00
Conny Duck
20f3ec921f Release 91 2022-05-17 19:24:17 +02:00
GunChleoc
0bf71e6420 Translated using Weblate (Gaelic)
Currently translated at 100.0% (479 of 479 strings)

Co-authored-by: GunChleoc <fios@foramnagaidhlig.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gd/
Translation: Tusky/Tusky
2022-05-17 09:40:38 +00:00
hebbeff
725ce02ab1 Translated using Weblate (Chinese (Traditional))
Currently translated at 91.6% (439 of 479 strings)

Co-authored-by: hebbeff <hebbeff@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hant/
Translation: Tusky/Tusky
2022-05-17 09:40:38 +00:00
ButterflyOfFire
ec72cd0b52 Translated using Weblate (French)
Currently translated at 99.5% (477 of 479 strings)

Co-authored-by: ButterflyOfFire <butterflyoffire@protonmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fr/
Translation: Tusky/Tusky
2022-05-17 09:40:38 +00:00
Konrad Pozniak
8c6ccf4261
fix notification message formatting when username is not at the beginning of the message (#2522)
* fix notification message formatting when username is not at the beginning of the message

* search for placeholder in format string
2022-05-13 22:00:30 +02:00
GunChleoc
8fc2c1601e Translated using Weblate (Gaelic)
Currently translated at 100.0% (479 of 479 strings)

Translated using Weblate (Gaelic)

Currently translated at 100.0% (479 of 479 strings)

Co-authored-by: GunChleoc <fios@foramnagaidhlig.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gd/
Translation: Tusky/Tusky
2022-05-13 18:41:13 +00:00
Hồ Nhất Duy
a6dc7ef425 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (479 of 479 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-05-13 18:41:13 +00:00
Ihor Hordiichuk
47eabafed3 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (479 of 479 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/uk/
Translation: Tusky/Tusky
2022-05-13 18:41:13 +00:00
Eric
6f515ad98a Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (479 of 479 strings)

Co-authored-by: Eric <alchemillatruth@purelymail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans/
Translation: Tusky/Tusky
2022-05-13 18:41:13 +00:00
Agee Kalisz
354b07aa73 Translated using Weblate (Polish)
Currently translated at 100.0% (479 of 479 strings)

Co-authored-by: Agee Kalisz <maciupeq@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/pl/
Translation: Tusky/Tusky
2022-05-13 18:41:13 +00:00
Konrad Pozniak
d9c6269d44
fix deleting media attachments removing the wrong ones (#2517) 2022-05-12 18:21:43 +02:00
Konrad Pozniak
b8e3b6b884
fix currently logged in profiles not being visible in main drawer when offline (#2516) 2022-05-12 18:21:33 +02:00
mcclure
4159826f26
Allow build on systems without git (#2514)
Set git revision to "unknown" if git not available.
2022-05-11 17:16:51 +02:00
Konrad Pozniak
0f1e95d0ca add 35.json 2022-05-11 07:43:30 +02:00
Conny Duck
7db504775c Release 90 2022-05-10 20:00:53 +02:00
Bruno Miguel
23d6d04b39 Translated using Weblate (Portuguese (Portugal))
Currently translated at 100.0% (478 of 478 strings)

Co-authored-by: Bruno Miguel <brunoalexandremiguel@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/pt_PT/
Translation: Tusky/Tusky
2022-05-09 17:40:36 +00:00
Christian Schmidt
3d3287cc42 Translated using Weblate (German)
Currently translated at 100.0% (478 of 478 strings)

Co-authored-by: Christian Schmidt <mastodon@jcs-net.de>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/de/
Translation: Tusky/Tusky
2022-05-09 17:40:36 +00:00
ruben
d421de6ba8 Translated using Weblate (Catalan)
Currently translated at 93.3% (446 of 478 strings)

Co-authored-by: ruben <rubnx@proton.me>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ca/
Translation: Tusky/Tusky
2022-05-09 17:40:36 +00:00
GunChleoc
529452c193 Translated using Weblate (Gaelic)
Currently translated at 100.0% (478 of 478 strings)

Co-authored-by: GunChleoc <fios@foramnagaidhlig.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gd/
Translation: Tusky/Tusky
2022-05-09 17:40:36 +00:00
Hồ Nhất Duy
9ec41903cf Translated using Weblate (Vietnamese)
Currently translated at 100.0% (478 of 478 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-05-09 17:40:36 +00:00
Vegard Skjefstad
aa20040479 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (478 of 478 strings)

Co-authored-by: Vegard Skjefstad <vegard@vegard.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
Translation: Tusky/Tusky
2022-05-09 17:40:36 +00:00
Eric
010a4372f9 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (478 of 478 strings)

Co-authored-by: Eric <alchemillatruth@purelymail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans/
Translation: Tusky/Tusky
2022-05-09 17:40:36 +00:00
Stefano Pigozzi
078603819a Translated using Weblate (Italian)
Currently translated at 100.0% (478 of 478 strings)

Co-authored-by: Stefano Pigozzi <me@steffo.eu>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/it/
Translation: Tusky/Tusky
2022-05-09 17:40:36 +00:00
Ihor Hordiichuk
8b840396fd Translated using Weblate (Ukrainian)
Currently translated at 100.0% (478 of 478 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (478 of 478 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/uk/
Translation: Tusky/Tusky
2022-05-09 17:40:36 +00:00
idontwanttohaveausername
fc1e153cb3 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (478 of 478 strings)

Co-authored-by: idontwanttohaveausername <bydlanm@outlook.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/uk/
Translation: Tusky/Tusky
2022-05-09 17:40:36 +00:00
Konrad Pozniak
45ac280db7
Add Portuguese (Portugal) to the in-app language picker (#2507) 2022-05-09 19:40:32 +02:00
Konrad Pozniak
beaed6b875
Fix crash when saving redrafted media to drafts (#2502)
* fix crash when saving draft from redraft

* fix crash when saving draft from redraft

* replace ... with …
2022-05-09 19:39:43 +02:00
Levi Bard
b4eda5ea65
Unbreak link previews in timelines (#2506) 2022-05-05 18:27:05 +02:00
Konrad Pozniak
db81ede04a
fix login webview title color with light theme (#2497) 2022-05-04 18:40:29 +02:00
Stefano Pigozzi
cb1f4898ba Translated using Weblate (Italian)
Currently translated at 100.0% (477 of 477 strings)

Translated using Weblate (Italian)

Currently translated at 96.6% (461 of 477 strings)

Co-authored-by: Stefano Pigozzi <me@steffo.eu>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/it/
Translation: Tusky/Tusky
2022-05-03 18:00:09 +00:00
Bruno Miguel
7b98adf1ee Translated using Weblate (Portuguese (Portugal))
Currently translated at 100.0% (477 of 477 strings)

Co-authored-by: Bruno Miguel <brunoalexandremiguel@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/pt_PT/
Translation: Tusky/Tusky
2022-05-03 18:00:09 +00:00
Makis Diakatos
58bd20edca Translated using Weblate (Greek)
Currently translated at 22.0% (105 of 477 strings)

Co-authored-by: Makis Diakatos <jerry_deus@hotmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/el/
Translation: Tusky/Tusky
2022-05-03 18:00:09 +00:00
Hồ Nhất Duy
95581fa026 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (477 of 477 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-05-03 18:00:09 +00:00
mondstern
97e8a25a47 Translated using Weblate (German)
Currently translated at 99.1% (473 of 477 strings)

Co-authored-by: mondstern <mondstern@snopyta.org>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/de/
Translation: Tusky/Tusky
2022-05-03 18:00:09 +00:00
ButterflyOfFire
76accf0d0d Translated using Weblate (French)
Currently translated at 100.0% (477 of 477 strings)

Translated using Weblate (Arabic)

Currently translated at 98.3% (469 of 477 strings)

Co-authored-by: ButterflyOfFire <butterflyoffire@protonmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ar/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fr/
Translation: Tusky/Tusky
2022-05-03 18:00:09 +00:00
Konrad Pozniak
a2cc622683
fix EmojiCompat.get().process crash in polls (#2494) 2022-05-03 19:15:59 +02:00
Ivan Kupalov
f3d7923803
Improve UX when Login WebView fails to load the page (#2492)
Previously we simply closed the screen with the login WebView which
could cause confusion. Now we specify that page could not be loaded.

As a side effect it will also show the error message which the server
returns (if any).
2022-05-03 19:14:55 +02:00
Konrad Pozniak
1eed0e1cc2
fix unparsed html when sharing status content (#2491) 2022-05-03 19:13:13 +02:00
Konrad Pozniak
444e7365c9
fix race condition where multiple uploaded media can get same internal id (#2479)
* fix race condition where multiple uploaded media can get same internal id

* atomically update media stateflow

* atomically update media stateflow
2022-05-03 19:12:35 +02:00
Konrad Pozniak
ce5ec15ff1
increase timeout for media uploads (#2489) 2022-05-01 17:16:22 +02:00
Bruno Miguel
2ccc87231d Translated using Weblate (Portuguese (Portugal))
Currently translated at 100.0% (477 of 477 strings)

Co-authored-by: Bruno Miguel <brunoalexandremiguel@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/pt_PT/
Translation: Tusky/Tusky
2022-04-30 17:19:26 +00:00
Connyduck
8fa5141f27 Added translation using Weblate (Portuguese (Portugal))
Co-authored-by: Connyduck <weblate@connyduck.at>
2022-04-30 17:19:26 +00:00
Roj
ba8747a99a Translated using Weblate (Sorani)
Currently translated at 88.4% (423 of 478 strings)

Co-authored-by: Roj <ez@roj.im>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ckb/
Translation: Tusky/Tusky
2022-04-30 17:19:26 +00:00
Ihor Hordiichuk
40a6d6a08a Translated using Weblate (Ukrainian)
Currently translated at 100.0% (478 of 478 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/uk/
Translation: Tusky/Tusky
2022-04-30 17:19:26 +00:00
Vegard Skjefstad
f80994956a Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (478 of 478 strings)

Co-authored-by: Vegard Skjefstad <vegard@vegard.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
Translation: Tusky/Tusky
2022-04-30 17:19:26 +00:00
Martin Marconcini
260e25a0a4
Issue 2379: Make it possible to select text in posts. (#2472)
* Set TextIsSelectable on the corresponding view holders and remove a longpress listener to let Android select text.

* Revert changes, and make selectable text only in detailed status.

Remove long press listener to copy to clipboard (as it interferes with natural text selection on Android).

* Remove unused string (copy_to_clipboard_success) from all translations.

Co-authored-by: Martin Marconcini <martin.marconcini.rodriguez@nl.abnamro.com>
2022-04-30 19:05:44 +02:00
Konrad Pozniak
2a42536b27
Merge pull request #2483 from tuskyapp/fix_timeline_refresh_spinner
fix timeline refresh indicator finishing before updates are visible
2022-04-30 19:05:15 +02:00
GunChleoc
4c612107a3 Translated using Weblate (Gaelic)
Currently translated at 100.0% (478 of 478 strings)

Co-authored-by: GunChleoc <fios@foramnagaidhlig.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gd/
Translation: Tusky/Tusky
2022-04-30 09:17:55 +00:00
Eric
ddf3a5992b Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (478 of 478 strings)

Co-authored-by: Eric <alchemillatruth@purelymail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans/
Translation: Tusky/Tusky
2022-04-30 09:17:55 +00:00
Luna
0b46e6bc35 Translated using Weblate (Polish)
Currently translated at 100.0% (478 of 478 strings)

Co-authored-by: Luna <moonyblush@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/pl/
Translation: Tusky/Tusky
2022-04-30 09:17:54 +00:00
Konrad Pozniak
7fd54e3b4f fix timeline refresh spinner finishing before updates are visible 2022-04-30 08:09:59 +02:00
Guntbert Reiter
9a8dfaa744
Remove code to check the server version (#2469)
solves #2439
2022-04-29 18:35:25 +02:00
Konrad Pozniak
898cff1df3 Merge remote-tracking branch 'weblate/develop' into develop
# Conflicts:
#	app/src/main/res/values-gd/strings.xml
2022-04-28 21:56:32 +02:00
Konrad Pozniak
e9b75119b3
improve bot badge (#2466)
* improve bot badge

* change badge corner radius
2022-04-28 20:39:06 +02:00
Konrad Pozniak
e5b58770ce
improve LoginWebViewActivityUX (#2465) 2022-04-28 20:38:51 +02:00
Konrad Pozniak
28ac190212
fix SearchActivity transition animations (#2464) 2022-04-28 20:37:46 +02:00
Konrad Pozniak
671d2c6a45
Check if media processing finished before sending status (#2458)
* make MastodonApi.createStatus suspending

* check if media processing has finished before sending status

* add backoff for retrying processed media check
2022-04-28 20:37:31 +02:00
Konrad Pozniak
4f8c6cf5c7
Merge pull request #2454 from nailyk-weblate/weblate-tusky-tusky
None
2022-04-28 18:55:49 +02:00
Roj
895130bd4b Translated using Weblate (Sorani)
Currently translated at 88.6% (423 of 477 strings)

Co-authored-by: Roj <ez@roj.im>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ckb/
Translation: Tusky/Tusky
2022-04-28 16:55:15 +00:00
Marek Ľach
516f75b643 Translated using Weblate (Slovak)
Currently translated at 26.4% (126 of 477 strings)

Co-authored-by: Marek Ľach <mareklachbc@tutanota.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/sk/
Translation: Tusky/Tusky
2022-04-28 16:55:14 +00:00
Sveinn í Felli
f7599db777 Translated using Weblate (Icelandic)
Currently translated at 100.0% (477 of 477 strings)

Co-authored-by: Sveinn í Felli <sv1@fellsnet.is>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/is/
Translation: Tusky/Tusky
2022-04-28 16:55:14 +00:00
GunChleoc
b94d723663 Translated using Weblate (Gaelic)
Currently translated at 100.0% (477 of 477 strings)

Translated using Weblate (Gaelic)

Currently translated at 100.0% (477 of 477 strings)

Translated using Weblate (Gaelic)

Currently translated at 100.0% (477 of 477 strings)

Co-authored-by: GunChleoc <fios@foramnagaidhlig.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gd/
Translation: Tusky/Tusky
2022-04-28 16:55:14 +00:00
Hồ Nhất Duy
384236f832 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (477 of 477 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-04-28 16:55:14 +00:00
Gera, Zoltan
464f9d6412 Translated using Weblate (Hungarian)
Currently translated at 100.0% (477 of 477 strings)

Translated using Weblate (Hungarian)

Currently translated at 100.0% (477 of 477 strings)

Co-authored-by: Gera, Zoltan <gerazo@manioka.hu>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/hu/
Translation: Tusky/Tusky
2022-04-28 16:55:14 +00:00
codl
a3603c2154 Translated using Weblate (French)
Currently translated at 100.0% (477 of 477 strings)

Co-authored-by: codl <codl@codl.fr>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fr/
Translation: Tusky/Tusky
2022-04-28 16:55:14 +00:00
Constantin A
3a11b9900e
EmojiCompat fix (#2468)
* Add back the emojiInitCallback and move EmojiCompat init

* Small adjustments

* Make sure that we don't hit the IllegalStateException when EmojiCompat-ing the display names

* Add a TODO for when Material Drawer 9 can be used

* Remove EmojiCompat.process and initcallback
2022-04-28 18:55:10 +02:00
GunChleoc
04e5155454 Translated using Weblate (Gaelic)
Currently translated at 100.0% (477 of 477 strings)

Translated using Weblate (Gaelic)

Currently translated at 100.0% (477 of 477 strings)

Co-authored-by: GunChleoc <fios@foramnagaidhlig.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gd/
Translation: Tusky/Tusky
2022-04-28 16:13:28 +00:00
Hồ Nhất Duy
bdb53a333b Translated using Weblate (Vietnamese)
Currently translated at 100.0% (477 of 477 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-04-28 16:13:28 +00:00
Gera, Zoltan
3a7f31f833 Translated using Weblate (Hungarian)
Currently translated at 100.0% (477 of 477 strings)

Translated using Weblate (Hungarian)

Currently translated at 100.0% (477 of 477 strings)

Co-authored-by: Gera, Zoltan <gerazo@manioka.hu>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/hu/
Translation: Tusky/Tusky
2022-04-28 16:13:28 +00:00
codl
f34aaa889d Translated using Weblate (French)
Currently translated at 100.0% (477 of 477 strings)

Co-authored-by: codl <codl@codl.fr>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fr/
Translation: Tusky/Tusky
2022-04-28 16:13:28 +00:00
moddedBear
0e9d362351
Remove Identity Proof Support (#2456)
* Remove IdentityProof.kt and refactor

* Remove accountFieldData from viewmodel

* Remove unused imports
2022-04-27 19:58:39 +02:00
Constantin A
f15b3e61bb
New emoji picker (#2395)
* Update to Emoji2

* Hopefully fix the emoji picker preference

* Switch to released Filemojicompat version

* Filemojicompat version as an own var

* Remove an unused import

* Small cleanup

* Correct onDisplayPreferenceDialog; test TuskyApplication

* Use TextViews instead of EmojiTextViews

* Recreate the Main Activity if the emoji pack is updated

* Enable coreLibraryDesugaring (for Java Streams); update Filemojicompat, downgrade Emoji2

* Update emoji font versions to 14

* Use FilemojiCompat 3.2.0-beta01

* Make ktLint happy again

* Remove coreLibraryDesugaring and a FIXME

* Use EmojiPickerPreference.get()

* Disable emoji pack import

* Update FilemojiCompat to Beta 2

* Update FilemojiCompat to Beta 3

* Update FilemojiCompat to Beta 3.2.0 final

* Update FilemojiCompat to 3.2.1
2022-04-26 18:50:58 +02:00
Connyduck
1b0f02d48c Translated using Weblate (Gaelic)
Currently translated at 99.3% (474 of 477 strings)

Co-authored-by: Connyduck <weblate@connyduck.at>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gd/
Translation: Tusky/Tusky
2022-04-21 16:47:08 +00:00
Ralf Thees
2a0f1c6707 Translated using Weblate (German)
Currently translated at 96.6% (461 of 477 strings)

Co-authored-by: Ralf Thees <ralf@herrthees.de>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/de/
Translation: Tusky/Tusky
2022-04-21 16:47:08 +00:00
XoseM
b39588ec2a Translated using Weblate (Galician)
Currently translated at 100.0% (473 of 473 strings)

Co-authored-by: XoseM <xosem@disroot.org>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gl/
Translation: Tusky/Tusky
2022-04-21 16:47:08 +00:00
GunChleoc
d49785b23b Translated using Weblate (Gaelic)
Currently translated at 99.3% (474 of 477 strings)

Translated using Weblate (Gaelic)

Currently translated at 100.0% (473 of 473 strings)

Co-authored-by: GunChleoc <fios@foramnagaidhlig.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gd/
Translation: Tusky/Tusky
2022-04-21 16:47:08 +00:00
Hồ Nhất Duy
5ecc58d9dd Translated using Weblate (Vietnamese)
Currently translated at 100.0% (477 of 477 strings)

Translated using Weblate (Vietnamese)

Currently translated at 100.0% (473 of 473 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-04-21 16:47:08 +00:00
Ihor Hordiichuk
7461315c33 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (477 of 477 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (473 of 473 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/uk/
Translation: Tusky/Tusky
2022-04-21 16:47:08 +00:00
Vegard Skjefstad
1a921ec394 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (477 of 477 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 100.0% (473 of 473 strings)

Co-authored-by: Vegard Skjefstad <vegard@vegard.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
Translation: Tusky/Tusky
2022-04-21 16:47:08 +00:00
ButterflyOfFire
5243c8ddb5 Translated using Weblate (Occitan)
Currently translated at 93.0% (440 of 473 strings)

Co-authored-by: ButterflyOfFire <butterflyoffire@protonmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/oc/
Translation: Tusky/Tusky
2022-04-21 16:47:08 +00:00
codl
8109a126ae Translated using Weblate (French)
Currently translated at 100.0% (473 of 473 strings)

Co-authored-by: codl <codl@codl.fr>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fr/
Translation: Tusky/Tusky
2022-04-21 16:47:08 +00:00
Konrad Pozniak
adcbe1a831
fix unparsed html in announcements (#2451) 2022-04-21 18:47:05 +02:00
Konrad Pozniak
db7eac0a8d
guard against the status of a notification being null in rare cases (#2449)
* guard against the status of a notification being null in rare cases

* improve code, fix bug when payloads is not null

* remove findViewById

* add comments in NotificationsAdapter
2022-04-21 18:46:55 +02:00
Konrad Pozniak
43709532d6
fix unparsed html in "replying to" toggle (#2448) 2022-04-21 18:46:43 +02:00