Commit Graph

2457 Commits

Author SHA1 Message Date
lenchan139
40a964abe5 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-30 05:19:32 +03:00
Konrad Pozniak
5b34500255 add proguard rule to keep DraftAttachment.Type (#2054) 2021-01-30 05:18:42 +03:00
Konrad Pozniak
d16e71b200 use CustomTabColorSchemeParams instead of deprecated methods (#2049) 2021-01-30 05:18:34 +03:00
Konrad Pozniak
e952b6c627 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-30 05:17:56 +03:00
Levi Bard
72865a0138 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-30 04:23:21 +03:00
Levi Bard
e162583309 Prompt before deleting lists (#2043)
* Prompt before deleting lists. #1998

* Address pull request feedback
2021-01-30 04:22:27 +03:00
Levi Bard
6b93d02952 Make tapping the main toolbar scroll to the top of the timeline. #1899 (#2045) 2021-01-30 04:22:17 +03:00
Garrit Franke
6cb7db37a5 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-30 04:22:06 +03:00
Levi Bard
fc47d1d94a Implement timed mutes. (#2035)
Fixes #2033
2021-01-30 04:18:24 +03:00
lenchan139
d7ec778fd9 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>
2021-01-30 04:17:01 +03:00
Konrad Pozniak
08c8aee553 cleanup code in ConversationsFragment, SearchFragment and Report*Fragments (#2027) 2021-01-30 04:16:27 +03:00
Garrit Franke
719dcb13fc 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
2021-01-30 04:14:27 +03:00
Mike Barnes
7cbe2d7531 Exchange colorSurface and colorBackground to improve text contrast in light theme (#2025) 2021-01-30 04:08:23 +03:00
Konrad Pozniak
366e9b8e9f fix emoji preference thumbnails (#2022) 2021-01-30 04:02:16 +03:00
Konrad Pozniak
3fe199305a cleanup accountManager.activeAccount usages in MainActivity (#2021) 2021-01-30 04:02:05 +03:00
Konrad Pozniak
c23d62f26e set contentDescription for menu toggle (#2020) 2021-01-30 04:01:19 +03:00
Konrad Pozniak
fe77e7d3f2 update dependencies (#2017) 2021-01-30 04:01:11 +03:00
Konrad Pozniak
f466e1def5 remove ThemeUtils.getTintedDrawable (#2015) 2021-01-30 04:00:17 +03:00
3edbb45699 Import non-translatable strings 2021-01-30 03:28:02 +03:00
af7b688140 Regenerate translations 2021-01-30 03:27:20 +03:00
cb4423face Update translations from upstream 2021-01-30 03:26:50 +03:00
9586ada327 EditProfileActivity: allow adding fiels as much as instance allows (fix #89) 2020-12-06 03:31:13 +03:00
dc1a91e2ca Fix #104 2020-12-06 03:10:42 +03:00
389bcdb66d Fix #109 2020-12-06 03:00:08 +03:00
6a1c062a8d Add option to render subscriptions as normal posts(like Pleroma does) or switch back to Mastodon behavior 2020-12-06 02:53:41 +03:00
9c11fea95d Fix tests 2020-12-06 02:33:38 +03:00
Konrad Pozniak
05ab2c5c38 fix the notification buttons on the Muted users page (#2009) 2020-12-06 01:16:25 +03:00
Levi Bard
6e1c99513a Fix negative count on the unread announcements badge. (#2010)
Fixes #1994
2020-12-06 01:16:08 +03:00
Levi Bard
bef916010d Fix links in announcements. (#2011)
Fixes #2008
2020-12-06 01:15:41 +03:00
3d0c5a47d3 Merge remote-tracking branch 'weblate/develop' into develop 2020-12-06 01:15:15 +03:00
4fedbd8e8b Import upstream translations 2020-12-06 01:14:40 +03:00
558b9631fd Merge translations from upstream 2020-12-06 01:13:50 +03:00
68d6a4ab25 Support Mastodon notification bell and status notification type 2020-12-06 01:12:25 +03:00
7808f122e0 subscriptions: change string 2020-12-06 00:43:43 +03:00
17f5ad1146 NotificationsAdapter: apply same fix as 30b2349e2b 2020-12-02 20:07:05 +03:00
Karol Kosek
987db39d2c Add 'reply to' text to notifications 2020-12-02 18:03:43 +01:00
Karol Kosek
7ba55d97d5 Update pleroma status cache on reaction 2020-12-02 18:03:12 +01:00
cba7b2b122 Automatically prepend instance domain name, when domain name is omitted for images. Fixes very edge case when proxy base url is NULL 2020-12-02 20:02:19 +03:00
9d41527168 ChatMessagesAdapter: post-merge fix 2020-12-01 22:48:54 +03:00
Konrad Pozniak
781586a009 fix workmanager crashing because of async initialization (#2003) 2020-12-01 21:41:14 +03:00
Konrad Pozniak
e0582319a7 fix crash when opening some audio attachments (#2002) 2020-12-01 21:40:01 +03:00
28a02cf72a Notifications: add support for move notification type 2020-12-01 03:46:35 +03:00
0bdad9ad7a Notifications: add new virtual type for subscriptions 2020-12-01 03:01:10 +03:00
8982f7af28 Another post-merge build fix 2020-12-01 02:25:24 +03:00
Mélanie Chauvel
928fdd8d02 Implement optional notifications muting for account muting (#1856) 2020-12-01 01:26:11 +03:00
2c0b8ac6f5 Fix some issues after merge 2020-12-01 01:16:54 +03:00
Konrad Pozniak
0e4236611a better distinction between green and blue build flavors (#1997) 2020-11-29 19:26:31 +03:00
Konrad Pozniak
efdc91d090 load drawer avatar earlier to avoid flicker on app start (#1993)
* load drawer avatar earlier to avoid flicker on app start

* use placeholder when loading drawer avatar for the first time
2020-11-29 19:25:31 +03:00
Ivan Kupalov
e617b361c3 Fix some of the StrictMode violations (#1931)
Mostly it's disk reads/writes.

Conscrypt reads own version on startup which reads from disk multiple
times. There's no solution for it right now.

SharedPreferences which are used in BaseActivity also read from disk
and pretty early but it shouldn't be a problem.
2020-11-29 19:25:27 +03:00
Konrad Pozniak
9a182f6a68 fix crash when clearing glide requests (#1989) 2020-11-29 19:23:40 +03:00