Ivan Kupalov
be8fc9f15a
Fix crash in the image viewer ( #1871 )
...
This is imperfect as it probably reduces quality of the image but it
fixes the crash for now.
2020-08-01 13:26:59 +02:00
Konrad Pozniak
467c33aacb
upgrade SwipeRefreshLayout to 1.1.0 ( #1866 )
2020-07-28 10:38:28 +02:00
Ivan Kupalov
f37a589dce
Roll back image viewer but retain swiping fix ( #1863 )
...
This fixes crashes with images which were too wide (aspect ratio wise).
2020-07-27 10:42:39 +02:00
Mélanie Chauvel
b3b4794a2b
Implement optional notifications muting for account muting ( #1856 )
2020-07-27 10:28:59 +02:00
Konrad Pozniak
7f0093bd58
remove scrolling from notification options bar ( #1858 )
2020-07-20 11:25:36 +02:00
Mélanie Chauvel
4205f5493e
Make account views clickable instead of avatar only ( #1855 )
...
Affects:
- New follower request and New follower notifications
- Accounts in Blocked users and Muted users pages
2020-07-07 20:35:31 +02:00
Konrad Pozniak
dfd30ec52a
correctly update the menu when muting domains ( #1848 )
2020-06-23 19:59:49 +02:00
Ivan Kupalov
58a1046348
Improve image viewer ( #1843 )
...
This commit does 3 things:
1. Replaces PhotoView (which is abandonware) with modern TouchImageView
2. Fixes an issue with panning images. Gesture was not intercepted
properly and pager was taking control instead of image being moved.
3. Adds feedback to dismissing of images with vertical gesture.
2020-06-22 21:26:37 +02:00
Konrad Pozniak
56f4f8a38d
fix MainActivity title when coming from a notification ( #1844 )
2020-06-21 19:52:27 +02:00
Konrad Pozniak
5246ab7d72
speedup blurhash decoding by using a intermediate int array ( #1835 )
2020-06-21 18:26:06 +02:00
Konrad Pozniak
836b7f3f76
don't create a CW when sharing text to Tusky ( #1836 )
2020-06-21 18:25:17 +02:00
Konrad Pozniak
74bd493878
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-18 11:04:53 +02:00
Ivan Kupalov
ecb94beb3c
Fix settings default values for preferences ( #1828 )
...
At some point settings DSL was refactored to first add a preference and
then run the builder. We shouldn't add a preference to the hierarchy
without setting a key for the preference first because preference gets
it's default value in `onAttachedToHierarchy()` and if the key is not
set then no default value will be set either.
This commit changes the order to execute builder (and set the key)
first and and preference to the point later.
2020-06-14 19:58:05 +02:00
Levi Bard
4219871095
Fix preview cards for uncollapsible statuses ( #1826 )
2020-06-09 19:00:23 +02:00
Ivan Kupalov
c64df0fd1d
Settings refactor ( #1615 )
...
* Refactor main preferences to use DSL
* Refactor account preferences to use DSL
* Use DSL in rest of the preference screens
* Preferences cleanup
* Fix preference dependencies
2020-06-08 09:21:12 +02:00
Ivan Kupalov
4188b6ea09
Fix loading more than one page of favs/bookmarks, fix #1824 ( #1825 )
2020-06-07 19:37:34 +02:00
Alibek Omarov
5b187bcb5e
NotificationsFragment: show appbar if there is no notifications ( #1810 )
...
Thus, if user accidentally will filter everything, they will be able to return to initial state.
2020-05-30 10:10:47 +02:00
Levi Bard
1c09441c32
Fix showing/hiding of preview cards in timeline posts that are collapsed for length. ( #1796 )
...
Also properly places the preview card after the "collapse for length" button.
2020-05-21 18:32:22 +02:00
kyori19
e6b7d2ff9c
Fix large media uploading ( #1800 )
2020-05-21 14:50:19 +02:00
Konrad Pozniak
df8dc3a198
enable multiple hashtags in one hashtag tab ( #1790 )
...
* enable multiple hashtags in one hashtag tab
* add comment explaining the code in TabAdapter
* delete unused drawables
* add padding to EditText in dialog
2020-05-15 22:10:29 +02:00
Alibek Omarov
2fc7ad13bb
CustomEmojiHelper: rewrite to Kotlin ( #1787 )
...
* CustomEmojiHelper: rewrite to Kotlin
* CustomEmojiHelper: PR fixes
2020-05-15 22:09:12 +02:00
Konrad Pozniak
e72bdcaf42
add missing attribute to TimelineDao query ( #1788 )
2020-05-13 07:53:24 +02:00
Konrad Pozniak
b280e25727
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-05-12 18:46:49 +02:00
kyori19
623eb1fe2a
Add "account" filter context ( #1776 )
2020-05-08 19:17:02 +02:00
kyori19
23a1701151
Fix tag highlighting in editor ( #1773 )
...
* Fix tag highlighting in editor
* Add test case for tag highlighting
2020-05-08 19:16:35 +02:00
Konrad Pozniak
83c06f44e7
Fix RxJava UndeliverableException crashes ( #1778 )
2020-05-08 16:53:38 +02:00
Konrad Pozniak
a69e6a66ba
fix confirmReblogs default values ( #1777 )
2020-05-05 20:26:40 +02:00
Conny Duck
73fa94d39b
close drawer after click
2020-04-28 21:56:02 +02:00
Ivan Kupalov
f52fd355d8
Add preference to disable swipe gesture for switching tabs, close #1718 ( #1752 )
2020-04-27 21:41:43 +02:00
Konrad Pozniak
0ccd2c4133
fix overlapping account items in AccountsInListFragment ( #1768 )
2020-04-27 10:38:31 +02:00
Konrad Pozniak
89efd67015
fix toots showing too much whitespace ( #1761 )
...
* fix toots showing too much whitespace
* use isWhitespace extension function
2020-04-20 23:06:39 +02:00
Sylvia van Os
386d197851
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-04-18 15:06:24 +02:00
Konrad Pozniak
f3d05f82f9
fix toot sending twice when using a hardware keyboard ( #1758 )
2020-04-18 13:45:19 +02:00
Konrad Pozniak
3c3e872782
fix content warning in notifications when alwaysShowSpoiler is on ( #1757 )
2020-04-18 13:45:07 +02:00
Konrad Pozniak
2cf1e366b8
convert MainActivity to Kotlin and upgrade MaterialDrawer to version 8 ( #1748 )
...
* convert MainActivity to Kotlin
* migrate to MaterialDrawer 8
* fix drawer styles
* revert removing BezelImageView and material_drawer_header override
* fix tests
* add lost comment back to material_drawer_header.xml
* add tools:parentTag to material_drawer_header.xml
* use when instead of if in MainActivity
* fix statusbar color over the drawer
* cleanup drawer item creation
* tint secondary drawer items as well
* remove unnecessary ids
* fix header text color in the light theme
* improve header text contrast
2020-04-15 18:57:53 +02:00
Ivan Kupalov
d44eada140
Fix reblog confirm ( #1723 )
...
* Fix reblog confirmation default value
* Fix triggering reblog before confirming it
* Fix accidents caused by reblog confirmation
2020-04-06 19:28:43 +02:00
Konrad Pozniak
c80fa68dbe
upgrade dependencies, fix some warnings ( #1747 )
...
* upgrade dependencies, fix some warnings
* fix tests
2020-04-06 11:46:38 +02:00
Levi Bard
a5416abb21
Add missing error handler for mute conversation invocation ( #1746 )
2020-04-03 19:04:06 +02:00
Konrad Pozniak
68f34152dc
replace HtmlUtils with HtmlCompat ( #1741 )
...
* replace HtmlUtils with HtmlCompat
* fix tests
2020-04-02 23:37:38 +02:00
Levi Bard
91263eed8b
Confirm blocks and mutes from timelines ( #1740 )
...
* Add preference for confirming blocks and mutes from timelines
Implements #1737
* Apply code review feedback
2020-03-30 21:03:27 +02:00
Levi Bard
1b476c790a
Fix NPE in follow requests view ( #1739 )
...
Fixes #1738
2020-03-27 19:04:28 +01:00
Konrad Pozniak
adac296e04
simplify ComposeOptionsView ( #1734 )
2020-03-24 21:07:10 +01:00
Konrad Pozniak
cf782f039f
use number of voters instead of votes to calculate poll results ( #1733 )
...
* adjust poll vote text, votes -> people
* use number of voters instead of votes to calculate poll results
* fix tests
2020-03-24 21:06:58 +01:00
Levi Bard
8cb83050ac
Add support for muting conversations ( #1732 )
...
* Add support for muting conversations
Implements #1731
* Fix CI
* Apply code review feedback
2020-03-24 21:06:04 +01:00
Levi Bard
4a4dd4f30f
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-03-19 22:02:10 +01:00
Levi Bard
9c4898117e
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-03-17 19:46:32 +01: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
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