duggalsu
17b7abb537
Remove 'Add Data' button if all 4 metadata fields are used in Edit Profile ( #1934 )
...
* Remove 'Add Data' button if all 4 metadata fields are used
* Removed option for disabling add field button
2020-09-14 10:39:46 +02:00
Konrad Pozniak
a6673a6eb2
simplify timeline cleanup ( #1932 )
...
* simplify timeline cleanup
* fix test
2020-09-14 07:52:54 +02:00
Konrad Pozniak
67df1a7065
fix another crash in ViewVideoFragment ( #1926 )
2020-09-03 20:17:11 +02:00
Konrad Pozniak
67225dd4c0
fix various bugs when creating tab with multiple hashtags ( #1925 )
2020-09-02 12:28:13 +02:00
Konrad Pozniak
1d309850b0
convert EmojiPreference and EmojiCompatFont to Kotlin ( #1922 )
...
* convert EmojiPreference and EmojiCompatFont to Kotlin
* move preference related to to dedicated preference package
* update proguard-rules.pro
* reformat & add comment
* maintain disposable information in EmojiPreference instead of EmojiCompatFont
2020-09-02 12:27:51 +02:00
Konrad Pozniak
fc7b02d987
use current user's avatar as drawer toggle ( #1919 )
...
* use current user's avatar as drawer toggle
* avoid hardcoded 36dp
* remove unused import
2020-09-01 16:49:30 +02:00
Konrad Pozniak
6ee493d8ea
fix notifications sometimes not rendering ( #1905 )
...
* fix notifications sometimes not rendering
* fix empty timeline fragment as well
* add link to github issue as explanation
2020-08-21 18:51:05 +02:00
Karol Kosek
a010687709
SettingsConstants: fix home tab filters ( #1906 )
...
Showing repeats was swapped with showing replies.
2020-08-21 09:15:53 +02:00
Levi Bard
d8d4b947ed
Fix opening public filter list from account preferences ( #1904 )
2020-08-20 18:08:04 +02:00
Konrad Pozniak
15df5c4df7
add icon for tabs preference ( #1892 )
2020-08-17 21:21:03 +02:00
Konrad Pozniak
a653c92e63
Fix crash in ViewVideoFragment ( #1894 )
2020-08-17 21:20:46 +02:00
Konrad Pozniak
dd3d372b80
add setting to hide top toolbar
2020-08-16 10:01:51 +02:00
David Teresi
c94d793bff
Allow newlines in image descriptions
2020-08-14 16:42:18 -04:00
Konrad Pozniak
e2f3c74774
Fix cards in timelines/confirm boost preferences ( #1878 )
2020-08-08 10:03:07 +02:00
Ivan Kupalov
8b243a7f05
Fix crash in ViewImageFragment, fix #1876 ( #1877 )
...
It was not checked whether captionSheet is present.
2020-08-04 21:57:12 +02:00
Ivan Kupalov
ed2918da2e
Description improvements ( #1846 )
...
* Increase character limit for media descriptions to 1500
It was increased in Mastodon 3.0.0 which was released in October 2019.
* Improve image description view
Since media descriptions can be longer now, we need to adjust the UI.
It is a common problem that description takes up the whole screen, it's
hard for readers and also discourages people from adding descriptions.
This commit uses bottom sheet to hide most of the description. Since we
know how much screen space it will cover, we can use darker background
which makes reading text easier.
* Adjust description handle
* Fix unable to dismiss image caption
2020-08-01 21:48:51 +02:00
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