Commit Graph

2119 Commits

Author SHA1 Message Date
Konrad Pozniak
12a04dfb08 move to androidx paging 2019-12-30 20:40:27 +01:00
Conny Duck
04b81c5240 improve layout names 2019-12-22 11:55:26 +01:00
Conny Duck
7f2aab7723 move classes to component packages 2019-12-22 11:47:34 +01:00
Conny Duck
fe0d11b755 convert ScheduledTootAdapter to Kotlin 2019-12-22 11:42:13 +01:00
Konrad Pozniak
03c66d62df add test for VersionUtils (#1602)
* add test for VersionUtils

* add nullability annotation to VersionUtils
2019-12-21 18:56:30 +01:00
Konrad Pozniak
99032100d4 Implement identity proof api (#1597)
* implement identity proof api

* fix warnings in AccountActivity

* fix createClickableText method

* improve error handling

* use combineOptionalLiveData to simplify code
2019-12-21 18:56:16 +01:00
Konrad Pozniak
cf2a0fb4f9 delete unused stuff (#1601) 2019-12-21 17:32:42 +01:00
Konrad Pozniak
639a29aa7a fix replying to toots (#1600) 2019-12-21 15:56:19 +01:00
Konrad Pozniak
5a48368ccf fix delete&redraft losing toot text (#1599) 2019-12-21 15:56:07 +01:00
Konrad Pozniak
847b44e2c1 fix imagebutton color (#1598) 2019-12-21 15:55:55 +01:00
Konrad Pozniak
e28463ae7d upgrade dependencies (#1596) 2019-12-20 21:31:41 +01:00
Konrad Pozniak
8aa217c028 upgrade androidx.browser to 1.2.0 (#1595) 2019-12-20 20:08:02 +01:00
Konrad Pozniak
d9d2fdbc4b upgrade SparkButton to 3.0.0 (#1594) 2019-12-20 19:52:36 +01:00
b7662e1798 ScheduledTootActivity: fix toolbar back button #1586 (#1591) 2019-12-20 19:14:22 +01:00
Ivan Kupalov
9c59d000f9 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
a882e6c067 Merge pull request #1590 from nailyk-weblate/weblate-tusky-tusky
Update from Weblate
2019-12-19 18:36:22 +01:00
Juanjo Salvador
a5445db57d 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
b65bfc1eff 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
8d591a0a2a 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)
2ec8b95c31 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
0a516eaf13 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
1f60f845c4 Merge pull request #1582 from nailyk-weblate/weblate-tusky-tusky-app
Update from Weblate
2019-12-15 11:18:42 +01:00
Anonymous
398f6bf48a 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
5d0d875ce2 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í
ddebd43650 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
4f90aa2bf6 Merge pull request #1575 from nailyk-weblate/weblate-tusky-tusky
Update from Weblate
2019-12-15 11:18:17 +01:00
Muha Aliss
9400eaaf0a 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
5df72099f0 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í
f661eaca1d 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
69407786e3 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í
f1f5f84921 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
0379d8669d 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
f50e862866 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
dc744de98c 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
9953a1cf14 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
b9a1030e26 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
8eb1724782 fix formatting of %s favs %s boosts in some languages (#1576) 2019-12-03 12:54:47 +01:00
Konrad Pozniak
a47c867620 Merge pull request #1574 from nailyk-weblate/weblate-tusky-tusky
Update from Weblate
2019-12-02 17:07:29 +01:00
Anonymous
2f9bb14477 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
8ffc8e7013 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
759e4e6ef8 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
d137e6c63c 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
Konrad Pozniak
997fa4b8f7 Merge pull request #1566 from nailyk-weblate/weblate-tusky-tusky
Update from Weblate
2019-11-26 19:28:20 +01:00
Daniele Lira Mereb
2837f072ac 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í
54deeabe10 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
0cb3ee1812 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
9d9239cd68 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
dbbb1153ad 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
634d3218a6 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
8a65f91d2c 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