Commit graph

2018 commits

Author SHA1 Message Date
Konrad Pozniak
3c3e872782
fix content warning in notifications when alwaysShowSpoiler is on (#1757) 2020-04-18 13:45:07 +02:00
Konrad Pozniak
2cf1e366b8
convert MainActivity to Kotlin and upgrade MaterialDrawer to version 8 (#1748)
* convert MainActivity to Kotlin

* migrate to MaterialDrawer 8

* fix drawer styles

* revert removing BezelImageView and material_drawer_header override

* fix tests

* add lost comment back to material_drawer_header.xml

* add tools:parentTag to material_drawer_header.xml

* use when instead of if in MainActivity

* fix statusbar color over the drawer

* cleanup drawer item creation

* tint secondary drawer items as well

* remove unnecessary ids

* fix header text color in the light theme

* improve header text contrast
2020-04-15 18:57:53 +02:00
Ivan Kupalov
d44eada140
Fix reblog confirm (#1723)
* Fix reblog confirmation default value

* Fix triggering reblog before confirming it

* Fix accidents caused by reblog confirmation
2020-04-06 19:28:43 +02:00
Konrad Pozniak
c80fa68dbe
upgrade dependencies, fix some warnings (#1747)
* upgrade dependencies, fix some warnings

* fix tests
2020-04-06 11:46:38 +02:00
Levi Bard
a5416abb21
Add missing error handler for mute conversation invocation (#1746) 2020-04-03 19:04:06 +02:00
Konrad Pozniak
68f34152dc
replace HtmlUtils with HtmlCompat (#1741)
* replace HtmlUtils with HtmlCompat

* fix tests
2020-04-02 23:37:38 +02:00
Konrad Pozniak
f7434564df
Merge pull request #1742 from nailyk-weblate/weblate-tusky-tusky
Update from Weblate
2020-04-02 23:36:55 +02:00
Levi Bard
91263eed8b
Confirm blocks and mutes from timelines (#1740)
* Add preference for confirming blocks and mutes from timelines
Implements #1737

* Apply code review feedback
2020-03-30 21:03:27 +02:00
Juanjo Salvador
0b8efc9349 Translated using Weblate (Spanish)
Currently translated at 100.0% (410 of 410 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/es/
2020-03-30 09:42:45 +00:00
Levi Bard
1b476c790a
Fix NPE in follow requests view (#1739)
Fixes #1738
2020-03-27 19:04:28 +01:00
Konrad Pozniak
0e6312c0f3
Merge pull request #1736 from nailyk-weblate/weblate-tusky-tusky
Update from Weblate
2020-03-24 21:12:35 +01:00
Konrad Pozniak
adac296e04
simplify ComposeOptionsView (#1734) 2020-03-24 21:07:10 +01:00
Konrad Pozniak
cf782f039f
use number of voters instead of votes to calculate poll results (#1733)
* adjust poll vote text, votes -> people

* use number of voters instead of votes to calculate poll results

* fix tests
2020-03-24 21:06:58 +01:00
Levi Bard
8cb83050ac
Add support for muting conversations (#1732)
* Add support for muting conversations
Implements #1731

* Fix CI

* Apply code review feedback
2020-03-24 21:06:04 +01:00
Juanjo Salvador
a253606458 Translated using Weblate (Spanish)
Currently translated at 100.0% (410 of 410 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/es/
2020-03-22 23:42:31 +00:00
Francesc Galí
7973bf7d18 Translated using Weblate (Catalan)
Currently translated at 100.0% (410 of 410 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ca/
2020-03-22 23:42:31 +00:00
Quentí
73c4730110 Translated using Weblate (Occitan)
Currently translated at 100.0% (410 of 410 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/oc/
2020-03-22 23:42:31 +00:00
Konrad Pozniak
051f990e8b
Merge pull request #1726 from nailyk-weblate/weblate-tusky-tusky
Update from Weblate
2020-03-20 19:05:31 +01:00
Levi Bard
4a4dd4f30f
Add notifications for follow requests (#1729)
* Add notifications for follow requests
Issue #1719

* Revert item_follow_request layout, create new layout for follow request notifications

* Migrate follow request interaction from notification to observable pattern

* Filter follow request notifications by default

* Add missing cases for system notification generation

* Format code
2020-03-19 22:02:10 +01:00
Levi Bard
9c4898117e
Ensure media are marked sensitive any time there's a content warning (#1728)
Addresses the most critical part of #1725, and may also apply to #1721
2020-03-17 19:46:32 +01:00
hg
06eb308e93 Translated using Weblate (Swedish)
Currently translated at 100.0% (410 of 410 strings)

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

Translated using Weblate (Swedish)

Currently translated at 100.0% (410 of 410 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/sv/
2020-03-15 21:14:00 +00:00
Isak Holmström
62dbb75200 Translated using Weblate (Swedish)
Currently translated at 100.0% (410 of 410 strings)

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

Translated using Weblate (Swedish)

Currently translated at 100.0% (410 of 410 strings)

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

Translated using Weblate (Swedish)

Currently translated at 100.0% (410 of 410 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/sv/
2020-03-15 21:14:00 +00:00
ButterflyOfFire
f67d6b4f7f Translated using Weblate (Kabyle)
Currently translated at 59.5% (244 of 410 strings)

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

Translated using Weblate (Kabyle)

Currently translated at 59.5% (244 of 410 strings)

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

Translated using Weblate (Chinese (Traditional))

Currently translated at 88.5% (363 of 410 strings)

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

Translated using Weblate (Chinese (Hong Kong))

Currently translated at 82.7% (339 of 410 strings)

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

Translated using Weblate (Chinese)

Currently translated at 82.7% (339 of 410 strings)

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

Translated using Weblate (Arabic)

Currently translated at 100.0% (410 of 410 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ar/
2020-03-15 21:14:00 +00:00
Ivan Kupalov
6a87e3e352
Work around the bug in ComposeScheduleView, fix #1720 (#1722)
DatePicker seems to think that it's in UTC. So setting selected time
might not work as aspect and receiving value from it might be in UTC
as well. This commit fixes the second issue by interpreting the date
as UTC date. Tested with America/New_York (GMT-5 at the moment) and
Russia/Kamchatka (GMT+12).
2020-03-09 20:43:01 +01:00
Daniele Lira Mereb
91dd3e4f5f Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (410 of 410 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/pt_BR/
2020-03-06 12:28:01 +01:00
Sveinn í Felli
d974f47408 Translated using Weblate (Icelandic)
Currently translated at 100.0% (410 of 410 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/is/
2020-03-06 12:28:01 +01:00
Mélanie Chauvel
8ffb263e16 Translated using Weblate (French)
Currently translated at 100.0% (410 of 410 strings)

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

Translated using Weblate (Esperanto)

Currently translated at 99.8% (409 of 410 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/eo/
2020-03-06 12:28:01 +01:00
Weblate
1710b980bc Added translation using Weblate (English (Australia))
Translated using Weblate (Swedish)

Currently translated at 100.0% (410 of 410 strings)

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

Translated using Weblate (Japanese)

Currently translated at 87.1% (357 of 410 strings)

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

Translated using Weblate (Esperanto)

Currently translated at 99.8% (409 of 410 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/eo/
2020-03-06 12:28:01 +01:00
tolstoevsky
38c2c24a09 Translated using Weblate (Russian)
Currently translated at 100.0% (410 of 410 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ru/
2020-03-06 12:28:01 +01:00
knuxify
5471670129 Translated using Weblate (Polish)
Currently translated at 100.0% (410 of 410 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/pl/
2020-03-06 12:28:01 +01:00
Vegard Skjefstad
83e8c9eb75 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (410 of 410 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
2020-03-06 12:28:01 +01:00
ButterflyOfFire
dfab2cb000 Translated using Weblate (Kabyle)
Currently translated at 58.5% (240 of 410 strings)

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

Translated using Weblate (Kabyle)

Currently translated at 53.2% (218 of 410 strings)

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

Translated using Weblate (French)

Currently translated at 100.0% (410 of 410 strings)

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

Translated using Weblate (Kabyle)

Currently translated at 53.2% (218 of 410 strings)

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

Translated using Weblate (Arabic)

Currently translated at 100.0% (410 of 410 strings)

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

Translated using Weblate (Kabyle)

Currently translated at 53.2% (218 of 410 strings)

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

Translated using Weblate (Kabyle)

Currently translated at 52.7% (216 of 410 strings)

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

Translated using Weblate (French)

Currently translated at 100.0% (410 of 410 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fr/
2020-03-06 12:28:01 +01:00
Ivan Kupalov
67c20326f9
Add options to confirm reblog/unreblog actions, close #460 (#1650) 2020-03-03 21:27:26 +01:00
Ivan Kupalov
712f61b15a
Add "more" popup to a11y menu, fix #1710 (#1714) 2020-03-02 19:36:44 +01:00
Levi Bard
3edc47aa4a
Add option to show link previews in timelines (#1681)
* Add option to show link previews in timelines.
Addresses #1075

* Indent cards in non-selected statuses when viewing threads

* Indent cards in timelines

* Fix clipping of right side of preview in timelines
2020-03-02 19:34:31 +01:00
Levi Bard
dd8abad8ca
When a plaintext share contains EXTRA_TEXT and a distinct EXTRA_SUBJECT, use EXTRA_SUBJECT as the content warning for the shared status (#1712) 2020-02-26 20:41:02 +01:00
Alibek Omarov
50730f7481
Add more URL cases for Pleroma, Misskey and Friendica (#1702) 2020-02-25 19:59:40 +01:00
Levi Bard
710b9f08c1
Add status url as EXTRA_SUBJECT when sharing status content. (#1680)
Addresses #1655
2020-02-25 19:58:20 +01:00
Ivan Kupalov
656644b7cb
Make image in BackgroundMessageView adapt to the height, fix #1618 (#1649)
* Make image in BackgroundMessageView adapt to the height, fix #1618

* Hide filters panel when showing status view in notifications
2020-02-25 19:57:28 +01:00
Konrad Pozniak
d9c802982e
Upgrade deps (#1708)
* upgrade Dagger

* upgrade AndroidX Lifecycle

* upgrade AndroidX Fragment

* upgrade Room, Retrofit, AndroidX core, Material components

* fix report fragments not sharing viewmodels
2020-02-25 19:49:41 +01:00
Konrad Pozniak
398ee66084
simplify DI & test setup, convert TuskyApplication to Kotlin (#1675)
* simplify DI & test setup, convert TuskyApplication to Kotlin

* try to fix tests on bitrise

* remove conscrypt-openjdk-uber test dependency again
2020-02-25 19:49:15 +01:00
Conny Duck
218046fd27 Release 70 / 10.0 2020-02-25 19:00:21 +01:00
Conny Duck
82f5fe49b1 cleanup empty translations, add german translation 2020-02-25 18:47:53 +01:00
hg
563d920f63 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-25 17:33:30 +00:00
Isak Holmström
ff0529217b 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-25 17:33:30 +00:00
Daniele Lira Mereb
091d59680b Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (409 of 409 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/pt_BR/
2020-02-25 17:33:30 +00:00
ButterflyOfFire
a4d9116bb8 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/

Translated using Weblate (Kabyle)

Currently translated at 51.8% (212 of 409 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/kab/
2020-02-25 17:33:30 +00:00
Anonymous
921aae5012 Translated using Weblate (Slovak)
Currently translated at 28.4% (116 of 409 strings)

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

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/

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/

Added translation using Weblate (Luxembourgish)

Added translation using Weblate (French (Belgium))

Added translation using Weblate (English (United States))

Added translation using Weblate (English (Australia))
2020-02-25 17:33:30 +00:00
Levi Bard
80e0c55b67
Warn when scheduling a post within 5 minutes (#1698)
* Warn when scheduling a post within 5 minutes

* Fix NPE when scheduled post time isn't set

* Use AlertDialog with option to cancel instead of Toast when a post isn't scheduled far enough in advance

* Move schedule validation warning to scheduling bottom sheet

* Fix scheduling error display when sending after an initially-valid scheduling time has become invalid
2020-02-25 18:33:24 +01:00
Konrad Pozniak
aba36ca6f8
Compose activity fixes (#1707)
* cleanup media keyboard code

* fix crash in ComposeActivity when rotating phone while taking photo

* fix poll button in ComposeActivity being invisible when disabled
2020-02-24 22:02:59 +01:00