Commit graph

110 commits

Author SHA1 Message Date
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
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
3e4f55fa9c
Add <cite> to ALLOWED_TAGS, because honestly 2018-01-11 11:41:36 +11:00
0c9adb0288
Upgrade to Font Awesome v5.0.4 2018-01-11 10:33:13 +11:00
0fd65d3c2b
Enable CORS using django-cors-headers 2018-01-11 09:32:45 +11:00
c4b7e56c35
Upgrade to Font Awesome v5.0.3 2018-01-11 08:43:51 +11:00
2add0c3d15
Bump FA to 5.0.2 since that's out now 2017-12-21 11:31:04 +11:00
778bd7d872
Tweak the code block style again - simpler and more robust CSS 2017-12-19 14:53:05 +11:00
17f3779596
Style code blocks nicely 2017-12-19 14:41:51 +11:00
cd075a8ce2
Add <pre> to the list of acceptable tags so that code blocks work 2017-12-19 14:38:06 +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
e0bc184c12
Bump FA to 5.0.1 2017-12-11 09:38:44 +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
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
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
5d031f9e84
Adjust the spacing on the footer a bit, it looks better this way 2017-11-11 17:18:32 +11:00
6481e8d9bc
Tweak the cards' layout, there's more room for extra stuff this way 2017-11-11 17:07:40 +11:00
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
5c643299c7
Permit span[class] in bleached content 2017-11-06 16:06:25 +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
382b7ee4a9
Fix the rel for the micropub endpoint 2017-11-03 20:47:59 +11:00
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
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
5b70c59f83
Advertise the new token endpoint 2017-11-03 17:19:25 +11:00
179f5753ed
Implement a token endpoint - currently all tokens last forever and can't be revoked, but I can add revocation later without too much trouble 2017-11-03 17:18:00 +11:00
41d490ea80
Put the shortcuts for returning 40* responses into lemoncurry.utils 2017-11-02 16:16:04 +11:00
4b4ab324cc
Enable analytics in production 2017-11-01 16:18:48 +11:00
730a2bcb9d
Added support for RSS and Atom feeds, because why not 2017-11-01 09:29:59 +11:00
5aa4eed816
Add simple /robots.txt support 2017-10-31 15:10:13 +11:00
76305543fa
Just glue the netloc and path together rather than using urlunparse - it doesn't need to be a valid URL, just a nice-looking one 2017-10-30 15:02:49 +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
65ff5f947a
Set the short base URL to my new short domain 2017-10-30 14:25:40 +11:00
e0dfdafdc0
Delegate OpenID authentication to IndieAuth - OpenID is barely used nowadays but this is such a tiny change I might as well do it 2017-10-30 11:46:38 +11:00
d87d49e67b
Default the Accept header to */* if there isn't one provided 2017-10-30 08:24:36 +11:00
e8214b45ef
Use an absolute URI for the IndieAuth authorisation endpoint - many IndieAuth clients don't resolve the relative URI correctly 2017-10-30 08:08:11 +11:00
53b7b86515
Whoops, allow images in bleached content 2017-10-29 19:35:57 +11:00
e5d3af1b51
Make redirect_uri verification optional because many IndieAuth clients don't implement it - show a stylish icon to convey whether the client was verified 2017-10-29 19:15:29 +11:00
360063845e
Make the IndieAuth authorisation endpoint discoverable :o 2017-10-29 17:08:36 +11:00
acce72e90e
Implement the auth-code verification step, producing a complete IndieAuth implementation for 'id' type (nothing for 'code' type yet tho) 2017-10-29 17:07:36 +11:00
54bed15585
In production, move the static and media directories out of the app directory (which puts them in the lemoncurry user's home dir) 2017-10-29 13:07:28 +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