Commit Graph

246 Commits

Author SHA1 Message Date
Konrad Pozniak 2e40fe0055 add possibility to move the main navigation to the bottom (#1808)
* add possibility to move the main navigation to the bottom

* add top toolbar with drawer toggle, title and search button
2020-06-23 12:46:43 +03:00
Konrad Pozniak b965cc6766 use AndroidX WorkManager instead of Evernote Android Job (#1783)
* use AndroidX WorkManager instead of Evernote Android Job

* move notification related classes to their own package

* fix missing import
2020-06-15 16:22:35 +03:00
Alibek Omarov 9fb8dbc732 app: all external references are now called Husky to not conflict with Tusky files 2020-05-28 04:53:56 +03:00
kyori19 0cd2542cc1 Fix tag highlighting in editor (#1773)
* Fix tag highlighting in editor

* Add test case for tag highlighting
2020-05-22 20:48:35 +03:00
Alibek Omarov c90f9650ab CustomEmojiHelper: rewrite to Kotlin 2020-05-20 17:51:36 +03:00
Alibek Omarov be5a826783 CustomEmojiHelper: add a way to disable big emojis 2020-05-11 22:15:36 +03:00
Alibek Omarov 0264898e57 CustomEmojiHelper: rewrite to Kotlin 2020-05-11 21:01:57 +03:00
Konrad Pozniak 9b2a837fea replace HtmlUtils with HtmlCompat (#1741)
* replace HtmlUtils with HtmlCompat

* fix tests
2020-05-03 04:12:08 +03:00
Alibek Omarov f2b5b0d646 Cherry-picked 2cf1e366. 2020-05-03 04:05:38 +03:00
Konrad Pozniak 3efe13426d fix toots showing too much whitespace (#1761)
* fix toots showing too much whitespace

* use isWhitespace extension function
2020-05-03 03:15:57 +03:00
Konrad Pozniak 204167ea8f fix content warning in notifications when alwaysShowSpoiler is on (#1757) 2020-05-03 03:12:04 +03:00
Levi Bard e7bd37b075 Add notifications for follow requests (#1729)
* Add notifications for follow requests
Issue #1719

* Revert item_follow_request layout, create new layout for follow request notifications

* Migrate follow request interaction from notification to observable pattern

* Filter follow request notifications by default

* Add missing cases for system notification generation

* Format code
2020-05-03 03:01:16 +03:00
Alibek Omarov 335f45d321 LinkHelper: try to fix error if account url is null 2020-05-03 02:49:31 +03:00
Alibek Omarov c1557e08fe wysiwyg: add minimal editor based on MarkdownEdit library 2020-04-12 20:44:40 +03:00
Alibek Omarov 3bcbc97bab compose: implement BBcode and HTML sending 2020-04-12 20:13:09 +03:00
Alibek Omarov 01e4f13c93 http: haha content-encoding goes brrrr (enabled brotli compression) 2020-04-10 18:53:28 +03:00
Alibek Omarov 25dc0e9677 emojis: remove unicode emojis consisting of more than one code point as it's unsupported by Pleroma 2020-04-10 17:33:53 +03:00
Alibek Omarov 1a8fd62e46 custom_emoji: fix showing emojis that may look like a regular expression 2020-04-10 02:14:33 +03:00
Alibek Omarov b08f939e0f emoji: add all Unicode 12.0 emojis 2020-04-10 01:59:25 +03:00
Alibek Omarov e98db92d23 emoji: use bundled compat font 2020-04-10 01:58:47 +03:00
Alibek Omarov 4d4d7d21ea Better handling of muted users and conversations, add option Hide muted users like in PleromaFE 2020-03-13 18:54:27 +03:00
Alibek Omarov 98cad637c9 NotificationHelper: add a way to test legacy notification channels on new devices 2020-03-13 16:59:58 +03:00
Alibek Omarov 3cbbbe99c4 Merge upstream 2020-03-06 16:16:54 +03:00
Ivan Kupalov 67c20326f9
Add options to confirm reblog/unreblog actions, close #460 (#1650) 2020-03-03 21:27:26 +01:00
Ivan Kupalov 712f61b15a
Add "more" popup to a11y menu, fix #1710 (#1714) 2020-03-02 19:36:44 +01:00
Levi Bard 3edc47aa4a
Add option to show link previews in timelines (#1681)
* Add option to show link previews in timelines.
Addresses #1075

* Indent cards in non-selected statuses when viewing threads

* Indent cards in timelines

* Fix clipping of right side of preview in timelines
2020-03-02 19:34:31 +01:00
Alibek Omarov b0e97392a5 Merge upstream 2020-02-28 10:30:09 +03:00
Konrad Pozniak 1eef035a9e fix default emoji font icon not rendering 2020-02-21 18:21:47 +01:00
Alibek Omarov 74d2bd6aaa status: increase hit area for fav/reblog buttons #71 2020-02-20 04:25:35 +03:00
Alibek Omarov 63a751768a Merge upstream 2020-02-19 04:54:30 +03:00
Ivan Kupalov 5a5bbca171
Fix emoji download (#1691)
* Update OkHttp to 4.3.1

* Fix downloading emoji fonts

OkHttp strips away content length info when compression is used.
Even though this behavior is old, we didn't observe it until OkHttp was
updated in d3ebcc14ec.

We get it from the original network response header. It should be
compressed length.

* Reformat EmojiCompatFont and EmojiPreference
2020-02-17 16:23:34 +01:00
Alibek Omarov 7c286c61cd emojireactions: add emoji reaction list to StatusViewData 2020-02-06 23:24:18 +03:00
Alibek Omarov db4670a703 Support emoji reaction notification 2020-02-03 18:36:45 +03:00
Alibek Omarov 058e7d46f9 Merge upstream, update color scheme 2020-02-03 12:50:52 +03:00
Konrad Pozniak 8767d2ed3d
Theme refactoring (#1656)
* Theme refactoring

* disable the automatic tinting of surfaces with elevation in dark mode

* make the media warning visible again with the dark theme

* fix nav bar on api 27+

* use correct color for all media warnings
2020-01-30 21:37:28 +01:00
Alibek Omarov af37f83ccd Merge remote-tracking branch 'origin2/develop' into develop 2020-01-29 22:42:40 +03:00
Konrad Pozniak 45828fbb5a
fix FragmentAdapter returning null fragments when activity was recreated (#1647)
* fix FragmentAdapter returning null fragments when activity was recreated

* remove unused import

* make activity in CustomFragmentStateAdapter private
2020-01-29 19:17:11 +01:00
Alibek Omarov 0ab3e66d0f Implement muting whole conversation by it's ID, add button to hide muted status again 2020-01-26 19:31:51 +03:00
Alibek Omarov 8cb743efaa Implement muting/unmuting conversations, fix possible appearing of muted users in notifications 2020-01-26 16:13:22 +03:00
Alibek Omarov f2f7f32ca5 MainActivity: increase velocity threshold for viewPager 2020-01-20 13:48:32 +03:00
Alibek Omarov a6e9e85c22 Status: add isMuted parameter 2020-01-17 19:05:45 +03:00
Alibek Omarov 6e60f89f48 MastodonApi: set withMuted to true everywhere for a while 2020-01-16 18:15:11 +03:00
Alibek Omarov cfabb3f748 NotificationHelper: don't send notification if it's from muted thread 2020-01-16 18:13:38 +03:00
Alibek Omarov 9cb80410e5 Notification: ignore seen notifications 2020-01-11 11:21:42 +03:00
Alibek Omarov f5de85c39e VersionUtils: move isPleroma method from Instance 2020-01-03 23:58:12 +03:00
Alibek Omarov 678ed81626 Merge upstream develop 2020-01-03 22:55:09 +03:00
Konrad Pozniak 8a9d62e654
Merge pull request #1610 from tuskyapp/improve_scheduled_toot
Improve ScheduledTootActivity
2019-12-31 15:00:23 +01:00
Konrad Pozniak 54f04fb4d7 address PR feedback 2019-12-31 13:57:24 +01:00
Ivan Kupalov 7623962a0d Use blurhash as image preview and as sensitive media cover, close #1571 (#1581)
* Use blurhash as image preview and as sensitive media cover, close #1571

* Fix focal point for blurhashes

* Fix video indicator overlapping sensitive media indicator

* Add a preference for blurhash

* Add blurhash to report UI.

* Introduce StatusDisplayOptions
2019-12-30 21:37:20 +01:00
Konrad Pozniak ce2ee660ae
add test for VersionUtils (#1602)
* add test for VersionUtils

* add nullability annotation to VersionUtils
2019-12-21 18:56:30 +01:00