Commit graph

543 commits

Author SHA1 Message Date
Vavassor
42a8f47991 Removed most references to Volley. 2017-03-09 18:20:08 -05:00
Vavassor
e43ddbcc70 Merge branch 'Gargron-master' 2017-03-09 17:39:00 -05:00
Vavassor
a439674253 Made a small revision to the notification icon. 2017-03-09 17:35:39 -05:00
Eugen Rochko
ed262dfb2d Fix crash when adding media, make all activities use coordinator layout 2017-03-09 23:21:02 +01:00
Eugen Rochko
c9b2092cf9 Zoom for images 2017-03-09 21:21:55 +01:00
Eugen Rochko
3cb1b8e44b Vector icons in drawer were crashing on an older Android
Need to find a way to specify them as srcCompat instead of src, but that's not obvious since it's through the material drawer library...
2017-03-09 19:47:46 +01:00
Eugen Rochko
7fa01371d9 Add drawer to main activity 2017-03-09 19:31:15 +01:00
Eugen Rochko
9172636127 Add back buttons to favourites/blocks activities 2017-03-09 18:09:32 +01:00
Eugen Rochko
02ccaf4610 Muting/unmuting accounts 2017-03-09 17:51:44 +01:00
Eugen Rochko
9e82b64423 Fix #4 - Toot URLs can be shared 2017-03-09 17:37:24 +01:00
Eugen Rochko
636c2f266e Dismiss notifications when notifications fragment is opened 2017-03-09 17:03:13 +01:00
Eugen Rochko
d09e9706b6 Replace remaining non-retrofit API calls
Only exception is the OAuth2-related calls
2017-03-09 16:59:18 +01:00
Eugen Rochko
f938dff9ed Use retrofit methods for profile actions 2017-03-09 01:01:45 +01:00
Eugen Rochko
8035fba22c Use retrofit methods for status actions 2017-03-09 00:46: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
Eugen Rochko
3120fbed4c Start work on integrating Retrofit - Update Account entity to be fetched with Retrofit and parsed with GSON 2017-03-08 23:19:03 +01:00
Eugen Rochko
348d2c8b4f Start work on integrating Retrofit - GSON, Authorization 2017-03-08 22:34:13 +01:00
Eugen Rochko
cff0f35269 Start work on integrating Retrofit - Mastodon API definition 2017-03-08 22:08:50 +01:00
Vavassor
e46731454d Fixes icons on statuses and notifications not being the right colour on the light theme.
Maybe could be a more elegant solution than drawable duplication but for now fine.
2017-03-07 23:52:17 -05:00
Vavassor
7519ad5455 Merge branch 'Gargron-master' 2017-03-07 22:35:02 -05:00
Vavassor
ba16a47fed Fixes the infinitely growing notification text and removes the "Example status here" text that was appearing erroneously. 2017-03-07 22:11:03 -05:00
Vavassor
7ae66a4ddc Fixed crash due to Picasso being handed empty strings for missing avatars and header images. 2017-03-07 21:38:20 -05:00
Vavassor
1ddb17f8d3 Fixes media attachments in the composer being un-removable, and long usernames overlapping time stamps in statuses.
Also added the MIT license notice to the EmojiOne code to comply with its usage terms.
2017-03-07 20:44:51 -05:00
Eugen Rochko
34c4951241 Animated splash screen (mind: preview for the circular loader seems broken in Android Studio, but works in app) 2017-03-07 23:10:41 +01:00
Eugen Rochko
0822c62eb8 Merge remote-tracking branch 'origin/master' 2017-03-07 22:23:33 +01:00
Eugen Rochko
1db90db642 Spark animations for boost/favourite buttons 2017-03-07 22:23:17 +01:00
Eugen
0af6d79fa2 Merge branch 'master' into master 2017-03-07 20:45:24 +01:00
Eugen Rochko
2c8a575a3b Fix up notification items layouts 2017-03-07 20:42:01 +01:00
Eugen Rochko
4060f3f45f Nicer login layout 2017-03-07 15:03:41 +01:00
Eugen Rochko
bdc19efe3d Fix up account list item layouts 2017-03-07 14:32:07 +01:00
Eugen Rochko
2cf387bc21 Visually center initial loading indicator. Abandon
"end of content" messages (not necessary from UX perspective
imo) and retry button (perhaps it should be a Snackbar
with a retry action instead)
2017-03-07 14:21:24 +01:00
Eugen Rochko
d067c8bf27 Made compose form more material 2017-03-07 14:09:33 +01:00
Eugen Rochko
ce04c7ab2b Sliding animation for activity transitions 2017-03-07 13:05:51 +01:00
Eugen Rochko
03d9701669 Emoji shortname conversion 2017-03-07 12:11:18 +01:00
Eugen Rochko
d9f0b3c99e Attachment previews also use Picasso to load, fix their layout
Fix NSFW overlay
2017-03-07 11:59:54 +01:00
Eugen Rochko
9ec3fd47dc Back button to navigate tabs on main view 2017-03-07 11:02:41 +01:00
Vavassor
37bb799efc Fixes crash when opening the block list. Also, fixes an issue where the collapsed toolbar appears dark on profiles even when using the light theme. 2017-03-07 02:30:09 -05:00
Eugen Rochko
d299dd34ed Floating action button for toot compose 2017-03-07 01:38:22 +01:00
Eugen Rochko
b5c4339894 Switch dark color scheme to official Mastodon colors
Switch status icons to Material ones
Fix layouts on statuses
2017-03-07 01:31:05 +01:00
Eugen Rochko
7a752be83f Prettify profiles, add floating follow/unfollow button to them 2017-03-06 20:48:31 +01:00
Vavassor
96d9444e0b Fixes crash due to unexpected GIFV attachments.
Also when composing a reply it defaults the visibility to the status being replied to. Also, public timeline visibility is no longer in the options list when replying, it never had an effect and was just erroneously left there.
2017-03-05 19:58:36 -05:00
Vavassor
91ad3acc79 Unfinished keyboard GIF picking stuff? Not accessible by the user, yet. 2017-03-03 20:44:44 -05: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
c18186f135 Fixes a bug where if the send or report buttons are mashed they can send several copies of the same thing. 2017-03-02 01:05:02 -05:00
Vavassor
4fdeba248a Sixth Alpha Release 2017-03-01 16:01:49 -05:00
Vavassor
1cbd7eecc7 Keep Volley from leaking requests between activities and add a forgotten license notice. 2017-03-01 00:43:46 -05:00
Vavassor
3ab06eb250 The reporting page now allows reporting multiple statuses. (It's a bit cramped, though.) 2017-02-28 21:38:47 -05:00
Vavassor
4b8573a82f Reporting statuses is now possible! 2017-02-27 00:21:46 -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
9dceb7a226 TODO's have been erradicated. 2017-02-26 19:14:50 -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
c4114b6be2 The block list is now its own functional piece, instead of just being a copy of the following/follows lists on account profiles. 2017-02-21 21:12:49 -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
dab6807bff Fifth Alpha Release (actually fifth this time) 2017-02-19 19:27:15 -05:00
Vavassor
b62463f832 Introduced a new bug fixing the last one, woops. That one's fixed too. 2017-02-17 23:33:10 -05:00
Vavassor
0439fabd79 Fixed a crash under API level 21 on the main timeline due to trying to tint the status buttons with selectors. 2017-02-17 23:10:46 -05:00
Vavassor
9eb47a471d Fixed composer losing attachments and status options when changing configuration. Also, the composer remembers your last visibility choice. 2017-02-17 17:56:31 -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
96a5692717 Dark and light themes now exist and can be switched in preferences. 2017-02-16 13:52:55 -05:00
Vavassor
79b3d83368 Hashtags are now also highlighted in the composer, similar to mentions. 2017-02-13 22:39:48 -05:00
Vavassor
f14973a6d4 Replaced the regex gunk in the composer with something more readable and more reliable.
Also, put in a fix for a crash related to failing while loading the vector image for the media picker button.
2017-02-13 21:46:25 -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
56341a15af Fixed: crash on splash screen on version Kitkat and under due to trying to load a vector drawable in a selector. 2017-02-07 18:44:54 -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
5f39da27b3 Fixed: In the composer, certain combinations of opening/closing the keyboard and add/removing media items would cause the text editor to shrink so the text was no longer visible. 2017-02-07 16:05:55 -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
e0ab25334b Added preferences for pull notifications! Also bits of cleanup. 2017-02-05 02:34:55 -05:00
Vavassor
0a45b72391 Added logo and made login page slightly more clear. 2017-02-04 23:20:19 -05:00
Vavassor
86623c634a Added content warnings to status composer and slightly reworked its design in general. 2017-02-03 19:53:33 -05:00
Vavassor
3bd360a7ee Added margin between pages in tab layouts. (tiny change) 2017-02-02 19:18:41 -05:00
Vavassor
887e68700a Made wrapping behaviour of long names and long content warnings better on timelines. 2017-02-01 17:01:34 -05:00
Vavassor
cad060282b Links in user bios can be clicked on. 2017-02-01 15:20:39 -05:00
Vavassor
62ff735878 Fixed content warnings not being reset properly, causing them to appear in other statuses. 2017-02-01 04:25:22 -05:00
Vavassor
aec83c70fc Animated GIF's now animate when viewed in fullscreen. 2017-02-01 02:13:14 -05:00
Vavassor
2b6bc8a5c7 Content warnings now show/hide on all timelines. 2017-01-31 18:42:05 -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
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
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
6b684bceff Attaching media to toots is now possible. Images over the upload limit are automatically downsized, videos are not. 2017-01-16 13:15:42 -05:00
Vavassor
bab33a0715 sensitive media previews are now hidden and shown with a click 2017-01-10 15:41:50 -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
Vavassor
b78ccb1b49 converted timeline fetching to use volley, for consistency 2017-01-03 19:23:57 -05:00
Vavassor
bba1b37fd8 initial commit 2017-01-02 18:30:27 -05:00