Commit graph

973 commits

Author SHA1 Message Date
Konrad Pozniak
a9440ea2ab
filter polls (#1496) 2019-09-24 20:33:29 +02:00
Konrad Pozniak
ca3ce63c80
fix content warning edittext not losing focus when its hidden (#1498) 2019-09-24 20:33:05 +02:00
Konrad Pozniak
0d465d3bee
remove duplicate request when timeline is empty (#1491) 2019-09-23 17:09:13 +02:00
Konrad Pozniak
b79e86cacd fix build error 2019-09-22 09:49:26 +02:00
Konrad Pozniak
546cb4bacc
upgrade autodispose (#1490)
* upgrade autodispose

* set AutoDisposePlugins.setHideProxies to false
2019-09-22 08:19:44 +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
fd1fcf3b97
upgrade glide (#1489) 2019-09-21 21:35:51 +02:00
Konrad Pozniak
de4473b2b3
use singletonList in getChangePayload (#1486) 2019-09-17 18:44:33 +02:00
Konrad Pozniak
29ea05a0e5
Fix crash when status date is null (#1480)
* Fix crash when status date is null

* Fix crash when status date is null
2019-09-15 09:10:07 +02:00
Konrad Pozniak
c04c51ce41
fix crash because of null visibility (#1478)
* fix crash because of null visibility

* fix crash because of null visibility
2019-09-12 20:03:07 +02:00
Konrad Pozniak
9b8b036974
Fix statuses in search not openening details (#1479) 2019-09-12 20:02:30 +02:00
Konrad Pozniak
871e720ae5
fix audio attachments not opening in some cases (#1473) 2019-09-08 19:35:43 +02:00
Ivan Kupalov
60383e112a Notify thread adapter when sensitive media is shown (#1472) 2019-09-08 10:30:59 +02:00
Conny Duck
98f2cd0789 show edit button on own profile again
closes #1471
2019-09-07 16:34:17 +02:00
Conny Duck
0e2a786b61 fix regression with weird status expand animation 2019-09-07 16:22:56 +02:00
Conny Duck
653d77bab2 fix crash in StatusBaseViewHolder 2019-09-07 13:14:16 +02:00
Konrad Pozniak
d83e7c4c70
only show Progress Dialog if necessary when sending toot (#1470) 2019-09-06 21:40:11 +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
04da5f40c7
fix error and content overlapping in NotificationsFragment (#1465) 2019-09-03 18:34:00 +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
44163d8720
fix poll validation (#1459) 2019-08-27 20:27:38 +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
Ivan Kupalov
444df322a7 Load sensitive media previews only when shown (#1439) 2019-08-17 21:37:26 +02:00
Ivan Kupalov
a3fa0647b6 Fix image viewer & transitions (#1448) 2019-08-17 20:05:24 +02:00
Konrad Pozniak
d13a341a35
enable reporting users without statuses (#1445) 2019-08-17 09:08:58 +02:00
Konrad Pozniak
1a6f8d5b24
fix CalledFromWrongThreadException in ComposeActivity (#1447) 2019-08-10 21:11:45 +02:00
Ivan Kupalov
0b29b0330b Fix search bugs, fix #1403 (#1440) 2019-08-04 20:32:44 +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
Ivan Kupalov
9805a985b2 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
70b3ce7487
fix avatar radius and alignment in NotificationsAdapter (#1437) 2019-08-01 20:47:15 +02:00
Konrad Pozniak
507cb81d6a
fix size of visibility icon on detailed toot page (#1428) 2019-07-31 19:07:01 +02:00
Konrad Pozniak
941cdf198a
upgrade dagger (#1424) 2019-07-28 20:00:19 +02:00
Konrad Pozniak
8834c22120
add option to always expand content warnings (#1422) 2019-07-28 19:59:52 +02:00
Konrad Pozniak
588775ff9b
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
57edf86495
fix timestamp not updating in notifications (#1416) 2019-07-27 21:52:00 +02:00
Konrad Pozniak
ce84233c4e
fix crash in FiltersActivity (#1409) 2019-07-25 12:17:52 +02:00
Konrad Pozniak
51da2a15e8
fix notifications opening the wrong account (#1408) 2019-07-25 12:17:30 +02:00
Konrad Pozniak
fbd04cbe7b
fix the "always mark media as sensitive" setting not being respected (#1407) 2019-07-25 12:17:07 +02:00
Konrad Pozniak
7ae07111af
show custom emojis in account field names (#1406) 2019-07-25 12:16:42 +02:00
Konrad Pozniak
b15b4fcf83
fix mentions outside of content warnings not being clickable (#1405) 2019-07-25 12:16:19 +02:00
Konrad Pozniak
f975522e63
fix shouldTrimStatus and add tests (#1404) 2019-07-25 12:15:54 +02:00
Ivan Kupalov
a23fdc60a7 Fix crash on empty status messages (#1402) 2019-07-20 11:37:28 +02:00
HellPie
87285ae5bf 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
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
e8ecdb88cf
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
b1c2fcc157
update timestamps on pull-to-refresh even when no new statuses are fetched (#1393) 2019-07-16 19:51:44 +02:00
Konrad Pozniak
d932912616
upgrade dependencies (#1389) 2019-07-16 19:36:04 +02:00
Konrad Pozniak
16bb011f6a
fix glide crash in MainActivity (again) (#1394) 2019-07-16 19:27:26 +02:00
Konrad Pozniak
83f9638aaf
fix some lint warnings and Kotlin style issues (#1390) 2019-07-16 19:26:55 +02:00