Commit Graph

1178 Commits

Author SHA1 Message Date
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
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
Levi Bard dd8abad8ca
When a plaintext share contains EXTRA_TEXT and a distinct EXTRA_SUBJECT, use EXTRA_SUBJECT as the content warning for the shared status (#1712) 2020-02-26 20:41:02 +01:00
Alibek Omarov 50730f7481
Add more URL cases for Pleroma, Misskey and Friendica (#1702) 2020-02-25 19:59:40 +01:00
Levi Bard 710b9f08c1
Add status url as EXTRA_SUBJECT when sharing status content. (#1680)
Addresses #1655
2020-02-25 19:58:20 +01:00
Ivan Kupalov 656644b7cb
Make image in BackgroundMessageView adapt to the height, fix #1618 (#1649)
* Make image in BackgroundMessageView adapt to the height, fix #1618

* Hide filters panel when showing status view in notifications
2020-02-25 19:57:28 +01:00
Konrad Pozniak d9c802982e
Upgrade deps (#1708)
* upgrade Dagger

* upgrade AndroidX Lifecycle

* upgrade AndroidX Fragment

* upgrade Room, Retrofit, AndroidX core, Material components

* fix report fragments not sharing viewmodels
2020-02-25 19:49:41 +01:00