Commit Graph

307 Commits

Author SHA1 Message Date
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 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
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
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 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 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 06bd1c4b76 Patch to compile 2020-05-22 21:57:35 +03:00
kyori19 0408452a3d Add "account" filter context (#1776) 2020-05-22 20:49:29 +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
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
Alibek Omarov f2b5b0d646 Cherry-picked 2cf1e366. 2020-05-03 04:05:38 +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
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 3bcbc97bab compose: implement BBcode and HTML sending 2020-04-12 20:13:09 +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 f4b696cc4d emoji_reactions: implement for notifications fragment 2020-04-10 02:13:33 +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 c2ded20df8 emoji_reactions: implement adding and removing on existing reactions(LOW PERFORMANCE) 2020-03-06 22:33:25 +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
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 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
Alibek Omarov 2fc5f876bc Hide muted users' statuses in timelines on client side, because we're getting full timeline now(to support muted conversations) 2020-02-20 05:03:28 +03:00
Alibek Omarov 63a751768a Merge upstream 2020-02-19 04:54:30 +03:00
Levi Bard 04275b4073
[Tusky10] Fix recollapsing expanded sensitive content in the thread view (#1689) 2020-02-14 19:04:14 +01:00
Alibek Omarov db4670a703 Support emoji reaction notification 2020-02-03 18:36:45 +03:00
Alibek Omarov 8e4e104a18 Enable muting for all timelines, except where it's useless 2020-02-03 14:30:25 +03:00
Alibek Omarov d58a80f498 Correctly handle invalid conversation ID 2020-02-03 13:33:52 +03:00
Alibek Omarov 058e7d46f9 Merge upstream, update color scheme 2020-02-03 12:50:52 +03:00
Konrad Pozniak 8767d2ed3d
Theme refactoring (#1656)
* Theme refactoring

* disable the automatic tinting of surfaces with elevation in dark mode

* make the media warning visible again with the dark theme

* fix nav bar on api 27+

* use correct color for all media warnings
2020-01-30 21:37:28 +01:00
Alibek Omarov af37f83ccd Merge remote-tracking branch 'origin2/develop' into develop 2020-01-29 22:42:40 +03:00
Konrad Pozniak 27d464351b
fix reveal button not updating in ViewThreadActivity (#1652) 2020-01-29 19:16:12 +01:00
Alibek Omarov 0ab3e66d0f Implement muting whole conversation by it's ID, add button to hide muted status again 2020-01-26 19:31:51 +03:00
Alibek Omarov 8cb743efaa Implement muting/unmuting conversations, fix possible appearing of muted users in notifications 2020-01-26 16:13:22 +03:00
Alibek Omarov ff361c1743 Merge with upstream 2020-01-20 13:56:18 +03:00
Alibek Omarov 3468cc654e NotificationsAdapter: show muted threads as muted 2020-01-17 19:44:09 +03:00
Vivianne a7c1345085 Small changes to the media player (#1572)
* Resolving some issues with media playback.

* Changing ViewVideoFragment so that it fully handles autohiding the
  media controller, allowing consistency between it and the toolbar

* Fixed an issue where the toolbar and description were not fading in

* Do not hide the toolbar/media player if the video is loading or paused

* Created "ExposedPlayPausedVideoView" to allow hooking play/pause

* Fix back button when viewing videos

* Back button did not work if video controls were visible.

* Tweak audio player

* Always show the controls when audio begins playing

* Do not auto-hide the controls if the player is playing audio

* Address PR comments

* Use overloaded constructor
* Remove m prefix

* Fix subtle media player issues

* Fix audio player incorrectly auto-hiding after hiding/showing toolbar

* Only subscribe touch listener once content is ready
  - Prevents top toolbar visibility from getting out of phase with audio player visibility if hidden during load
2020-01-16 19:01:02 +01:00
Alibek Omarov 6e60f89f48 MastodonApi: set withMuted to true everywhere for a while 2020-01-16 18:15:11 +03:00
Alibek Omarov e2ad0f541f Merge remote-tracking branch 'origin2/develop' into develop 2020-01-16 11:58:27 +03:00