Commit graph

2573 commits

Author SHA1 Message Date
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