Commit Graph

1838 Commits

Author SHA1 Message Date
Alibek Omarov a8f3070889 ScheduledTootActivity: fix toolbar back button #1586 (#1591) 2019-12-20 19:14:22 +01:00
Ivan Kupalov 8770fbe986 ComposeActivity refactor (#1541)
* Convert ComposeActivity to Kotlin

* More ComposeActivity cleanups

* Move ComposeActivity to it's own package

* Remove ComposeActivity.IntentBuilder

* Re-do part of the media downsizing/uploading

* Add sending of status to ViewModel, draft media descriptions

* Allow uploading video, update description after uploading

* Enable camera, enable upload cancelling

* Cleanup of ComposeActivity

* Extract CaptionDialog, extract ComposeActivity methods

* Fix handling of redrafted media

* Add initial state and media uploading out of Activity

* Change ComposeOptions.mentionedUsernames to be Set rather than List

We probably don't want repeated usernames when we are writing a post
and Set provides such guarantee for free plus it tells it to the
callers. The only disadvantage is lack of order but it shouldn't be a
problem.

* Add combineOptionalLiveData. Add docs.

It it useful for nullable LiveData's. I think we cannot differentiate
between value not being set and value being null so I just added the
variant without null check.

* Add poll support to Compose.

* cleanup code

* move more classes into compose package

* cleanup code

* fix button behavior

* add error handling for media upload

* add caching for instance data again

* merge develop

* fix scheduled toots

* delete unused string

* cleanup ComposeActivity

* fix restoring media from drafts

* make media upload code a little bit clearer

* cleanup autocomplete search code

* avoid duplicate object creation in SavedTootActivity

* perf: avoid unnecessary work when initializing ComposeActivity

* add license header to new files

* use small toot button on bigger displays

* fix ComposeActivityTest

* fix bad merge

* use Singles.zip instead of Single.zip
2019-12-19 19:09:40 +01:00
Juanjo Salvador 51e514461e Translated using Weblate (Spanish)
Currently translated at 100.0% (407 of 407 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/es/
2019-12-19 17:35:59 +00:00
tolstoevsky fcd9591e1b Translated using Weblate (Russian)
Currently translated at 100.0% (407 of 407 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ru/
2019-12-19 17:35:59 +00:00
Anonymous 65cc8e03d9 Translated using Weblate (Russian)
Currently translated at 100.0% (407 of 407 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ru/
2019-12-19 17:35:59 +00:00
Mélanie Chauvel (ariasuni) 54b3d1f8cd Add close icon to tabs in Tabs account preferences page (#1588)
* Add close icon to tabs in Tabs account preferences page

* Improve code according to code review
2019-12-19 18:35:55 +01:00
Levi Bard bac3003182 Make polls respect content warning visibility setting (#1583)
* Make polls respect content warning visibility setting

* Only perform poll setup when poll is visible
2019-12-16 19:51:21 +01:00
Muha Aliss 66392c90a0 Translated using Weblate (Turkish)
Currently translated at 90.7% (369 of 407 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/tr/
2019-12-14 23:39:35 +00:00
simevo b08a3c7202 Translated using Weblate (Italian)
Currently translated at 96.8% (394 of 407 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/it/
2019-12-14 23:39:35 +00:00
Francesc Galí 5b5f893796 Translated using Weblate (Catalan)
Currently translated at 100.0% (407 of 407 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ca/
2019-12-14 23:39:35 +00:00
Mélanie Chauvel ed11eaa9b1 Translated using Weblate (French)
Currently translated at 100.0% (407 of 407 strings)

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

Translated using Weblate (Esperanto)

Currently translated at 100.0% (407 of 407 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/eo/
2019-12-14 23:39:35 +00:00
Quentí 0f0b4ed275 Translated using Weblate (Occitan)
Currently translated at 100.0% (407 of 407 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/oc/
2019-12-14 23:39:35 +00:00
Zoltán Gera ee78230330 Translated using Weblate (Hungarian)
Currently translated at 100.0% (407 of 407 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/hu/
2019-12-14 23:39:35 +00:00
Daniele Lira Mereb bcb6f5b11b Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (407 of 407 strings)

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

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (407 of 407 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/pt_BR/
2019-12-14 23:39:35 +00:00
knuxify e8db046806 Translated using Weblate (Polish)
Currently translated at 100.0% (407 of 407 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/pl/
2019-12-14 23:39:35 +00:00
Vegard Skjefstad fb2c028c1b Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (407 of 407 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
2019-12-14 23:39:35 +00:00
Anonymous 70da63c764 Translated using Weblate (Turkish)
Currently translated at 90.7% (369 of 407 strings)

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

Translated using Weblate (Italian)

Currently translated at 96.8% (394 of 407 strings)

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

Translated using Weblate (Esperanto)

Currently translated at 96.8% (394 of 407 strings)

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

Translated using Weblate (French)

Currently translated at 100.0% (407 of 407 strings)

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

Translated using Weblate (Arabic)

Currently translated at 100.0% (407 of 407 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ar/
2019-12-14 23:39:35 +00:00
Konrad Pozniak d0ce43dfca
fix formatting of %s favs %s boosts in some languages (#1576) 2019-12-03 12:54:47 +01:00
Anonymous 240da81985 Translated using Weblate (Russian)
Currently translated at 98.8% (400 of 405 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ru/
2019-12-02 15:53:28 +00:00
Daniele Lira Mereb f26669d8a8 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (405 of 405 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/pt_BR/
2019-12-02 15:53:28 +00:00
knuxify 30120802ea Translated using Weblate (Polish)
Currently translated at 100.0% (405 of 405 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/pl/
2019-12-02 15:53:28 +00:00
kyori19 d6ae071a09 List tabs (#1570)
* List tabs

* Add comment

* Move decoder part to TabData.createTabDataFromId

* Fix drawable tint

* Use dedicated view for list picker

* Error log

* Fix logging

Co-Authored-By: Konrad Pozniak <connyduck@users.noreply.github.com>

* Fix tint color

Co-Authored-By: Konrad Pozniak <connyduck@users.noreply.github.com>

* Fix missing import

* Move encoding part too

* Fix comment

* Fix decoder

* Revert "Fix decoder"

This reverts commit fdc45aac9c113348f8740e6692d2d8e9ace14f7f.

* Revert "Fix comment"

This reverts commit 704b4e6d2e5545d5f2d20c9bc6bc276d6257d119.

* Revert "Move encoding part too"

This reverts commit 32e77346ff98ae1133e76ab6dfd880b26171005e.

* Revert "Move decoder part to TabData.createTabDataFromId"

This reverts commit d1cd2070ab564d2e33874225272a71f0904d681e.
2019-12-02 16:53:24 +01:00
Daniele Lira Mereb 2555084376 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (405 of 405 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/pt_BR/
2019-11-26 04:42:18 +00:00
Quentí 08db1301f8 Translated using Weblate (Occitan)
Currently translated at 100.0% (405 of 405 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/oc/
2019-11-26 04:42:18 +00:00
Sojo 92f5a847c6 Translated using Weblate (Spanish)
Currently translated at 100.0% (405 of 405 strings)

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

Translated using Weblate (Basque)

Currently translated at 100.0% (405 of 405 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/eu/
2019-11-26 04:42:18 +00:00
Anonymous f46dfd8184 Translated using Weblate (Basque)
Currently translated at 100.0% (405 of 405 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/eu/
2019-11-26 04:42:18 +00:00
Vegard Skjefstad 0fcf6b19bd Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (405 of 405 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
2019-11-26 04:42:18 +00:00
ButterflyOfFire 491bb28ad1 Translated using Weblate (French)
Currently translated at 100.0% (405 of 405 strings)

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

Translated using Weblate (Arabic)

Currently translated at 100.0% (405 of 405 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ar/
2019-11-26 04:42:17 +00:00
Konrad Pozniak d9694df0c2
Bookmarks (#1560)
* add bookmarks to timelines

* add Bookmarks to main menu

* cleanup

* handle BookmarkEvent

* fix tests

* fix bookmark handling in NotificationsFragment

* add bookmark accessibility actions
2019-11-19 10:15:32 +01:00
Konrad Pozniak d6ec5ca8d3
fix crashes related to missing Rx error handler (#1561) 2019-11-17 20:59:13 +01:00
Konrad Pozniak 7bccf23f69
fix null search when refreshing hashtags (#1562) 2019-11-17 20:58:54 +01:00
Juanjo Salvador 9ecc014ee8 Translated using Weblate (Spanish)
Currently translated at 100.0% (401 of 401 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/es/
2019-11-16 06:42:00 +00:00
Danial Behzadi 57aec54841 Translated using Weblate (Persian)
Currently translated at 100.0% (401 of 401 strings)

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

Translated using Weblate (Persian)

Currently translated at 100.0% (401 of 401 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fa/
2019-11-16 06:42:00 +00:00
Sojo 5f87a67066 Translated using Weblate (Basque)
Currently translated at 97.0% (389 of 401 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/eu/
2019-11-16 06:42:00 +00:00
Subin Siby be46ef5731 Translated using Weblate (Malayalam)
Currently translated at 13.5% (54 of 401 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ml/
2019-11-16 06:42:00 +00:00
Anonymous cfcb5d1aa1 Translated using Weblate (Persian)
Currently translated at 100.0% (401 of 401 strings)

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

Translated using Weblate (Tamil)

Currently translated at 61.8% (248 of 401 strings)

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

Translated using Weblate (Slovenian)

Currently translated at 100.0% (401 of 401 strings)

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

Translated using Weblate (Malayalam)

Currently translated at 14.0% (56 of 401 strings)

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

Translated using Weblate (French)

Currently translated at 100.0% (401 of 401 strings)

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

Translated using Weblate (Bengali (India))

Currently translated at 100.0% (401 of 401 strings)

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

Translated using Weblate (Malayalam)

Currently translated at 13.5% (54 of 401 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ml/
2019-11-16 06:42:00 +00:00
ButterflyOfFire f878f85365 Translated using Weblate (French)
Currently translated at 100.0% (401 of 401 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fr/
2019-11-16 06:42:00 +00:00
nailyk-weblate c9c5786298 Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/
2019-11-08 16:46:45 +00:00
Danial Behzadi ecb4494278 set title_tag as non-translatable (#1551)
* set title_tag as non-translatable

* add title_tag to donottranslate.xml and remove from strings.xml
2019-11-08 17:46:40 +01:00
Danial Behzadi 507bf92676 Translated using Weblate (Persian)
Currently translated at 100.0% (401 of 401 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fa/
2019-11-08 16:45:08 +00:00
Subin Siby ccb8c52512 Translated using Weblate (Malayalam)
Currently translated at 13.9% (56 of 402 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ml/
2019-11-08 16:45:08 +00:00
Anonymous 5baf936d66 Translated using Weblate (Malayalam)
Currently translated at 13.9% (56 of 402 strings)

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

Translated using Weblate (Hindi)

Currently translated at 6.7% (27 of 402 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/hi/
2019-11-08 16:45:08 +00:00
ButterflyOfFire 33c5a88417 Added translation using Weblate (Hindi) 2019-11-08 16:45:08 +00:00
Balasankar C d452cc701d Translated using Weblate (Malayalam)
Currently translated at 13.9% (56 of 402 strings)

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

Translated using Weblate (Malayalam)

Currently translated at 11.4% (46 of 402 strings)

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

Added translation using Weblate (Malayalam)
2019-11-08 16:45:07 +00:00
Anonymous 79cc8e4524 Translated using Weblate (Polish)
Currently translated at 100.0% (402 of 402 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/pl/
2019-11-08 16:45:07 +00:00
Mostafa Ahangarha 74ad0d2e2d Translated using Weblate (Persian)
Currently translated at 100.0% (401 of 401 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fa/
2019-11-08 16:45:07 +00:00
Quentí b594c76bc7 Translated using Weblate (Occitan)
Currently translated at 100.0% (402 of 402 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/oc/
2019-11-08 16:45:07 +00:00
Vegard Skjefstad 0247e6a74e Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (402 of 402 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
2019-11-08 16:45:07 +00:00
Konrad Pozniak d3ebcc14ec
update deps, cleanup build file (#1546) 2019-11-06 20:48:58 +01:00
Konrad Pozniak d2ca776b34
Migrate to ViewPager2 (#1544)
* migrate MainActivty to ViewPager2

* migrate AccountActivty to ViewPager2

* migrate ViewMediaActivty to ViewPager2

* migrate SearchActivity to ViewPager2

* checkin missing AccountPagerAdapter file

* remove unused class ImageViewPager

* replace SparseArray with MutableList
2019-11-06 20:17:53 +01:00