Commit Graph

529 Commits

Author SHA1 Message Date
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
Vavassor 53e6769d55 Consolidates the main header and removes the now-unneeded FloatingSearchView library. Closes #67 2017-06-19 20:50:40 -04:00
Vavassor 401dd62af7 Search page fully functional for accounts and hashtags. Closes #44 2017-06-19 15:47:53 -04:00
Vavassor 289e2fbbe1 Adds a prototype search page. The previous search bar is not yet removed. 2017-06-19 04:18:39 -04:00
Vavassor fcdb507ef0 Changes the autocomplete list to show the username, display name, and avatar of each suggestion for @ mentions. 2017-06-18 23:34:48 -04:00
Vavassor 74aa866647 Autocomplete @ mentions in the composer. Closes #103 2017-06-18 22:10:50 -04:00
Vavassor 8994d81c66 Potential simple fix for images failing to load #198. 2017-06-18 17:20:54 -04:00
Vavassor 93f5e416c0 Fixes follow requests button in the main menu acting as though it were the log out button. Closes #307 2017-06-08 19:47:33 -04:00
Vavassor a4ee128e26 Broadcasts now cause a refresh on timelines after a post is composed instead of listeners.
As a side effect, pagers don't have to keep track of "registered fragments", which was a bad idea and caused crashes.
2017-06-06 18:20:55 -04:00
Vavassor 9c56f0e7bc Broadcasts now used everywhere for signalling to remove accounts' posts instead of listeners. 2017-06-06 17:15:29 -04:00
Vavassor 19f140f9c6 Fixes a subscription duplicating bug in the notification client. 2017-06-05 18:40:56 -04:00
torrentcome 2b9f19805f Merge branch 'master' into #136 2017-06-02 23:15:21 +02:00
Vavassor 94639eeb69 Fixes long content warnings in posts wasting space. Closes #173 2017-06-02 03:12:02 -04:00
Vavassor 35ee60f601 Merge branch 'fix-collapsing-toolbar-bug' of https://github.com/connyduck/Tusky into connyduck-fix-collapsing-toolbar-bug 2017-05-30 19:36:19 -04:00
Vavassor 20410024f4 Fixes a mistake made while merging #294. 2017-05-30 19:35:04 -04:00
Vavassor fe7771b813 Merge branch 'log-improvement' of https://github.com/connyduck/Tusky into connyduck-log-improvement 2017-05-30 19:21:11 -04:00
Vavassor a8e8732979 Fixes a validation error on login when instance names are entered with multiple @ symbols like @username@example.com. 2017-05-30 16:57:30 -04:00
Konrad Pozniak 7501fcaeaa Merge branch 'master' into log-improvement 2017-05-25 19:17:20 +02:00
Conny Duck a2c019e8f1 fix bug in CollapsingToolbarLayout 2017-05-25 19:10:49 +02:00
Conny Duck 2eaff99b29 log some more exceptions 2017-05-25 17:21:11 +02:00
Vavassor 036a305782 pretty much finishes the prototype 2017-05-23 19:48:54 -04:00
Conny Duck 1a39e58d3c remove unnecessary Log utility class, replace Exception.printStackTrace with logging 2017-05-23 21:34:31 +02:00
Vavassor 6ee6157b7f Adds TLS to the push notification client (keystore_tusky_api is omitted). 2017-05-22 02:05:37 -04:00
Vavassor b396f2afc8 First notification received successfully from the wryk/tusky-api prototype! 2017-05-21 22:21:23 -04:00
Vavassor c90c909ca6 Integrates with wryk/tusky-api, but only partially working.
Registers to the web-service fine but loses connection when subscribing with the broker.
2017-05-20 02:39:29 -04:00
Vavassor e282f13fdc Setup client-side for integration with the wryk/tusky-api prototype. 2017-05-19 21:28:12 -04:00
Vavassor 73a5144741 Adds notification clearing and makes the client a little more stable. 2017-05-19 20:00:57 -04:00
Vavassor 388ecfcf2e Removes the product flavor split. 2017-05-18 18:10:46 -04:00
torrentcome b9d460e712 (bug of picasso) the Target wasn't load at the first time forget to read the documentation so , record the target in field change the way that works.
Now work fine.
2017-05-17 16:08:43 +02:00
torrentcome 7cc06d3ad0 (bug fixing) When we share by an app : the text shared is not just an URL but a small text with the URL inside.
So we parse the text until find an url.
Take the first one and send it to the parse
2017-05-17 16:06:37 +02:00
Vavassor 6752d45d4b Initial client working for MQTT push notifications. 2017-05-16 22:19:34 -04:00
torrentcome 418fbd3b5c (share) add share functionality
- get the text shared and put it on the Clipboard
- pass by the same way that past for Download the information
2017-05-16 17:56:35 +02:00
torrentcome b1bbcb39d5 (ComposeActivity) clean up, automatique format and implementation of
- Share a link and extract the title, images, author's name #136
2017-05-16 10:43:32 +02:00
torrentcome 6dd2aba3c6 (parser utils) class who will get header information of an given Url
- will redistribute that to the activity by listener
2017-05-16 10:42:31 +02:00
torrentcome 27db497ff2 (media utils) create media utils for start to group all function linked to the media there too 2017-05-16 10:41:14 +02:00
torrentcome 583983e58f (string utils) create string utils for start to group all function there 2017-05-16 10:40:12 +02:00
torrentcome 1f62c34a13 (edit text typed) add onPast listener on the view 2017-05-16 10:10:37 +02:00
torrentcome 0a6a2e44c2 (view) create package view 2017-05-15 12:07:01 +02:00
torrentcome ed5564d4d5 (receiver) create package for receiver 2017-05-15 12:05:10 +02:00
Vavassor 66bac21236 fixes merge conflicts 2017-05-11 18:58:38 -04:00
Vavassor 68eaa742ee Merge branch 'Pangoraw-master' 2017-05-11 18:34:45 -04:00
Pangoraw 72ac4e5581 Allow broadcasting event across activities. 2017-05-11 09:11:15 +00:00
torrentcome a015637785 (media) add toolbar and download button 2017-05-10 15:24:45 +02:00
Vavassor 3c20f7a0c4 Adds a splash screen replacement. 2017-05-09 22:36:05 -04:00
Vavassor 88e2b7b382 Merge branch 'master' of https://github.com/Pangoraw/Tusky into Pangoraw-master 2017-05-08 15:40:08 -04:00
Vavassor a2a600a9de Adds back button to the about page and for the Tusky's Profile button it searches for the account first and saves the ID for subsequent presses. Closes #279 2017-05-08 15:00:33 -04:00
Paul 17f347cab5 Add loading on login activity while fetching tokens 2017-05-08 11:24:30 +00:00
Vavassor 551d73baee Makes about page work with light theme and landscape orientation. 2017-05-07 22:00:29 -04:00
Vavassor daf0ec8e49 resolves merge conflict 2017-05-07 20:20:59 -04:00
Vavassor eb13817bce Merge branch 'bugfix-4' of https://github.com/connyduck/Tusky into connyduck-bugfix-4 2017-05-07 18:03:34 -04:00
Vavassor 7f934e4f26 Resolves merge conflicts 2017-05-07 17:58:56 -04:00
Vavassor d658e6e7a3 Merge pull request #270 from connyduck/profile-header
remove account_header_default.png
2017-05-07 17:44:26 -04:00
Vavassor e134e35a14 Merge branch 'light-header-background' of https://github.com/connyduck/Tusky into connyduck-light-header-background 2017-05-07 17:29:55 -04:00
Vavassor e094765734 Merge branch 'logout-confirm-dialogue' of https://github.com/tryton-vanmeer/Tusky into tryton-vanmeer-logout-confirm-dialogue 2017-05-07 17:03:37 -04:00
Vavassor bc7ac41a28 Merge pull request #275 from Pangoraw/master
Add loader when waiting to display a media, closes #196
2017-05-07 16:47:19 -04:00
Vavassor 8787cf6beb Moves out-of-place Firebase InstanceId call to the google build flavor. Closes #274 2017-05-07 16:14:28 -04:00
Paul fc2d039d63 Add loader when waiting to display a media 2017-05-06 11:30:52 +00:00
Tryton Van Meer a5e43446b5 logout() now creates a dialog asking the user if they wish to logout. 2017-05-05 12:19:11 -04:00
Conny Duck d34f4429cd fixed light theme header background when no header image was set 2017-05-05 17:21:20 +02:00
Vavassor 31fff630f3 Fixes "google" build flavor, which was messed up by the repacking process. 2017-05-04 19:02:18 -04:00
Vavassor aa2394748c Reorganizes the whole codebase. 2017-05-04 18:55:35 -04:00