Commit graph

43 commits

Author SHA1 Message Date
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 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 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 4b4ab324cc
Enable analytics in production 2017-11-01 16:18:48 +11:00
Danielle McLean 65ff5f947a
Set the short base URL to my new short domain 2017-10-30 14:25:40 +11:00
Danielle McLean 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
Danielle McLean 7027c74035
Install django-shorturls to generate simple shortpermalinks for entries :3 2017-10-29 12:56:30 +11:00
Danielle McLean 21786d6e6c
Install django-annoying, which provides some nice shortcuts for common operations 2017-10-29 12:41:33 +11:00
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 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 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 eaf54a4e83
Install the django-debug-toolbar plugin for lots of handy info during development 2017-10-27 08:05:50 +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 09bf6b8596
Eek, just disable link patterns entirely for now, they're pretty buggy 2017-10-26 09:50:14 +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 e88b631cdb
Enable Markdown rendering support for user notes and entry content 2017-10-25 13:25:58 +11:00
Danielle McLean 172f0d4753
Lots of style fixes - the kind-specific feeds and the permalink pages now look great 2017-10-25 12:46:04 +11:00
Danielle McLean 950459cd5f
Very, very rudimentary support for making h-entries: they don't look so good and don't appear on the homepage yet but it's a good start 2017-10-25 12:01:52 +11:00
Danielle McLean 7f17d50486
Enable django-otp-agents, for preserving OTP trust over time 2017-10-25 01:46:18 +11:00
Danielle McLean 3f3bb05a25
Add TOTP support with django-otp 2017-10-25 01:25:03 +11:00
Danielle McLean 9efb167bc9
Mark 'active' navbar items accordingly, using django-activeurl 2017-10-25 00:40:38 +11:00
Danielle McLean c210650ca7
Switch from using the admin login/logout pages to custom 'lemonauth' pages 2017-10-24 23:50:57 +11:00
Danielle McLean 1670b6d427
Switch from Memcached to Redis 2017-10-24 22:22:56 +11:00
Danielle McLean 8ef64d6a87
Some basic support for gross SEO metadata formats with django-meta 2017-10-24 21:57:07 +11:00
Danielle McLean 1aed52b75f
Enable session caching for somewhat improved performance 2017-10-24 21:17:38 +11:00
Danielle McLean 501c91bd12
Add a simple sitemap using django.contrib.sitemaps - there aren't a lot of pages to map so far so it's pretty basic ;) 2017-10-24 21:14:17 +11:00
Danielle McLean ec45a4c250
Add support for favicons using django-favicon-plus 2017-10-24 14:46:32 +11:00
Danielle McLean 2db2f4b6fc
Add support for /.well-known/keybase.txt 2017-10-24 14:39:16 +11:00
Danielle McLean f60a7115a8
Enable caching with Memcached 2017-10-23 17:49:11 +11:00
Danielle McLean 8a412c705b
Apply lots of little config changes that django-admin check --deploy recommended 2017-10-23 17:46:26 +11:00
Danielle McLean 2c42a69f19
Set the production SECRET_KEY from the environment 2017-10-23 17:45:32 +11:00
Danielle McLean 041fd76a2b
Disable DEBUG in prod because yikes 2017-10-23 16:40:03 +11:00
Danielle McLean 888e01cb43
Actually use STATIC_URL in a way that will work with compress 2017-10-23 15:56:13 +11:00
Danielle McLean 3b5713361a
Set timezone in base config 2017-10-23 15:55:32 +11:00
Danielle McLean 541830a5ec
Set separate domain for static files 2017-10-23 15:16:23 +11:00
Danielle McLean 24fc20d751
Add gunicorn and psycopg2 for production use 2017-10-23 15:04:09 +11:00
Danielle McLean c22e807fa4
Support for actually setting an avatar and note on the user in the admin 2017-10-23 11:53:51 +11:00
Danielle McLean fe75a57550
Add a Stylus stylesheet for the layout, which is automatically compiled by Django Compressor 2017-10-23 10:29:12 +11:00
Danielle McLean 58d446f711
Properly load the site name in the template, oops 2017-10-23 09:43:26 +11:00
Danielle McLean 55abf1780e
Create a super-simple homepage 2017-10-23 09:37:24 +11:00
Danielle McLean 8bd2faa8a9
Install a custom user model 2017-10-23 09:04:59 +11:00
Danielle McLean 6bd1feff3b
Whoops, make sure BASE_DIR is set correctly 2017-10-23 08:57:47 +11:00
Danielle McLean fc848546dc
Make development-specific settings file 2017-10-23 08:55:07 +11:00