Commit graph

93 commits

Author SHA1 Message Date
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
c354830653
Enable django.contrib.sites rather than using a custom lemoncurry-specific setting for the site name 2017-10-29 12:12:39 +11:00
7429d43280
Update manifest.json with extra properties, set theme colour properly as a <meta> as well 2017-10-28 15:05:54 +11:00
55731c63ce
Add support for generating a simple Web App Manifest file, which helps mobile browsers display the site smartly 2017-10-28 14:29:07 +11:00
1f6a587329
Tweak the styles on breadcrumbs: rather than wrapping, just truncate the active page crumb since you can see it elsewhere on the page anyway 2017-10-28 00:29:45 +11:00
6678c4cdbb
Install WebSub plugin - it can't actually push anything yet because there's no micropub, and therefore no pinging, but it's a start 2017-10-27 20:32:50 +11:00
e26dad6137
Make the IndieAuth undiscoverable since it isn't ready to use yet and I wanna release some of this other stuff 2017-10-27 13:28:47 +11:00
1a9582213a
Add WebFinger support and refactor some of the request manip stuff 2017-10-27 13:24:57 +11:00
0419a844ce
Load the Material colour scheme directly from the source YAML, rather than hardcoding it into Stylus format 2017-10-27 11:34:34 +11:00
9d91cec6f9
Add http://schema.org/Person as JSON-LD, underneath my h-card on the home page 2017-10-27 09:52:03 +11:00
29da1e52d7
Bring back support for https://schema.org/BreadcrumbList - it's gross but what can you do 2017-10-27 09:35:56 +11:00
eaf54a4e83
Install the django-debug-toolbar plugin for lots of handy info during development 2017-10-27 08:05:50 +11:00
8e974e3745
Set <base> on every page 2017-10-26 15:57:44 +11:00
a7e71525f4
Apply a nice, dark scheme to inline code 2017-10-26 15:32:48 +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
93be2f5a32
Half-implement an IndieAuth authorization endpoint - it accepts the right parameters, verifies your client_id, and displays a prompt, but you can't actually approve the auth yet 2017-10-26 11:35:57 +11:00
09bf6b8596
Eek, just disable link patterns entirely for now, they're pretty buggy 2017-10-26 09:50:14 +11:00
c4f7ea7fc6
Enable autolinking and a bunch of other handy Markdown features 2017-10-26 09:23:51 +11:00