Commit graph

1940 commits

Author SHA1 Message Date
Danial Behzadi
36b853cd05 Translated using Weblate (Persian)
Currently translated at 100.0% (409 of 409 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fa/
2020-02-17 15:24:05 +00:00
ButterflyOfFire
69797b608c Translated using Weblate (Kabyle)
Currently translated at 47.4% (194 of 409 strings)

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

Translated using Weblate (Kabyle)

Currently translated at 46.5% (190 of 409 strings)

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

Translated using Weblate (Kabyle)

Currently translated at 32.5% (133 of 409 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/kab/
2020-02-17 15:24:05 +00:00
ati3
a1bf07cfb0 Translated using Weblate (Slovak)
Currently translated at 25.2% (103 of 409 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/sk/
2020-02-17 15:24:05 +00:00
Konrad Pozniak
285d2d488c
make the light theme background color lighter (#1692) 2020-02-17 16:24:00 +01:00
Ivan Kupalov
5a5bbca171
Fix emoji download (#1691)
* Update OkHttp to 4.3.1

* Fix downloading emoji fonts

OkHttp strips away content length info when compression is used.
Even though this behavior is old, we didn't observe it until OkHttp was
updated in d3ebcc14ec.

We get it from the original network response header. It should be
compressed length.

* Reformat EmojiCompatFont and EmojiPreference
2020-02-17 16:23:34 +01:00
Levi Bard
04275b4073
[Tusky10] Fix recollapsing expanded sensitive content in the thread view (#1689) 2020-02-14 19:04:14 +01:00
Levi Bard
185bfeb9f3
[Tusky10] Fix descriptions of audio attachments when expanding/collapsing status content (#1688) 2020-02-14 19:03:59 +01:00
Konrad Pozniak
3a75ca25a3
[Tusky10] fix crash when bookmarking a conversation while offline (#1686) 2020-02-14 19:03:42 +01:00
Konrad Pozniak
28e128a4dd
[Tusky10] adjust poll result background, status divider & button outline color (#1685)
* adjust poll result background, status divider & button outline color

* fix navigationBarDividerColor
2020-02-14 19:03:18 +01:00
Konrad Pozniak
3edb93ff7c
increase tab page margin (#1684) 2020-02-14 19:03:01 +01:00
Juanjo Salvador
51ee4b6e92 Translated using Weblate (Spanish)
Currently translated at 100.0% (409 of 409 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/es/
2020-02-13 17:41:21 +00:00
Danial Behzadi
e994473556 Translated using Weblate (Persian)
Currently translated at 100.0% (409 of 409 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fa/
2020-02-13 17:41:21 +00:00
ButterflyOfFire
16bdaf5458 Translated using Weblate (Kabyle)
Currently translated at 46.5% (190 of 409 strings)

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

Translated using Weblate (Kabyle)

Currently translated at 32.5% (133 of 409 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/kab/
2020-02-13 17:41:21 +00:00
ati3
32801b5e03 Translated using Weblate (Slovak)
Currently translated at 25.2% (103 of 409 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/sk/
2020-02-13 17:41:21 +00:00
Conny Duck
0bd4920ea5 add missing languages to in-app language switcher 2020-02-10 15:18:08 +01:00
Conny Duck
5dacc3dc8e delete invalid strings 2020-02-10 14:58:23 +01:00
Conny Duck
bd115bf480 Merge branch 'develop' of https://github.com/Vavassor/Tusky into develop 2020-02-10 14:51:17 +01:00
Conny Duck
07d979eb60 update LicenseActivity 2020-02-10 14:45:30 +01:00
ati3
fe30eb48cb Translated using Weblate (Slovak)
Currently translated at 23.2% (95 of 409 strings)

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

Translated using Weblate (Slovak)

Currently translated at 17.8% (73 of 409 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/sk/
2020-02-10 13:00:27 +00:00
Danial Behzadi
5b479b4406 Translated using Weblate (Persian)
Currently translated at 100.0% (409 of 409 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fa/
2020-02-10 13:00:27 +00:00
ButterflyOfFire
9ec34455ee Translated using Weblate (Kabyle)
Currently translated at 26.9% (110 of 409 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/kab/
2020-02-10 13:00:27 +00:00
Ivan Kupalov
5945700c1b
Allow higher zooming levels for caption dialog images (#1672) 2020-02-10 14:00:21 +01:00
Konrad Pozniak
11a4de858c fix crash when opening Poll dialog and instanceParams are null (#1668) 2020-02-09 22:34:44 +01:00
Konrad Pozniak
5324258c2e
change dialog background color (#1670) 2020-02-07 20:52:22 +01:00
ati3
207d37b05c Translated using Weblate (Slovak)
Currently translated at 12.0% (49 of 409 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/sk/
2020-02-07 19:24:21 +00:00
Anonymous
8061a5184a Translated using Weblate (Swedish)
Currently translated at 100.0% (409 of 409 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/sv/
2020-02-07 19:24:21 +00:00
Sveinn í Felli
2c86cdc36f Translated using Weblate (Icelandic)
Currently translated at 100.0% (409 of 409 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/is/
2020-02-07 19:24:21 +00:00
nailyk
8d5f61133a Translated using Weblate (French)
Currently translated at 100.0% (409 of 409 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fr/
2020-02-07 19:24:21 +00:00
jeroenpraat
65487f8ac1 Translated using Weblate (Dutch)
Currently translated at 100.0% (409 of 409 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nl/
2020-02-07 19:24:21 +00:00
ButterflyOfFire
f550b16341 Translated using Weblate (Kabyle)
Currently translated at 24.7% (101 of 409 strings)

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

Translated using Weblate (Kabyle)

Currently translated at 23.2% (95 of 409 strings)

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

Translated using Weblate (Kabyle)

Currently translated at 11.5% (47 of 409 strings)

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

Translated using Weblate (Kabyle)

Currently translated at 11.2% (46 of 409 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/kab/
2020-02-07 19:24:21 +00:00
Konrad Pozniak
035329fe4c
revert colorPrimaryDark back for the dark theme (#1669) 2020-02-07 20:24:17 +01:00
Konrad Pozniak
88b8eca16a
fix crash when Account.displayName is null (#1667) 2020-02-07 20:23:51 +01:00
Konrad Pozniak
fde23f25d2
fix mixup of search params in SearchDataSource.loadRange (#1666) 2020-02-07 20:23:36 +01:00
Konrad Pozniak
c379014d9a
fix content collapse button not working in notifications (#1665) 2020-02-04 22:21:43 +01:00
Konrad Pozniak
8767d2ed3d
Theme refactoring (#1656)
* Theme refactoring

* disable the automatic tinting of surfaces with elevation in dark mode

* make the media warning visible again with the dark theme

* fix nav bar on api 27+

* use correct color for all media warnings
2020-01-30 21:37:28 +01:00
Konrad Pozniak
29ef92edd3
fix overlapping icons in ComposeActivity (#1661) 2020-01-30 21:17:37 +01:00
ButterflyOfFire
07ae58889a
Adding kabyle language (#1658)
Adding kabyle language and correcting arabic.
2020-01-30 19:31:49 +01:00
Mélanie Chauvel (ariasuni)
d6f3856878
Refresh DM column when removing toot there instead of removing conversation (#1654) 2020-01-29 19:25:55 +01:00
Quentí
7f456b95c1 Translated using Weblate (Occitan)
Currently translated at 100.0% (409 of 409 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/oc/
2020-01-29 18:17:15 +00:00
ati3
ff54d217f2 Translated using Weblate (Slovak)
Currently translated at 6.6% (27 of 409 strings)

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

Translated using Weblate (Czech)

Currently translated at 97.3% (398 of 409 strings)

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

Added translation using Weblate (Slovak)
2020-01-29 18:17:15 +00:00
ButterflyOfFire
b0fe52a6a3 Translated using Weblate (Kabyle)
Currently translated at 11.0% (45 of 409 strings)

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

Added translation using Weblate (Kabyle)

Translated using Weblate (French)

Currently translated at 100.0% (409 of 409 strings)

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

Translated using Weblate (Arabic)

Currently translated at 100.0% (409 of 409 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ar/
2020-01-29 18:17:15 +00:00
Vegard Skjefstad
79886e7547 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (409 of 409 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
2020-01-29 18:17:15 +00:00
dani
56bcfcbcff Translated using Weblate (German)
Currently translated at 97.8% (400 of 409 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/de/
2020-01-29 18:17:15 +00:00
Sveinn í Felli
8a90078fbd Translated using Weblate (Icelandic)
Currently translated at 100.0% (408 of 408 strings)

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

Added translation using Weblate (Icelandic)
2020-01-29 18:17:15 +00:00
Konrad Pozniak
45828fbb5a
fix FragmentAdapter returning null fragments when activity was recreated (#1647)
* fix FragmentAdapter returning null fragments when activity was recreated

* remove unused import

* make activity in CustomFragmentStateAdapter private
2020-01-29 19:17:11 +01:00
Konrad Pozniak
27d464351b
fix reveal button not updating in ViewThreadActivity (#1652) 2020-01-29 19:16:12 +01:00
Konrad Pozniak
7d5a9da992
fix crash when closing ComposeActivity (#1651) 2020-01-29 19:15:53 +01:00
Ivan Kupalov
77fb4df659 Make radio buttons in compose screen sheets full width, fix #1593 (#1645) 2020-01-18 12:13:10 +01:00
Ivan Kupalov
e1aa3cc995 Enable zooming and panning in the CaptionDialog (#1643) 2020-01-18 12:12:37 +01:00
Ivan Kupalov
92e9c9a762 Fix setting text to CW button in fav/reblog notification. Fix #1641 (#1642)
This is a regression from e5b78f65cf
2020-01-16 19:08:19 +01:00
Levi Bard
f903cc50e1 Add support for sharing audio attachments (#1629) 2020-01-16 19:06:13 +01:00
Levi Bard
9dccd06a06 Add support for uploading audio attachments (#1630)
* Add support for audio attachments.
Partially addresses #1337

* Register Tusky as a target for audio sharing

* Use icon with textColorTertiary for audio preview
2020-01-16 19:05:52 +01:00
Vivianne
a7c1345085 Small changes to the media player (#1572)
* Resolving some issues with media playback.

* Changing ViewVideoFragment so that it fully handles autohiding the
  media controller, allowing consistency between it and the toolbar

* Fixed an issue where the toolbar and description were not fading in

* Do not hide the toolbar/media player if the video is loading or paused

* Created "ExposedPlayPausedVideoView" to allow hooking play/pause

* Fix back button when viewing videos

* Back button did not work if video controls were visible.

* Tweak audio player

* Always show the controls when audio begins playing

* Do not auto-hide the controls if the player is playing audio

* Address PR comments

* Use overloaded constructor
* Remove m prefix

* Fix subtle media player issues

* Fix audio player incorrectly auto-hiding after hiding/showing toolbar

* Only subscribe touch listener once content is ready
  - Prevents top toolbar visibility from getting out of phase with audio player visibility if hidden during load
2020-01-16 19:01:02 +01:00
Konrad Pozniak
21a7201f8a
fix notification refresh (#1638) 2020-01-14 21:58:35 +01:00
Konrad Pozniak
f12f126df5
migrate ReportPagerAdapter to ViewPager2 (#1635) 2020-01-13 21:15:22 +01:00
Konrad Pozniak
cd52caf9e9
fix crash in NotificationAdapter when status is null (#1634) 2020-01-13 21:12:33 +01:00
Daniele Lira Mereb
8b856949f9 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (408 of 408 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/pt_BR/
2020-01-13 14:54:26 +00:00
Muha Aliss
0f1156774c Translated using Weblate (Turkish)
Currently translated at 97.3% (397 of 408 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/tr/
2020-01-13 14:54:26 +00:00
ButterflyOfFire
6db0bab5fd Translated using Weblate (Arabic)
Currently translated at 100.0% (408 of 408 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ar/
2020-01-13 14:54:26 +00:00
Vegard Skjefstad
ec29d4410d Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (408 of 408 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
2020-01-13 14:54:26 +00:00
nailyk-weblate
663099e0b1 Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/
2020-01-13 14:54:26 +00:00
Anonymous
5242dfa5b9 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (408 of 408 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/pt_BR/
2020-01-13 14:54:26 +00:00
hg
60ae1ad8ed Translated using Weblate (Swedish)
Currently translated at 100.0% (408 of 408 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/sv/
2020-01-13 14:54:26 +00:00
kyori19
a6c9aee2e8 Fix emoji sorting (#1633) 2020-01-13 15:22:45 +01:00
Ivan Kupalov
32fd7b18ce Add space before emojo code in editor when needed, fix #1616 (#1632) 2020-01-13 15:21:40 +01:00
Levi Bard
c9a28b47c1 Compose activity: When selection is nonempty and a "special character" button is pressed, decorate all selected word starts (#1523)
* ComposeActivity: When selection is nonempty and a "special character" button is pressed, decorate all selected word starts
Closes #1417

* ComposeActivity: Tests for word break prepend logic
2020-01-13 15:21:17 +01:00
Levi Bard
6a2c9bdbe4 Don't drop content warning when replying (#1631) 2020-01-13 15:18:55 +01:00
Konrad Pozniak
7cb76aad97
Fix search bugs (#1624)
* fix toggling media visibility

* cleanup search code to make it more readable

* remove redundant OnQueryTextListener

this is the default behavior

* fix bookmarking

* fix status interaction causing unnecessary network requests
2020-01-13 13:57:44 +01:00
Konrad Pozniak
f8c7bedfa6 update rick roll domain list 2020-01-13 13:48:53 +01:00
Konrad Pozniak
e5b78f65cf
use material buttons in timeline (#1627)
* use material buttons in timeline

* remove wrong switch option
2020-01-07 19:40:52 +01:00
Konrad Pozniak
b87a1711f2
give poll result backgrounds a rounded shape (#1626)
* give poll result backgrounds a rounded shape

* fix rtl layout of poll options
2020-01-07 19:38:32 +01:00
Konrad Pozniak
441a1c1f95
remove redundant toHtml from StatusBaseViewHolder (#1625) 2020-01-07 19:38:08 +01:00
Mélanie Chauvel (ariasuni)
bec1ce8b09 Display Elephant with better message in Drafts screen when there are none (#1619)
* Display Elephant with better message in Drafts screen when there are none

* Remove unused import
2020-01-06 18:24:54 +01:00
Levi Bard
9d65b2ace1 Filters: Make behavior of "whole word" filters consistent with the web UI when filters are non-alphanumeric (#1623)
* Fix tests build

* Make behavior of non-alphanumeric whole-word filters consistent with the web UI.
Fixes #1543

* Fix typo in filter tests
2020-01-06 16:16:54 +01:00
Konrad Pozniak
352ff3a2d1
give media previews a rounded outline (#1617)
* give media previews a rounded outline

* give media previews a rounded outline in ReportActivity
2020-01-03 20:22:16 +01:00
Ivan Kupalov
426e7edb73 Fix missing cases of using StatusDisplayOptions (#1614) 2020-01-03 20:22:02 +01:00
Vegard Skjefstad
21f59d003d Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (408 of 408 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
2020-01-02 17:51:03 +00:00
Joan Montané
b1bc214144 Translated using Weblate (Catalan)
Currently translated at 100.0% (408 of 408 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ca/
2020-01-02 17:51:03 +00:00
ButterflyOfFire
b339877576 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/
2020-01-02 17:51:03 +00:00
Konrad Pozniak
cdb9d87f41
use RxAwareViewModel for more ViewModels (#1613)
* use RxAwareViewModel for more ViewModels

* fix ReportViewModel
2020-01-02 18:50:58 +01:00
Konrad Pozniak
88d59da13c
fix poll button being visible below voted poll (#1612) 2019-12-31 16:56:04 +01:00
Konrad Pozniak
8a9d62e654
Merge pull request #1610 from tuskyapp/improve_scheduled_toot
Improve ScheduledTootActivity
2019-12-31 15:00:23 +01:00
Konrad Pozniak
54f04fb4d7 address PR feedback 2019-12-31 13:57:24 +01:00
Mélanie Chauvel
b6759fa46e Translated using Weblate (Esperanto)
Currently translated at 100.0% (406 of 406 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/eo/
2019-12-30 20:37:25 +00:00
Anonymous
54df9cf3da Translated using Weblate (Swedish)
Currently translated at 100.0% (406 of 406 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/sv/
2019-12-30 20:37:25 +00:00
Ivan Kupalov
7623962a0d Use blurhash as image preview and as sensitive media cover, close #1571 (#1581)
* Use blurhash as image preview and as sensitive media cover, close #1571

* Fix focal point for blurhashes

* Fix video indicator overlapping sensitive media indicator

* Add a preference for blurhash

* Add blurhash to report UI.

* Introduce StatusDisplayOptions
2019-12-30 21:37:20 +01:00
Konrad Pozniak
76026f5afa add license headers 2019-12-30 21:09:10 +01:00
Konrad Pozniak
f0112743eb remove debug logging 2019-12-30 21:05:03 +01:00
Konrad Pozniak
b66faab71c add empty screen message 2019-12-30 21:01:38 +01:00
Konrad Pozniak
75378e5284 color the SwipeRefreshLayout 2019-12-30 20:54:00 +01:00
Konrad Pozniak
7107018ae2 clean up code 2019-12-30 20:48:01 +01:00
Konrad Pozniak
84a3280964 move to androidx paging 2019-12-30 20:40:27 +01:00
kyori19
2994af7091 Fix ComposeOptions.visibility not applied (#1605) 2019-12-27 21:02:16 +01:00
Conny Duck
63d6fe7270 improve layout names 2019-12-22 11:55:26 +01:00
Conny Duck
97350c59fa move classes to component packages 2019-12-22 11:47:34 +01:00
Conny Duck
1471042fee convert ScheduledTootAdapter to Kotlin 2019-12-22 11:42:13 +01:00
Konrad Pozniak
ce2ee660ae
add test for VersionUtils (#1602)
* add test for VersionUtils

* add nullability annotation to VersionUtils
2019-12-21 18:56:30 +01:00
Konrad Pozniak
c44dd455b4
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
c253f6b23b
delete unused stuff (#1601) 2019-12-21 17:32:42 +01:00
Konrad Pozniak
a795da81b4
fix replying to toots (#1600) 2019-12-21 15:56:19 +01:00
Konrad Pozniak
eca3b5379e
fix delete&redraft losing toot text (#1599) 2019-12-21 15:56:07 +01:00
Konrad Pozniak
82e13db28f
fix imagebutton color (#1598) 2019-12-21 15:55:55 +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
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