Commit Graph

59 Commits

Author SHA1 Message Date
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 458da087d0
Include information on cats in the Atom and RSS feeds 2017-12-04 22:19:03 +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 b63e2db584
Add cats to the admin and give them a more useful string representation 2017-11-20 11:37:36 +11:00
Danielle McLean 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
Danielle McLean 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
Danielle McLean 3ca2af74bb
Rename tags to 'cats', a silly catgirl pun on 'categories' 2017-11-20 11:09:30 +11:00
Danielle McLean 2413a8aa96
Put the published and updated dates next to each other again 2017-11-20 10:59:58 +11:00
Danielle McLean 1a6ec02664
Add basic support for tags on entries :3 cool beans 2017-11-20 10:59:03 +11:00
Danielle McLean 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
Danielle McLean 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
Danielle McLean 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
Danielle McLean adb302ebe3
Hide likes and replies from the homepage 2017-11-13 08:54:23 +11:00
Danielle McLean 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
Danielle McLean 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
Danielle McLean 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
Danielle McLean 78b2f8220d
Add simple support for sending Webmentions using the ronkyuu library 2017-11-06 21:08:02 +11:00
Danielle McLean 3cc2fe798f
Whoops, fix up the WebSub ping implementation - it should actually work now 2017-11-06 21:05:00 +11:00
Danielle McLean 475302eb07
Forgot to urlencode the list of URLs posted up to Superfeedr 2017-11-06 11:49:43 +11:00
Danielle McLean 45298abb98
Actually queue up the ping_hub operation on the queue by using its delay() method 2017-11-06 11:46:43 +11:00
Danielle McLean 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
Danielle McLean 1e56d5a09a
Install django-model-utils and use it for automatic timestamp fields on entries 2017-11-02 12:59:23 +11:00
Danielle McLean 5555cdfd1e
Render the entry content to HTML when syndicating it as Atom or RSS 2017-11-01 09:32:42 +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 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
Danielle McLean 91fc632703
Tweak the styling of entry footers 2017-10-31 14:05:34 +11:00
Danielle McLean 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
Danielle McLean 52106f1d3f
Make shortlinks discoverable by displaying them on each entry, with extraneous bits trimmed out 2017-10-30 14:59:02 +11:00
Danielle McLean 3f4c5bbc11
Replace use of abandoned rev="canonical" with rel="shortlink" 2017-10-30 10:03:08 +11:00
Danielle McLean 75ed4503c8
Make some little quality-of-life improvements to the Django admin for my models 2017-10-29 22:44:11 +11:00
Danielle McLean 63b0ec45e9
Keep images in entry content inside the card, oops 2017-10-29 19:39:31 +11:00
Danielle McLean 7027c74035
Install django-shorturls to generate simple shortpermalinks for entries :3 2017-10-29 12:56: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 5987e54105
Simplify entry routing by using one route with an optional slug for permalinks, rather than a route with a slug and a route without 2017-10-28 14:01:31 +11:00
Danielle McLean 85be02c7d2
Fix appearance of kind-specific feed pages 2017-10-27 20:43:56 +11:00
Danielle McLean 9df4cb1eca
Actually, let the entry title extend to 100 chars if it wants 2017-10-27 19:50:29 +11:00
Danielle McLean d2b7ed5d02
Whoops, filter out the separators between paragraphs when calculating entry.paragraphs 2017-10-27 19:49:22 +11:00
Danielle McLean 08b44ccee6
Figured out how to do both title and description without getting duplication :3 2017-10-27 19:41:25 +11:00
Danielle McLean 8853e42508
Only use entry.excerpt as a description if it wasn't already used as a title 2017-10-27 19:07:28 +11:00
Danielle McLean d8a6dbf2bf
Use the entry.title property to set the page title 2017-10-27 17:45:38 +11:00
Danielle McLean 8814e60624
Clean up URL handling for models a li'l 2017-10-27 16:51:46 +11:00
Danielle McLean 4ac0bcde43
Implement simple 'excerpt' feature to shorten each entry's content for syndicated preview 2017-10-27 16:42:49 +11:00
Danielle McLean ecdd63b9d7
Add a redirect to entry permalink pages, to ensure entries are only ever accessed at their canonical URL 2017-10-27 16:23:31 +11:00
Danielle McLean 9bd6bc3d1c
Use a much cleaner approach to register routes for each post kind 2017-10-27 16:22:54 +11:00
Danielle McLean aec22e813d
Basic support for entries of 'photo' kind 2017-10-27 16:04:05 +11:00
Danielle McLean 67308911fb
Apply a bit of margin between the h-entry footer fields 2017-10-27 08:55:51 +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 159528c603
Fix list styling inside h-entry so it looks the same regardless of whether you're on a permalink or feed page 2017-10-26 09:46:38 +11:00
Danielle McLean f39782346f
Make entry kinds a teeny bit easier to manage by moving some of the smarts into the actual kinds.Entry class 2017-10-26 09:01:36 +11:00