Commit Graph

1233 Commits

Author SHA1 Message Date
Alibek Omarov 1e26196e9e ViewImageFragment: finalize transition to BigImageViewer. Now it should correctly handle EXIF rotation, do not stuck at transition and pick preview image if it's in cache but full image isn't 2020-07-26 03:12:25 +03:00
Konrad Pozniak 08780eade8 remove scrolling from notification options bar (#1858) 2020-07-25 23:25:31 +03:00
Mélanie Chauvel 9d2da9e79e 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-25 23:25:31 +03:00
Alibek Omarov 9c29cf1640 ViewImageFragment: replace TouchImageView by BigImageView based on SSIV and with proper GIF support 2020-06-30 19:22:52 +03:00
Alibek Omarov 3c1b82056c entity: Instance: fix optional pleroma field type 2020-06-25 18:57:47 +03:00
Alibek Omarov 3e9c568e76 ViewMediaActivity: add a button to open media file in external application just in case built-in fails 2020-06-25 18:33:35 +03:00
Alibek Omarov c062e9c180 SearchStatusesFragment: fix reply to 2020-06-25 17:58:44 +03:00
Alibek Omarov 78352944c1 StatusFragment: delete delete and redraft 2020-06-25 17:42:17 +03:00
Alibek Omarov 6ff14af290 ViewThreadActivity: move Open in web menu option to status threedots menu 2020-06-25 17:38:08 +03:00
Konrad Pozniak 9680bbf82b correctly update the menu when muting domains (#1848) 2020-06-25 16:46:51 +03:00
Ivan Kupalov 762be59036 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-25 16:42:56 +03:00
Alibek Omarov b3259fcfd9 ComposeActivity: finalize preview feature, fix preview bar appearing on media change, add proper icon, fix minor bugs 2020-06-25 16:40:18 +03:00
Alibek Omarov 467bfefde6 ComposeActivity: preview ability for Pleroma, WIP 2020-06-23 18:18:41 +03:00
Konrad Pozniak a38acd34a5 fix MainActivity title when coming from a notification (#1844) 2020-06-23 12:47:22 +03:00
Konrad Pozniak 426db0ca88 speedup blurhash decoding by using a intermediate int array (#1835) 2020-06-23 12:47:06 +03:00
Konrad Pozniak fe6f34fd9f don't create a CW when sharing text to Tusky (#1836) 2020-06-23 12:46:57 +03:00
Konrad Pozniak 2e40fe0055 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-23 12:46:43 +03:00
Alibek Omarov 4e9c5254ed app: patch to compile 2020-06-16 14:55:55 +03:00
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