Commit graph

2981 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
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
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
Konrad Pozniak
b2e6ec7a03
Merge pull request #2031 from nailyk-weblate/weblate-tusky-tusky-app
Translations update from Weblate
2021-01-15 20:59:26 +01:00
Grandasse
270e49a708 Translated using Weblate (French)
Currently translated at 100.0% (11 of 11 strings)

Translation: Tusky/Tusky description
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky-app/fr/
2021-01-13 08:10:27 +00:00
qezwan
4029dd0d51 Translated using Weblate (Sorani)
Currently translated at 36.3% (4 of 11 strings)

Translation: Tusky/Tusky description
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky-app/ckb/
2021-01-13 08:10:26 +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
Konrad Pozniak
05233de0f9
Merge pull request #2026 from nailyk-weblate/weblate-tusky-tusky
Translations update from Weblate
2020-12-23 12:54:04 +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
Konrad Pozniak
99b1116b01
Merge pull request #2024 from nailyk-weblate/weblate-tusky-tusky-app
Translations update from Weblate
2020-12-23 12:53:01 +01:00
Sveinn í Felli
6fe3c043db Translated using Weblate (Icelandic)
Currently translated at 90.9% (10 of 11 strings)

Translation: Tusky/Tusky description
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky-app/is/
2020-12-23 11:52:44 +00: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