Tusky-App-Android/app/src/main/java/com/keylesspalace/tusky
Ivan Kupalov 4736462911 Fix sending wrong requests for autocompletion (#414)
The problem was that Tusky kept sending requests for autocompletion
while writing toots even when the user wasn't typing a username
anymore. As it happened very often we would exceed the API request
limit and user wouldn't be able to send the toot.

This happened because Tokenizer is not used as expected. In fact,
during testing, findTokenEnd() and terminateToken() were never called.
I've tried setting a Validator but it wasn't used either. I'm not
sure what is the reason.

I am afraid it still may work incorrectly for the full nicknames
(ones with the instance name, like @name@isntance) because
the search may happen for the instance name but it's not as
critical.
2017-10-24 23:02:38 +02:00
..
adapter Fix deprecated BitmapDrawable constructor (#413) 2017-10-24 22:57:44 +02:00
db fixes a crash within TootDao that is caused by an change in the room library 2017-10-23 21:52:46 +02:00
entity remove Tusky API (was needed for push notifications) 2017-10-20 09:06:50 +02:00
fragment create notification channels ahead of time so users can edit the settings before a notification was issued 2017-10-21 21:28:05 +02:00
interfaces cleanup code, remove some unneeded files 2017-10-18 00:20:50 +02:00
json remove old emoji shortcodes 2017-10-19 15:54:08 +02:00
network remove Tusky API (was needed for push notifications) 2017-10-20 09:06:50 +02:00
pager cleanup code, remove some unneeded files 2017-10-18 00:20:50 +02:00
receiver Broadcasts now cause a refresh on timelines after a post is composed instead of listeners. 2017-06-06 18:20:55 -04:00
service remove old emoji shortcodes 2017-10-19 15:54:08 +02:00
util Fix sending wrong requests for autocompletion (#414) 2017-10-24 23:02:38 +02:00
view cleanup code, remove some unneeded files 2017-10-18 00:20:50 +02:00
viewdata Load custom emoji in statuses (#400) 2017-10-19 15:25:04 +02:00
AboutActivity.java cleanup code, remove some unneeded files 2017-10-18 00:20:50 +02:00
AccountActivity.java rounded corners for avatar placeholder 2017-08-11 22:41:29 +02:00
AccountListActivity.java cleanup code, remove some unneeded files 2017-10-18 00:20:50 +02:00
BaseActivity.java remove Tusky API (was needed for push notifications) 2017-10-20 09:06:50 +02:00
ComposeActivity.java should fix a problem with autocomplete and some keyboards 2017-10-23 22:55:43 +02:00
EditProfileActivity.java cleanup code, remove some unneeded files 2017-10-18 00:20:50 +02:00
FavouritesActivity.java cleanup code, remove some unneeded files 2017-10-18 00:20:50 +02:00
LoginActivity.java create notification channels ahead of time so users can edit the settings before a notification was issued 2017-10-21 21:28:05 +02:00
MainActivity.java cleanup code, remove some unneeded files 2017-10-18 00:20:50 +02:00
PreferencesActivity.java implement notification channels, use system notification settings on android Oreo 2017-10-18 22:18:07 +02:00
ReportActivity.java cleanup code, remove some unneeded files 2017-10-18 00:20:50 +02:00
SavedTootActivity.java cleanup code, remove some unneeded files 2017-10-18 00:20:50 +02:00
SearchActivity.java cleanup code, remove some unneeded files 2017-10-18 00:20:50 +02:00
SplashActivity.java Adds a splash screen replacement. 2017-05-09 22:36:05 -04:00
TuskyApplication.java fixes a crash within TootDao that is caused by an change in the room library 2017-10-23 21:52:46 +02:00
ViewMediaActivity.java cleanup code, remove some unneeded files 2017-10-18 00:20:50 +02:00
ViewTagActivity.java cleanup code, remove some unneeded files 2017-10-18 00:20:50 +02:00
ViewThreadActivity.java cleanup code, remove some unneeded files 2017-10-18 00:20:50 +02:00
ViewVideoActivity.java cleanup code, remove some unneeded files 2017-10-18 00:20:50 +02:00