Commit Graph

2110 Commits

Author SHA1 Message Date
Konrad Pozniak 82e13db28f
fix imagebutton color (#1598) 2019-12-21 15:55:55 +01:00
Konrad Pozniak e67d608bb8
upgrade dependencies (#1596) 2019-12-20 21:31:41 +01:00
Konrad Pozniak 516546a3bf
upgrade androidx.browser to 1.2.0 (#1595) 2019-12-20 20:08:02 +01:00
Konrad Pozniak 60b9a9c40b
upgrade SparkButton to 3.0.0 (#1594) 2019-12-20 19:52:36 +01:00
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
Konrad Pozniak 9457aa73b2
Merge pull request #1590 from nailyk-weblate/weblate-tusky-tusky
Update from Weblate
2019-12-19 18:36:22 +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
Konrad Pozniak 4573b32042
Merge pull request #1582 from nailyk-weblate/weblate-tusky-tusky-app
Update from Weblate
2019-12-15 11:18:42 +01:00
Anonymous f56d5b1024 Translated using Weblate (Turkish)
Currently translated at 85.7% (6 of 7 strings)

Translation: Tusky/Tusky-app
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky-app/tr/
2019-12-15 10:18:21 +00:00
Anonymous dedf1758bb Translated using Weblate (Italian)
Currently translated at 42.9% (3 of 7 strings)

Translation: Tusky/Tusky-app
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky-app/it/
2019-12-15 10:18:21 +00:00
Francesc Galí 0bb89b0e60 Translated using Weblate (Catalan)
Currently translated at 100.0% (7 of 7 strings)

Translation: Tusky/Tusky-app
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky-app/ca/
2019-12-15 10:18:21 +00:00
Konrad Pozniak dc0666dcd7
Merge pull request #1575 from nailyk-weblate/weblate-tusky-tusky
Update from Weblate
2019-12-15 11:18:17 +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
Konrad Pozniak 3c75ee70ce
Merge pull request #1574 from nailyk-weblate/weblate-tusky-tusky
Update from Weblate
2019-12-02 17:07:29 +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 fdc45aac9c.

* Revert "Fix comment"

This reverts commit 704b4e6d2e.

* Revert "Move encoding part too"

This reverts commit 32e77346ff.

* Revert "Move decoder part to TabData.createTabDataFromId"

This reverts commit d1cd2070ab.
2019-12-02 16:53:24 +01:00
Konrad Pozniak bbeb46adaf
Merge pull request #1566 from nailyk-weblate/weblate-tusky-tusky
Update from Weblate
2019-11-26 19:28:20 +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
Konrad Pozniak ad810b8be1
Merge pull request #1555 from nailyk-weblate/weblate-tusky-tusky-app
Update from Weblate
2019-11-17 13:34:14 +01:00
Anonymous 3076b134cd Translated using Weblate (Tamil)
Currently translated at 14.3% (1 of 7 strings)

Translation: Tusky/Tusky-app
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky-app/ta/
2019-11-17 12:33:54 +00:00
Sojo b92fc5e263 Translated using Weblate (Basque)
Currently translated at 100.0% (7 of 7 strings)

Translation: Tusky/Tusky-app
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky-app/eu/
2019-11-17 12:33:54 +00:00
Konrad Pozniak 79bcd0af06
Merge pull request #1557 from nailyk-weblate/weblate-tusky-tusky
Update from Weblate
2019-11-17 13:33:50 +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