Commit graph

26 commits

Author SHA1 Message Date
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
Eugen Rochko
2bbd46e841 Push notifications 2017-03-12 08:31:20 +01:00
Eugen Rochko
03fb9f45b2 Prevent pull notifications from notifying about things already loaded in fragment
Dismiss notifications when viewing fragment (moved to onResume)
2017-03-11 19:20:10 +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
636c2f266e Dismiss notifications when notifications fragment is opened 2017-03-09 17:03:13 +01: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
0a32c58801 Follow notifications now allow you to view the account that followed and follow back from the notification timeline. 2017-02-26 20:14:13 -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
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
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
e0ab25334b Added preferences for pull notifications! Also bits of cleanup. 2017-02-05 02:34:55 -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
83f8b4303c Added mention/reply notifications provided by a background service. 2017-01-24 23:35:54 -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
32fecabd7f finishes the Notifications timeline 2017-01-22 18:42:05 -05:00
Vavassor
98085bab6a License info now available 2017-01-20 03:09:10 -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