Commit graph

2239 commits

Author SHA1 Message Date
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
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
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
46468b8a78
use CustomTabColorSchemeParams instead of deprecated methods (#2049) 2021-01-25 16:23:32 +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
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
Prashant
c119c0ce6d Translated using Weblate (Hindi)
Currently translated at 85.8% (381 of 444 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/hi/
2021-01-15 19:59:31 +00:00
lenchan139
f7a630c1d8
multiple media upload support (#2029)
* 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.

Co-authored-by: Konrad Pozniak <connyduck@users.noreply.github.com>
2020-12-30 17:36:00 +01:00
Konrad Pozniak
8b9ddca7bd
cleanup code in ConversationsFragment, SearchFragment and Report*Fragments (#2027) 2020-12-27 21:25:35 +01:00
Garrit Franke
0fbb4e9713
Wellbeing mode (#1992)
* Add wellbeing mode settings toggle

* Translate wellbeing mode string to german

* Disable fav/boost count on toots if wellbeing is enabled

* Hide follow/post stats on profiles

* Reload notifications when wellbeing mode is toggled

* Add wellbeing mode explainer dialog

* Move wellbeing filter timeline into own category

* Add toggles for quantitative stats

* Hide announcement badge counts if wellbeing is enabled

* Move fetching of wellbeing setting to activity

* Add wellbeing option to statusDisplayOptions

* Update post filters for all accounts

* Remove local translations

* Revert "Remove local translations"

This reverts commit e92e636a5c759b09649174ab68ec91bc13680287.

* Remove german translations
2020-12-23 19:13:37 +01:00
Balázs Meskó
d5e26ca823 Translated using Weblate (Hungarian)
Currently translated at 100.0% (434 of 434 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/hu/
2020-12-23 11:53:22 +00:00
4df2ce2d6b
Exchange colorSurface and colorBackground to improve text contrast in light theme (#2025) 2020-12-23 12:53:18 +01:00
Alibek Omarov
b91a0aceeb
Notification bell (#2012)
* Add notification bell button, API endpoints and new relationship field

* Add notification type for subscriptions

* Add subscriptions to legacy notification filtering

* Update schemas

* Fix build

* Make rewrite static method into method of Notification class, fix getNotificationText

* Mastodon wording for subscriptions
2020-12-23 12:52:39 +01:00
Zoltán Gera
f6172cfbbf Translated using Weblate (Hungarian)
Currently translated at 100.0% (434 of 434 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/hu/
2020-12-18 22:06:51 +00:00
Balázs Meskó
597862c829 Translated using Weblate (Hungarian)
Currently translated at 100.0% (434 of 434 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/hu/
2020-12-18 22:06:51 +00:00
Konrad Pozniak
e0fab33f48
fix emoji preference thumbnails (#2022) 2020-12-13 16:32:22 +01:00
Konrad Pozniak
a19411c947
cleanup accountManager.activeAccount usages in MainActivity (#2021) 2020-12-13 16:32:04 +01:00
Konrad Pozniak
7888408941
set contentDescription for menu toggle (#2020) 2020-12-13 16:31:42 +01:00
Konrad Pozniak
5db3bb3779
Workaround for old Androids not connecting to new Let's Encrypt hosts (#2014)
* Rename .java to .kt

* convert OkHttpUtils to Kotlin

* trust new letsencrypt root cert

* cleanup OkHttpUtils

* add link to lets encrypt cert to OkHttpUtils
2020-12-13 16:31:12 +01:00
Konrad Pozniak
708b88404c cleanup bad strings - some of these crash the app 2020-12-11 22:17:39 +01:00
test8421
b51787f625 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (434 of 434 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans/
2020-12-11 21:13:16 +00:00
Danial Behzadi
2ded8dd630 Translated using Weblate (Persian)
Currently translated at 100.0% (434 of 434 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fa/
2020-12-11 21:13:16 +00:00
Sveinn í Felli
e44802c345 Translated using Weblate (Icelandic)
Currently translated at 100.0% (434 of 434 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/is/
2020-12-11 21:13:16 +00:00
Konrad Pozniak
9cdf486ceb
remove ThemeUtils.getTintedDrawable (#2015) 2020-12-09 19:08:16 +01:00