Commit graph

40 commits

Author SHA1 Message Date
Vavassor
b6e72a94be Custom tabs are now used for login and links on account pages, with a fallback to the default browser if not supported.
Also, fixes crashes when entering tag and threads due to me forgetting to implement the interfaces required by the code that removes posts from timelines when blocking/muting.

Also fixes a small bug where for mentions of users from other instances, clicking on the mention would open the profile in the browser instead of in-app.
2017-04-25 07:30:57 -04:00
Konrad Pozniak
7c3feb7136 fix bugs with fab showing/hiding on scroll 2017-04-22 10:41:49 +02:00
Vavassor
5179d7e9b3 Blocking and muting now removes all statuses by that user in EVERY currently-loaded timeline. 2017-04-21 23:16:05 -04:00
Vavassor
61fdda5fa3 Merge branch 'issue_62' of https://github.com/raphaelm/Tusky into raphaelm-issue_62 2017-04-16 23:04:00 -04:00
Raphael Michel
fce573f1ec Update thread view after sent reply (closes #74) 2017-04-15 19:59:06 +02:00
Raphael Michel
d732c5d0a7 Timeline footer improvements 2017-04-15 19:25:39 +02:00
Vavassor
3bf84f9b7d Cleaned up content descriptions and added the last missing ones. Closes #122 2017-04-12 21:54:37 -04:00
Vavassor
2e45a0bbff Adds missing content descriptions and fixes a bit of the follow button hiding code. 2017-04-12 04:32:05 -04:00
Vavassor
c69dd0624d Merge branch 'account_header_image_click_opens_account' of https://github.com/theZacAttacks/Tusky into theZacAttacks-account_header_image_click_opens_account 2017-04-11 19:12:36 -04:00
Vavassor
4d9fd09a3c License change back to GPL 3 2017-04-09 20:12:31 -04:00
Zachary Epps
de0f1b7ab0 added new option in preferences.xml
modified MainActivity so that the "compose new toot" button is exposed as a static (had to copy its reference into a new variable so as to not upset BindView)
modified TimelineFragment so that when the RecycleView is instantiated we overload the onScroll so that we can hide the FAB
2017-04-07 03:40:59 -04:00
Vavassor
53376da406 Adds the local timeline. 2017-03-30 22:31:17 -04:00
Vavassor
3e21e59edc Relicense to LGPL3 2017-03-20 21:44:30 -04:00
Vavassor
70536ed001 Fixed some odd refresh behaviour and possibly the duplicate 20 statuses issue? 2017-03-20 03:03:03 -04:00
Vavassor
0662f35b96 Fragments/Activities auto-cancel their requests when they're destroyed. Also, fixes a ComposeActivity crash that can occur when a media preview doesn't load. 2017-03-14 20:34:27 -04:00
Eugen Rochko
17b958f8ed Cancel retrofit calls in fragment onDestroy 2017-03-14 12:45:19 +01:00
Vavassor
b937a7bc9e Fixed intermittent null pointer exceptions and disabled the light theme temporarily. This closes #21, closes #22, and closes #17. 2017-03-13 20:56:02 -04:00
Eugen Rochko
daf7e6ed6a Prevent double notifications
Check timelines for updates on resume
2017-03-12 08:49:38 +01:00
Vavassor
851a92a271 Refreshing uses since_id wherever applicable. Also, reverted the notification icon. 2017-03-10 15:12:40 -05:00
Vavassor
42a8f47991 Removed most references to Volley. 2017-03-09 18:20:08 -05:00
Eugen Rochko
750c1c80a0 Statuses and notifications loaded/parsed via Retrofit/GSON
Notification checker uses since_id as the more exact check-for-updates
2017-03-09 00:27:37 +01:00
Vavassor
9e49da64bf Fixes two bugs:
-One where deletion causes statuses to lose track of where they are in timelines, so subsequent deletion and other actions are performed on the wrong status.
-It's was possible to infinitely open copies of the same thread, account page, and tag page by just continuously clicking on the status, avatar, or hash tag respectively.
2017-03-02 19:25:35 -05:00
Vavassor
c1d4bdbdfb Volley request leaks across activity/fragment boundaries should no longer be able to occur.
Also, the singleton allows contexts to be cleaned up instead of holding onto a dead reference.
2017-02-23 19:32:45 -05:00
Vavassor
46fe328967 A bit of code cleanup, mostly getting rid of warnings. 2017-02-22 14:13:51 -05:00
Vavassor
9b6f5e63d3 Viewing your block list is now possible on the main menu.
Also, changed how end-of-timeline behaviour is handled on all timelines. It should detect it more reliably now.
2017-02-21 17:55:37 -05:00
Vavassor
e59c0534c7 Viewing your favourites is now accessible on the main menu. 2017-02-20 21:32:10 -05:00
Vavassor
af4af94775 Fixed crash on pre-Lollipop devices (API levels 20 and prior) due to trying to load attributes in drawables. 2017-02-16 21:11:05 -05:00
Vavassor
22a2a31afe Changed visual theme to a dark style. Also, set up things for a future switchable light/dark theme. 2017-02-13 00:18:17 -05:00
Vavassor
33883aca3d End of timelines are now detected correctly. Also, duplicate notifications/accounts are prevented. 2017-02-07 16:47:05 -05:00
Vavassor
b4a91112a3 Initial Alpha release! 2017-02-07 02:05:50 -05:00
Vavassor
c937d30713 Fix: All statuses failed to load when status JSON was checked for boolean values, but received null and would throw a JSONException.
A change in the Mastodon server implementation seemed to be the cause. In the future, either default booleans to false or check for null first before getting them.
2017-02-05 23:13:48 -05:00
Vavassor
1429dfc7b5 Account profiles no longer partial! 2017-01-30 23:51:02 -05:00
Vavassor
60d68b0ae6 Partial account profile pages now in. Follows/Followers tabs are empty and block/follow does nothing yet. 2017-01-27 22:33:43 -05:00
Vavassor
dbb2663882 Links and tags in statuses are now clickable and open suitable pages.
Mentions are also, incidentally, but still link to the account page for that user in the browser. This should be changed to an in-app account page when that's finished, but it's actually fairly suitable fallback behaviour for now.
2017-01-26 19:34:32 -05:00
Vavassor
b00a3cf443 Adds a toot thread viewing mode. Also, many files were missing and didn't push so the previous commits may have been very wrong? 2017-01-23 00:19:30 -05:00
Vavassor
98085bab6a License info now available 2017-01-20 03:09:10 -05:00
Vavassor
eddc15fdca The reply button now works, and mentions are highlighted in compose mode. 2017-01-19 23:59:21 -05:00
Vavassor
2106d7a53c Jumping to top capability and a progress/retry footer added to timelines. 2017-01-18 13:35:07 -05:00
Vavassor
e551de7521 added media previews to timeline and media viewers 2017-01-10 01:14:27 -05:00
Vavassor
370b1e52aa added a basic compose screen, and the 3 main timelines in a tabbed layout 2017-01-07 17:24:02 -05:00