Commit graph

42 commits

Author SHA1 Message Date
Danielle McLean b2b017c1bd
Whoops, make sure we correctly fetch the user to display entries for on the home page if nobody is logged in 2018-01-29 08:48:56 +11:00
Danielle McLean 75e08aa1b2
Reduce number of queries required to render an entries list, especially the home page 2018-01-24 13:18:22 +11:00
Danielle McLean e15e4c72fe
Add missing aria-hidden attribute to icons that aren't or might not be Font Awesome ones, since the automatic aria-hidden attributes are only added to FA icons 2017-12-21 11:27:17 +11:00
Danielle McLean 4033837b91
Refactor the pagination logic into a reusable module so I can go add it to the other feed pages 2017-12-15 12:25:55 +11:00
Danielle McLean f9e6f1dde3
Display the pagination on the home page at least - gotta do the same thing on other feed pages as well but this one is working nicely :) 2017-12-15 11:55:29 +11:00
Danielle McLean 2a65644813
Switch from custom pagination to django.core.paginator, since it can do things like counts and 'is there a next page' more easily 2017-12-13 09:56:18 +11:00
Danielle McLean 2d2159ee58
Enable simple entry pagination - each h-feed page has a rel=next pointing to the next page of the feed, but there's no visible link yet 2017-12-12 18:35:13 +11:00
Danielle McLean 5fa4066d7a
Wrap the u-uid link in the h-card around my avatar rather than just having it be hidden, since invisible info in is a microformats2 antipattern 2017-12-11 12:28:39 +11:00
Danielle McLean ddf4099639
Remove a little bit of spurious whitespace 2017-12-11 11:11:32 +11:00
Danielle McLean b45661fa41
Improve accessibility and make profiles appear a little more cleanly - the full username and site domain are available to screen readers, but aren't displayed by default, which is much less cluttered 2017-12-11 09:38:29 +11:00
Danielle McLean 6d912de376
Migrate to Font Awesome 5 - every icon used in the site has been updated, but the site icons that live in the database will need fixing separately 2017-12-06 14:07:59 +11:00
Danielle McLean 6313664e53
Adjust the spacing around entries - don't use .container since it adds extra unwanted margin 2017-12-04 21:43:13 +11:00
Danielle McLean adb302ebe3
Hide likes and replies from the homepage 2017-11-13 08:54:23 +11:00
Danielle McLean 6481e8d9bc
Tweak the cards' layout, there's more room for extra stuff this way 2017-11-11 17:07:40 +11:00
Danielle McLean fa3a6ec362
Put link[rel='pgpkey'] on the home page for each PGP key, so they work with IndieAuth.com and such 2017-11-11 16:23:05 +11:00
Danielle McLean 6b51531cb4
Add a user field specifically for XMPP, because it needs to be handled a little differently to the user profiles (different mf2 property, stuff like that) 2017-11-06 22:02:12 +11:00
Danielle McLean 1762b102fb
Remove an unwanted extra margin 2017-11-06 13:48:15 +11:00
Danielle McLean e7df63d6f8
Make the entries on the homepage a .container so they look right on narrow displays 2017-11-06 13:44:52 +11:00
Danielle McLean 730a2bcb9d
Added support for RSS and Atom feeds, because why not 2017-11-01 09:29:59 +11:00
Danielle McLean 5aa4eed816
Add simple /robots.txt support 2017-10-31 15:10:13 +11:00
Danielle McLean 371401d441
Teach users how to generate their own JSON-LD representation rather than doing it in the view code 2017-10-31 14:33:16 +11:00
Danielle McLean a86188fcb6
Put the JSON-LD version of my user profile inside my h-card, so it's easy to access with an mf2 parser if you want it (although I dunno why you would) 2017-10-31 14:24:30 +11:00
Danielle McLean 21786d6e6c
Install django-annoying, which provides some nice shortcuts for common operations 2017-10-29 12:41:33 +11:00
Danielle McLean 1a9582213a
Add WebFinger support and refactor some of the request manip stuff 2017-10-27 13:24:57 +11:00
Danielle McLean 9d91cec6f9
Add http://schema.org/Person as JSON-LD, underneath my h-card on the home page 2017-10-27 09:52:03 +11:00
Danielle McLean 824aaa1e57
Make a few database performance optimisations 2017-10-27 08:52:26 +11:00
Danielle McLean 8f8e53bb27
Switch from django-markdown-deux to a pipeline thru markdown for rendering + bleach for sanitising 2017-10-26 14:40:29 +11:00
Danielle McLean 5a4362b129
Don't mark the hidden self-referencing u-url on the h-card as rel="me", since there's no point in verifying the URL you're already at 2017-10-25 13:37:47 +11:00
Danielle McLean 3fbf960358
Mark the home page as an h-feed now that it has h-entries on it 2017-10-25 13:28:25 +11:00
Danielle McLean e88b631cdb
Enable Markdown rendering support for user notes and entry content 2017-10-25 13:25:58 +11:00
Danielle McLean 60cd6c911b
Add entries to the homepage, and make style tweaks so everywhere looks right 2017-10-25 12:55:24 +11:00
Danielle McLean 172f0d4753
Lots of style fixes - the kind-specific feeds and the permalink pages now look great 2017-10-25 12:46:04 +11:00
Danielle McLean 430f8d9a1d
Add hidden .u-uid.u-url link to the h-card on the homepage to ensure it's considered authoritative 2017-10-25 10:54:58 +11:00
Danielle McLean 84a34c89e7
Enable breadcrumb support, use it on the login view 2017-10-25 00:25:41 +11:00
Danielle McLean 8ef64d6a87
Some basic support for gross SEO metadata formats with django-meta 2017-10-24 21:57:07 +11:00
Danielle McLean 501c91bd12
Add a simple sitemap using django.contrib.sitemaps - there aren't a lot of pages to map so far so it's pretty basic ;) 2017-10-24 21:14:17 +11:00
Danielle McLean 97948b957d
Add support for social profiles 2017-10-23 12:59:10 +11:00
Danielle McLean 75f2575c30
Add simple support for PGP keys 2017-10-23 12:33:24 +11:00
Danielle McLean c0d0fb6179
Properly mark up the user note as card-text 2017-10-23 11:54:45 +11:00
Danielle McLean 24c83674ba
Support for displaying avatar and note on h-card 2017-10-23 10:39:17 +11:00
Danielle McLean fe75a57550
Add a Stylus stylesheet for the layout, which is automatically compiled by Django Compressor 2017-10-23 10:29:12 +11:00
Danielle McLean 55abf1780e
Create a super-simple homepage 2017-10-23 09:37:24 +11:00