Commit graph

213 commits

Author SHA1 Message Date
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 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 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 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 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 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 1a9582213a
Add WebFinger support and refactor some of the request manip stuff 2017-10-27 13:24:57 +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 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 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 dc99e7a39b
Add posted entries to the sitemap 2017-10-26 08:46:48 +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 2b6691f8a5
Rudimentary but fully-functional entry permalink pages :3 2017-10-25 12:31:08 +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 7f12ec3f62
Add support for OpenWeb Icons 2017-10-25 10:39:51 +11:00
Danielle McLean 397d2fc846
Add a liiiiiiittle more spacing around the social profiles 2017-10-25 10:14:36 +11:00
Danielle McLean 3962c5facb
Use vertical layout on 'sm' screens 2017-10-25 10:09:04 +11:00
Danielle McLean 0328ab97f6
Add support for ogp:url and the much nicer rel="canonical", as well as smarter title handling 2017-10-25 09:25:35 +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 187412d966
Secure the admin site with django-otp as well 2017-10-25 01:30:52 +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 3151621acb
Use nice base16-conforming colours on form-controls 2017-10-25 00:33:39 +11:00
Danielle McLean 84a34c89e7
Enable breadcrumb support, use it on the login view 2017-10-25 00:25:41 +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 f6b316dcfa
Set rel="home" on the homepage brand link 2017-10-24 22:00:41 +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 97eb5c52eb
Add basic navigation menus :3 2017-10-24 15:01: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 f0846d8c73
Cache the contents of package.json once loaded, instead of reading the file every time it's required 2017-10-23 13:08:11 +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 afcf101d09
Add footer with handy info 2017-10-23 10:35:29 +11:00
Danielle McLean c74eb40d76
Enable Font Awesome, since I wanna use it 2017-10-23 10:30:34 +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
Danielle McLean a99ff49cef
Initial commit - result of django-admin project lemoncurry . with no customisation 2017-10-23 08:52:16 +11:00