Commit graph

297 commits

Author SHA1 Message Date
cd075a8ce2
Add <pre> to the list of acceptable tags so that code blocks work 2017-12-19 14:38:06 +11:00
7b4f5d3ac1
Unwrap 'html' content passed to micropub 2017-12-19 13:54:07 +11:00
ff96b732af
1.8.0 2017-12-19 13:39:56 +11:00
afc3b45edd
Remove an extraneous print call 2017-12-18 16:33:18 +11:00
d30f1bc334
Normalise formencoded Micropub requests to JSON form, and handle all requests as JSON, so now JSON request bodies work too 2017-12-18 16:32:29 +11:00
29a3f740a9
Add a function to convert form-encoded micropub requests into JSON micropub requests - I'll be changing the actual endpoint to accept JSON and use this to keep accepting form-encoded as well 2017-12-18 11:56:04 +11:00
14723b03ff
Fix regression - the verification tooltips weren't working with FA 5 2017-12-18 10:53:45 +11:00
87f04ce988
Use a more helpful page title on IndieAuth authorisation pages 2017-12-18 10:53:17 +11:00
b89405ed88
Dramatically improved processing of Micropub tokens which supports both the Authorization header and the access_token field approaches 2017-12-18 09:51:06 +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
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
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
b8a74443c9
1.7.4 2017-12-11 12:33:16 +11:00
acb5bc97a9
Oops, still generate a shortlink when the published and updated timestamps match 2017-12-11 12:33:04 +11:00
5fa4066d7a
Wrap the u-uid link in the h-card around my avatar rather than just having it be hidden, since invisible info in is a microformats2 antipattern 2017-12-11 12:28:39 +11:00
ddf4099639
Remove a little bit of spurious whitespace 2017-12-11 11:11:32 +11:00
1e15a82403
1.7.3 2017-12-11 09:54:00 +11:00
e0bc184c12
Bump FA to 5.0.1 2017-12-11 09:38:44 +11:00
b45661fa41
Improve accessibility and make profiles appear a little more cleanly - the full username and site domain are available to screen readers, but aren't displayed by default, which is much less cluttered 2017-12-11 09:38:29 +11:00
97f52a713b
Switch back to ordering sites by name, since sites like Pocket have weird domain names and therefore sort weirdly if you go by domain 2017-12-06 22:13:54 +11:00
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
2add38b71e
1.7.2 2017-12-06 15:20:36 +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
bb18194b56
1.7.1 2017-12-05 15:17:24 +11:00
458da087d0
Include information on cats in the Atom and RSS feeds 2017-12-04 22:19:03 +11:00
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
342ca6ac76
Switch back to full-width <main>, I like it better after all 2017-12-04 22:04:04 +11:00
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
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
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
8fdaad5367
1.7.0 2017-11-20 11:26:24 +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
de141bb697
Add WebSub ping support for the entries-by-cat pages 2017-11-20 11:21:28 +11:00
8b00cf8a1a
Add cat support to the micropub endpoint, so new posts will have appropriate cats 2017-11-20 11:19:08 +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
fb9e9a24c9
Add a few extra properties in layout.html that should be applied to all pages 2017-11-16 09:50:21 +11:00
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
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