Commit Graph

473 Commits

Author SHA1 Message Date
Conny Duck 00c5a975d6 close ViewThreadActivity if the main status got removed to avoid crashes on subsequent refreshes 2017-10-24 23:33:05 +02:00
Conny Duck b213941c5b improve custom emoji size/padding/alignment, fix jumping of text when emojis are loaded 2017-10-24 23:10:15 +02:00
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
Ivan Kupalov 3054980d74 Fix deprecated BitmapDrawable constructor (#413) 2017-10-24 22:57:44 +02:00
Ivan Kupalov 938229d7d4 Fix custom emoji size (#407)
Now custom emoji images adapt to the font size.
2017-10-23 23:04:53 +02:00
Conny Duck d9bbb1be71 should fix a problem with autocomplete and some keyboards 2017-10-23 22:55:43 +02:00
Conny Duck 87b34df892 fixes a crash within TootDao that is caused by an change in the room library 2017-10-23 21:52:46 +02:00
Conny Duck 8e44348f46 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
Conny Duck 942f26c632 remove Tusky API (was needed for push notifications) 2017-10-20 09:06:50 +02:00
Conny Duck 2666f81b96 remove old emoji shortcodes 2017-10-19 15:54:08 +02:00
Ivan Kupalov 3adef27bbb Load custom emoji in statuses (#400) 2017-10-19 15:25:04 +02:00
Conny Duck 2859a5075c completely remove firebase, mqtt and google services from build 2017-10-19 14:39:56 +02:00
Conny Duck 0789f048e6 fix typo in preference key 2017-10-18 22:18:44 +02:00
Conny Duck 30312e0e55 implement notification channels, use system notification settings on android Oreo 2017-10-18 22:18:07 +02:00
Conny Duck f2f3be37b3 cleanup code, remove some unneeded files 2017-10-18 00:20:50 +02:00
Konrad Pozniak 25a489fe03 Merge pull request #378 from torrentcome/#377
(#377) hide sensitive images after showing them
2017-10-17 09:44:31 +02:00
Konrad Pozniak 1297a35e9b Merge pull request #386 from lenchan139/master
add option: always show all sensitive content without warning
2017-10-17 09:44:19 +02:00
Conny Duck c3ffed56da fix a bug where saving a toot with attached media would crash the app 2017-10-17 09:38:36 +02:00
Konrad Pozniak 5176fc104d Merge branch 'master' into master 2017-10-16 23:31:39 +02:00
Konrad Pozniak 34918884b5 Merge pull request #391 from flyingrub/copy
Add a menu entry to copy the link of a toot
2017-10-16 23:30:36 +02:00
flyingrub 4fb9ee99f6 Add a menu entry to copy the link of a toot
fixes #390
2017-09-25 20:15:04 +02:00
flyingrub 402f696c10 Add feedback when downloading image
fixes #388
2017-09-24 20:57:06 +02:00
Len Chan c0a5e55f47 add option: always show all sensitive content without warning 2017-09-19 23:19:18 +08:00
torrentcome 87de285fe8 (#377) hide sensitive images after showing them
-The web client overlays a small eye button over sensitive images after they've been shown that re-hides them
2017-08-30 14:22:12 +02:00
Conny Duck 71743890b0 rounded corners for avatar placeholder 2017-08-11 22:41:29 +02:00
Vavassor 973c6168f8 Adds a confirmation dialog for unfollowing a user using the account header button. 2017-08-09 01:16:00 -04:00
Vavassor ad399eedf1 Merge branch 'account-activity-improvements' of https://github.com/connyduck/Tusky into connyduck-account-activity-improvements 2017-08-08 21:23:16 -04:00
Vavassor b1b6e1c21a Merge pull request #360 from torrentcome/#20_duplicated_interface
(fragment) quick changed
2017-08-08 19:30:04 -04:00
Conny Duck f696b6e8d3 bugfix, layout improvements 2017-08-05 12:04:40 +02:00
Conny Duck 848189d670 show if an account follows you back in AccountActivity 2017-08-05 10:09:17 +02:00
Conny Duck 099d76d919 make FAB hide on scroll in AccountActivity as well 2017-08-04 11:44:10 +02:00
Conny Duck e4c9b229d7 change floating action button to "mention", create new follow button in AccountActivity 2017-08-04 10:53:38 +02:00
Vavassor af1d92c965 Actually form thread lines properly in the thread view. Closes #57 2017-08-03 22:30:37 -04:00
Vavassor cb1e8eaea7 Cleans up the distinction between detailed and normal status view holders. 2017-08-03 17:26:26 -04:00
Vavassor 309c89eefc Makes the main status of a thread appear as a more detailed view. 2017-08-03 00:29:31 -04:00
Vavassor 6b3dd30527 Fixes URLs being deleted erroneously when multiple images are added in the composer. 2017-07-30 17:16:32 -04:00
Vavassor 4f96d850cc Fixes a crash when autocompleting a mention, second try. (previous fix was commit ab537ef3cb) 2017-07-28 12:36:54 -04:00
Vavassor 9381f21e16 Fixes links in statuses not using custom tabs even when the option is enabled (typo). 2017-07-28 11:59:32 -04:00
Vavassor fb173c42b6 Fixes a incompatibility-related crash when the hiding media previews option is selected and the device is API level 19 or under. 2017-07-28 11:54:57 -04:00
torrentcome 8441c52b4e (fragment) quick changed
The duplicated interface will no appeared anymore. The problem is with the "stack memory" who do weird thing with his fragments.

no more duplicated stuff after that ;)
2017-07-28 16:11:01 +02:00
Vavassor 239ebaf9b2 Consolidate the two media buttons in the composer. 2017-07-27 22:40:58 -04:00
Vavassor 368d8e5901 Documents some utilities 2017-07-27 22:03:45 -04:00
Vavassor f3b5087c52 Adds save draft button to composer. 2017-07-27 00:56:53 -04:00
Vavassor 42a49fbd4e Updates the upload size limit and correct it to power of two numbers of bytes as it actually always was. 2017-07-26 00:12:02 -04:00
Vavassor 2ed979d7fd Fixes a crash and errors associated with a URL pasted into the composer being edited before its metadata is loaded. 2017-07-25 19:23:37 -04:00
Vavassor e5deac0fa9 Addendum to commit 30d7f269de to cancel the callbacks so they're not called after the fragment is detached. Closes #357 2017-07-25 17:35:36 -04:00
Vavassor 6e366a1b84 Give up 2017-07-20 22:29:29 -04:00
Vavassor 3f8378ae3a Fixes a crash when a timeline or thread is backgrounded and brought back with an uninitialized notification or status list. 2017-07-20 21:17:36 -04:00
Vavassor ab537ef3cb Fixes a crash while autocompleting a mention. Also, a small bit of refactoring. 2017-07-20 17:54:41 -04:00
Vavassor f6c309e7db Fixes a crash when a thumbnail for an image attachment fails to load. 2017-07-19 00:28:36 -04:00