Commit Graph

1100 Commits

Author SHA1 Message Date
Alibek Omarov 8b1a059abb Fix NPE 2020-02-03 22:34:28 +06:00
Alibek Omarov a109089f7b Support emoji reaction notification 2020-02-03 18:36:45 +03:00
Alibek Omarov 542aea22b3 Enable muting for all timelines, except where it's useless 2020-02-03 14:30:25 +03:00
Alibek Omarov e8f945fbcb Correctly handle invalid conversation ID 2020-02-03 13:33:52 +03:00
Alibek Omarov 96e0c39f90 Merge upstream, update color scheme 2020-02-03 12:50:52 +03:00
Konrad Pozniak eeb768eb1c 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
Konrad Pozniak 776e995e73 fix overlapping icons in ComposeActivity (#1661) 2020-01-30 21:17:37 +01:00
Alibek Omarov 02ffb08b7c Merge remote-tracking branch 'origin2/develop' into develop 2020-01-29 22:42:40 +03:00
Mélanie Chauvel (ariasuni) 4907a051ab Refresh DM column when removing toot there instead of removing conversation (#1654) 2020-01-29 19:25:55 +01:00
Konrad Pozniak 16fab51c92 fix FragmentAdapter returning null fragments when activity was recreated (#1647)
* fix FragmentAdapter returning null fragments when activity was recreated

* remove unused import

* make activity in CustomFragmentStateAdapter private
2020-01-29 19:17:11 +01:00
Konrad Pozniak 08c979ca23 fix reveal button not updating in ViewThreadActivity (#1652) 2020-01-29 19:16:12 +01:00
Konrad Pozniak 523349e108 fix crash when closing ComposeActivity (#1651) 2020-01-29 19:15:53 +01:00
Alibek Omarov 5bf75b46a0 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 b76d3c3979 Implement muting/unmuting conversations, fix possible appearing of muted users in notifications 2020-01-26 16:13:22 +03:00
Alibek Omarov 565f7f5788 Merge with upstream 2020-01-20 13:56:18 +03:00
Alibek Omarov 216f0d3e2b MainActivity: increase velocity threshold for viewPager 2020-01-20 13:48:32 +03:00
Ivan Kupalov 584fc54410 Enable zooming and panning in the CaptionDialog (#1643) 2020-01-18 12:12:37 +01:00
Alibek Omarov 4098cd3a2c NotificationsAdapter: show muted threads as muted 2020-01-17 19:44:09 +03:00
Alibek Omarov f40ac42c08 Status: add isMuted parameter 2020-01-17 19:05:45 +03:00
Ivan Kupalov 701e1dafe3 Fix setting text to CW button in fav/reblog notification. Fix #1641 (#1642)
This is a regression from e1e9268ef5
2020-01-16 19:08:19 +01:00
Levi Bard bd66a9e6ae Add support for sharing audio attachments (#1629) 2020-01-16 19:06:13 +01:00
Levi Bard 6c592b6723 Add support for uploading audio attachments (#1630)
* Add support for audio attachments.
Partially addresses #1337

* Register Tusky as a target for audio sharing

* Use icon with textColorTertiary for audio preview
2020-01-16 19:05:52 +01:00
Vivianne 46b997a642 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 9796da7513 MastodonApi: set withMuted to true everywhere for a while 2020-01-16 18:15:11 +03:00
Alibek Omarov b408d33428 MastodonApi: add with_muted field on every timeline 2020-01-16 18:14:41 +03:00
Alibek Omarov 43a21d0a3a NotificationHelper: don't send notification if it's from muted thread 2020-01-16 18:13:38 +03:00
Alibek Omarov 3fe33b0435 Status: add thread_muted field 2020-01-16 18:13:10 +03:00
Alibek Omarov b46037b546 ComposeActivity: add warning for too big files 2020-01-16 16:51:55 +03:00
Alibek Omarov 919c24571d ComposeActivity: use nodeinfo data for determining upload limits and markdown support 2020-01-16 16:44:32 +03:00
Alibek Omarov b4dbee0acd NodeInfo: implement nodeinfo fetching 2020-01-16 16:43:54 +03:00
Alibek Omarov 2e7913df23 Merge remote-tracking branch 'origin2/develop' into develop 2020-01-16 11:58:27 +03:00
Konrad Pozniak fc86a37bb2 fix notification refresh (#1638) 2020-01-14 21:58:35 +01:00
Alibek Omarov 71d8393098 Merge with upstream 2020-01-14 17:07:21 +03:00
Konrad Pozniak 39915442aa migrate ReportPagerAdapter to ViewPager2 (#1635) 2020-01-13 21:15:22 +01:00
Konrad Pozniak 31b29047c7 fix crash in NotificationAdapter when status is null (#1634) 2020-01-13 21:12:33 +01:00
kyori19 cafd5a3a64 Fix emoji sorting (#1633) 2020-01-13 15:22:45 +01:00
Ivan Kupalov e60a9b19e9 Add space before emojo code in editor when needed, fix #1616 (#1632) 2020-01-13 15:21:40 +01:00
Levi Bard 91bf35f627 Compose activity: When selection is nonempty and a "special character" button is pressed, decorate all selected word starts (#1523)
* ComposeActivity: When selection is nonempty and a "special character" button is pressed, decorate all selected word starts
Closes #1417

* ComposeActivity: Tests for word break prepend logic
2020-01-13 15:21:17 +01:00
Levi Bard a811ae0c83 Don't drop content warning when replying (#1631) 2020-01-13 15:18:55 +01:00
Konrad Pozniak 74ee19716f Fix search bugs (#1624)
* fix toggling media visibility

* cleanup search code to make it more readable

* remove redundant OnQueryTextListener

this is the default behavior

* fix bookmarking

* fix status interaction causing unnecessary network requests
2020-01-13 13:57:44 +01:00
Alibek Omarov ff89f698c8 ProgressTextView: fix circle drawing 2020-01-11 13:07:21 +03:00
Alibek Omarov b7db21d8d4 ProgressView: remove dead code 2020-01-11 12:41:44 +03:00
Alibek Omarov 24c0c8f656 Notification: ignore seen notifications 2020-01-11 11:21:42 +03:00
Alibek Omarov 34ddf62a18 AccountActivity: don't show moderator badge if user already admin 2020-01-11 10:24:45 +03:00
Alibek Omarov f6a9c51b86 AccountActivity: implement subscribing 2020-01-11 10:10:22 +03:00
Alibek Omarov d82ca3df9b MastodonApi: add support for subscribing endpoints and subscribing status field 2020-01-11 10:09:57 +03:00
Alibek Omarov 752e14fb8c AccountActivity: show admin/moderator badge 2020-01-11 08:39:40 +03:00
Alibek Omarov d447b683cc ComposeActivity: restore ability to upload any type of file 2020-01-11 07:47:11 +03:00
Alibek Omarov 3e5e4329de Merge with upstream 2020-01-09 02:06:12 +03:00
Alibek Omarov 703d423f82 ComposeActivity: fix crash 2020-01-09 01:56:39 +03:00