Commit Graph

168 Commits

Author SHA1 Message Date
Danielle McLean 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
Danielle McLean 7429d43280
Update manifest.json with extra properties, set theme colour properly as a <meta> as well 2017-10-28 15:05:54 +11:00
Danielle McLean b172d9f139
1.4.3 2017-10-28 14:29:35 +11:00
Danielle McLean 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
Danielle McLean 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
Danielle McLean 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
Danielle McLean e2e21f4afa
Make sure IndieAuth is agnostic to whether the 'me' parameter has a trailing slash or not 2017-10-27 22:03:25 +11:00
Danielle McLean 5690e4bfab
Add some niiiice h-x-app rendering to the authorisation page, so you can get a pretty view of who's trying to auth 2017-10-27 21:32:14 +11:00
Danielle McLean 85be02c7d2
Fix appearance of kind-specific feed pages 2017-10-27 20:43:56 +11:00
Danielle McLean 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
Danielle McLean ba34ee034a
1.4.2 2017-10-27 19:56:11 +11:00
Danielle McLean 9df4cb1eca
Actually, let the entry title extend to 100 chars if it wants 2017-10-27 19:50:29 +11:00
Danielle McLean d2b7ed5d02
Whoops, filter out the separators between paragraphs when calculating entry.paragraphs 2017-10-27 19:49:22 +11:00
Danielle McLean 08b44ccee6
Figured out how to do both title and description without getting duplication :3 2017-10-27 19:41:25 +11:00
Danielle McLean 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
Danielle McLean d8a6dbf2bf
Use the entry.title property to set the page title 2017-10-27 17:45:38 +11:00
Danielle McLean 286caadf40
1.4.1 2017-10-27 17:40:11 +11:00
Danielle McLean 8814e60624
Clean up URL handling for models a li'l 2017-10-27 16:51:46 +11:00
Danielle McLean 4ac0bcde43
Implement simple 'excerpt' feature to shorten each entry's content for syndicated preview 2017-10-27 16:42:49 +11:00
Danielle McLean 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
Danielle McLean 9bd6bc3d1c
Use a much cleaner approach to register routes for each post kind 2017-10-27 16:22:54 +11:00
Danielle McLean aec22e813d
Basic support for entries of 'photo' kind 2017-10-27 16:04:05 +11:00
Danielle McLean 1912251801
1.4.0 2017-10-27 13:28:59 +11:00
Danielle McLean 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
Danielle McLean a14d31e9d3
Improve the IndieAuth form: include the state parameter, show more information, etc. 2017-10-27 13:26:21 +11:00
Danielle McLean 1a9582213a
Add WebFinger support and refactor some of the request manip stuff 2017-10-27 13:24:57 +11:00
Danielle McLean 00d7a29b2d
Add basic support for /.well-known/host-meta(.json)?, not much info in it so far but it works 2017-10-27 12:25:17 +11:00
Danielle McLean 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
Danielle McLean 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
Danielle McLean 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
Danielle McLean 67308911fb
Apply a bit of margin between the h-entry footer fields 2017-10-27 08:55:51 +11:00
Danielle McLean 824aaa1e57
Make a few database performance optimisations 2017-10-27 08:52:26 +11:00
Danielle McLean eaf54a4e83
Install the django-debug-toolbar plugin for lots of handy info during development 2017-10-27 08:05:50 +11:00
Danielle McLean 8e974e3745
Set <base> on every page 2017-10-26 15:57:44 +11:00
Danielle McLean a7e71525f4
Apply a nice, dark scheme to inline code 2017-10-26 15:32:48 +11:00
Danielle McLean 8f8e53bb27
Switch from django-markdown-deux to a pipeline thru markdown for rendering + bleach for sanitising 2017-10-26 14:40:29 +11:00
Danielle McLean 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
Danielle McLean d234fd942d
Refactor the login views into their own modules, because I'm about to implement IndieAuth and it's gonna be kinda big 2017-10-26 11:21:56 +11:00
Danielle McLean 09bf6b8596
Eek, just disable link patterns entirely for now, they're pretty buggy 2017-10-26 09:50:14 +11:00
Danielle McLean d48591bbae
1.3.3 2017-10-26 09:47:42 +11:00
Danielle McLean 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
Danielle McLean c4f7ea7fc6
Enable autolinking and a bunch of other handy Markdown features 2017-10-26 09:23:51 +11:00
Danielle McLean 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
Danielle McLean dc99e7a39b
Add posted entries to the sitemap 2017-10-26 08:46:48 +11:00
Danielle McLean 9d6cf902d1
1.3.2 2017-10-25 14:06:20 +11:00
Danielle McLean 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
Danielle McLean 0d520c0fd8
Add basic django-meta support to entries too 2017-10-25 14:04:22 +11:00
Danielle McLean eaf84459ff
1.3.1 2017-10-25 13:45:51 +11:00
Danielle McLean 9adbe012d6
Basic support for tracking entry syndication 2017-10-25 13:45:33 +11:00
Danielle McLean 5a4362b129
Don't mark the hidden self-referencing u-url on the h-card as rel="me", since there's no point in verifying the URL you're already at 2017-10-25 13:37:47 +11:00