Commit graph

223 commits

Author SHA1 Message Date
Danielle McLean 2231c3644c
Add an actual copy of the MIT license to the repo - it's been MIT-licensed from the beginning as specified in the package.json, but it's better to include an actual LICENSE file 2017-12-06 17:22:43 +11:00
Danielle McLean 2add38b71e
1.7.2 2017-12-06 15:20:36 +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 bb18194b56
1.7.1 2017-12-05 15:17:24 +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 9e71c3d35d
Use fixed-width icons in the navbar - in most places it doesn't matter how wide the icons are but they get stacked vertically in the navbar on narrow screens 2017-12-04 22:06:39 +11:00
Danielle McLean 342ca6ac76
Switch back to full-width <main>, I like it better after all 2017-12-04 22:04:04 +11:00
Danielle McLean ba7e838db8
Apply the .container class to <main> actually - this stops things from getting TOO wide on big displays but uses plenty of space on narrow displays 2017-12-04 21:53:39 +11:00
Danielle McLean d95422ea45
Whoops, fix the styling for the footer so it actually clears the margin from the last paragraph 2017-12-04 21:47:26 +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 8fdaad5367
1.7.0 2017-11-20 11:26:24 +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 de141bb697
Add WebSub ping support for the entries-by-cat pages 2017-11-20 11:21:28 +11:00
Danielle McLean 8b00cf8a1a
Add cat support to the micropub endpoint, so new posts will have appropriate cats 2017-11-20 11:19:08 +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 fb9e9a24c9
Add a few extra properties in layout.html that should be applied to all pages 2017-11-16 09:50:21 +11:00
Danielle McLean f3bb90fffd
Accept in-reply-to, like-of, and repost-of at the micropub endpoint - currently they override each other, in the order I specified, but I think that's probably okay? 2017-11-13 15:55:34 +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 5d031f9e84
Adjust the spacing on the footer a bit, it looks better this way 2017-11-11 17:18:32 +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 and such 2017-11-11 16:23:05 +11:00
Danielle McLean a518d72a7d
Add PGP keys and XMPP handle to the WebFinger output 2017-11-10 10:30:09 +11:00
Danielle McLean 85d95fb5d7
Extend the host-meta with extra fields and sort them by rel 2017-11-10 10:17:19 +11:00
Danielle McLean a7f6824334
Implement request caching in Redis so that we don't always have to fetch remote pages every time we want their mf2 items 2017-11-10 09:17:32 +11:00
Danielle McLean b8a8cd62cf
Refactor micropub into a class-based view so that it can have a GET handler implemented as well (since that's needed to query for config info and stuff) 2017-11-09 13:55:44 +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 e4e8beb958
WebSub-ping the kind-specific entry URLs as well, not just the generic ones 2017-11-09 10:14:50 +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 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 5308e28d98
1.6.1 2017-11-06 21:13:49 +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 5c643299c7
Permit span[class] in bleached content 2017-11-06 16:06:25 +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 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 382b7ee4a9
Fix the rel for the micropub endpoint 2017-11-03 20:47:59 +11:00
Danielle McLean 3394eb72e8
1.6.0 2017-11-03 20:46:10 +11:00
Danielle McLean 9a98fcdf4f
Introduce some very, VERY basic support for micropub - only h-entry works, and only the name and content properties can actually be set, but it works 2017-11-03 20:45:29 +11:00
Danielle McLean a3f23e3b4d
Set the primary background colour on the <html> element instead, so overflow scrolling looks better in most cases 2017-11-03 18:10:16 +11:00