Commit Graph

2994 Commits

Author SHA1 Message Date
Konrad Pozniak be77d91e91
change draft attachment directory (#2070) 2021-02-09 19:45:43 +01:00
Konrad Pozniak 657a8a0b8c
Merge pull request #2071 from nailyk-weblate/weblate-tusky-tusky
Translations update from Weblate
2021-02-09 18:43:18 +01:00
Ho Nhat Duy a4a6cce16c Translated using Weblate (Vietnamese)
Currently translated at 100.0% (457 of 457 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/vi/
2021-02-09 17:41:45 +00:00
Connyduck b380653d71 Translated using Weblate (German)
Currently translated at 97.3% (445 of 457 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/de/
2021-02-09 17:41:45 +00:00
Ivan Kupalov c178804efe
Fix TalkBack not initializing old views in recycler (#2036) 2021-02-09 18:41:40 +01:00
Konrad Pozniak 9898abe07a
Merge pull request #2068 from nailyk-weblate/weblate-tusky-tusky
Translations update from Weblate
2021-02-07 17:05:10 +01:00
Lafudoci ba986379d4 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (457 of 457 strings)

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

Translated using Weblate (Chinese (Hong Kong))

Currently translated at 97.5% (446 of 457 strings)

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

Translated using Weblate (Chinese (Hong Kong))

Currently translated at 84.2% (385 of 457 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hant_HK/
2021-02-07 15:40:13 +00:00
Vegard Skjefstad 62a2027cb6 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (457 of 457 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
2021-02-07 15:40:13 +00:00
Chaitanya 1ca9154d1b Translated using Weblate (Hindi)
Currently translated at 83.5% (381 of 456 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/hi/
2021-02-07 15:40:13 +00:00
Ho Nhat Duy d87ac1caee Translated using Weblate (Vietnamese)
Currently translated at 100.0% (456 of 456 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/vi/
2021-02-07 15:40:13 +00:00
Zoltán Gera 253ebb80ac Translated using Weblate (Hungarian)
Currently translated at 100.0% (456 of 456 strings)

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

Translated using Weblate (Hungarian)

Currently translated at 100.0% (456 of 456 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/hu/
2021-02-07 15:40:13 +00:00
hiohlan b7fc4abd50 Translated using Weblate (Thai)
Currently translated at 100.0% (456 of 456 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/th/
2021-02-07 15:40:13 +00:00
Konrad Pozniak 4d856365f9
cleanup drafts when user logs out (#2067)
* cleanup drafts when user logs out

* delete unused method

* remove unneeded sorting from loadDraftsSingle
2021-02-07 16:40:09 +01:00
Alibek Omarov 9580870445
Animated emoji support (#2064)
* Animated emoji support

* Try to query preference only once

* Revert to using SpannableStringBuilder
2021-02-06 08:14:51 +01:00
Alibek Omarov c685192d49
Don't stop autocompletion after second @ (#2062)
* ComposeTokenizer: do not search stop after second @

* ComposeTokenizer: try to fix test

* ComposeTokenizer: try to fix test 2

* ComposeTokenizer: try to fix test 3

* ComposeTokenizer: fix autocomplete for accounts with 1 character nickname

* ComposeTokenizer: better document tokenizer

* ComposeTokenizer: add tests

* ComposeTokenizer: remove unused logging
2021-02-04 19:16:58 +01:00
Konrad Pozniak 483beaa957
move onOptionsItemSelected to BaseActivity (#2059)
* move onOptionsItemSelected to BaseActivity

* revert change in ComposeActivity
2021-01-31 20:27:02 +01:00
Konrad Pozniak ddc3ccc309
Merge pull request #2058 from nailyk-weblate/weblate-tusky-tusky
Translations update from Weblate
2021-01-31 19:38:49 +01:00
Bifo Ho db13cac681 Translated using Weblate (Bengali (Bangladesh))
Currently translated at 91.2% (416 of 456 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/bn_BD/
2021-01-31 18:35:57 +00:00
Daniele Lira Mereb 7b1baf0e99 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (456 of 456 strings)

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

Translated using Weblate (Spanish)

Currently translated at 100.0% (456 of 456 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/es/
2021-01-31 18:35:57 +00:00
Ho Nhat Duy 352cb863bc Translated using Weblate (Vietnamese)
Currently translated at 100.0% (456 of 456 strings)

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

Translated using Weblate (Vietnamese)

Currently translated at 100.0% (456 of 456 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/vi/
2021-01-31 18:35:57 +00:00
Konrad Pozniak 3e135b0480
upgrade gradle to 6.8.1 (#2057) 2021-01-31 19:35:53 +01:00
Konrad Pozniak dc5f0c87a2
remove let's encrypt root cert again (#2056)
* remove let's encrypt root cert again

* fix user-agent example
2021-01-31 19:35:39 +01:00
Konrad Pozniak 886ff2f06b
get rid of BaseFragment by using RxJava instead of Retrofit Calls (#2055)
* get rid of BaseFragment by using RxJava instead of Retrofit Calls

* fix tests
2021-01-31 19:34:33 +01:00
Alibek Omarov 2d2b79aa47
layout: move media preview to standalone xml and include it in containers (#2063) 2021-01-31 19:22:06 +01:00
Alibek Omarov 455942505c
ComposeViewModel: remove unused variable (#2060) 2021-01-31 18:58:45 +01:00
Alibek Omarov b00aa9b461
SpanUtils: highlight nicknames with dashes (#2061)
While it's not allowed to create such accounts on Mastodon, it federates fine with servers that allow dashes.
2021-01-31 18:57:48 +01:00
lenchan139 0275504a05
Move compose content's EditText cursor to first when shared content parsed in ComposeActivity (#2030)
* multiple media upload support

* multiple media upload support

* multiple media upload support

* remove  typing

* Update app/src/main/res/values/strings.xml

Co-authored-by: Konrad Pozniak <connyduck@users.noreply.github.com>

* remove magic number on string.xml and add to activity.

* move edittext cursor to first when shareBody parsed in ComposeActivity

Co-authored-by: Konrad Pozniak <connyduck@users.noreply.github.com>
2021-01-26 16:38:03 +01:00
Konrad Pozniak 968c4ed3e0
add proguard rule to keep DraftAttachment.Type (#2054) 2021-01-25 16:23:43 +01:00
Konrad Pozniak 46468b8a78
use CustomTabColorSchemeParams instead of deprecated methods (#2049) 2021-01-25 16:23:32 +01:00
Konrad Pozniak 520353f8dd
Merge pull request #2046 from nailyk-weblate/weblate-tusky-tusky
Translations update from Weblate
2021-01-25 10:43:07 +01:00
Juanjo Salvador a45c8613ad Translated using Weblate (Spanish)
Currently translated at 100.0% (456 of 456 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/es/
2021-01-24 21:40:32 +00:00
Ho Nhat Duy 295f5d5a8c Translated using Weblate (Vietnamese)
Currently translated at 100.0% (456 of 456 strings)

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

Translated using Weblate (Vietnamese)

Currently translated at 100.0% (450 of 450 strings)

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

Translated using Weblate (Vietnamese)

Currently translated at 100.0% (450 of 450 strings)

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

Translated using Weblate (Vietnamese)

Currently translated at 100.0% (450 of 450 strings)

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

Translated using Weblate (Vietnamese)

Currently translated at 100.0% (447 of 447 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/vi/
2021-01-24 21:40:32 +00:00
Vegard Skjefstad cd70f3d7d2 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (456 of 456 strings)

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

Translated using Weblate (Norwegian Bokmål)

Currently translated at 100.0% (450 of 450 strings)

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

Translated using Weblate (Norwegian Bokmål)

Currently translated at 100.0% (447 of 447 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
2021-01-24 21:40:32 +00:00
nailyk-weblate 378d235508 Update translation files
Updated by "Cleanup translation files" hook in Weblate.

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

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/
2021-01-24 21:40:32 +00:00
Konrad Pozniak 940d6d395a
Drafts v2 (#2032)
* cleanup warnings, reorganize some code

* move ComposeAutoCompleteAdapter to compose package

* composeOptions doesn't need to be a class member

* add DraftsActivity and DraftsViewModel

* drafts

* remove unnecessary Unit in ComposeViewModel

* add schema/25.json

* fix db migration

* drafts

* cleanup code

* fix compose activity rotation bug

* fix media descriptions getting lost when restoring a draft

* improve deleting drafts

* fix ComposeActivityTest

* improve draft layout for almost empty drafts

* reformat code

* show toast when opening reply to deleted toot

* improve item_draft layout
2021-01-21 18:57:09 +01:00
Levi Bard baa915a0a3
Support opening unknown attachment types via `openLink` (#2044)
* Support opening unknown attachment types via openLink. #1970

* Fix label text for unknown attachment types
2021-01-18 13:53:13 +01:00
Levi Bard cb2296f248
Prompt before deleting lists (#2043)
* Prompt before deleting lists. #1998

* Address pull request feedback
2021-01-18 11:40:13 +01:00
Levi Bard 5fbd459aed
Make tapping the main toolbar scroll to the top of the timeline. #1899 (#2045) 2021-01-15 21:23:02 +01:00
Garrit Franke 4c7d09b1e3
Show display names for reposts (#2041)
* WIP: Show display names for reposts

* Display emojis on reposts

* Move unicode wrapping

Co-authored-by: Garrit Franke <garrit@slashdev.space>
2021-01-15 21:16:32 +01:00
Levi Bard be60155de5
Implement timed mutes. (#2035)
Fixes #2033
2021-01-15 21:05:36 +01:00
Konrad Pozniak 7875e7c630
Merge pull request #2028 from nailyk-weblate/weblate-tusky-tusky
Translations update from Weblate
2021-01-15 21:00:21 +01:00
Grandasse 4ab33f0ad5 Translated using Weblate (French)
Currently translated at 100.0% (445 of 445 strings)

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

Translated using Weblate (French)

Currently translated at 99.3% (442 of 445 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fr/
2021-01-15 19:59:31 +00:00
Gisele Galaburri 914e9a78f4 Translated using Weblate (Spanish)
Currently translated at 99.7% (444 of 445 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/es/
2021-01-15 19:59:31 +00:00
qezwan 871fddc79c Translated using Weblate (Sorani)
Currently translated at 100.0% (445 of 445 strings)

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

Translated using Weblate (Sorani)

Currently translated at 50.3% (224 of 445 strings)

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

Translated using Weblate (Sorani)

Currently translated at 34.8% (155 of 445 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ckb/
2021-01-15 19:59:31 +00:00
nailyk 4fe17b0485 Added translation using Weblate (Sorani) 2021-01-15 19:59:31 +00:00
Vegard Skjefstad 54236fa9ba Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (445 of 445 strings)

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

Translated using Weblate (Norwegian Bokmål)

Currently translated at 100.0% (444 of 444 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
2021-01-15 19:59:31 +00:00
Isak Holmström 282ed03a1a Translated using Weblate (Swedish)
Currently translated at 100.0% (444 of 444 strings)

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

Translated using Weblate (Swedish)

Currently translated at 98.6% (438 of 444 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/sv/
2021-01-15 19:59:31 +00:00
Connyduck a4f9acc70e Added translation using Weblate (Telugu)
Added translation using Weblate (Punjabi)
2021-01-15 19:59:31 +00:00
Ho Nhat Duy d8a3476942 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (445 of 445 strings)

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

Translated using Weblate (Vietnamese)

Currently translated at 100.0% (444 of 444 strings)

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

Translated using Weblate (Vietnamese)

Currently translated at 100.0% (444 of 444 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/vi/
2021-01-15 19:59:31 +00:00
x b4d0158cb2 Translated using Weblate (Italian)
Currently translated at 99.7% (444 of 445 strings)

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

Translated using Weblate (Italian)

Currently translated at 99.7% (443 of 444 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/it/
2021-01-15 19:59:31 +00:00