Commit Graph

2913 Commits

Author SHA1 Message Date
Konrad Pozniak 7aa328b3dc
fix login on Android API level <24 (#2432) 2022-04-15 10:50:28 +02:00
Levi Bard ad077cf092
Don't show preview cards on statuses with polls. (#2430)
Fixes #2427
2022-04-14 19:58:08 +02:00
Konrad Pozniak 3e8c6a318a
introduce KotlinResultCallAdapter for nice suspending network calls (#2415)
* introduce KotlinResultCallAdapter for nice suspending network calls

* fix tests
2022-04-14 19:49:49 +02:00
kyori19 d21d045eda
Support new signup notifications (#2357) 2022-04-14 19:39:30 +02:00
Conny Duck 0c840a706d Release 89 2022-04-14 19:07:17 +02:00
Conny Duck 660c5c08d7 remove buggy string from gd translation 2022-04-14 18:33:23 +02:00
XoseM 0c38f0f09c Translated using Weblate (Galician)
Currently translated at 100.0% (469 of 469 strings)

Co-authored-by: XoseM <xosem@disroot.org>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gl/
Translation: Tusky/Tusky
2022-04-14 03:40:27 +00:00
Sveinn í Felli b84d41522d Translated using Weblate (Icelandic)
Currently translated at 100.0% (469 of 469 strings)

Co-authored-by: Sveinn í Felli <sv1@fellsnet.is>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/is/
Translation: Tusky/Tusky
2022-04-14 03:40:27 +00:00
knuxify 63bb4d9395 Translated using Weblate (Polish)
Currently translated at 100.0% (469 of 469 strings)

Co-authored-by: knuxify <knuxify@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/pl/
Translation: Tusky/Tusky
2022-04-14 03:40:26 +00:00
Konrad Pozniak 1d20a02d17
fix crash in ConversationsFragment (#2426) 2022-04-13 19:22:19 +02:00
Konrad Pozniak c705e9cbbb
remove extra slash in OAuth authorize url (#2425) 2022-04-13 19:22:09 +02:00
Konrad Pozniak b4a913b2d5
fix black theme on Android 12 (#2424)
* fix black theme on Android 12

* Revert "fix black theme on Android 12"

This reverts commit 2286706fdb239e15be72ac8943405ffeb2258219.

* bring back SplashActivity
2022-04-13 19:22:01 +02:00
Ihor Hordiichuk cd8f335e88 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (469 of 469 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-07 18:04:43 +00:00
Hồ Nhất Duy be5a41152e Translated using Weblate (Vietnamese)
Currently translated at 100.0% (469 of 469 strings)

Translated using Weblate (Vietnamese)

Currently translated at 100.0% (469 of 469 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-07 18:04:43 +00:00
Konrad Pozniak f570aba492
Fix crash on startup on Api levels 25 and lower (#2422)
* fix startup crash on API level 25 and lower

* fix crash on Api < 24
2022-04-07 20:04:39 +02:00
Konrad Pozniak 79c8f59e4e
fix crash when applying new emoji font on Android 12 (#2420) 2022-04-06 19:53:28 +02:00
Konrad Pozniak d4eeef99d0
upgrade splashscreen library to 1.0.0-beta02 (#2416) 2022-04-04 10:10:23 +02:00
Konrad Pozniak b61436e096 Merge remote-tracking branch 'weblate/develop' into develop
# Conflicts:
#	app/src/main/res/values-vi/strings.xml
2022-04-03 11:23:01 +02:00
Konrad Pozniak 59b627664f
Fix saving failed status to drafts (#2410)
* fix saving failed statuses to drafts

* use coroutine delay instead of timer
2022-04-02 16:15:18 +02:00
XoseM ad448859a0 Translated using Weblate (Galician)
Currently translated at 100.0% (469 of 469 strings)

Co-authored-by: XoseM <xosem@disroot.org>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gl/
Translation: Tusky/Tusky
2022-04-02 14:14:31 +00:00
GunChleoc 5d2be0eecd Translated using Weblate (Gaelic)
Currently translated at 100.0% (469 of 469 strings)

Co-authored-by: GunChleoc <fios@foramnagaidhlig.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gd/
Translation: Tusky/Tusky
2022-04-02 14:14:31 +00:00
Hồ Nhất Duy 175e29fc2d Translated using Weblate (Vietnamese)
Currently translated at 100.0% (469 of 469 strings)

Translated using Weblate (Vietnamese)

Currently translated at 100.0% (469 of 469 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-02 14:14:31 +00:00
Vegard Skjefstad e62f622303 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (469 of 469 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-02 14:14:31 +00:00
Eric 267dd55db4 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (469 of 469 strings)

Co-authored-by: Eric <alchemillatruth@purelymail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans/
Translation: Tusky/Tusky
2022-04-02 14:14:31 +00:00
Pixelcode e9391ae545 Translated using Weblate (English (United Kingdom))
Currently translated at 10.8% (51 of 469 strings)

Translated using Weblate (German)

Currently translated at 96.8% (454 of 469 strings)

Co-authored-by: Pixelcode <pixelcode@dismail.de>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/de/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/en_GB/
Translation: Tusky/Tusky
2022-04-02 14:14:31 +00:00
ButterflyOfFire cbba7fe0b3 Translated using Weblate (Bulgarian)
Currently translated at 92.5% (434 of 469 strings)

Translated using Weblate (Bengali (Bangladesh))

Currently translated at 93.8% (440 of 469 strings)

Translated using Weblate (Kabyle)

Currently translated at 53.3% (250 of 469 strings)

Translated using Weblate (Korean)

Currently translated at 80.5% (378 of 469 strings)

Translated using Weblate (Slovenian)

Currently translated at 81.6% (383 of 469 strings)

Translated using Weblate (French)

Currently translated at 99.7% (468 of 469 strings)

Translated using Weblate (Arabic)

Currently translated at 98.9% (464 of 469 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/bg/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/bn_BD/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fr/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/kab/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ko/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/sl/
Translation: Tusky/Tusky
2022-04-02 14:14:31 +00:00
XoseM d6ef939c49 Translated using Weblate (Galician)
Currently translated at 100.0% (469 of 469 strings)

Co-authored-by: XoseM <xosem@disroot.org>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gl/
Translation: Tusky/Tusky
2022-03-31 17:02:46 +00:00
GunChleoc 1c70c30b43 Translated using Weblate (Gaelic)
Currently translated at 100.0% (469 of 469 strings)

Co-authored-by: GunChleoc <fios@foramnagaidhlig.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gd/
Translation: Tusky/Tusky
2022-03-31 17:02:46 +00:00
Hồ Nhất Duy b2820f6c43 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (469 of 469 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-03-31 17:02:46 +00:00
Vegard Skjefstad a25cec095e Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (469 of 469 strings)

Co-authored-by: Vegard Skjefstad <vegard@vegard.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
Translation: Tusky/Tusky
2022-03-31 17:02:46 +00:00
Eric bdb4bb71ee Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (469 of 469 strings)

Co-authored-by: Eric <alchemillatruth@purelymail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans/
Translation: Tusky/Tusky
2022-03-31 17:02:46 +00:00
Pixelcode 6074f84470 Translated using Weblate (English (United Kingdom))
Currently translated at 10.8% (51 of 469 strings)

Translated using Weblate (German)

Currently translated at 96.8% (454 of 469 strings)

Co-authored-by: Pixelcode <pixelcode@dismail.de>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/de/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/en_GB/
Translation: Tusky/Tusky
2022-03-31 17:02:46 +00:00
ButterflyOfFire f281158a23 Translated using Weblate (Bulgarian)
Currently translated at 92.5% (434 of 469 strings)

Translated using Weblate (Bengali (Bangladesh))

Currently translated at 93.8% (440 of 469 strings)

Translated using Weblate (Kabyle)

Currently translated at 53.3% (250 of 469 strings)

Translated using Weblate (Korean)

Currently translated at 80.5% (378 of 469 strings)

Translated using Weblate (Slovenian)

Currently translated at 81.6% (383 of 469 strings)

Translated using Weblate (French)

Currently translated at 99.7% (468 of 469 strings)

Translated using Weblate (Arabic)

Currently translated at 98.9% (464 of 469 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/bg/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/bn_BD/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fr/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/kab/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ko/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/sl/
Translation: Tusky/Tusky
2022-03-31 17:02:46 +00:00
Constantin A 4011242257
Update emoji font versions to 14 (#2411) 2022-03-31 19:02:42 +02:00
Levi Bard ad001d044d
Revert unintentional behavior change for mention spans to use remote usernames (#2408) 2022-03-30 19:33:31 +02:00
Conny Duck 71739ba87f Release 88 2022-03-28 19:28:38 +02:00
Konrad Pozniak f2529a8e61
Fix Timeline not loading (#2398)
* fix cached timeline

* fix network timeline

* delete unused inc / dec extensions

* fix tests and bug in network timeline

* add db migration

* remove unused import

* commit 31.json

* improve placeholder inserting logic, add comment

* fix tests

* improve tests
2022-03-28 18:39:16 +02:00
Konrad Pozniak c47804997c
Improve handling of shared media (#2388)
* support file:// uris

* support subjects on image shares

* improve code

* improve code

* improve code
2022-03-28 18:39:05 +02:00
Konrad Pozniak 106585f4fe Merge remote-tracking branch 'weblate/develop' into develop
# Conflicts:
#	app/src/main/res/values-fr/strings.xml
2022-03-28 11:36:50 +02:00
Mélanie Chauvel b101a8fa37 Translated using Weblate (French)
Currently translated at 98.2% (461 of 469 strings)

Translation: Tusky/Tusky
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/fr/
2022-03-27 10:23:29 +00:00
Mélanie Chauvel 2fc3ba3cee
Replace “status” by “post” in strings name and source values (#2405) 2022-03-27 12:23:25 +02:00
Levi Bard bbd818084d
When calculating post length, count all urls as being of the reserved character count, even if they're shorter. (#2404)
Addresses #2399
2022-03-24 19:52:18 +01:00
Konrad Pozniak 2017d0b13b
update glide animation plugin to 2.20.0 (#2401) 2022-03-23 19:14:41 +01:00
GunChleoc 9385c5338b Translated using Weblate (Gaelic)
Currently translated at 100.0% (469 of 469 strings)

Co-authored-by: GunChleoc <fios@foramnagaidhlig.net>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/gd/
Translation: Tusky/Tusky
2022-03-22 18:40:54 +00:00
Ihor Hordiichuk 413e1b1cbc Translated using Weblate (Ukrainian)
Currently translated at 100.0% (469 of 469 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/uk/
Translation: Tusky/Tusky
2022-03-22 18:40:54 +00:00
Vegard Skjefstad 0bd09427b9 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (469 of 469 strings)

Co-authored-by: Vegard Skjefstad <vegard@vegard.net>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/nb_NO/
Translation: Tusky/Tusky
2022-03-22 18:40:54 +00:00
Eric 2e9a62ec94 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (469 of 469 strings)

Co-authored-by: Eric <alchemillatruth@purelymail.com>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/zh_Hans/
Translation: Tusky/Tusky
2022-03-22 18:40:54 +00:00
Konrad Pozniak d9931e3d2c
Rename Toots to Posts (#2396)
* rename toots -> posts in strings

* extract tusky_compose_post_quicksetting_label string

* rename toot -> status in code
2022-03-20 20:21:42 +01:00
Konrad Pozniak bfcdee4a53
Merge pull request #2392 from tuskyapp/enable_javascript
enable JavaScript in LoginWebViewActivity
2022-03-19 21:07:15 +01:00
Daniele Lira Mereb d0efe27de2 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (468 of 468 strings)

Co-authored-by: Daniele Lira Mereb <danielelmereb@gmail.com>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/pt_BR/
Translation: Tusky/Tusky
2022-03-19 17:40:51 +00:00
Ralf Thees fcc801564f Translated using Weblate (German)
Currently translated at 100.0% (468 of 468 strings)

Co-authored-by: Ralf Thees <ralf@herrthees.de>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/de/
Translation: Tusky/Tusky
2022-03-19 17:40:51 +00:00
Conny Duck 152c8b45d0 enable JavaScript in LoginWebViewActivity 2022-03-17 21:52:06 +01:00
Konrad Pozniak 0dc32774ec
handle screen rotation in LoginWebViewActivity (#2390) 2022-03-17 21:50:14 +01:00
cketti e6f7d9d5af
Fix image preview in share sheet (#2389) 2022-03-16 18:46:26 +01:00
Konrad Pozniak e05fdc6d7b
Fix status diffing and improve timeline performance (#2386)
* fix status & account diffing

* introduce TimelineAccount

* use TimelineAccount where possible

* improve tests

* improve ConversationEntity equals/hashcode

* fix mistake in ConversationEntity

* improve StatusViewData comparison

* improve tests

* fix typo in comment
2022-03-15 21:34:57 +01:00
Konrad Pozniak 6e4a9fb0e6
upgrade glide animation plugin to 2.18.0 (#2387) 2022-03-15 19:37:29 +01:00
Konrad Pozniak a257d9b769
correctly render whitespace in posts (#2383)
* correctly preserve whitespace in posts

* use extension function to convert from Spanned to Html

* improve comment
2022-03-14 14:43:00 +01:00
Konrad Pozniak 991d261459
change media download location to Download directory (#2384) 2022-03-14 13:55:25 +01:00
Hồ Nhất Duy 6a6e1e5566 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (468 of 468 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-03-13 15:08:30 +00:00
sphoneix fb2c6be25a Translated using Weblate (Italian)
Currently translated at 100.0% (468 of 468 strings)

Co-authored-by: sphoneix <simone.pugliese21@gmail.com>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/it/
Translation: Tusky/Tusky
2022-03-13 15:08:30 +00:00
ButterflyOfFire 594f3129ca Translated using Weblate (French)
Currently translated at 100.0% (468 of 468 strings)

Co-authored-by: ButterflyOfFire <butterflyoffire@protonmail.com>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/fr/
Translation: Tusky/Tusky
2022-03-13 15:08:30 +00:00
XoseM ac19247f19 Translated using Weblate (Galician)
Currently translated at 100.0% (468 of 468 strings)

Co-authored-by: XoseM <xosem@disroot.org>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/gl/
Translation: Tusky/Tusky
2022-03-13 15:08:30 +00:00
Konrad Pozniak 38eded4efb
update dependencies (#2381) 2022-03-13 16:08:27 +01:00
Konrad Pozniak 15304440ef
fix "nothing here" flickering when starting Tusky (#2377) 2022-03-12 09:38:59 +01:00
kyori19 72bb34bf27
Fix some network timeline bugs (#2373)
* Fix network timeline gap loading

* Fix fullReload keeps nextKey

* Fix reload after clearing timeline

* Improve logic to handle overlapped statuses
2022-03-12 09:38:48 +01:00
Konrad Pozniak 55513e8e2b
Android 12 support, update AndroidX libraries (#2367)
* Android 12 support, update AndroidX libraries

* fix ktlint

* add Android 12 splash screen support

* fix comments in MainActivity

* remove deprecated Intent.ACTION_CLOSE_SYSTEM_DIALOGS

* delete TimelineViewModelTest

* fix notifications on Android 12

* improve splash screen

* handle pending intent flags in a dedicated function
2022-03-09 20:50:23 +01:00
Konrad Pozniak 221cdb3611
move "animate custom emojis" preference next to "animate avatars" (#2376) 2022-03-08 21:40:10 +01:00
Konrad Pozniak 34b7a3c8ee
Don't hide potential timeline bugs by catching all exceptions (#2372)
* don't hide potential timeline bugs by catching all exceptions

* fix NetworkTimelineRemoteMediatorTest

* improve ifExpected function

* fix code formatting
2022-03-08 21:39:59 +01:00
Ivan Kupalov 4d8289b245
Implement Login via WebView (#2371)
* Improve login process with newer APIs

* Implement login with WebView instead of browser tab or external browser

Oauth process requires us to open login prompt for correct instance and
we need to receive the result back. Usually it is done with redirect
parameter.

Previously we've been using BrowserTabs API and have been falling back
to just opening browser. This mostly worked but is very clumsy:

 - It relies on few system mechanisms for opening URLs in both
directions
 - Browsers do weird things and tend to break quite a bit
 - There's a good chance that the app can die in the process and we need
to recover our state.

So instead we are now using WebView. It has disadvantages (users have
to trust us to show correct page, logins are not shared w/ browser) but
it should be more reliable.

* Changes to login after review

* Move login classes to their own package

* Fix linting issues
2022-03-08 21:22:19 +01:00
Ihor Hordiichuk 98a2bc381d Translated using Weblate (Ukrainian)
Currently translated at 100.0% (468 of 468 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/uk/
Translation: Tusky/Tusky
2022-03-06 16:40:28 +00:00
Sveinn í Felli c0b8a6f92a Translated using Weblate (Icelandic)
Currently translated at 100.0% (468 of 468 strings)

Co-authored-by: Sveinn í Felli <sv1@fellsnet.is>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/is/
Translation: Tusky/Tusky
2022-03-06 16:40:28 +00:00
GunChleoc 4646685e0a Translated using Weblate (Gaelic)
Currently translated at 100.0% (468 of 468 strings)

Co-authored-by: GunChleoc <fios@foramnagaidhlig.net>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/gd/
Translation: Tusky/Tusky
2022-03-06 16:40:28 +00:00
Hồ Nhất Duy 75ef1ae11d Translated using Weblate (Vietnamese)
Currently translated at 100.0% (468 of 468 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-03-06 16:40:28 +00:00
Vegard Skjefstad f14e9e80d0 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (468 of 468 strings)

Co-authored-by: Vegard Skjefstad <vegard@vegard.net>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/nb_NO/
Translation: Tusky/Tusky
2022-03-06 16:40:28 +00:00
Eric 7efafe7cb4 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (468 of 468 strings)

Co-authored-by: Eric <alchemillatruth@purelymail.com>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/zh_Hans/
Translation: Tusky/Tusky
2022-03-06 16:40:28 +00:00
ButterflyOfFire a053490bdf Translated using Weblate (French)
Currently translated at 100.0% (468 of 468 strings)

Translated using Weblate (Occitan)

Currently translated at 97.2% (455 of 468 strings)

Translated using Weblate (Arabic)

Currently translated at 98.9% (463 of 468 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/
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/oc/
Translation: Tusky/Tusky
2022-03-06 16:40:28 +00:00
Jonathan Soares 52933d00a8 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Jonathan Soares <vsrw5bfj@duck.com>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/pt_BR/
Translation: Tusky/Tusky
2022-03-06 16:40:28 +00:00
Konrad Pozniak 841373e947
fix various timeline related crashes (#2369)
* fix various timeline related crashes

* fix ktlint
2022-03-06 17:40:24 +01:00
Konrad Pozniak 73e9338f3c
fix timeline jumping to top when activity is recreated (#2364) 2022-03-03 20:01:47 +01:00
Konrad Pozniak 497b434663
Improve timeline dao (#2353)
* improve TimelineDao methods

* remove @Transaction from cleanup methods
2022-03-02 20:40:06 +01:00
Konrad Pozniak a6335e6bcd
update Android Image Cropper and get rid of deprecated onActivityResult (#2351)
* update Android Image Cropper and get rid of deprecated onActivityResult

* add comment why skipping caches is necessary

* inject application into EditProfileViewModel instead of passing it everytime
2022-03-02 20:39:56 +01:00
Konrad Pozniak 4dee5c2774
display account name when display name is not set (#2361) 2022-03-01 21:29:16 +01:00
Konrad Pozniak b145fc9d50
fix String.inc() and String.dec() not being inverse operations (#2355) 2022-03-01 21:29:05 +01:00
Konrad Pozniak 60c32b3370
Merge pull request #2356 from nailyk-weblate/weblate-tusky-tusky
Translations update from Weblate
2022-03-01 19:44:25 +01:00
Levi Bard 7114575497
Instance configuration: the easy parts (#2341)
* Add data model for instance configuration

* Support instance.configuration.statuses.max_characters

* Support instance.configuration.statuses.characters_reserved_per_url

* Support instance.configuration.polls.max_options and max_characters_per_option

* Pacify ktlint

* Support instance-configured poll durations

* Fixup versions for migration after rebase
2022-03-01 19:43:36 +01:00
Eric 2a135cd3a1 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Eric <alchemillatruth@purelymail.com>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/zh_Hans/
Translation: Tusky/Tusky
2022-02-28 15:54:28 +00:00
Levi Bard cdefcc441f
Fix relinkifying tags in posts from remote servers (#2359)
* Fix relinkifying tags in posts from remote servers

* Completely ignore urls, and (case-insensitively) match tag names instead
2022-02-28 16:54:25 +01:00
Konrad Pozniak 2c91b1148c
fix database migration to v29 (#2354) 2022-02-27 20:16:41 +01:00
Conny Duck 842ab9e131 fix LinkHelperTest 2022-02-25 19:35:02 +01:00
Konrad Pozniak bd05bf6b01
correctly align buttons in follow requests (#2342) 2022-02-25 18:58:01 +01:00
Konrad Pozniak 2960a85ff1
use ViewData only instead of Pair<Status, ViewData> in Search (#2336) 2022-02-25 18:57:49 +01:00
Konrad Pozniak c592dfef78
Don't use notifyDataSetChanged in TimelineFragment (#2334) 2022-02-25 18:57:40 +01:00
Konrad Pozniak f7dfffa762
merge ModalTimelineActivity & ViewTagActivity into StatusListActivity (#2332)
* Rename .java to .kt

* merge ModalTimelineActivity & ViewTagActivity into StatusListActivity

* fix crash when opening hashtag
2022-02-25 18:57:31 +01:00
Konrad Pozniak eea81d7106
use POST api/v2/media to upload media (#2327) 2022-02-25 18:57:18 +01:00
Konrad Pozniak 8dbf255617
get rid of deprecated onActivityCreated in TimelineFragment (#2326) 2022-02-25 18:56:58 +01:00
Levi Bard addce87eb6
Use tags from status when adding handlers to hashtag spans in status content (#2344)
* Migrate LinkHelper to kotlin

* Support tags field on statuses

* Use embedded tags list in status instead of text scraping to embed tag click handler.
Fixes #2283

* Make mentions and tags lists nonnullable

* Make LinkHelper.openLink a Context extension method

* Use builtin extension for uri conversion

* More cleanup in LinkHelper

* Add tests for LinkHelper.getDomain

* Unbreak tags in places that don't have a tag list (e.g. profiles)

* Fixup javadoc
2022-02-25 18:56:21 +01:00
Levi Bard f822234995
Add "open as" to profiles (#2340)
* Extract "open as" utilities to BaseActivity

* Add "open as" to profiles.
Fixes #2329

* Rename STATUS_URL intent extra key

* Add nullability notations for new java code

* Pacify ktlint
2022-02-25 18:55:58 +01:00
Conny Duck fcc9265703 Release 87 2022-02-25 18:42:31 +01:00
Conny Duck 25263b15ca Release 86 2022-02-21 19:46:33 +01:00
Konrad Pozniak 69bcc92c46
fix cache cleanup deleting more statuses than it should (#2348)
* fix cache cleanup deleting more statuses than it should

* reset LOAD_AT_ONCE

* improve tests

* move cache clean code back to ViewModel
2022-02-21 19:33:10 +01:00
Connyduck d7bc584cca Translated using Weblate (German)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Connyduck <weblate@connyduck.at>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/de/
Translation: Tusky/Tusky
2022-02-21 18:32:21 +00:00
Ralf Thees 883b5dc17a Translated using Weblate (German)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Ralf Thees <ralf@herrthees.de>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/de/
Translation: Tusky/Tusky
2022-02-21 18:32:21 +00:00
Konrad Pozniak a76c580d7e
fix duplicate detail status (#2345) 2022-02-20 10:58:12 +01:00
Konrad Pozniak a90be172ee fix bad strings 2022-02-18 20:30:27 +01:00
Connyduck e702a3aa1d Translated using Weblate (Bengali (Bangladesh))
Currently translated at 98.9% (457 of 462 strings)

Translated using Weblate (Irish)

Currently translated at 92.2% (426 of 462 strings)

Translated using Weblate (Thai)

Currently translated at 97.8% (452 of 462 strings)

Translated using Weblate (Slovenian)

Currently translated at 85.4% (395 of 462 strings)

Translated using Weblate (Occitan)

Currently translated at 98.4% (455 of 462 strings)

Translated using Weblate (Dutch)

Currently translated at 99.5% (460 of 462 strings)

Translated using Weblate (Persian)

Currently translated at 99.3% (459 of 462 strings)

Co-authored-by: Connyduck <weblate@connyduck.at>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/bn_BD/
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/fa/
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/ga/
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/nl/
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/oc/
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/sl/
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/th/
Translation: Tusky/Tusky
2022-02-18 19:22:58 +00:00
Mélanie Chauvel c8ed6b482e
increase default poll max option chars from 25 to 50 (#2343)
25 is old Mastodon default, the new one is 50
2022-02-18 20:08:38 +01:00
Hồ Nhất Duy 3b9bcd4045 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (462 of 462 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-02-15 16:04:05 +00:00
Vladyslav Stepanov 589fc7ce7d Translated using Weblate (Russian)
Currently translated at 100.0% (462 of 462 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (462 of 462 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (462 of 462 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Vladyslav Stepanov <wrottkitkatt@gmail.com>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/ru/
Translation: Tusky/Tusky
2022-02-15 16:04:05 +00:00
Konrad Pozniak c20effe6c9
fix some mentions not being opened in Tusky (#2339)
* fix some mentions not being opened in Tusky

* link PR in code
2022-02-15 17:04:00 +01:00
Konrad Pozniak 97fe4f88c5
fix crash in drafts caused by minification of DraftAttachment (#2337)
* fix crash in drafts caused by minification of DraftAttachment

* fix formatting
2022-02-14 19:20:15 +01:00
Konrad Pozniak 329df1280b
fix sensitive media in search and notifications (#2335) 2022-02-12 09:56:08 +01:00
Vladyslav Stepanov ff5fcf4015 Translated using Weblate (Russian)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Vladyslav Stepanov <wrottkitkatt@gmail.com>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/ru/
Translation: Tusky/Tusky
2022-02-11 18:40:39 +00:00
Mélanie Chauvel 28571c29fb Translated using Weblate (French)
Currently translated at 100.0% (462 of 462 strings)

Translated using Weblate (Esperanto)

Currently translated at 99.7% (461 of 462 strings)

Co-authored-by: Mélanie Chauvel <perso@hack-libre.org>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/eo/
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/fr/
Translation: Tusky/Tusky
2022-02-11 18:40:39 +00:00
ButterflyOfFire a71b1baa99 Translated using Weblate (Kabyle)
Currently translated at 54.5% (252 of 462 strings)

Translated using Weblate (Arabic)

Currently translated at 98.9% (457 of 462 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/kab/
Translation: Tusky/Tusky
2022-02-11 18:40:39 +00:00
Conny Duck b99e421786 Release 85 2022-02-09 20:59:13 +01:00
Konrad Pozniak b145e8163d
add additional R8 rules so conversations work again (#2322) 2022-02-09 20:46:13 +01:00
Konrad Pozniak ae656a17a8
fix vertical insets of AccountActivity (#2320) 2022-02-09 20:45:56 +01:00
Ho Nhat Duy 010ab979bd Translated using Weblate (Vietnamese)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Ho Nhat Duy <kantcer@gmail.com>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/vi/
Translation: Tusky/Tusky
2022-02-09 19:25:09 +00:00
Gera, Zoltan d5b7be9a2b Translated using Weblate (Hungarian)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Gera, Zoltan <gerazo@manioka.hu>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/hu/
Translation: Tusky/Tusky
2022-02-09 19:25:09 +00:00
Mélanie Chauvel 23482edf64 Translated using Weblate (French)
Currently translated at 100.0% (462 of 462 strings)

Translated using Weblate (Esperanto)

Currently translated at 98.7% (456 of 462 strings)

Translated using Weblate (French)

Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Mélanie Chauvel <perso@hack-libre.org>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/eo/
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/fr/
Translation: Tusky/Tusky
2022-02-09 19:25:09 +00:00
Darck Crystale 74627fb2b6 Translated using Weblate (French)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Darck Crystale <vraken@live.fr>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/fr/
Translation: Tusky/Tusky
2022-02-09 19:25:09 +00:00
Conny Duck b21e2256ea Release 84 2022-02-08 19:34:02 +01:00
ButterflyOfFire 1674e83bb8 Translated using Weblate (French)
Currently translated at 99.5% (460 of 462 strings)

Translated using Weblate (Arabic)

Currently translated at 98.7% (456 of 462 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-02-07 19:38:58 +00:00
Ho Nhat Duy ca3c455082 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Ho Nhat Duy <kantcer@gmail.com>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/vi/
Translation: Tusky/Tusky
2022-02-07 19:38:58 +00:00
Konrad Pozniak 2fd45c1cdb
Fix comparing statuses and diffing in NotificationsFragment (#2318) 2022-02-07 20:38:54 +01:00
Konrad Pozniak d2d52da717
Fix crash in TimelineFragment (#2317) 2022-02-07 20:04:40 +01:00
Konrad Pozniak db1cc02fb8
Fix announcement reactions (#2311)
* fix size of announcement reactions

* fix announcement reactions not updating correctly

* remove unused code

* improve code

* remove unused imports
2022-02-05 19:13:05 +01:00
Konrad Pozniak 329bc51f90
fix apng emojis not rendered when animation is turned off (#2312) 2022-02-05 08:56:24 +01:00
Konrad Pozniak 17207312d6
update licenses (#2315) 2022-02-04 21:59:42 +01:00
Konrad Pozniak 808cb5f27b
add new translations (Scottish Gaelic, Galician, Ukrainian) to in-app language picker (#2314) 2022-02-04 21:59:30 +01:00
Connyduck 00e13e98ea Deleted translation using Weblate (Punjabi) 2022-02-04 17:51:11 +00:00
Connyduck 67e3716670 Deleted translation using Weblate (Telugu) 2022-02-04 17:51:01 +00:00
Connyduck 6d1ffe9f4b Deleted translation using Weblate (Luxembourgish) 2022-02-04 17:49:25 +00:00
Connyduck dccf7c0ec1 Deleted translation using Weblate (French (Belgium)) 2022-02-04 17:49:10 +00:00
Connyduck f97c3bb869 Deleted translation using Weblate (English (Australia)) 2022-02-04 17:48:42 +00:00
Konrad Pozniak 61ba6fe181
Fix disappearing placeholders (#2309)
* add getNextPlaceholderIdAfter to TimelineDao

* fix disappearing placeholders

* fix disappearing placeholders
2022-02-03 18:51:15 +01:00
Konrad Pozniak c3da6f901f
display custom emoji in announcements (#2310) 2022-02-02 21:43:16 +01:00
Konrad Pozniak ab6ea6dc89
fix placeholder not disappearing when no statuses are loaded (#2305) 2022-02-02 18:29:59 +01:00
Konrad Pozniak 8f5fb5b35c
Fix some weird behavior when clicking links in statuses (#2304)
* Fix some weird behavior when clicking links in statuses

* open browser when user clicks a status link again
2022-01-28 07:44:38 +01:00
Connyduck 2850775c14 Translated using Weblate (German)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Connyduck <weblate@connyduck.at>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/de/
Translation: Tusky/Tusky
2022-01-23 19:25:08 +00:00
Konrad Pozniak 6c5c628b90
delete unused class NetworkState (#2301) 2022-01-23 20:25:06 +01:00
Konrad Pozniak e29567c9ec
Cleanup dagger setup (#2300)
* cleanup dagger setup

* fix tests

* fix ktlint

* cleanup FragmentBuildersModule
2022-01-23 20:24:55 +01:00
Konrad Pozniak 0b70f52ad2
add proguard rules to make Jsondadapter annotation work (#2299) 2022-01-21 18:26:57 +01:00
Konrad Pozniak 2fd01f7e2d
use custom JsonAdapter to be compatible with instances that have a custom subscribing feature (#2298) 2022-01-21 07:34:26 +01:00
Konrad Pozniak 1586817c3d
Update gradle, kotlin and other dependencies (#2291)
* update gradle, kotlin and other dependencies

* fix new warnings

* remove unused import

* update Proguard rules

* add explicit dependency on Gson to get the newest version

* remove debug flag from proguard rules again

* fix typo
2022-01-20 21:10:32 +01:00
Konrad Pozniak a000228165
correctly detect end of pagination in network timeline (#2296)
* correctly detect end of pagination in network timeline

closes #2293

* improve NetworkTimelineRemoteMediatorTest

* remove unused import
2022-01-20 18:30:21 +01:00
Konrad Pozniak f29e46ad55
fix media hidden default in ViewThreadFragment (#2295) 2022-01-17 18:45:11 +01:00
leo 0d9067b2cf Translated using Weblate (Russian)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: leo <aaoth@aaoth.xyz>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/ru/
Translation: Tusky/Tusky
2022-01-13 10:03:20 +00:00
Konrad Pozniak fe350ccf36
move AccountActivity and related classes to a new package (#2216)
* move AccountActivity and related classes to a new package

* fix ktlint

* fix ktlint

* fix imports
2022-01-11 19:55:17 +01:00
Ho Nhat Duy 07798a90c1 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Ho Nhat Duy <kantcer@gmail.com>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/vi/
Translation: Tusky/Tusky
2022-01-11 18:00:33 +00:00
Mélanie Chauvel 879493bd2d Translated using Weblate (French)
Currently translated at 99.1% (458 of 462 strings)

Translated using Weblate (Esperanto)

Currently translated at 96.5% (446 of 462 strings)

Co-authored-by: Mélanie Chauvel <perso@hack-libre.org>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/eo/
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/fr/
Translation: Tusky/Tusky
2022-01-11 18:00:33 +00:00
Konrad Pozniak 643e012b11
Timeline paging (#2238)
* first setup

* network timeline paging / improvements

* rename classes / move to correct package

* remove unused class TimelineAdapter

* some code cleanup

* remove TimelineRepository, put mapper functions in TimelineTypeMappers.kt

* add db migration

* cleanup unused code

* bugfix

* make default timeline settings work again

* fix pinning statuses from timeline

* fix network timeline

* respect account settings in NetworkTimelineRemoteMediator

* respect account settings in NetworkTimelineRemoteMediator

* update license headers

* show error view when an error occurs

* cleanup some todos

* fix db migration

* fix changing mediaPreviewEnabled setting

* fix "load more" button appearing on top of timeline

* fix filtering and other bugs

* cleanup cache after 14 days

* fix TimelineDAOTest

* fix code formatting

* add NetworkTimeline unit tests

* add CachedTimeline unit tests

* fix code formatting

* move TimelineDaoTest to unit tests

* implement removeAllByInstance for CachedTimelineViewModel

* fix code formatting

* fix bug in TimelineDao.deleteAllFromInstance

* improve loading more statuses in NetworkTimelineViewModel

* improve loading more statuses in NetworkTimelineViewModel

* fix bug where empty state was shown too soon

* reload top of cached timeline on app start

* improve CachedTimelineRemoteMediator and Tests

* improve cached timeline tests

* fix some more todos

* implement TimelineFragment.removeItem

* fix ListStatusAccessibilityDelegate

* fix crash in NetworkTimelineViewModel.loadMore

* fix default state of collapsible statuses

* fix default state of collapsible statuses -tests

* fix showing/hiding media in the timeline

* get rid of some not-null assertion operators in TimelineTypeMappers

* fix tests

* error handling in CachedTimelineViewModel.loadMore

* keep local status state when refreshing cached statuses

* keep local status state when refreshing network timeline statuses

* show placeholder loading state in cached timeline

* better comments, some code cleanup

* add TimelineViewModelTest, improve code, fix bug

* fix ktlint

* fix voting in boosted polls

* code improvement
2022-01-11 19:00:29 +01:00
Mélanie Chauvel c0c8eec36b
filter messages by also looking at media descriptions (#2285) 2022-01-04 19:28:49 +01:00
Ho Nhat Duy 83aaa8a162 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Ho Nhat Duy <kantcer@gmail.com>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/vi/
Translation: Tusky/Tusky
2021-12-29 12:44:06 +00:00
Konrad Pozniak 0ae3a2ed2a
fix confirmFavourites default (#2282) 2021-12-29 13:44:00 +01:00
sleepycrow 4faabe87ed Translated using Weblate (Polish)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: sleepycrow <sleepycrow@posteo.net>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/pl/
Translation: Tusky/Tusky
2021-12-06 22:03:08 +00:00
helabasa 44b2203e6d Translated using Weblate (Sinhala)
Currently translated at 53.4% (247 of 462 strings)

Co-authored-by: helabasa <R45XvezA@pm.me>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/si/
Translation: Tusky/Tusky
2021-12-05 18:12:57 +00:00
Sveinn í Felli 815f303388 Translated using Weblate (Icelandic)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Sveinn í Felli <sv1@fellsnet.is>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/is/
Translation: Tusky/Tusky
2021-12-05 18:12:57 +00:00
Ho Nhat Duy 3b0d548548 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Ho Nhat Duy <kantcer@gmail.com>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/vi/
Translation: Tusky/Tusky
2021-12-05 18:12:57 +00:00
Konrad Pozniak 6b7d3ef613
fix loading Gif avatars into the main appbar (#2268)
* fix loading Gif avatars into the main appbar

and respect the animateAvatars setting

closes #2259

* fix formatting
2021-12-05 19:12:52 +01:00
Konrad Pozniak b62ccd918f
fix compose button on profile page being half hidden (#2267) 2021-11-16 21:38:59 +01:00
Ho Nhat Duy 8f78a28744 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Ho Nhat Duy <kantcer@gmail.com>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/vi/
Translation: Tusky/Tusky
2021-11-16 16:18:26 +00:00
XoseM 461b049d20 Translated using Weblate (Galician)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: XoseM <xosem@disroot.org>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/gl/
Translation: Tusky/Tusky
2021-11-16 16:18:26 +00:00
Vachan 7c2e165f3b Translated using Weblate (Malayalam)
Currently translated at 33.9% (157 of 462 strings)

Co-authored-by: Vachan <translation.spiting@aleeas.com>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/ml/
Translation: Tusky/Tusky
2021-11-16 16:18:26 +00:00
Sojo 68f1a657f7 Translated using Weblate (Basque)
Currently translated at 100.0% (462 of 462 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Sojo <sendoasojo@gmail.com>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/es/
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/eu/
Translation: Tusky/Tusky
2021-11-16 16:18:26 +00:00
Ihor Hordiichuk 3a4492fe24 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/uk/
Translation: Tusky/Tusky
2021-11-16 16:18:26 +00:00
Konrad Pozniak d1d564a7e2
support animated PNGs and WEBPs (#2244) 2021-10-09 10:45:41 +02:00
Vegard Skjefstad cee9623c8c Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Vegard Skjefstad <vegard@vegard.net>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/nb_NO/
Translation: Tusky/Tusky
2021-10-07 16:02:48 +00:00
GunChleoc 926f4c3ddc Translated using Weblate (Gaelic)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: GunChleoc <fios@foramnagaidhlig.net>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/gd/
Translation: Tusky/Tusky
2021-10-07 16:02:48 +00:00
Muha Aliss 8a7c84a102 Translated using Weblate (Turkish)
Currently translated at 93.4% (430 of 460 strings)

Co-authored-by: Muha Aliss <muhaaliss@pm.me>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/tr/
Translation: Tusky/Tusky
2021-10-07 16:02:48 +00:00
Eric 65f6e0e017 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (460 of 460 strings)

Co-authored-by: Eric <spice2wolf@gmail.com>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/zh_Hans/
Translation: Tusky/Tusky
2021-10-07 16:02:48 +00:00
Colin Kinloch c37ccbb6e8
Add confirmation for favourite and bookmark actions (#2245)
* Add confirmation for favourite and bookmark actions

* Favourite confirmation american spelling and default values

* Remove bookmarking confirmation

* Update app/src/main/java/com/keylesspalace/tusky/fragment/NotificationsFragment.java

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

Co-authored-by: Konrad Pozniak <connyduck@users.noreply.github.com>
2021-10-04 07:48:44 +02:00
Levi Bard 651b35267f
Fix toolbar for instance list activity. (#2248)
Fixes #2247
2021-09-28 19:55:30 +02:00
Levi Bard d07c1b098e
Highlight your own votes when displaying poll results (#2242)
* Highlight your own votes when displaying poll results

* Unbreak tests

* Add a checkmark to the description of self-voted options
2021-09-17 22:12:17 +02:00
Levi Bard 45598cf047
Audio caption improvements (#2220)
* Fix caption display in audio player

* Make video/audio description scrollable

* Constrain the maximum size of media label previews
2021-09-17 21:55:54 +02:00
Weblate a4e6f5d692 Added translation using Weblate (English (Australia))
Added translation using Weblate (French (Belgium))

Added translation using Weblate (Luxembourgish)

Co-authored-by: Weblate <noreply@weblate.org>
2021-09-17 19:51:05 +00:00
GunChleoc 3bc89c3699 Translated using Weblate (Gaelic)
Currently translated at 100.0% (460 of 460 strings)

Co-authored-by: GunChleoc <fios@foramnagaidhlig.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gd/
Translation: Tusky/Tusky
2021-09-17 19:51:05 +00:00
PPNplus d6776adfe7 Translated using Weblate (Thai)
Currently translated at 98.2% (452 of 460 strings)

Co-authored-by: PPNplus <ppnplus@protonmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/th/
Translation: Tusky/Tusky
2021-09-17 19:51:05 +00:00
Tjipke van der Heide ff13ec33f1 Translated using Weblate (Frisian)
Currently translated at 57.1% (263 of 460 strings)

Translated using Weblate (Frisian)

Currently translated at 54.1% (249 of 460 strings)

Translated using Weblate (Frisian)

Currently translated at 0.4% (2 of 460 strings)

Co-authored-by: Tjipke van der Heide <tjipkevdh@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fy/
Translation: Tusky/Tusky
2021-09-17 19:51:05 +00:00
ButterflyOfFire 0285f80fb1 Translated using Weblate (Arabic)
Currently translated at 98.2% (452 of 460 strings)

Translated using Weblate (Arabic)

Currently translated at 96.9% (446 of 460 strings)

Added translation using Weblate (Frisian)

Co-authored-by: ButterflyOfFire <butterflyoffire@protonmail.com>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/ar/
Translation: Tusky/Tusky
2021-09-17 19:51:05 +00:00
Danial Behzadi 494655a5b8 Translated using Weblate (Persian)
Currently translated at 100.0% (460 of 460 strings)

Co-authored-by: Danial Behzadi <dani.behzi@ubuntu.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fa/
Translation: Tusky/Tusky
2021-09-17 19:51:05 +00:00
Vancha 7ced21c097 Translated using Weblate (Dutch)
Currently translated at 100.0% (460 of 460 strings)

Translated using Weblate (Dutch)

Currently translated at 99.7% (459 of 460 strings)

Co-authored-by: Vancha <tjipke@tutanota.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nl/
Translation: Tusky/Tusky
2021-09-17 19:51:05 +00:00
Mejans bbca910bf2 Translated using Weblate (Occitan)
Currently translated at 98.9% (455 of 460 strings)

Co-authored-by: Mejans <farga@mejans.fr>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/oc/
Translation: Tusky/Tusky
2021-09-17 19:51:05 +00:00
Ho Nhat Duy c1af8533c7 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (460 of 460 strings)

Translated using Weblate (Vietnamese)

Currently translated at 100.0% (460 of 460 strings)

Translated using Weblate (Vietnamese)

Currently translated at 100.0% (460 of 460 strings)

Translated using Weblate (Vietnamese)

Currently translated at 100.0% (460 of 460 strings)

Co-authored-by: Ho Nhat Duy <kantcer@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/vi/
Translation: Tusky/Tusky
2021-09-17 19:51:05 +00:00
Levi Bard d93a9b5753
Fix crash when updating profile and the source field exists, but some of _its_ fields don't (#2243) 2021-09-17 21:51:00 +02:00
Mejans 75dfe1009f Translated using Weblate (Occitan)
Currently translated at 97.6% (449 of 460 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/oc/
2021-07-23 11:10:55 +00:00
Nikita Epifanov f07e1b54f7 Translated using Weblate (Russian)
Currently translated at 100.0% (460 of 460 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ru/
2021-07-23 11:10:55 +00:00
GunChleoc 00cc1e9ee5 Translated using Weblate (Gaelic)
Currently translated at 100.0% (460 of 460 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gd/
2021-07-23 11:10:54 +00:00
knuxify d2b145aa9b Translated using Weblate (Polish)
Currently translated at 100.0% (460 of 460 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/pl/
2021-07-23 11:10:54 +00:00
Ho Nhat Duy e80190678e Translated using Weblate (Vietnamese)
Currently translated at 100.0% (460 of 460 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/vi/
2021-07-23 11:10:54 +00:00
Ho Nhat Duy 2766225ba4 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (460 of 460 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/vi/
2021-06-30 18:11:40 +00:00
Levi Bard 59b977c57c
Fix filtering timelines (#2214) 2021-06-30 20:11:14 +02:00
Konrad Pozniak 2cc53d6772 fix codestyle 2021-06-28 22:04:34 +02:00
Konrad Pozniak 9ca7e708bd
fix liking/boosting/bookmarking/voting boosted statuses in timeline (#2212) 2021-06-28 21:41:18 +02:00
Konrad Pozniak 16ffcca748
add ktlint plugin to project and apply default code style (#2209)
* add ktlint plugin to project and apply default code style

* some manual adjustments, fix wildcard imports

* update CONTRIBUTING.md

* fix formatting
2021-06-28 21:13:24 +02:00
Konrad Pozniak 955267199e
migrate scheduled toots to paging 3 (#2208) 2021-06-24 21:24:04 +02:00
Konrad Pozniak f6dd131b95
migrate drafts to paging 3 (#2206)
* migrate drafts to paging 3

* migrate DraftHelper to coroutines
2021-06-24 21:23:29 +02:00
majava 4173750cbf Translated using Weblate (Finnish)
Currently translated at 33.4% (154 of 460 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fi/
2021-06-21 02:17:57 +00:00
Ihor Hordiichuk 6d09544d70 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (460 of 460 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/uk/
2021-06-21 02:17:57 +00:00
Connyduck a3aaef75f7 Added translation using Weblate (Finnish) 2021-06-21 02:17:56 +00:00
Vegard Skjefstad 3fa2099261 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (460 of 460 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
2021-06-21 02:17:56 +00:00
Daniele Lira Mereb 70681cbad9 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (460 of 460 strings)

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

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (460 of 460 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/pt_BR/
2021-06-21 02:17:56 +00:00
Vancha cee22e70d1 Translated using Weblate (Dutch)
Currently translated at 99.5% (458 of 460 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nl/
2021-06-21 02:17:56 +00:00
XoseM bb0f529127 Translated using Weblate (Galician)
Currently translated at 100.0% (460 of 460 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gl/
2021-06-21 02:17:56 +00:00
Konrad Pozniak 554820de5f
migrate reporting to paging 3 (#2205)
* migrate reporting to paging 3

* apply PR feedback
2021-06-20 10:58:19 +02:00
Konrad Pozniak 920c71560b
throw HttpException instead of generic exception in TimelineViewModel (#2202) 2021-06-20 10:19:03 +02:00
Ivan Kupalov 837ee2e40d
Convert some adapters to Kotlin (#2187)
* Rename .java adapters to .kt

* Convert Account adapters to Kotlin

* Apply feedback for adapter refactoring
2021-06-20 10:18:40 +02:00
Konrad Pozniak 6d4f5ad027
migrate to paging 3 (#2182)
* migrate conversations and search to paging 3

* delete SearchRepository

* remove unneeded executor from search

* fix bugs in conversations

* update license headers

* fix conversations refreshing

* fix search refresh indicators

* show fullscreen loading while conversations are empty

* search bugfixes

* error handling

* error handling

* remove mastodon bug workaround

* update ConversationsFragment

* fix conversations more menu and deleting conversations

* delete unused class

* catch exceptions in ConversationsViewModel

* fix bug where items are not diffed correctly / cleanup code

* fix search progressbar display conditions
2021-06-17 18:54:56 +02:00
Konrad Pozniak 31da851f28
correctly serialize custom spans to html (#2199) 2021-06-14 11:00:35 +02:00
Konrad Pozniak e84dec29b2
update dependencies (#2198) 2021-06-14 11:00:25 +02:00
Konrad Pozniak f04a2a1ee4
fix reblog avatar (#2197) 2021-06-14 10:22:08 +02:00
idontwanttohaveausername ed001db6e4 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (458 of 458 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/uk/
2021-06-13 19:14:37 +00:00
翻訳者X 26ab5a22a8 Translated using Weblate (Japanese)
Currently translated at 92.3% (423 of 458 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ja/
2021-06-13 19:14:37 +00:00
Alberto Vacca 1054aaf47f Translated using Weblate (Italian)
Currently translated at 98.6% (452 of 458 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/it/
2021-06-13 19:14:37 +00:00
Balázs Meskó 9f40b283ee Translated using Weblate (Hungarian)
Currently translated at 100.0% (458 of 458 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/hu/
2021-06-13 19:14:37 +00:00
Konrad Pozniak 86002efc97
fix "show notifications filter" preference opening tabs preferences (#2193) 2021-06-11 20:50:52 +02:00
Konrad Pozniak 6281e37aec
improve kotlin related proguard rules (#2190) 2021-06-11 20:50:42 +02:00
Ivan Kupalov 44a5b42cac
Timeline refactor (#2175)
* Move Timeline files into their own package

* Introduce TimelineViewModel, add coroutines

* Simplify StatusViewData

* Handle timeilne fetch errors

* Rework filters, fix ViewThreadFragment

* Fix NotificationsFragment

* Simplify Notifications and Thread, handle pin

* Redo loading in TimelineViewModel

* Improve error handling in TimelineViewModel

* Rewrite actions in TimelineViewModel

* Apply feedback after timeline factoring review

* Handle initial failure in timeline correctly
2021-06-11 20:15:40 +02:00
cami d432d9f184 Translated using Weblate (German)
Currently translated at 100.0% (458 of 458 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/de/
2021-06-05 12:59:32 +00:00
Konrad Pozniak 3301643c1d
update to SDK 30 and fix deprecations (#2173)
* update to SDk 30 and fix deprecations

* remove unnecessary .run

* revert ViewMediaActivity change
2021-06-01 19:46:07 +02:00
Konrad Pozniak e032d38d56
fix LiveData nullability issues (#2181) 2021-05-31 15:16:07 +02:00
Conny Duck 3091db8c27 Merge branch 'main' into develop 2021-05-31 14:25:40 +02:00
Conny Duck a85568abdf Release 83 2021-05-31 14:25:19 +02:00
Konrad Pozniak 30ed9a4d1c don't upscale images in caption dialog (#2165)
* don't upscale images in caption dialog

* don't upscale images in caption dialog
2021-05-31 14:14:05 +02:00
Ivan Kupalov 59c62204c7
Fix crash in NotificationsAdapter when spoiler is null. (#2178) 2021-05-27 16:41:54 +02:00
Konrad Pozniak d5e539fd64
cleanup MainActivity / last remnants of SavedToots (#2174) 2021-05-22 19:24:40 +02:00
Konrad Pozniak 3aeb8a4b84
Merge branch 'develop' into weblate-tusky-tusky 2021-05-22 18:55:09 +02:00
Konrad Pozniak 8b56e9bc27
update Glide to 4.12.0 (#2169) 2021-05-22 18:41:28 +02:00
Konrad Pozniak ca5c455881
update AndroidX, use ActivityResultContracts (#2170)
* update AndroidX, use ActivityResultContracts

* make allowMultiple setable in PickMediaFiles

* add license headers to PickMediaFiles
2021-05-22 17:50:08 +02:00
Konrad Pozniak d2cdaae129
update okhttp to 4.9.1 (#2168) 2021-05-22 17:48:17 +02:00
Konrad Pozniak a1dfbee669
update dagger to 2.35.1 (#2167) 2021-05-22 17:48:00 +02:00
edave64 5b2bb1c60e Translated using Weblate (German)
Currently translated at 100.0% (458 of 458 strings)

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

Translated using Weblate (German)

Currently translated at 99.1% (454 of 458 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/de/
2021-05-22 13:15:41 +00:00
翻訳者X f385aae3ee Translated using Weblate (Japanese)
Currently translated at 92.1% (422 of 458 strings)

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

Translated using Weblate (Japanese)

Currently translated at 91.7% (420 of 458 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ja/
2021-05-22 13:15:40 +00:00
Konrad Pozniak 2632c4c5bd update Glide to 4.12.0 2021-05-22 13:15:40 +00:00
Ho Nhat Duy 862165ccbc Translated using Weblate (Vietnamese)
Currently translated at 100.0% (458 of 458 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/vi/
2021-05-21 15:52:07 +00:00
nailyk-weblate 09da9105f6 Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/
2021-05-21 15:52:07 +00:00
Konrad Pozniak 81057213db
don't upscale images in caption dialog (#2165)
* don't upscale images in caption dialog

* don't upscale images in caption dialog
2021-05-21 17:52:03 +02:00
Konrad Pozniak 387e62ea4b
get rid of jcenter (#2163)
* get rid of jcenter

* fix BottomSheetActivityTest

* update Android Image Cropper license
2021-05-21 17:51:47 +02:00
Konrad Pozniak 751109ac39
upgrade kotlin to 1.5.0 (#2162)
* upgrade kotlin to 1.5.0

* don't explicitly set kotlin jvmtarget
2021-05-21 17:51:35 +02:00
Konrad Pozniak 3af8874b87
upgrade android gradle plugin to 4.2.1 (#2160)
* upgrade android gradle plugin to 4.2.1

* upgrade android gradle plugin to 4.2.1
2021-05-19 07:40:45 +02:00
Konrad Pozniak 40b24cd242
migrate to RxJava3 (#2146)
* migrate to RxJava3

* remove unused import
2021-05-16 19:53:27 +02:00
Konrad Pozniak 6c37cc770c
remove SavedToots (#2141)
* remove SavedToots

* fix tests
2021-05-16 19:17:56 +02:00
Conny Duck cb3840c699 Release 82 2021-05-16 18:53:34 +02:00
Ho Nhat Duy d52b0a67eb Translated using Weblate (Vietnamese)
Currently translated at 100.0% (460 of 460 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/vi/
2021-05-16 16:34:41 +00:00
Fjuro 54e5807a5f Translated using Weblate (Czech)
Currently translated at 92.6% (426 of 460 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/cs/
2021-05-16 16:34:41 +00:00
test8421 c44ba1ccb3 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (460 of 460 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans/
2021-05-16 16:34:41 +00:00
Iris S c823a1cb85 Translated using Weblate (Greek)
Currently translated at 0.6% (3 of 460 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/el/
2021-05-16 16:34:41 +00:00
GunChleoc 89ec1db47d Translated using Weblate (Gaelic)
Currently translated at 100.0% (460 of 460 strings)

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

Translated using Weblate (Gaelic)

Currently translated at 99.7% (459 of 460 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gd/
2021-05-16 16:34:41 +00:00
Bifo Ho 3c40dd1cf5 Translated using Weblate (Bengali (Bangladesh))
Currently translated at 100.0% (460 of 460 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/bn_BD/
2021-05-16 16:34:41 +00:00
Connyduck 6b07d34759 Added translation using Weblate (Greek) 2021-05-16 16:34:41 +00:00