Commit graph

2562 commits

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