Commit graph

589 commits

Author SHA1 Message Date
Conny Duck
51c547ffb0 fix an error where opening notifications would lead to the wrong status 2017-11-04 13:25:37 +01:00
Conny Duck
fcb8a23343 fix an issue with avatars in notifications loading on the wrong thread 2017-11-03 10:09:09 +01:00
Conny Duck
9df3836665 prevent a crash in ComposeActivity when ContentResolver raises a SecurityException 2017-11-02 21:18:39 +01:00
Conny Duck
2dfd83ef97 adding image keyboard support (and some cleanup) 2017-11-01 21:56:38 +01:00
Ivan Kupalov
018be25137 Use Android-Job to pull notifications. Closes #401. (#431) 2017-11-01 21:02:44 +01:00
Ivan Kupalov
62f4837135 Reply improvements (#432)
* Refactor ComposeActivity intent. Fix bug with URLs

When user saved toot link was removed from the text field itself,
not only from the text to be saved.

* Show what you reply to

Closes #119
2017-11-01 20:59:29 +01:00
Conny Duck
2d390f6603 change default of chrome custom tabs setting to false 2017-10-30 10:48:27 +01:00
Conny Duck
93fcd33c48 add actionbar to PreferencesActivity 2017-10-30 10:41:59 +01:00
Ivan Kupalov
15e37576e5 Add media upload progress. Closes #412 (#426) 2017-10-29 22:18:45 +01:00
Ivan Kupalov
bc59d4d938 Fix issues with media uploads restoring. Fixes #419. Fixes #308. (#425) 2017-10-28 22:24:26 +02:00
Conny Duck
671957da5a title and menu to open toot in browser for ViewThreadActivity 2017-10-28 21:59:33 +02:00
Conny Duck
4807493850 update AboutActivity to show License, remove ic_logo.png 2017-10-28 13:39:32 +02:00
Conny Duck
9dd09d0522 fix a bug where favs & reblogs where not shown correctly in NotificationsFragment 2017-10-27 23:39:36 +02:00
Konrad Pozniak
5cbc7217ff Link previews for detail statuses (#424)
* implement link preview cards on detail statuses

* cleanup code
2017-10-27 13:20:17 +02:00
Ivan Kupalov
df4dfa7766 Stop adding link info when composing toot (#418) 2017-10-27 13:19:12 +02:00
Conny Duck
0fd25ff124 new splashscreen, some cleanup 2017-10-26 22:07:48 +02:00
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
Vavassor
1d10a7f6e8 The unloaded drawer header was sometimes returning zero dimensions and crashing. It's just easier to let it handle resizing and cropping. 2017-07-19 00:15:53 -04:00
Vavassor
30d7f269de Fixes an intermittent null pointer exception caused by getActivity() returning null in callbacks. 2017-07-18 23:34:07 -04:00
Vavassor
51e2b7c949 Fixes a few content descriptions and re-titles the Drafts page. 2017-07-18 22:32:13 -04:00
Vavassor
25b680c401 Merge pull request #351 from connyduck/bugfix-search
fix bug where "no result" message was not shown in SearchActivity
2017-07-18 20:20:41 -04:00
Conny Duck
aa0206000b fix permission problem when downloading image 2017-07-18 21:32:43 +02:00
Conny Duck
27f614d7c3 fix bug where "no result" message was not shown in SearchActivity 2017-07-18 20:05:41 +02:00
Vavassor
bb0ea876fa Okay, toss BouncyCastleProvider so we can release a beta. 2017-07-18 00:30:24 -04:00
Vavassor
857f39b480 Widens proguard to just keep everything under org.bouncycastle when minifying. Also fixes a bug where the composer's content warning is hidden after changing orientation. 2017-07-17 00:06:48 -04:00
Vavassor
408d38102d Fixes the search page not working on Android Kitkat (searching applications instead of accounts and tags). 2017-07-16 22:31:40 -04:00
Vavassor
f7d4d20984 Merge branch 'media-preview' of https://github.com/charlag/Tusky into charlag-media-preview 2017-07-16 19:59:17 -04:00
Vavassor
5257ecbfe2 Fixes notifications not setting their visibility. 2017-07-16 19:56:26 -04:00
Vavassor
b8fb2c903c Merge branch 'fix-boosts' of https://github.com/charlag/Tusky into charlag-fix-boosts 2017-07-16 19:33:57 -04:00
Vavassor
f4d627e815 Release 1.1.4-beta.6 2017-07-16 18:26:56 -04:00
Ivan Kupalov
08f928a2b2 Improve media browser and video viewer
* show/hide status bar by tapping a photo
* dim and color status bar in video/media viewers
* show/hide status bar in video viewer
* use shared element transition when opening a photo is possible
* center video in VideoView
2017-07-15 18:37:53 +03:00
Ivan Kupalov
b51f15ac18 Fix bug where there were no media in the boosted toot and avatar opened wrong profile. 2017-07-15 14:57:51 +03:00
Vavassor
f37bb694f1 Makes the toolbar shadow visible for pre-Lollipop android versions and fixes a crash when deleting a draft with no media attached. 2017-07-15 03:10:55 -04:00
Vavassor
87600b016f Removes unused icons and does bits of cleanup. 2017-07-14 23:23:14 -04:00
Vavassor
d55181ccd0 Adds ability to localize timestamps. 2017-07-14 19:45:26 -04:00
Vavassor
8559a6d75c Corrects number localization and adjusts the padding of the reblog avatars in right-to-left layout direction. 2017-07-14 18:18:29 -04:00
Vavassor
68e3ec67c5 Merge branch 'charlag-boost-avatars' 2017-07-14 17:10:41 -04:00
Vavassor
96cba0cc2b Fixes timelines and notifications tabs fetching progressively further down when they are restarted. 2017-07-14 17:09:44 -04:00
Vavassor
40467fd355 Merge branch 'boost-avatars' of https://github.com/charlag/Tusky into charlag-boost-avatars 2017-07-14 16:54:26 -04:00
Vavassor
f56d16c8fd Merge pull request #334 from charlag/paired-list-fix
Fix bug with paired list incorrectly adding to the specified position.
2017-07-14 16:03:36 -04:00
Henri Gourvest
0945b881f5 avoid crash when new notification list is empty 2017-07-14 11:11:38 +02:00
Ivan Kupalov
240fb372ba Add small avatars to boosted toots and to notifications. 2017-07-14 08:06:32 +03:00
Ivan Kupalov
c6aad085a9 Fix bug with paired list incorrectly adding to the specified position.
This bug led to incorrect refreshing of the timeline
2017-07-14 06:51:03 +03:00
Vavassor
e6bc28c831 Fixes a small error in pull request #332 where reblog and favourite notifications show your display name for the "reblogged by/favourited by" message instead of whomever did so. 2017-07-13 21:57:15 -04:00
Vavassor
a23cca7047 Re-does commit 5754a3a177 because those changes were stomped by merging in commit fc1a24be11. 2017-07-13 21:39:17 -04:00
Vavassor
fc1a24be11 Resolves merge conflicts and makes NotificationAdapter no longer implement AdapterItemRemover 2017-07-13 21:31:31 -04:00
Vavassor
5754a3a177 Fixes bug where the order of notifications could be jumbled when removing duplicates using a HashSet. 2017-07-13 20:17:50 -04:00
Ivan Kupalov
90c1a83ba4 Preserve status states on updates. UI layer refactoring.
Some things were pulled out of adapters to fragments. New classes were introduced - StatusViewData and NotificationViewData. They not only have view state in them but also help decoupling.
Because introducing parallel model list requires a lot of synchronisation PairedList was added.
Also synchronisation between fragments and adapters is quiet tedious and error-prone and should be replaces with better solution.
Oh, I also couldn’t resist and fixed bug with buttons animation in the same commit.
2017-07-13 22:18:08 +03:00
Vavassor
b77d9934ab Fixes some odd spacing in right-to-left direction and sets some icons to auto-mirror. 2017-07-12 17:03:32 -04:00
Vavassor
e4dff388d2 Improves right-to-left layouts in the most basic fashion. 2017-07-12 02:09:07 -04:00
Vavassor
a1e007eb2a Adds saving media to drafts. 2017-07-11 21:49:46 -04:00
Vavassor
f68f6d7473 Reverts notifications from MQTT prototype to pull notifications. 2017-07-08 20:59:48 -04:00
Vavassor
14d02e72b7 Adds envelope icon indicator to direct messages on timelines, so they can be differentiated from private statuses. 2017-07-08 15:44:08 -04:00
Vavassor
125c0e7e6c Saves content warnings in drafts. 2017-07-07 22:56:07 -04:00
Vavassor
74549f4de7 resolves merge conflict 2017-07-07 18:57:36 -04:00
torrentcome
b6d4b388a5 Merge branch 'master' into #142/SaveToots
# Conflicts:
#	app/src/main/java/com/keylesspalace/tusky/TuskyApplication.java
2017-07-07 13:28:31 +02:00
torrentcome
47dccd81e7 (db) add the Update feature for each Draft we already have 2017-07-07 12:32:47 +02:00
torrentcome
42d94633cf (ui) fix bug that when we comeback from the Composer , there is no update of the view 2017-07-07 12:32:04 +02:00
Vavassor
63bf832ffd resolves merge conflict 2017-07-06 22:15:44 -04:00
Vavassor
76a31602ed fixes two log messages 2017-07-06 18:35:39 -04:00
Vavassor
74e395834d Adds or updates Bouncy Castle as a security provider. A possible fix for alleviating issues with connections (issue #46 in particular). 2017-07-06 18:27:51 -04:00
torrentcome
0ce5c49655 (db) version = 1 2017-07-06 12:31:59 +02:00
torrentcome
76fca004ee (correction) fix some forgot code to present the pull request :D 2017-07-06 12:20:54 +02:00
torrentcome
87c1edb3d4 (medias) try to add medias 2017-07-05 16:36:14 +02:00
torrentcome
03769f0644 (crud) change delete stuff 2017-07-05 16:35:15 +02:00
torrentcome
451229779f (room) add room gradle file 2017-07-05 16:34:59 +02:00
Vavassor
b52bf2d158 Merge branch 'boost-actions' of https://github.com/charlag/Tusky into charlag-boost-actions 2017-07-04 17:31:49 -04:00
Vavassor
932a990fe4 Fixes bug where "The upload failed." error message shows up when media upload is canceled intentionally. 2017-07-02 17:55:18 -04:00
Vavassor
b06dda47c1 Fixes a crash where photoUploadUri can be nullified if the activity is evicted from memory while taking a picture, so when it resumes and recreates it no longer has a valid URI. Closes #326 2017-07-02 17:45:13 -04:00
Vavassor
17df70d166 Possible fix for unnecessary thread post reloading (issue #327). 2017-07-02 16:41:33 -04:00
Vavassor
9e07c59565 Adjusts composer imports. 2017-07-02 16:34:10 -04:00
Ivan Kupalov
0f15509345 Add boost click handling 2017-07-02 09:55:20 +03:00
Vavassor
afa21f5a5c Makes end of list footers have zero height. 2017-07-01 23:23:42 -04:00
Vavassor
5d621cecda Changes mention and tag highlighting in the composer to use Mastodon's regex. Closes #145 Also, does some haphazard cleanup. 2017-07-01 20:32:35 -04:00
Vavassor
6b0ae5be95 Fixes the same typo in 3 places. 2017-06-30 19:49:10 -04:00
Vavassor
275cd51a6d Adds correct footer behaviour to account lists and unifies it with how timelines use them. 2017-06-30 18:30:25 -04:00
Vavassor
3955649b9c Moves loading of accounts, notifications, and statuses to use link headers. Also remedies an issue where duplicate calls for the same chunk of items in a list can occur. 2017-06-30 02:31:58 -04:00
torrentcome
6ce3b98615 (rm) tootaction ...for keep easier action , we will distribute every result inside the activity 2017-06-29 17:58:01 +02:00
torrentcome
b0f848b0f7 (db) insert toot with long click 2017-06-29 17:56:58 +02:00
torrentcome
2022705282 (menu) change menu array to list
laster we will put some logic for show or not the savedToot part
2017-06-29 17:56:36 +02:00
torrentcome
946f58439c (saved_toot) add part of saved toot activity 2017-06-29 17:55:39 +02:00
torrentcome
f79445f50a (clean) keep it simple , don't polluted ComposeActivity, commented and moving the code 2017-06-29 12:03:44 +02:00
torrentcome
9d21c36758 (dao) crud interface 2017-06-29 12:01:14 +02:00
torrentcome
fec8e5c47c (db) insert + read 2017-06-28 19:33:54 +02:00
torrentcome
2642c4432c (db) create CRUD model 2017-06-28 19:33:20 +02:00
Vavassor
3f3ccfca55 Adds an icon to video and gifv media previews to indicate they can be played. The icon is a circled triangle (play button). Closes #319 2017-06-26 19:04:05 -04:00
Vavassor
0a7eaadda1 Adds the mention to whom is being replied first, before other mentions in a thread, rather than after them. 2017-06-26 18:10:01 -04:00
Vavassor
514cea68cc Take it down a notch, there, buddy. 2017-06-26 17:54:00 -04:00
Vavassor
1dc9c87c2e Fixes public visibility being disabled when replying, and changes the default to public like non-reply posts. 2017-06-26 15:46:03 -04:00
Vavassor
c5c6e8205a Fixes autocomplete list getting cut off in the composer if the user is using an app or launcher that hides the status bar. 2017-06-26 15:38:04 -04:00
Vavassor
7d7d5864d4 Adjusts the media label alignment in statuses. 2017-06-26 14:51:39 -04:00
Vavassor
3f54ead962 Adds option to hide media previews if reduced data usage is desired Closes #56. 2017-06-26 05:15:47 -04:00
Vavassor
e3745ebd6b Adds ability to page between multiple images in a status by swiping from left to right. Closes #66 2017-06-25 01:07:41 -04:00
Vavassor
b9d6f489d1 Adds side drawer opening/closing by pressing the physical menu button, if present. Closes #178 2017-06-24 21:21:57 -04:00
Vavassor
ef60701627 Fixes a small issue introduced in commit 1935253c18 where pasting in the composer crashes when it doesn't contain a URL (so any other textual paste will crash). The code was intended only for "share" actions, hence why it was expecting a URL enclosed. 2017-06-23 01:22:18 -04:00
Vavassor
b1aa05694e Removes ButterKnife annotations. 2017-06-22 14:59:12 -04:00
Vavassor
18ebfa212e Minor writing style changes. 2017-06-22 14:01:25 -04:00
Vavassor
100b9f0a47 Extends the width of the search view. 2017-06-22 02:00:03 -04:00
Vavassor
8b4e377d34 Fixes a bug where mentioning users of the same username links them all to the same profile. Closes #312
Also, removes the title on the search page and fixes an intermittent crash on thread pages when elements load in a paritcular order.
2017-06-20 18:41:57 -04:00
Vavassor
2e29088d65 Fixes cursor being placed after a media link when it is added in the composer. Also, adjusts a tinting error in the composer buttons. 2017-06-20 16:57:04 -04:00
Vavassor
b9b5e58b50 Changes the NSFW button to a "hide media" icon in the composer. This is inspired in part by the upstream change tootsuite/mastodon#2696. But also NSFW was never a good description of this function. 2017-06-20 14:16:03 -04:00