Commit graph

3295 commits

Author SHA1 Message Date
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
Konrad Pozniak
bf05c8a5d5
Merge pull request #2302 from nailyk-weblate/weblate-tusky-tusky
Translations update from Weblate
2022-01-23 20:25:35 +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
Konrad Pozniak
a026a3261b
Merge pull request #2290 from nailyk-weblate/weblate-tusky-tusky
Translations update from Weblate
2022-01-17 12:38:56 +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
Konrad Pozniak
1b6bcd976e
Merge pull request #2289 from nailyk-weblate/weblate-tusky-tusky-app
Translations update from Weblate
2022-01-11 19:41:12 +01:00
Mélanie Chauvel
b77da5cf81 Translated using Weblate (French)
Currently translated at 100.0% (14 of 14 strings)

Translation: Tusky/Tusky description
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky-app/fr/
2022-01-11 18:40:59 +00:00
Konrad Pozniak
92e3b20597
Merge pull request #2287 from nailyk-weblate/weblate-tusky-tusky
Translations update from Weblate
2022-01-11 19:40:56 +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
224161caf1
Fix a mistake in CONTRIBUTING.md (#2286) 2022-01-04 19:29:23 +01:00
Mélanie Chauvel
c0c8eec36b
filter messages by also looking at media descriptions (#2285) 2022-01-04 19:28:49 +01:00
Konrad Pozniak
a221a7b916
Merge pull request #2281 from nailyk-weblate/weblate-tusky-tusky
Translations update from Weblate
2021-12-29 13:46:39 +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
Konrad Pozniak
bab685ff8d
Merge pull request #2278 from nailyk-weblate/weblate-tusky-tusky-app
Translations update from Weblate
2021-12-22 20:08:10 +01:00
sleepycrow
148fecc486 Translated using Weblate (Polish)
Currently translated at 100.0% (14 of 14 strings)

Translation: Tusky/Tusky description
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky-app/pl/
2021-12-15 20:42:39 +00:00
Konrad Pozniak
2c8805cb86
Merge pull request #2274 from nailyk-weblate/weblate-tusky-tusky
Translations update from Weblate
2021-12-15 21:42:35 +01:00
Konrad Pozniak
2914ee5a42
Merge pull request #2273 from nailyk-weblate/weblate-tusky-tusky-app
Translations update from Weblate
2021-12-15 21:42:23 +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
f21adc71b4 Translated using Weblate (Sinhala)
Currently translated at 7.1% (1 of 14 strings)

Translation: Tusky/Tusky description
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky-app/si/
2021-12-05 18:13:16 +00:00
Sveinn í Felli
440f0fcdc8 Translated using Weblate (Icelandic)
Currently translated at 100.0% (14 of 14 strings)

Translation: Tusky/Tusky description
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky-app/is/
2021-12-05 18:13:16 +00:00
Konrad Pozniak
dd5e663620
Merge pull request #2271 from nailyk-weblate/weblate-tusky-tusky
Translations update from Weblate
2021-12-05 19:13:12 +01: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
Konrad Pozniak
8ccf92de93
Merge pull request #2254 from nailyk-weblate/weblate-tusky-tusky
Translations update from Weblate
2021-11-16 17:18: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
f185956142
Merge pull request #2255 from nailyk-weblate/weblate-tusky-tusky-app
Translations update from Weblate
2021-11-16 17:18:23 +01:00
Sojo
5164e599aa Translated using Weblate (Basque)
Currently translated at 100.0% (14 of 14 strings)

Translation: Tusky/Tusky description
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky-app/eu/
2021-10-15 18:02:51 +00:00
Konrad Pozniak
d1d564a7e2
support animated PNGs and WEBPs (#2244) 2021-10-09 10:45:41 +02:00
Konrad Pozniak
e6622e65c7
Merge pull request #2250 from nailyk-weblate/weblate-tusky-tusky
Translations update from Weblate
2021-10-09 10:45:27 +02:00