Commit graph

78 commits

Author SHA1 Message Date
098284a617
Remove django-shorturls with my own implementation, since it's incompatible with Django 2 and unmaintained 2018-03-21 21:50:40 +11:00
f0cf3b3a68
Patch a few small deprecated operations so that the site works under Django 2.0 as well 2018-03-21 16:14:07 +11:00
039b6a1914
Make the permalink views 404 if you try to load a non-existent entry 2018-03-08 14:13:45 +11:00
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
c359b7640e
Refactor the 'entries' views into a package rather than just one module, so more views can be added without clutter 2018-03-07 15:46:21 +11:00
f6a0adfb56
Add rel="shortlink" on the AMP pages too 2018-01-24 14:09:26 +11:00
e5a44fd38c
Dramatically improve AMP support, adding all the missing fields so that the AMP version still parses to a reasonable h-entry 2018-01-24 14:04:19 +11:00
75e08aa1b2
Reduce number of queries required to render an entries list, especially the home page 2018-01-24 13:18:22 +11:00
40ead1bbe1
Provide simple support for fetching entries in AMP format - can't handle images yet and needs some other tweaks, but works nicely so far c: 2018-01-13 14:49:38 +11:00
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
447e91f1f1
Make sure the content doesn't stretch wider than the display, so mobile users can access the site correctly 2017-12-19 17:02:30 +11:00
5e524cb4f2
Process the WebSub pings for each feed separately, because the hub.url[] syntax doesn't seem to actually work 2017-12-19 15:44:42 +11:00
e5f2e9d537
Oops, bump up the entries-per-page to ten again - it was lowered to make testing the behaviour easier 2017-12-15 12:34:36 +11:00
a0db1bfb47
Use the same paginate function on the entry-kind feeds and cat feeds, for identical pagination everywhere c: 2017-12-15 12:34:02 +11:00
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
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
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
ea241577f1
Smarter generation of OGP/Schema.org/etc. metadata, with HTML tags stripped out so the result looks nice and clean 2017-12-11 13:30:46 +11:00
acb5bc97a9
Oops, still generate a shortlink when the published and updated timestamps match 2017-12-11 12:33:04 +11:00
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
458da087d0
Include information on cats in the Atom and RSS feeds 2017-12-04 22:19:03 +11:00
6313664e53
Adjust the spacing around entries - don't use .container since it adds extra unwanted margin 2017-12-04 21:43:13 +11:00
b63e2db584
Add cats to the admin and give them a more useful string representation 2017-11-20 11:37:36 +11:00
931568db26
Temporarily disable replies, likes, and reposts since they don't work yet but I wanna release cat support 2017-11-20 11:26:15 +11:00
829bb4a20f
Use a cuter icon for the cats - Font Awesome doesn't have an actual cat, but a paw is also cute :3c 2017-11-20 11:12:05 +11:00
3ca2af74bb
Rename tags to 'cats', a silly catgirl pun on 'categories' 2017-11-20 11:09:30 +11:00
2413a8aa96
Put the published and updated dates next to each other again 2017-11-20 10:59:58 +11:00
1a6ec02664
Add basic support for tags on entries :3 cool beans 2017-11-20 10:59:03 +11:00
e72a6b01f0
Start implementing reply context! It's ugly and doesn't actually link the original post yet but you *can* see the original post's author and content :3 2017-11-16 21:52:42 +11:00
b446c7072c
Also omit entry kinds that don't show on the homepage from the Atom and RSS feeds, since they're supposed to be alternate versions of the homepage content 2017-11-13 13:16:46 +11:00
cedae16456
Use a slightly simpler way of identifying on_home kinds, which the ORM seems to like better 2017-11-13 08:56:20 +11:00
adb302ebe3
Hide likes and replies from the homepage 2017-11-13 08:54:23 +11:00
28e4a71cae
Begin implementing support for replies, likes, and reposts - there's a DB field for storing the original post's URL, but it's not actually used yet 2017-11-13 08:42:31 +11:00
b47716249e
Use display: inline-block to keep the little entry info widgets from breaking apart, rather than white-space: nowrap 2017-11-09 12:17:07 +11:00
5349fc4c96
Handle webmention endpoint discovery separately - sendWebmention() is meant to do it itself but doesn't quite work 2017-11-06 21:41:27 +11:00
78b2f8220d
Add simple support for sending Webmentions using the ronkyuu library 2017-11-06 21:08:02 +11:00
3cc2fe798f
Whoops, fix up the WebSub ping implementation - it should actually work now 2017-11-06 21:05:00 +11:00
475302eb07
Forgot to urlencode the list of URLs posted up to Superfeedr 2017-11-06 11:49:43 +11:00
45298abb98
Actually queue up the ping_hub operation on the queue by using its delay() method 2017-11-06 11:46:43 +11:00
e853e22362
Install django-rq and use it to ping WebSub, rather than blocking the micropub request during pings 2017-11-06 11:04:22 +11:00
1e56d5a09a
Install django-model-utils and use it for automatic timestamp fields on entries 2017-11-02 12:59:23 +11:00
5555cdfd1e
Render the entry content to HTML when syndicating it as Atom or RSS 2017-11-01 09:32:42 +11:00
730a2bcb9d
Added support for RSS and Atom feeds, because why not 2017-11-01 09:29:59 +11:00
7090db3c37
Add JSON-LD support to entries too, mostly so Google can understand the site a little better 2017-10-31 14:51:50 +11:00
91fc632703
Tweak the styling of entry footers 2017-10-31 14:05:34 +11:00
8a9f41759e
Add a field site.domain, so that profiles can be labeled as username@domain, WebFinger style 2017-10-31 13:47:47 +11:00
52106f1d3f
Make shortlinks discoverable by displaying them on each entry, with extraneous bits trimmed out 2017-10-30 14:59:02 +11:00
3f4c5bbc11
Replace use of abandoned rev="canonical" with rel="shortlink" 2017-10-30 10:03:08 +11:00
75ed4503c8
Make some little quality-of-life improvements to the Django admin for my models 2017-10-29 22:44:11 +11:00
63b0ec45e9
Keep images in entry content inside the card, oops 2017-10-29 19:39:31 +11:00