Commit Graph

1187 Commits

Author SHA1 Message Date
Alibek Omarov ad894756bc Patch to compile, downgrade Kotlin version, otherwise it fails with useless message, disable incremental kapt otherwise it fails 2020-05-03 04:28:26 +03:00
Levi Bard 457ae164ac Don't interpret html inside poll options. (#1527)
* Don't interpret html inside poll options.
Closes #1362

* Update translations

* Mark poll_percent_format as untranslatable
2020-05-03 04:13:12 +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
Alibek Omarov eee0d1d520 SpannedTypeAdapter: remove dead file 2020-05-03 03:43:43 +03:00
Alibek Omarov 67f1ad8286 MainActivity: apply existing ViewPager2Fix 2020-05-03 03:20:54 +03:00
Alibek Omarov 1fb49c625c MainActivity: removal 2020-05-03 03:20:38 +03:00
Conny Duck ebbd841b0b close drawer after click 2020-05-03 03:18:02 +03:00
Ivan Kupalov 719ffd4696 Add preference to disable swipe gesture for switching tabs, close #1718 (#1752) 2020-05-03 03:17:54 +03:00
Konrad Pozniak 095d1b4a58 fix overlapping account items in AccountsInListFragment (#1768) 2020-05-03 03:15:59 +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
Sylvia van Os 21e825361e Fix content warning state being lost after screen rotation (#1756)
* Restore compose options after rotation

* Fix in ViewModel instead

* Move showContentWarning change into ViewModel
2020-05-03 03:12:32 +03:00
Konrad Pozniak c0f46c30a1 fix toot sending twice when using a hardware keyboard (#1758) 2020-05-03 03:12:05 +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 b44ceea44c Confirm blocks and mutes from timelines (#1740)
* Add preference for confirming blocks and mutes from timelines
Implements #1737

* Apply code review feedback
2020-05-03 03:06:45 +03:00
Konrad Pozniak 2b500bdad3 simplify ComposeOptionsView (#1734) 2020-05-03 03:04:00 +03:00
Levi Bard 200e46aea6 Fix NPE in follow requests view (#1739)
Fixes #1738
2020-05-03 03:04:00 +03:00
Levi Bard 4f72b57990 Ensure media are marked sensitive any time there's a content warning (#1728)
Addresses the most critical part of #1725, and may also apply to #1721
2020-05-03 03:01:17 +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 7bd34b29e1 EmojiKeyboard: add recents 2020-05-03 02:49:31 +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 c674d5c4e6 NetworkModule: hide different logging levels under comments to not look every time in documentation 2020-05-03 02:49:31 +03:00
a1batross 496ad50b18 filters: represent POST as json becausr booleans cannot be represented in urlencoded as Pleroma thinks 2020-04-28 04:01:19 +02:00
Alibek Omarov 5ad9f0e871 ComposeActivity: fix crash on old Android 2020-04-12 22:02:32 +03:00
Alibek Omarov f80d5639a9 NetworkModule: oops, disable showing headers in logcat 2020-04-12 21:05:54 +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 7c806733ee AccountActivity: animate banner if animateGifAvatars is enabled 2020-04-10 19:20:28 +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
Ivan Kupalov a267d85080 Fix reblog confirm (#1723)
* Fix reblog confirmation default value

* Fix triggering reblog before confirming it

* Fix accidents caused by reblog confirmation
2020-04-10 16:41:06 +03:00
Alibek Omarov 825eab8cda emoji_reactions: show keyboard as dialog 2020-04-10 02:18:37 +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 f4b696cc4d emoji_reactions: implement for notifications fragment 2020-04-10 02:13:33 +03:00
Alibek Omarov 8580524300 emoji_keyboard: first keyboard, supports only unicode emojis 2020-04-10 02:11:38 +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 18c19be90c adapter: replace simple viewholders by SingleViewHolder(extended from RecyclerView.ViewHolder but allowed to instantiate) 2020-04-10 01:58:06 +03:00
Alibek Omarov d273c9dec4 Merge branch 'develop' of https://github.com/FWGS/Husky into develop 2020-03-16 18:47:27 +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 d37e3ec569 Revert "Hide muted users' statuses in timelines on client side, because we're getting full timeline now(to support muted conversations)"
This reverts commit 2fc5f876bc.
2020-03-13 17:46:22 +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 8908e93580 StatusBaseViewHolder: fix recycling bug, fix emoji reaction view empty space touch 2020-03-12 06:16:57 +03:00
Alibek Omarov 738d378154 Merge branch 'develop' of https://github.com/tuskyapp/Tusky into develop 2020-03-12 02:53:28 +03:00
Ivan Kupalov 6a87e3e352
Work around the bug in ComposeScheduleView, fix #1720 (#1722)
DatePicker seems to think that it's in UTC. So setting selected time
might not work as aspect and receiving value from it might be in UTC
as well. This commit fixes the second issue by interpreting the date
as UTC date. Tested with America/New_York (GMT-5 at the moment) and
Russia/Kamchatka (GMT+12).
2020-03-09 20:43:01 +01:00
Alibek Omarov c2ded20df8 emoji_reactions: implement adding and removing on existing reactions(LOW PERFORMANCE) 2020-03-06 22:33:25 +03:00
Alibek Omarov 6a4215363e emoji_reactions: show the emoji in title 2020-03-06 21:30:20 +03:00
Alibek Omarov 371cafc0cd emoji_reactions: add menu for normal timelines 2020-03-06 21:22:41 +03:00
Alibek Omarov 4f1400842f emoji_reactions: general refactoring, implement emoji_reactions_by 2020-03-06 21:04:14 +03:00
Alibek Omarov 3cbbbe99c4 Merge upstream 2020-03-06 16:16:54 +03:00