Commit graph

2876 commits

Author SHA1 Message Date
Ivan Kupalov
ef1ae581b4
Fix some of the StrictMode violations (#1931)
Mostly it's disk reads/writes.

Conscrypt reads own version on startup which reads from disk multiple
times. There's no solution for it right now.

SharedPreferences which are used in BaseActivity also read from disk
and pretty early but it shouldn't be a problem.
2020-11-23 20:05:48 +01:00
Konrad Pozniak
9ea2557148
fix crash when clearing glide requests (#1989) 2020-11-22 19:03:11 +01:00
Konrad Pozniak
34fb546200
upgrade dependencies (#1990)
* upgrade dependencies

* fix tests
2020-11-22 19:02:54 +01:00
Konrad Pozniak
f917a5aa4b
apply the home filter to lists (#1991) 2020-11-22 19:02:38 +01:00
kyori19
fef4b8b07f
[needs help] Support announcements (#1977)
* Implement announcements activity

* Update reactions without api access

* Add badge style

* Use emptyList() as default parameter

* Simplify newIntent

* Use List instead of Array

* Remove unneeded ConstraintLayout

* Add lineSpacingMultiplier

* Fix wording

* Apply material design's default chip style

* Dismiss announcements automatically
2020-11-18 21:12:27 +01:00
Konrad Pozniak
94271815eb
Merge pull request #1987 from nailyk-weblate/weblate-tusky-tusky
Translations update from Weblate
2020-11-18 21:03:25 +01:00
Vegard Skjefstad
0c4d99ebad Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (433 of 433 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
2020-11-18 19:27:17 +00:00
Conny Duck
0229be84a0 upgrade material drawer 2020-11-18 20:27:09 +01:00
Konrad Pozniak
ce973ea7e7
Personal account notes (#1978)
* add personal notes to AccountActivity

* use RxJava instead of plain okhttp calls

* make AccountViewModel rx aware

* hide note input until data is loaded
2020-11-17 20:10:54 +01:00
Konrad Pozniak
56219ddcc7
Merge pull request #1979 from nailyk-weblate/weblate-tusky-tusky
Translations update from Weblate
2020-11-15 21:32:00 +01:00
Danial Behzadi
507a8f8ecb Translated using Weblate (Persian)
Currently translated at 100.0% (431 of 431 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fa/
2020-11-15 20:31:39 +00:00
Juanjo Salvador
7887dfec3b Translated using Weblate (Spanish)
Currently translated at 100.0% (431 of 431 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/es/
2020-11-15 20:31:39 +00:00
mark_tw_no.1
2ff893f202 Translated using Weblate (Chinese (Traditional))
Currently translated at 85.1% (367 of 431 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hant/
2020-11-15 20:31:39 +00:00
Ho Nhat Duy
2a121ddb81 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (431 of 431 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/vi/
2020-11-15 20:31:39 +00:00
MrMini
b222d87d78 Translated using Weblate (Ukrainian)
Currently translated at 32.7% (141 of 431 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/uk/
2020-11-15 20:31:39 +00:00
Conor Flynn
e91272a4c6
Adds link to account page when clicking on displayName (#1982)
* Adds link to account page when clicking on displayName.

* Reuses the onClickListener

* Fixes formatting.
2020-11-15 21:31:34 +01:00
Konrad Pozniak
814a9b8f9b
Merge pull request #1958 from nailyk-weblate/weblate-tusky-tusky
Translations update from Weblate
2020-11-04 18:23:24 +01:00
ButterflyOfFire
2bc4bc1d8e Translated using Weblate (Sanskrit)
Currently translated at 100.0% (430 of 430 strings)

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

Translated using Weblate (Czech)

Currently translated at 99.0% (427 of 431 strings)

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

Translated using Weblate (Arabic)

Currently translated at 100.0% (431 of 431 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ar/
2020-11-04 17:21:46 +00:00
Porrumentzio
3ee66dade1 Translated using Weblate (Basque)
Currently translated at 100.0% (431 of 431 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/eu/
2020-11-04 17:21:46 +00:00
PPNplus
eaa1c96c43 Translated using Weblate (Thai)
Currently translated at 100.0% (431 of 431 strings)

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

Translated using Weblate (Thai)

Currently translated at 99.7% (430 of 431 strings)

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

Translated using Weblate (Thai)

Currently translated at 99.7% (430 of 431 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/th/
2020-11-04 17:21:46 +00:00
Levi Bard
2170e6b0fa
Perform bidirectionality isolation manually instead of relying on BidiFormatter (#1976)
* Perform manual isolation of display names etc. instead of relying on BidiFormatter.
Fixes #1921

* Make follow request notification header formatting more like other notifications
2020-11-04 18:21:41 +01:00
Levi Bard
d7e47caef3
Add tests for compose activity initial state changes (#1972) 2020-10-28 18:43:11 +01:00
Garrit Franke
af44b25c29
Delete scheduled post after editing (#1947)
* Delete scheduled post after editing

This ensures that editing a scheduled toot will not duplicate it.

Fixes #1924

* Fix scheduled toot editing

* Convert isEditingScheduledToot to property

* Replace MediatorLiveData with combineLiveData

* Remove dead code

* Fix observer emission

* Fix "Finish media upload" appearing for split second
2020-10-25 18:41:11 +01:00
Konrad Pozniak
21b28f1bbb
fix crash in ViewImageFragment (#1964) 2020-10-25 18:36:31 +01:00
Konrad Pozniak
6d27d822ca
update Kotlin to 1.4.10 and fix some warnigs (#1963) 2020-10-25 18:36:00 +01:00
Levi Bard
e0346a8e88
Open photos embedded in preview cards in the image viewer (#1966)
* Open photos embedded in preview cards in the internal image viewer instead of opening the browser

* Enable toolbar for single image viewer

* Apply review feedback
2020-10-22 21:15:46 +02:00
Konrad Pozniak
53bd081802
use MaterialContainerTransform for ActionButton animation (#1961)
* use MaterialContainerTransform for ActionButton animation

* fix back button in TabPreferenceActivity
2020-10-19 14:57:55 +02:00
Konrad Pozniak
e572e653ee
upgrade gradle and android gradle plugin (#1957) 2020-10-19 14:47:40 +02:00
Levi Bard
b885aa8f83
Use blurhash for preview cards (#1960) 2020-10-17 18:41:38 +02:00
Levi Bard
a1887d1891
Fix filtering of boosts (#1954) 2020-10-13 18:30:39 +02:00
Vignesh Kumar
3b67f339b1
Change characters left color to red when negative (#1952)
* Change characters left color to red when negative

* Use val for the integers, optimize variable assignment

* Added tusky_red color

* remove extra line typo

* make characters left bold

* change red hue

* fix typo
2020-10-13 18:30:06 +02:00
Levi Bard
8e2e815b84
Set onClick listener for poll result view. (#1946)
Fixes #1861
2020-10-02 21:18:39 +02:00
Levi Bard
e237639adc
Save draft when redrafting a post (#1744) 2020-10-02 18:32:46 +02:00
Konrad Pozniak
26a051220b
improve relative poll timestamp string format (#1939) 2020-10-02 17:11:48 +02:00
Konrad Pozniak
508d070a31
Merge pull request #1940 from nailyk-weblate/weblate-tusky-tusky
Translations update from Weblate
2020-10-02 17:01:41 +02:00
Isak Holmström
0a98c3b5df Translated using Weblate (Swedish)
Currently translated at 100.0% (432 of 432 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/sv/
2020-10-02 15:01:20 +00:00
Levi Bard
387c8b043c
Publish mute/block events from the report activity. (#1945)
Fixes #1870
2020-10-02 17:01:15 +02:00
Karol Kosek
b8892044f6
Use status text size for poll descriptions (#1942) 2020-09-25 13:27:09 +02:00
Konrad Pozniak
9e46a3fa87
Merge pull request #1936 from nailyk-weblate/weblate-tusky-tusky
Translations update from Weblate
2020-09-21 08:53:03 +02:00
test8421
6d82a65dd4 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (432 of 432 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans/
2020-09-21 06:52:24 +00:00
Ali Demirtas
491a0fe530 Translated using Weblate (Turkish)
Currently translated at 100.0% (432 of 432 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/tr/
2020-09-21 06:52:24 +00:00
Muha Aliss
6a4bb48a41 Translated using Weblate (Turkish)
Currently translated at 100.0% (432 of 432 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/tr/
2020-09-21 06:52:24 +00:00
Ali Demirtas
c7ec1fe641 Translated using Weblate (Turkish)
Currently translated at 100.0% (432 of 432 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/tr/
2020-09-21 06:52:24 +00:00
Ho Nhat Duy
afa69f07b7 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (432 of 432 strings)

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

Translated using Weblate (Vietnamese)

Currently translated at 100.0% (432 of 432 strings)

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

Translated using Weblate (Vietnamese)

Currently translated at 100.0% (432 of 432 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/vi/
2020-09-21 06:52:24 +00:00
Konrad Pozniak
ea04254c89
Merge pull request #1937 from nailyk-weblate/weblate-tusky-tusky-app
Translations update from Weblate
2020-09-21 08:52:19 +02:00
Ali Demirtas
7d692aa4b4 Translated using Weblate (Turkish)
Currently translated at 100.0% (10 of 10 strings)

Translation: Tusky/Tusky description
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky-app/tr/
2020-09-20 16:43:33 +00:00
Ivan Kupalov
e4c10f1ca4
Improve notifications fetching (#1930)
* Improve notifications fetching

 - Only fetch notifications up to the latest fetched one
 - Use timeline markers to avoid showing already seen notifications

* Apply some of the suggestions
2020-09-20 18:43:28 +02:00
duggalsu
17b7abb537
Remove 'Add Data' button if all 4 metadata fields are used in Edit Profile (#1934)
* Remove 'Add Data' button if all 4 metadata fields are used

* Removed option for disabling add field button
2020-09-14 10:39:46 +02:00
Konrad Pozniak
a6673a6eb2
simplify timeline cleanup (#1932)
* simplify timeline cleanup

* fix test
2020-09-14 07:52:54 +02:00
Konrad Pozniak
986eb9d542
Merge pull request #1929 from nailyk-weblate/weblate-tusky-tusky-app
Translations update from Weblate
2020-09-14 07:52:40 +02:00