Ivan Kupalov
ed646a8b02
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-15 17:08:36 +03:00
Levi Bard
bac8f93a26
Fix preview cards for uncollapsible statuses ( #1826 )
2020-06-15 17:08:24 +03:00
Ivan Kupalov
3663e263d4
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-15 17:08:12 +03:00
Ivan Kupalov
7df234ceaa
Fix loading more than one page of favs/bookmarks, fix #1824 ( #1825 )
2020-06-15 16:40:00 +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
Alibek Omarov
ae58f59792
NotificationsFragment: always show appbar, even if there is no notifications
...
Thus, if user accidentally will filter everything, they will be able to return to initial state.
2020-05-28 01:12:29 +03:00
Alibek Omarov
d542fc3d27
MediaUploader: fix stupid bug that made all pictures to be resized
2020-05-24 02:42:46 +03:00
Alibek Omarov
03ce58c5c2
NodeInfo: replace Int by Long in upload limits, add test cases
2020-05-23 14:57:14 +03:00
Alibek Omarov
06bd1c4b76
Patch to compile
2020-05-22 21:57:35 +03:00
Konrad Pozniak
ba0cdfb770
fix confirmReblogs default values ( #1777 )
2020-05-22 20:50:32 +03:00
Konrad Pozniak
abebf39729
Fix RxJava UndeliverableException crashes ( #1778 )
2020-05-22 20:49:56 +03:00
kyori19
0408452a3d
Add "account" filter context ( #1776 )
2020-05-22 20:49:29 +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
Konrad Pozniak
83600ee92d
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-22 20:14:53 +03:00
Levi Bard
59d36fcbc9
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-22 20:09:24 +03:00
kyori19
737600480b
Fix large media uploading ( #1800 )
2020-05-22 20:08:24 +03:00
Alibek Omarov
3a1e874ba5
Sticker: sort by title
2020-05-20 20:36:52 +03:00
Alibek Omarov
548d0954fb
CustomEmojis: make emojis smaller in several another places
2020-05-20 17:59:50 +03:00
Alibek Omarov
c90f9650ab
CustomEmojiHelper: rewrite to Kotlin
2020-05-20 17:51:36 +03:00
Alibek Omarov
f8306ee0bb
search: fix reacting with emojis
2020-05-20 17:28:54 +03:00
Alibek Omarov
81d57fe57d
ComposeViewModel: add Markdown/HTML support for glitch-soc(untested), fix file size limits for Pixelfed
2020-05-20 16:21:50 +03:00
Alibek Omarov
bdcb67730f
ComposeActivity: fix broken polls on Pleroma
2020-05-13 20:14:35 +03:00
Alibek Omarov
bbbf3bf55d
Stickers: add PleromaFE stickers support, enabled in settings
2020-05-13 02:59:20 +03:00
Alibek Omarov
f13c6bedcb
CustomEmojis: make emojis small when it's appropriate for UX
2020-05-11 22:19:34 +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
a1batross
6c9f819431
Fix test and lint
2020-05-03 12:42:57 +02:00
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