Commit Graph

2624 Commits

Author SHA1 Message Date
Ivan Kupalov fb867c928c Fix settings default values for preferences (#1828)
At some point settings DSL was refactored to first add a preference and
then run the builder. We shouldn't add a preference to the hierarchy
without setting a key for the preference first because preference gets
it's default value in `onAttachedToHierarchy()` and if the key is not
set then no default value will be set either.

This commit changes the order to execute builder (and set the key)
first and and preference to the point later.
2020-06-15 17:08:36 +03:00
Levi Bard 3375b512d9 Fix preview cards for uncollapsible statuses (#1826) 2020-06-15 17:08:24 +03:00
Ivan Kupalov a4bcde2c83 Settings refactor (#1615)
* Refactor main preferences to use DSL

* Refactor account preferences to use DSL

* Use DSL in rest of the preference screens

* Preferences cleanup

* Fix preference dependencies
2020-06-15 17:08:12 +03:00
Ivan Kupalov b60125f2bb Fix loading more than one page of favs/bookmarks, fix #1824 (#1825) 2020-06-15 16:40:00 +03:00
Conny Duck 869c6dacad downgrade dagger to get rid of READ_PHONE_STATE permission
https://github.com/google/dagger/issues/1864
2020-06-15 16:39:49 +03:00
Konrad Pozniak f89d82d1b7 cleanup proguard rules (#1819) 2020-06-15 16:39:27 +03:00
Konrad Pozniak 7d255e8302 upgrade gradle, AGP and dependencies (#1818)
* upgrade gradle, AGP and dependencies

* fix new layout related warnings
2020-06-15 16:39:06 +03:00
Levi Bard 1a40d392f7 One more layout fix for length-collapsed posts with preview cards (#1805) 2020-06-15 16:25:16 +03:00
Konrad Pozniak e4aee072e4 use AndroidX WorkManager instead of Evernote Android Job (#1783)
* use AndroidX WorkManager instead of Evernote Android Job

* move notification related classes to their own package

* fix missing import
2020-06-15 16:22:35 +03:00
Alibek Omarov d280616d01 l10n: upgrade generated translations 2020-06-15 16:14:27 +03:00
Alibek Omarov 39a03b31c8 l10n: upgrade translations from upstream 2020-06-15 16:09:36 +03:00
Karol Kosek 8b344ef049 Translated using Weblate (Polish)
Currently translated at 88.7% (55 of 62 strings)

Translation: Husky/Husky translations
Translate-URL: https://l10n.mentality.rip/projects/husky/husky-translations/pl/
2020-06-06 10:11:28 +02:00
vala a812e58032 Translated using Weblate (Norwegian Nynorsk)
Currently translated at 1.6% (1 of 62 strings)

Translation: Husky/Husky translations
Translate-URL: https://l10n.mentality.rip/projects/husky/husky-translations/nn/
2020-06-03 01:11:27 +02:00
vala e4cb7662fe Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (62 of 62 strings)

Translation: Husky/Husky translations
Translate-URL: https://l10n.mentality.rip/projects/husky/husky-translations/nb_NO/
2020-06-03 01:11:27 +02:00
vala c204e050f1 Translated using Weblate (Norwegian Bokmål)
Currently translated at 62.9% (39 of 62 strings)

Translation: Husky/Husky translations
Translate-URL: https://l10n.mentality.rip/projects/husky/husky-translations/nb_NO/
2020-05-30 00:53:23 +02:00
Karol Kosek 6aab836625 Translated using Weblate (Polish)
Currently translated at 87.0% (54 of 62 strings)

Translation: Husky/Husky translations
Translate-URL: https://l10n.mentality.rip/projects/husky/husky-translations/pl/
2020-05-30 00:53:23 +02:00
a1batross 4e0ecdd338 Merge remote-tracking branch 'weblate/develop' into develop 2020-05-30 00:53:12 +02:00
a1batross f054cfd1c2 instance-build: fix up the Husky profiel 2020-05-30 00:52:32 +02:00
Alibek Omarov 64277ef45a app: all external references are now called Husky to not conflict with Tusky files 2020-05-28 04:53:56 +03:00
a1batross 30d8ce5f8e Added translation using Weblate (Norwegian Nynorsk) 2020-05-28 03:39:22 +02:00
a1batross 3909338b61 Added translation using Weblate (Norwegian Bokmål) 2020-05-28 03:39:21 +02:00
Noah Akers 06e734c21f Translated using Weblate (Japanese)
Currently translated at 33.8% (21 of 62 strings)

Translation: Husky/Husky translations
Translate-URL: https://l10n.mentality.rip/projects/husky/husky-translations/ja/
2020-05-28 01:14:59 +02:00
Alibek Omarov a8734da38e Merge remote-tracking branch 'weblate/develop' into develop 2020-05-28 02:14:46 +03:00
Alibek Omarov 00ec90f69c NotificationsFragment: always show appbar, even if there is no notifications
Thus, if user accidentally will filter everything, they will be able to return to initial state.
2020-05-28 01:12:29 +03:00
Serkan Cık e755c874b4 Translated using Weblate (Turkish)
Currently translated at 95.1% (59 of 62 strings)

Translation: Husky/Husky translations
Translate-URL: https://l10n.mentality.rip/projects/husky/husky-translations/tr/
2020-05-25 23:11:25 +02:00
Karol Kosek 0b2794fa43 Translated using Weblate (Polish)
Currently translated at 35.4% (22 of 62 strings)

Translation: Husky/Husky translations
Translate-URL: https://l10n.mentality.rip/projects/husky/husky-translations/pl/
2020-05-25 23:11:25 +02:00
Hararan 25da3abc22 Translated using Weblate (Thai)
Currently translated at 100.0% (62 of 62 strings)

Translation: Husky/Husky translations
Translate-URL: https://l10n.mentality.rip/projects/husky/husky-translations/th/
2020-05-25 23:11:24 +02:00
Allysson Samuel Amorim Vaz Cunha 1a12301049 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (62 of 62 strings)

Translation: Husky/Husky translations
Translate-URL: https://l10n.mentality.rip/projects/husky/husky-translations/pt_BR/
2020-05-25 23:11:24 +02:00
Allysson Samuel Amorim Vaz Cunha 7ada5e496a Added translation using Weblate (Portuguese (Brazil)) 2020-05-24 15:20:35 +02:00
Karol Kosek 9902e808ba Added translation using Weblate (Polish) 2020-05-24 12:22:47 +02:00
Hararan b4c17dae1d Added translation using Weblate (Thai) 2020-05-24 05:12:30 +02:00
Alibek Omarov 586064c48e fdroid: add changelog for 168 2020-05-24 03:19:07 +03:00
Alibek Omarov 711ef38a24 travis: disable building on tags 2020-05-24 03:12:28 +03:00
Alibek Omarov 3439a1e16a MediaUploader: fix stupid bug that made all pictures to be resized 2020-05-24 02:42:46 +03:00
Alibek Omarov 566c5b1956 fastlane: add metadata for F-Droid 2020-05-23 19:59:57 +03:00
Alibek Omarov 03944de506 gradle: set version to 1.0 2020-05-23 15:19:47 +03:00
Alibek Omarov 930e05be27 NodeInfo: replace Int by Long in upload limits, add test cases 2020-05-23 14:57:14 +03:00
Alibek Omarov 25b57f3db4 l10n: add first generated translations 2020-05-23 00:47:18 +03:00
Alibek Omarov c860e9ae29 scripts: import_translations: add shellscript that processes some Tusky translations to ours, replaces links, names. Add xq utility from https://github.com/jeffbr13/xq 2020-05-23 00:46:30 +03:00
Alibek Omarov 341c77ff37 gradle: update android plugin 2020-05-23 00:44:59 +03:00
Alibek Omarov ca86a3de90 husky: add new flavor to be able to override original Tusky strings. Restore strings from upstream 2020-05-23 00:43:06 +03:00
Alibek Omarov 2f62b3f600 Patch to compile 2020-05-22 21:57:35 +03:00
Konrad Pozniak 81004b68ea fix confirmReblogs default values (#1777) 2020-05-22 20:50:32 +03:00
Konrad Pozniak bc156b16de Fix RxJava UndeliverableException crashes (#1778) 2020-05-22 20:49:56 +03:00
kyori19 50f7a7affa Add "account" filter context (#1776) 2020-05-22 20:49:29 +03:00
kyori19 06a0bf7744 Fix tag highlighting in editor (#1773)
* Fix tag highlighting in editor

* Add test case for tag highlighting
2020-05-22 20:48:35 +03:00
Konrad Pozniak c36fafb633 fix cut off texts when device font size is set to largest (#1786) 2020-05-22 20:48:08 +03:00
Konrad Pozniak 9e6833cfdb enable multiple hashtags in one hashtag tab (#1790)
* enable multiple hashtags in one hashtag tab

* add comment explaining the code in TabAdapter

* delete unused drawables

* add padding to EditText in dialog
2020-05-22 20:14:53 +03:00
Levi Bard e4caff2ff0 Fix showing/hiding of preview cards in timeline posts that are collapsed for length. (#1796)
Also properly places the preview card after the "collapse for length" button.
2020-05-22 20:09:24 +03:00
kyori19 f69e837cb3 Fix large media uploading (#1800) 2020-05-22 20:08:24 +03:00