Commit Graph

2731 Commits

Author SHA1 Message Date
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
Konrad Pozniak 7499ff5733
never collapse bottom app bar tabs (#2447) 2022-04-21 18:46:30 +02:00
Konrad Pozniak d2bfceae7b
refactor compose & announcements to coroutines (#2446)
* refactor compose & announcements to coroutines

* fix code formatting

* add javadoc to InstanceInfoRepository

* fix comments in ImageDownsizer

* remove unused Either extensions

* add explicit return type for InstanceInfoRepository.getEmojis

* make ComposeViewModel.pickMedia return Result

* cleanup code in ImageDownsizer
2022-04-21 18:46:21 +02:00
Konrad Pozniak b5d8b73044
fix "account moved" on profiles not being clickable (#2438) 2022-04-19 11:10:23 +02:00
Levi Bard dff039e123
Add support for post edit notifications (#2431)
* Add support for post edit notifications

* Update notification icon
2022-04-19 11:10:13 +02:00
Mélanie Chauvel e0abcbfada
Improve time format of posts when using absolute time (#2413)
* Improve time format of posts when using absolute time

* fix AbsoluteTimeFormatter, add tests

* fix tests

Co-authored-by: Conny Duck <k.pozniak@gmx.at>
2022-04-18 21:41:18 +02:00
Konrad Pozniak 216f094e98
upgrade ktlint gradle plugin to 10.2.1 (#2435) 2022-04-16 09:45:45 +02:00
Konrad Pozniak 027b659d1c
fix notifications showing unparsed html (#2436) 2022-04-16 09:44:05 +02:00
Konrad Pozniak 3e849244f9
move Html parsing to ViewData (#2414)
* move Html parsing to ViewData

* refactor reports to use viewdata

* cleanup code

* refactor conversations

* fix getEditableText

* rename StatusParsingHelper

* fix tests

* commit db schema file

* add file header

* rename helper function to parseAsMastodonHtml

* order imports correctly

* move mapping off main thread to default dispatcher

* fix ktlint
2022-04-15 13:20:27 +02:00
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 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 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
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
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 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 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
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
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
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
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 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