Commit Graph

52 Commits

Author SHA1 Message Date
Danielle McLean 43348a89da
Add support for serving users' avatars through the Libravatar API 2018-03-23 12:56:13 +11:00
Danielle McLean 098284a617
Remove django-shorturls with my own implementation, since it's incompatible with Django 2 and unmaintained 2018-03-21 21:50:40 +11:00
Danielle McLean 169f0687cb
Start implementing webmention receiving :o the status page is ugly and there's no actual verification yet, but good start at least ;) 2018-03-19 21:11:04 +11:00
Danielle McLean 45daf529f8
Switch the preferred password hash from PBKDF2 to the newer and more secure Argon2 2018-02-06 16:18:15 +11:00
Danielle McLean cbc24d4774
Add support for tests that use django.test.Client and that require a database, and use this support to test some of the wellknowns.views modules 2018-02-06 16:12:36 +11:00
Danielle McLean a6a5264477
Merge branch 'master' into develop
All this pulls in is disabling Google Analytics in production. I wanted
to get the branches back in sync.
2018-01-29 09:15:22 +11:00
Danielle McLean 870cdf5c25
Turn off Google Analytics, since I don't really care about it and people don't like it 2018-01-15 16:37:55 +11:00
Danielle McLean 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
Danielle McLean 0fd65d3c2b
Enable CORS using django-cors-headers 2018-01-11 09:32:45 +11:00
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