Commit Graph

3370 Commits

Author SHA1 Message Date
Konrad Pozniak 4dee5c2774
display account name when display name is not set (#2361) 2022-03-01 21:29:16 +01:00
Konrad Pozniak b145fc9d50
fix String.inc() and String.dec() not being inverse operations (#2355) 2022-03-01 21:29:05 +01:00
Konrad Pozniak 60c32b3370
Merge pull request #2356 from nailyk-weblate/weblate-tusky-tusky
Translations update from Weblate
2022-03-01 19:44:25 +01:00
Levi Bard 7114575497
Instance configuration: the easy parts (#2341)
* Add data model for instance configuration

* Support instance.configuration.statuses.max_characters

* Support instance.configuration.statuses.characters_reserved_per_url

* Support instance.configuration.polls.max_options and max_characters_per_option

* Pacify ktlint

* Support instance-configured poll durations

* Fixup versions for migration after rebase
2022-03-01 19:43:36 +01:00
Eric 2a135cd3a1 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Eric <alchemillatruth@purelymail.com>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/zh_Hans/
Translation: Tusky/Tusky
2022-02-28 15:54:28 +00:00
Levi Bard cdefcc441f
Fix relinkifying tags in posts from remote servers (#2359)
* Fix relinkifying tags in posts from remote servers

* Completely ignore urls, and (case-insensitively) match tag names instead
2022-02-28 16:54:25 +01:00
Konrad Pozniak 2c91b1148c
fix database migration to v29 (#2354) 2022-02-27 20:16:41 +01:00
Conny Duck 842ab9e131 fix LinkHelperTest 2022-02-25 19:35:02 +01:00
Konrad Pozniak bd05bf6b01
correctly align buttons in follow requests (#2342) 2022-02-25 18:58:01 +01:00
Konrad Pozniak 2960a85ff1
use ViewData only instead of Pair<Status, ViewData> in Search (#2336) 2022-02-25 18:57:49 +01:00
Konrad Pozniak c592dfef78
Don't use notifyDataSetChanged in TimelineFragment (#2334) 2022-02-25 18:57:40 +01:00
Konrad Pozniak f7dfffa762
merge ModalTimelineActivity & ViewTagActivity into StatusListActivity (#2332)
* Rename .java to .kt

* merge ModalTimelineActivity & ViewTagActivity into StatusListActivity

* fix crash when opening hashtag
2022-02-25 18:57:31 +01:00
Konrad Pozniak eea81d7106
use POST api/v2/media to upload media (#2327) 2022-02-25 18:57:18 +01:00
Konrad Pozniak 8dbf255617
get rid of deprecated onActivityCreated in TimelineFragment (#2326) 2022-02-25 18:56:58 +01:00
Levi Bard addce87eb6
Use tags from status when adding handlers to hashtag spans in status content (#2344)
* Migrate LinkHelper to kotlin

* Support tags field on statuses

* Use embedded tags list in status instead of text scraping to embed tag click handler.
Fixes #2283

* Make mentions and tags lists nonnullable

* Make LinkHelper.openLink a Context extension method

* Use builtin extension for uri conversion

* More cleanup in LinkHelper

* Add tests for LinkHelper.getDomain

* Unbreak tags in places that don't have a tag list (e.g. profiles)

* Fixup javadoc
2022-02-25 18:56:21 +01:00
Levi Bard f822234995
Add "open as" to profiles (#2340)
* Extract "open as" utilities to BaseActivity

* Add "open as" to profiles.
Fixes #2329

* Rename STATUS_URL intent extra key

* Add nullability notations for new java code

* Pacify ktlint
2022-02-25 18:55:58 +01:00
Conny Duck fcc9265703 Release 87 2022-02-25 18:42:31 +01:00
Conny Duck 25263b15ca Release 86 2022-02-21 19:46:33 +01:00
Konrad Pozniak 69bcc92c46
fix cache cleanup deleting more statuses than it should (#2348)
* fix cache cleanup deleting more statuses than it should

* reset LOAD_AT_ONCE

* improve tests

* move cache clean code back to ViewModel
2022-02-21 19:33:10 +01:00
Konrad Pozniak a4c2ca6cfc
Merge pull request #2349 from nailyk-weblate/weblate-tusky-tusky
Translations update from Weblate
2022-02-21 19:32:57 +01:00
Connyduck d7bc584cca Translated using Weblate (German)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Connyduck <weblate@connyduck.at>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/de/
Translation: Tusky/Tusky
2022-02-21 18:32:21 +00:00
Ralf Thees 883b5dc17a Translated using Weblate (German)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Ralf Thees <ralf@herrthees.de>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/de/
Translation: Tusky/Tusky
2022-02-21 18:32:21 +00:00
Konrad Pozniak a76c580d7e
fix duplicate detail status (#2345) 2022-02-20 10:58:12 +01:00
Konrad Pozniak a90be172ee fix bad strings 2022-02-18 20:30:27 +01:00
Konrad Pozniak 8c540da9f3
Merge pull request #2346 from nailyk-weblate/weblate-tusky-tusky
Translations update from Weblate
2022-02-18 20:23:48 +01:00
Connyduck e702a3aa1d Translated using Weblate (Bengali (Bangladesh))
Currently translated at 98.9% (457 of 462 strings)

Translated using Weblate (Irish)

Currently translated at 92.2% (426 of 462 strings)

Translated using Weblate (Thai)

Currently translated at 97.8% (452 of 462 strings)

Translated using Weblate (Slovenian)

Currently translated at 85.4% (395 of 462 strings)

Translated using Weblate (Occitan)

Currently translated at 98.4% (455 of 462 strings)

Translated using Weblate (Dutch)

Currently translated at 99.5% (460 of 462 strings)

Translated using Weblate (Persian)

Currently translated at 99.3% (459 of 462 strings)

Co-authored-by: Connyduck <weblate@connyduck.at>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/bn_BD/
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/fa/
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/ga/
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/nl/
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/oc/
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/sl/
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/th/
Translation: Tusky/Tusky
2022-02-18 19:22:58 +00:00
Mélanie Chauvel c8ed6b482e
increase default poll max option chars from 25 to 50 (#2343)
25 is old Mastodon default, the new one is 50
2022-02-18 20:08:38 +01:00
Konrad Pozniak 576484887f
Merge pull request #2333 from nailyk-weblate/weblate-tusky-tusky
Translations update from Weblate
2022-02-15 17:04:15 +01:00
Hồ Nhất Duy 3b9bcd4045 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Hồ Nhất Duy <kantcer@gmail.com>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/vi/
Translation: Tusky/Tusky
2022-02-15 16:04:05 +00:00
Vladyslav Stepanov 589fc7ce7d Translated using Weblate (Russian)
Currently translated at 100.0% (462 of 462 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (462 of 462 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (462 of 462 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Vladyslav Stepanov <wrottkitkatt@gmail.com>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/ru/
Translation: Tusky/Tusky
2022-02-15 16:04:05 +00:00
Konrad Pozniak c20effe6c9
fix some mentions not being opened in Tusky (#2339)
* fix some mentions not being opened in Tusky

* link PR in code
2022-02-15 17:04:00 +01:00
Konrad Pozniak 97fe4f88c5
fix crash in drafts caused by minification of DraftAttachment (#2337)
* fix crash in drafts caused by minification of DraftAttachment

* fix formatting
2022-02-14 19:20:15 +01:00
Konrad Pozniak 329df1280b
fix sensitive media in search and notifications (#2335) 2022-02-12 09:56:08 +01:00
Konrad Pozniak 8335a3bb3c
Merge pull request #2331 from nailyk-weblate/weblate-tusky-tusky
Translations update from Weblate
2022-02-11 20:04:40 +01:00
Konrad Pozniak babb9d9978
Merge pull request #2330 from nailyk-weblate/weblate-tusky-tusky-app
Translations update from Weblate
2022-02-11 20:04:30 +01:00
Vladyslav Stepanov ff5fcf4015 Translated using Weblate (Russian)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Vladyslav Stepanov <wrottkitkatt@gmail.com>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/ru/
Translation: Tusky/Tusky
2022-02-11 18:40:39 +00:00
Mélanie Chauvel 28571c29fb Translated using Weblate (French)
Currently translated at 100.0% (462 of 462 strings)

Translated using Weblate (Esperanto)

Currently translated at 99.7% (461 of 462 strings)

Co-authored-by: Mélanie Chauvel <perso@hack-libre.org>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/eo/
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/fr/
Translation: Tusky/Tusky
2022-02-11 18:40:39 +00:00
ButterflyOfFire a71b1baa99 Translated using Weblate (Kabyle)
Currently translated at 54.5% (252 of 462 strings)

Translated using Weblate (Arabic)

Currently translated at 98.9% (457 of 462 strings)

Co-authored-by: ButterflyOfFire <butterflyoffire@protonmail.com>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/ar/
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/kab/
Translation: Tusky/Tusky
2022-02-11 18:40:39 +00:00
Vladyslav Stepanov eaaac2c995 Translated using Weblate (Russian)
Currently translated at 100.0% (15 of 15 strings)

Translation: Tusky/Tusky description
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky-app/ru/
2022-02-11 11:40:38 +00:00
Conny Duck b99e421786 Release 85 2022-02-09 20:59:13 +01:00
Konrad Pozniak b145e8163d
add additional R8 rules so conversations work again (#2322) 2022-02-09 20:46:13 +01:00
Konrad Pozniak ae656a17a8
fix vertical insets of AccountActivity (#2320) 2022-02-09 20:45:56 +01:00
Konrad Pozniak c254f210c6
Merge pull request #2321 from licaon-kter/patch-1
Fix fastlane locale bn-BD
2022-02-09 20:45:43 +01:00
Konrad Pozniak 1bab25d836
Merge pull request #2324 from nailyk-weblate/weblate-tusky-tusky-app
Translations update from Weblate
2022-02-09 20:44:12 +01:00
Konrad Pozniak 7352f69e2b
Merge pull request #2323 from nailyk-weblate/weblate-tusky-tusky
Translations update from Weblate
2022-02-09 20:44:03 +01:00
Ho Nhat Duy 010ab979bd Translated using Weblate (Vietnamese)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Ho Nhat Duy <kantcer@gmail.com>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/vi/
Translation: Tusky/Tusky
2022-02-09 19:25:09 +00:00
Gera, Zoltan d5b7be9a2b Translated using Weblate (Hungarian)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Gera, Zoltan <gerazo@manioka.hu>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/hu/
Translation: Tusky/Tusky
2022-02-09 19:25:09 +00:00
Mélanie Chauvel 23482edf64 Translated using Weblate (French)
Currently translated at 100.0% (462 of 462 strings)

Translated using Weblate (Esperanto)

Currently translated at 98.7% (456 of 462 strings)

Translated using Weblate (French)

Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Mélanie Chauvel <perso@hack-libre.org>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/eo/
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/fr/
Translation: Tusky/Tusky
2022-02-09 19:25:09 +00:00
Darck Crystale 74627fb2b6 Translated using Weblate (French)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Darck Crystale <vraken@live.fr>
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky/fr/
Translation: Tusky/Tusky
2022-02-09 19:25:09 +00:00
Ho Nhat Duy 932ab214a4 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (15 of 15 strings)

Translation: Tusky/Tusky description
Translate-URL: https://"weblate.tusky.app"/projects/tusky/tusky-app/vi/
2022-02-09 19:06:23 +00:00