Commit Graph

1252 Commits

Author SHA1 Message Date
Alibek Omarov 3cb9232de6 db: AccountEntity: enable follow_requests by default 2020-10-01 20:10:10 +03:00
Alibek Omarov f2d6e09d62 Merge chats_wip 2020-09-29 21:05:20 +03:00
Alibek Omarov 600178df0d chats: fix stickers and emojis 2020-09-29 21:04:19 +03:00
Alibek Omarov 23f714ff23 chats: fix media upload, fix back button 2020-09-29 20:36:28 +03:00
Alibek Omarov 70c8012286 chats: add media, stickers, emojis (wip) 2020-09-22 20:31:31 +03:00
Alibek Omarov 31bb5daea1 chats: implement sending messages, prototype 2020-09-17 01:28:25 +03:00
Alibek Omarov d16e96bcf2 chats: disable pagination for chat listing, another finalization of chat bubble design 2020-09-13 23:49:45 +03:00
Alibek Omarov 8dc15880b0 chats: chat message adapter, partially implement activity 2020-08-24 20:20:02 +03:00
Alibek Omarov 26f365ebc8 chats: base chat UI 2020-08-24 01:30:41 +03:00
a1batross ea8511d0da Revert "chats: add viewdata"
This reverts commit fd43786e23.
2020-08-18 01:58:48 +02:00
a1batross a4823270f8 Rename Husky in generated file names to Tusky to prevent harassment towards Husky users 2020-08-18 01:58:48 +02:00
Alibek Omarov e169c89aea chats: finished chat listing 2020-08-17 19:41:38 +03:00
Konrad Pozniak 8ddd0f06b4 Fix cards in timelines/confirm boost preferences (#1878) 2020-08-09 17:13:43 +03:00
Ivan Kupalov 0be0f1236b Fix crash in ViewImageFragment, fix #1876 (#1877)
It was not checked whether captionSheet is present.
2020-08-09 17:13:43 +03:00
Alibek Omarov fd43786e23 chats: add viewdata 2020-08-04 20:21:23 +03:00
Ivan Kupalov 44ed189b3c Description improvements (#1846)
* Increase character limit for media descriptions to 1500

It was increased in Mastodon 3.0.0 which was released in October 2019.

* Improve image description view

Since media descriptions can be longer now, we need to adjust the UI.
It is a common problem that description takes up the whole screen, it's
hard for readers and also discourages people from adding descriptions.

This commit uses bottom sheet to hide most of the description. Since we
know how much screen space it will cover, we can use darker background
which makes reading text easier.

* Adjust description handle

* Fix unable to dismiss image caption
2020-08-04 00:17:02 +03:00
Konrad Pozniak 3719705ca3 upgrade SwipeRefreshLayout to 1.1.0 (#1866) 2020-07-28 17:45:06 +03:00
Alibek Omarov 05d54b66de chats: add Chat and ChatMessage entities, add Pleroma API calls 2020-07-26 22:21:54 +03:00
Alibek Omarov 32d2c762ad ViewImageFragment: upgrade BigImageView to 1.6.6, enable swiping for all kinds of embedded views 2020-07-26 16:06:21 +03:00
Alibek Omarov c332a6893a 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:38:24 +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