Commit Graph

954 Commits

Author SHA1 Message Date
Konrad Pozniak fd135faa8f fix error and content overlapping in NotificationsFragment (#1465) 2019-09-03 18:34:00 +02:00
Konrad Pozniak 2bf1765b86 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 6dd177bc50 fix poll validation (#1459) 2019-08-27 20:27:38 +02:00
Konrad Pozniak 50b9cdf117 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
Ivan Kupalov 01646fd8bf Load sensitive media previews only when shown (#1439) 2019-08-17 21:37:26 +02:00
Ivan Kupalov 3c7010e671 Fix image viewer & transitions (#1448) 2019-08-17 20:05:24 +02:00
Konrad Pozniak 9139059bb4 enable reporting users without statuses (#1445) 2019-08-17 09:08:58 +02:00
Konrad Pozniak 09dd2afff0 fix CalledFromWrongThreadException in ComposeActivity (#1447) 2019-08-10 21:11:45 +02:00
Ivan Kupalov dbaab6e612 Fix search bugs, fix #1403 (#1440) 2019-08-04 20:32:44 +02:00
Levi Bard 0454601ed6 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
Ivan Kupalov b5e3a482a7 Use cached preview as thumbnail in ViewImageFragment, fix #1267 (#1344)
* Use cached preview as thumbnail in ViewImageFragment, fix #1267

* Use cached preview as thumbnail in ViewImageFragment, fix #1267
2019-08-04 20:22:57 +02:00
Konrad Pozniak 46c92cdfe6 fix avatar radius and alignment in NotificationsAdapter (#1437) 2019-08-01 20:47:15 +02:00
Konrad Pozniak 2860133fd7 fix size of visibility icon on detailed toot page (#1428) 2019-07-31 19:07:01 +02:00
Konrad Pozniak 68376b4440 upgrade dagger (#1424) 2019-07-28 20:00:19 +02:00
Konrad Pozniak 9885065f02 add option to always expand content warnings (#1422) 2019-07-28 19:59:52 +02:00
Konrad Pozniak 923bd32aea cleanup code in StatusViewHolders (#1418)
* cleanup code in status ViewHolder

* add check for reblogButton back in
2019-07-27 21:53:28 +02:00
Konrad Pozniak e4896d317e fix timestamp not updating in notifications (#1416) 2019-07-27 21:52:00 +02:00
Konrad Pozniak 7d9edf1b33 fix crash in FiltersActivity (#1409) 2019-07-25 12:17:52 +02:00
Konrad Pozniak 802d07cc1c fix notifications opening the wrong account (#1408) 2019-07-25 12:17:30 +02:00
Konrad Pozniak bbe77f5345 fix the "always mark media as sensitive" setting not being respected (#1407) 2019-07-25 12:17:07 +02:00
Konrad Pozniak 78b7a35858 show custom emojis in account field names (#1406) 2019-07-25 12:16:42 +02:00
Konrad Pozniak 590cfbbcd2 fix mentions outside of content warnings not being clickable (#1405) 2019-07-25 12:16:19 +02:00
Konrad Pozniak 43cf0e0ec8 fix shouldTrimStatus and add tests (#1404) 2019-07-25 12:15:54 +02:00
Ivan Kupalov f5bc6c6fc8 Fix crash on empty status messages (#1402) 2019-07-20 11:37:28 +02:00
HellPie 4ec0c182f7 Transfer SmartLengthInputFilter license to Tusky (#1384)
* Transfer SmartLengthInputFilter in-header license

Transfer license for file "SmartLengthInputFilter.java" from me (Diego Rossi) to Tusky and therefore also change it from the original Apache 2.0 to currently GPLv3. This was a mistake that has been sitting around for way too long.

* Rewrite SmartLengthInputFilter from Java to Kotlin

This has been done by hand, without the custom copy-paste tool.

* Fix bad references in Java files using SmartLengthInputFilter features

* Shorten code in Java classes referencing SmartLengthInputFilter instance

* Refactor SmartLengthInputFilter from class to singleton Kotlin object

* Move hasBadRatio to become a toplevel function

* Patch up all the files affected by SmartLengthInputFilter changes

* Length in SmartLengthInputFilter is const 500, simplify code accordingly

* More meaningful name for toplevel function for checking trimming ability

* Add missing license header
2019-07-19 20:47:30 +02:00
pandasoft0 246956bee1 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 659781eea4 fix avatars and display names in AccountsInListFragment (#1392)
* fix avatars and display names in AccountsInListFragment

* correctly emojify display names
2019-07-16 20:19:57 +02:00
Konrad Pozniak 39e7bf56f1 update timestamps on pull-to-refresh even when no new statuses are fetched (#1393) 2019-07-16 19:51:44 +02:00
Konrad Pozniak b72fbc6d4c upgrade dependencies (#1389) 2019-07-16 19:36:04 +02:00
Konrad Pozniak 95de73e873 fix glide crash in MainActivity (again) (#1394) 2019-07-16 19:27:26 +02:00
Konrad Pozniak e1c74dd8ca fix some lint warnings and Kotlin style issues (#1390) 2019-07-16 19:26:55 +02:00
Konrad Pozniak dd895202bf make avatar images in drawer rounded squares (#1388) 2019-07-16 19:26:41 +02:00
Konrad Pozniak 91102ccb43 fix Glide crash in MainActivity (#1379)
* fix Glide crash in MainActivity

* make emojiInitCallback final
2019-07-10 21:10:07 +02:00
Konrad Pozniak 3d5fef60ed fix card view outline being off a few pixels (#1375) 2019-07-10 06:53:21 +02:00
Konrad Pozniak cec2fe6b68 fix mute action not being correctly displayed (#1376) 2019-07-10 06:52:51 +02:00
Konrad Pozniak 0581b51999 fix timeline reloading and favs/boosts/polls showing up at wrong pos (#1374) 2019-07-10 06:52:13 +02:00
Levi Bard 934d313cb3 Apply conversation filters to threads. Addresses #1349 (#1351)
* Apply conversation filters to threads. Addresses #1349

* Cache filters for app lifetime, unless filters are modified locally

* Flush cached filters when changing accounts
2019-07-08 12:57:53 +02:00
Levi Bard c4f648308c Fix respecting bot overlay preference in detailed status view. (#1368)
Closes #1364
2019-07-07 14:41:07 +02:00
Konrad Pozniak 59a464e5ae fix crash caused by broken mention (#1360) 2019-07-02 10:55:02 +02:00
Konrad Pozniak e41fa3b84c fix LoginActivity created twice on unauthenticated appstart (#1352)
* fix LoginActivity created twice on unauthenticated appstart

* make SplashActivity not inherit from BaseActivity
2019-06-29 11:39:50 +02:00
Konrad Pozniak cc2b4ee79a fix build warnings (#1331) 2019-06-24 22:15:31 +02:00
Konrad Pozniak 713d53e53b fix vanishing toots bug when refreshing (#1343) 2019-06-24 21:43:14 +02:00
Konrad Pozniak 5b93aa4cc5 fix image transition from timeline to ViewMediaActivity (#1348) 2019-06-24 20:52:38 +02:00
Levi Bard a5289861ed Add @ and # helper buttons to compose activity (#1277)
Addresses #810
2019-06-24 10:33:05 +02:00
Levi Bard 3adc14d95f Add the 'whole word' setting to the filter preferences UI (#1278) 2019-06-24 10:11:25 +02:00
Konrad Pozniak 6a0d7014f5 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
Ivan Kupalov cacac782ca Show media descriptions in timeline when previews are disabled. (#1284) 2019-06-22 20:38:53 +02:00
Konrad Pozniak c746ed0833 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 5efc0c68af remove boosted status when the original author was blocked or muted (#1335) 2019-06-22 08:05:24 +02:00
Konrad Pozniak 9094a6d438 update Room to 2.1.0 (#1323) 2019-06-17 13:43:11 +02:00