Commit graph

99 commits

Author SHA1 Message Date
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
7027c74035
Install django-shorturls to generate simple shortpermalinks for entries :3 2017-10-29 12:56:30 +11:00
21786d6e6c
Install django-annoying, which provides some nice shortcuts for common operations 2017-10-29 12:41:33 +11:00
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
85be02c7d2
Fix appearance of kind-specific feed pages 2017-10-27 20:43:56 +11:00
9df4cb1eca
Actually, let the entry title extend to 100 chars if it wants 2017-10-27 19:50:29 +11:00
d2b7ed5d02
Whoops, filter out the separators between paragraphs when calculating entry.paragraphs 2017-10-27 19:49:22 +11:00
08b44ccee6
Figured out how to do both title and description without getting duplication :3 2017-10-27 19:41:25 +11:00
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
d8a6dbf2bf
Use the entry.title property to set the page title 2017-10-27 17:45:38 +11:00
8814e60624
Clean up URL handling for models a li'l 2017-10-27 16:51:46 +11:00
4ac0bcde43
Implement simple 'excerpt' feature to shorten each entry's content for syndicated preview 2017-10-27 16:42:49 +11:00
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
9bd6bc3d1c
Use a much cleaner approach to register routes for each post kind 2017-10-27 16:22:54 +11:00
aec22e813d
Basic support for entries of 'photo' kind 2017-10-27 16:04:05 +11:00
67308911fb
Apply a bit of margin between the h-entry footer fields 2017-10-27 08:55:51 +11:00
824aaa1e57
Make a few database performance optimisations 2017-10-27 08:52:26 +11:00
8f8e53bb27
Switch from django-markdown-deux to a pipeline thru markdown for rendering + bleach for sanitising 2017-10-26 14:40:29 +11:00
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
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
dc99e7a39b
Add posted entries to the sitemap 2017-10-26 08:46:48 +11:00
747c053c89
Default to the author's avatar when picking the image for an entry, we will support u-photo later on but we don't just yet 2017-10-25 14:06:12 +11:00
0d520c0fd8
Add basic django-meta support to entries too 2017-10-25 14:04:22 +11:00
9adbe012d6
Basic support for tracking entry syndication 2017-10-25 13:45:33 +11:00
e88b631cdb
Enable Markdown rendering support for user notes and entry content 2017-10-25 13:25:58 +11:00
60cd6c911b
Add entries to the homepage, and make style tweaks so everywhere looks right 2017-10-25 12:55:24 +11:00
172f0d4753
Lots of style fixes - the kind-specific feeds and the permalink pages now look great 2017-10-25 12:46:04 +11:00
2b6691f8a5
Rudimentary but fully-functional entry permalink pages :3 2017-10-25 12:31:08 +11:00
950459cd5f
Very, very rudimentary support for making h-entries: they don't look so good and don't appear on the homepage yet but it's a good start 2017-10-25 12:01:52 +11:00