Commit Graph

23 Commits

Author SHA1 Message Date
Danielle McLean 2e7d12b3e6
Run Black over the whole codebase 2023-08-10 16:52:37 +10:00
Danielle McLean 17e5c2c1b4
Remove calls to as_meta since the info is ignored anyway - gives a decent performance boost :o 2018-07-12 21:00:52 +10:00
Danielle McLean 065619772e
Use ResponseException for various places rather than needing to check the return value for responseness 2018-07-03 09:51:51 +10:00
Danielle McLean e9c46f23db
Switch home.urls and entries.urls over to modern path() definitions, with param conversion and such 2018-05-04 12:13:52 +10:00
Danielle McLean 9580068c5b
Refactor how the routing for different kinds of entry works - this will make implementing webmentions easier, hopefully? 2018-03-08 13:49:02 +11:00
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 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 adb302ebe3
Hide likes and replies from the homepage 2017-11-13 08:54:23 +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 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 60cd6c911b
Add entries to the homepage, and make style tweaks so everywhere looks right 2017-10-25 12:55:24 +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 55abf1780e
Create a super-simple homepage 2017-10-23 09:37:24 +11:00