Commit Graph

2816 Commits

Author SHA1 Message Date
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
Konrad Pozniak 7063060a2d upgrade gradle and android gradle plugin (#1957) 2020-11-29 18:31:03 +03:00
Levi Bard 94dba04216 Use blurhash for preview cards (#1960) 2020-11-29 18:30:31 +03:00
Levi Bard 029513205b Fix filtering of boosts (#1954) 2020-11-29 18:30:24 +03:00
Vignesh Kumar 8d9a54e8ea Change characters left color to red when negative (#1952)
* Change characters left color to red when negative

* Use val for the integers, optimize variable assignment

* Added tusky_red color

* remove extra line typo

* make characters left bold

* change red hue

* fix typo
2020-11-29 18:30:12 +03:00
Alibek Omarov dbb28017e3 Merge translations from upstream 2020-11-29 18:25:41 +03:00
Alibek Omarov c6b945b3ab FilterTest: fix test 2020-10-19 03:15:04 +03:00
Alibek Omarov 2eba3f41ba Animated emoji support 2020-10-19 02:50:24 +03:00
Alibek Omarov 5e9e626012 Attempt to fix custom emoji freeze bug 2020-10-19 02:49:03 +03:00
Alibek Omarov 05ddc762c7 TimelineRepositoryTest: fix test 2020-10-19 01:28:08 +03:00
Alibek Omarov ed7bfa182b Implement proper hiding muted users and conversations 2020-10-18 23:57:55 +03:00
Alibek Omarov ed16f1b2bc Use SpannableString instead of SpannableStringBuilder when it's possible 2020-10-11 00:17:51 +03:00
Karol Kosek 02f4e602fd Translated using Weblate (Polish)
Currently translated at 79.3% (69 of 87 strings)

Translation: Husky/Husky translations
Translate-URL: https://l10n.mentality.rip/projects/husky/husky-translations/pl/
2020-10-09 18:12:14 +02:00
Alibek Omarov f18f7aab5c ChatActivity: fix crash, fix sticker button enabling conditions 2020-10-07 01:42:58 +03:00
Alibek Omarov cbe737ef54 ChatActivity: set sendbutton inactive when text or media are empty, fix media menu, fix media button stay inactive after removing media 2020-10-06 15:27:14 +03:00
Alibek Omarov 12e95a7190 ComposeTokenizer: try to fix test 3 2020-10-05 23:31:17 +03:00
Alibek Omarov 4fa1fb6522 ChatMessagesAdapter: fix non-clickable URLs 2020-10-05 23:16:46 +03:00
Alibek Omarov 992f2ec02c ComposeTokenizer: try to fix test 2 2020-10-05 23:08:31 +03:00
Alibek Omarov c6219e3581 ComposeTokenizer: try to fix test 2020-10-05 22:03:15 +03:00
Alibek Omarov 09e5611ec0 Account: add optional ap_id field 2020-10-05 21:15:30 +03:00
Alibek Omarov c4931bcc6e BottomSheetActivity: fix account URL search leading to wrong accounts or threads 2020-10-05 20:43:04 +03:00
Alibek Omarov 51083556f1 CommonComposeViewModel: filter all unrelated autocomplete suggestions 2020-10-05 19:51:56 +03:00
Alibek Omarov f32bfc2ae6 ComposeTokenizer: do not search stop after second @ 2020-10-05 19:51:17 +03:00
Alibek Omarov 9fb700f548 SpanUtils: allow extended username format 2020-10-05 19:50:31 +03:00
Alibek Omarov 6d2c270cee ChatActivity: fix #91 2020-10-05 17:59:40 +03:00
Alibek Omarov 30c97119d8 ComposeActivity: fix ignoring opened preview when back pressed 2020-10-05 17:49:57 +03:00
Alibek Omarov 06dc7c6cd7 ChatsFragment: fix list not rendering sometimes 2020-10-05 17:43:56 +03:00
Alibek Omarov effa7d07c4 chats: implement attachment onClick 2020-10-05 17:25:49 +03:00
Alibek Omarov f7a3c8710f SFragment: open browser if attachment type is unknown 2020-10-05 17:24:49 +03:00
Weblate 1e85b14759 Merge origin/develop 2020-10-05 15:10:44 +02:00
Alibek Omarov e4e922f89a Merge weblate/develop 2020-10-05 16:05:47 +03:00
Alibek Omarov 66cad6d66f ViewImageFragment: fix thumbnail being shown under main image, fix scaling 2020-10-05 15:52:13 +03:00