Commit Graph

120 Commits

Author SHA1 Message Date
Alibek Omarov 3c1b82056c entity: Instance: fix optional pleroma field type 2020-06-25 18:57:47 +03:00
Konrad Pozniak 9680bbf82b correctly update the menu when muting domains (#1848) 2020-06-25 16:46:51 +03:00
Alibek Omarov 467bfefde6 ComposeActivity: preview ability for Pleroma, WIP 2020-06-23 18:18:41 +03:00
Alibek Omarov 03ce58c5c2 NodeInfo: replace Int by Long in upload limits, add test cases 2020-05-23 14:57:14 +03:00
kyori19 0408452a3d Add "account" filter context (#1776) 2020-05-22 20:49:29 +03:00
Alibek Omarov 3a1e874ba5 Sticker: sort by title 2020-05-20 20:36:52 +03:00
Alibek Omarov bbbf3bf55d Stickers: add PleromaFE stickers support, enabled in settings 2020-05-13 02:59:20 +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
Konrad Pozniak 9b2a837fea replace HtmlUtils with HtmlCompat (#1741)
* replace HtmlUtils with HtmlCompat

* fix tests
2020-05-03 04:12:08 +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 335f45d321 LinkHelper: try to fix error if account url is null 2020-05-03 02:49:31 +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 c2ded20df8 emoji_reactions: implement adding and removing on existing reactions(LOW PERFORMANCE) 2020-03-06 22:33:25 +03: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
Alibek Omarov 483aae6c74 emojireactions: fix EmojiReaction object 2020-02-19 04:18:21 +03:00
Konrad Pozniak 88b8eca16a
fix crash when Account.displayName is null (#1667) 2020-02-07 20:23:51 +01:00
Alibek Omarov 7c286c61cd emojireactions: add emoji reaction list to StatusViewData 2020-02-06 23:24:18 +03:00
Alibek Omarov 1b4f1eea0e emojireactions: add entities and api endpoints 2020-02-06 23:19:28 +03:00
Alibek Omarov db4670a703 Support emoji reaction notification 2020-02-03 18:36:45 +03: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 a6e9e85c22 Status: add isMuted parameter 2020-01-17 19:05:45 +03:00
Alibek Omarov 9645718062 Status: add thread_muted field 2020-01-16 18:13:10 +03:00
Alibek Omarov 7f9bfb5790 NodeInfo: implement nodeinfo fetching 2020-01-16 16:43:54 +03:00
Alibek Omarov 9cb80410e5 Notification: ignore seen notifications 2020-01-11 11:21:42 +03:00
Alibek Omarov 1d79902bdc MastodonApi: add support for subscribing endpoints and subscribing status field 2020-01-11 10:09:57 +03:00
Alibek Omarov ad4b559f8f AccountActivity: show admin/moderator badge 2020-01-11 08:39:40 +03:00
Alibek Omarov f5de85c39e VersionUtils: move isPleroma method from Instance 2020-01-03 23:58:12 +03:00
Alibek Omarov 678ed81626 Merge upstream develop 2020-01-03 22:55:09 +03:00
Ivan Kupalov 7623962a0d Use blurhash as image preview and as sensitive media cover, close #1571 (#1581)
* Use blurhash as image preview and as sensitive media cover, close #1571

* Fix focal point for blurhashes

* Fix video indicator overlapping sensitive media indicator

* Add a preference for blurhash

* Add blurhash to report UI.

* Introduce StatusDisplayOptions
2019-12-30 21:37:20 +01:00
Konrad Pozniak c44dd455b4
Implement identity proof api (#1597)
* implement identity proof api

* fix warnings in AccountActivity

* fix createClickableText method

* improve error handling

* use combineOptionalLiveData to simplify code
2019-12-21 18:56:16 +01:00
Alibek Omarov 774d9998f5 markdown: implement choosing markdown mode in compose activity and sending toot with it 2019-12-17 03:28:28 +03:00
Alibek Omarov 80a1d2a6ce Status: add optional content_type paramater 2019-12-17 03:28:28 +03:00
Alibek Omarov 5fa65a4b18 Instance: a way to check if we have Pleroma with Mastodon API extensions 2019-12-17 03:28:28 +03:00
Konrad Pozniak d9694df0c2
Bookmarks (#1560)
* add bookmarks to timelines

* add Bookmarks to main menu

* cleanup

* handle BookmarkEvent

* fix tests

* fix bookmark handling in NotificationsFragment

* add bookmark accessibility actions
2019-11-19 10:15:32 +01:00
Konrad Pozniak bee10bf375
Refactor theming (#1529)
* fix toolbars

* use toolbar in MainActivity

* update AccountActivity appbar

* update material design library

* remove unneeded tabs styling

* fix black theme
2019-10-12 20:00:29 +02:00
kyori19 9e4c19a47e Scheduled toot (#1004)
* Scheduled toot

* Hide scheduled toot button if version < 2.7.0

* Fix timeline reloading after toot

* Add edit icon to ComposeScheduleView

* Add button to reset scheduled toot

* Close bottom sheet and change button color after time a was selected

* Fix edit icon's size

* List of scheduled toots

* Fix instance version check

* Use MaterialDatePicker

* Set date and time consecutively

* Add licenses
2019-10-02 21:28:12 +02:00
Konrad Pozniak 54a0d5406a
Remove search v1 (#1484)
* remove search v1, convert MastodonApi to Kotlin

* format MastodonApi nicely

* use default params in ConversationRepository

* improve code for LoginActivity
2019-09-22 08:18:44 +02:00
Konrad Pozniak 344863b5d4
Add audio support for timelines (#1466)
* Add minimal audio support for timelines

* fix attachment description formatting
2019-09-05 21:07:01 +02:00
Konrad Pozniak d4f80f308d
upgrade Android gradle plugin, Kotlin and jetifier (#1468) 2019-09-03 18:35:42 +02:00
Konrad Pozniak 42a6b98d4d
use status source for delete and redraft (#1461)
* use status source for delete and redraft

* make delete & redraft work on Pleroma again

* add error handling
2019-08-28 19:54:46 +02:00
Konrad Pozniak 51c6852492
Create polls (#1452)
* add AddPollDialog

* add support for pleroma poll options

* add PollPreviewView

* add Poll support to drafts

* add license header, cleanup

* rename drawable files to correct size

* fix tests

* fix bug with Poll having wrong duration after delete&redraft

* add input validation

* grey out poll button when its disabled

* code cleanup & small improvements
2019-08-22 20:30:08 +02:00
Levi Bard ce01e6de22 Add support for instance property `max_bio_chars` (#1414)
* Migrate getInstance from Call to Single

* Add support for instance max_bio_chars.
Addresses #1329
2019-08-04 20:25:07 +02:00
pandasoft0 3b1288e99c Improve search results (#1327)
* Add entities and request for search APIv2

* Implement search adapter and fragment

* Fix issue with snackbar

* Implement search accounts fragment

* Implement generic search fragment

* Remove unneeded import

* Implement "status" actions, fix issues

* Remove SFragment dependency

* Update app/src/main/java/com/keylesspalace/tusky/components/search/fragments/SearchStatusesFragment.kt

Co-Authored-By: Konrad Pozniak <connyduck@users.noreply.github.com>

* Clean-up post review suggestions

* Make TabLayout background colour match search bar

* Corrected method call syntax

* Added SwipeRefreshLayout to SearchFragment

* Fixed refresh to update all three tabs
2019-07-19 20:10:20 +02:00
Konrad Pozniak b95ff10a3c
Unlimited number of poll options (#1340)
* implement unlimited number of poll options

* fixes

* extract percent calculation into function so it can be used anywhere

* add license header
2019-06-22 21:55:03 +02:00
Konrad Pozniak b825f42c7a
Improve link preview cards (#1330)
* improve card frame

* add placeholder for empty image

* improve layout, Pleroma compatibility, show author name as description fallback

* reset okhttp logging level

* remove unneeded statement
2019-06-22 08:05:55 +02:00
Konrad Pozniak 2b2212e951
cleanup entity classes and ViewThreadFragment (#1302)
* cleanup entity classes and ViewThreadFragment

* fix tests
2019-06-02 21:23:18 +02:00
Konrad Pozniak e735e4843e
Poll notifications (#1229)
* show poll notifications in the app

* show poll notifications in the app

* allow filtering poll notifications in the poll fragment

* show poll notifications in system notifications
2019-05-02 19:44:35 +02:00