Commit Graph

2797 Commits

Author SHA1 Message Date
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
Alibek Omarov 3edbb45699 Import non-translatable strings 2021-01-30 03:28:02 +03:00
Alibek Omarov af7b688140 Regenerate translations 2021-01-30 03:27:20 +03:00
Alibek Omarov cb4423face Update translations from upstream 2021-01-30 03:26:50 +03:00
Alibek Omarov 9586ada327 EditProfileActivity: allow adding fiels as much as instance allows (fix #89) 2020-12-06 03:31:13 +03:00
Alibek Omarov dc1a91e2ca Fix #104 2020-12-06 03:10:42 +03:00
Alibek Omarov 389bcdb66d Fix #109 2020-12-06 03:00:08 +03:00
Alibek Omarov 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
Alibek Omarov 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
Alibek Omarov 3d0c5a47d3 Merge remote-tracking branch 'weblate/develop' into develop 2020-12-06 01:15:15 +03:00
Alibek Omarov 4fedbd8e8b Import upstream translations 2020-12-06 01:14:40 +03:00
Alibek Omarov 558b9631fd Merge translations from upstream 2020-12-06 01:13:50 +03:00
Alibek Omarov 68d6a4ab25 Support Mastodon notification bell and status notification type 2020-12-06 01:12:25 +03:00
Alibek Omarov 7808f122e0 subscriptions: change string 2020-12-06 00:43:43 +03:00
Alibek Omarov 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
Alibek Omarov 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
Alibek Omarov 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
Alibek Omarov 28a02cf72a Notifications: add support for move notification type 2020-12-01 03:46:35 +03:00
Alibek Omarov 0bdad9ad7a Notifications: add new virtual type for subscriptions 2020-12-01 03:01:10 +03:00
Alibek Omarov 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
Alibek Omarov 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
Konrad Pozniak 58d839ef0d upgrade dependencies (#1990)
* upgrade dependencies

* fix tests
2020-11-29 19:22:51 +03:00
Konrad Pozniak e6f31ccd0d apply the home filter to lists (#1991) 2020-11-29 19:20:56 +03:00
kyori19 aa14e6e4f2 [needs help] Support announcements (#1977)
* Implement announcements activity

* Update reactions without api access

* Add badge style

* Use emptyList() as default parameter

* Simplify newIntent

* Use List instead of Array

* Remove unneeded ConstraintLayout

* Add lineSpacingMultiplier

* Fix wording

* Apply material design's default chip style

* Dismiss announcements automatically
2020-11-29 19:20:42 +03:00
Conny Duck 666d2be102 upgrade material drawer 2020-11-29 19:09:12 +03:00
Konrad Pozniak 9ea9926469 Personal account notes (#1978)
* add personal notes to AccountActivity

* use RxJava instead of plain okhttp calls

* make AccountViewModel rx aware

* hide note input until data is loaded
2020-11-29 19:08:58 +03:00
Conor Flynn 0d644e8fe3 Adds link to account page when clicking on displayName (#1982)
* Adds link to account page when clicking on displayName.

* Reuses the onClickListener

* Fixes formatting.
2020-11-29 18:48:42 +03:00
Levi Bard c2c4a3a535 Perform bidirectionality isolation manually instead of relying on `BidiFormatter` (#1976)
* Perform manual isolation of display names etc. instead of relying on BidiFormatter.
Fixes #1921

* Make follow request notification header formatting more like other notifications
2020-11-29 18:48:26 +03:00
Levi Bard 684289d3e3 Add tests for compose activity initial state changes (#1972) 2020-11-29 18:47:41 +03:00
Garrit Franke 313209e249 Delete scheduled post after editing (#1947)
* Delete scheduled post after editing

This ensures that editing a scheduled toot will not duplicate it.

Fixes #1924

* Fix scheduled toot editing

* Convert isEditingScheduledToot to property

* Replace MediatorLiveData with combineLiveData

* Remove dead code

* Fix observer emission

* Fix "Finish media upload" appearing for split second
2020-11-29 18:47:04 +03:00
Konrad Pozniak 8b3c9a8f09 use MaterialContainerTransform for ActionButton animation (#1961)
* use MaterialContainerTransform for ActionButton animation

* fix back button in TabPreferenceActivity
2020-11-29 18:31:57 +03:00