Commit graph

522 commits

Author SHA1 Message Date
Danielle McLean 39d0a64c34
Nicely handle the unlikely case where the h-card contains absolutely no PGP keys and/or social profiles 2018-05-10 14:23:05 +10:00
Danielle McLean 9fb2e8552f
Switch the dev environment from SQLite to also use Postgres, so that Postgres-specific data types can be used 2018-05-10 14:20:09 +10:00
Danielle McLean eb20cc1d21
Add a Link header to the Micropub create response indicating the entry's shortlink 2018-05-10 13:42:59 +10:00
Danielle McLean 86f4da306c
Fix creating posts with Micropub to use the new entry kind handling 2018-05-10 13:42:32 +10:00
Danielle McLean 04b3b7f806
Drop the name-tests-test hook since it doesn't understand the test directory structure being used here 2018-05-09 21:37:13 +10:00
Danielle McLean dd0951cc82
Add tests for the Atom/RSS feeds so I won't accidentally break 'em without realising again 2018-05-09 21:36:21 +10:00
Danielle McLean 4945b40810
Add Travis config file 2018-05-09 21:06:42 +10:00
Danielle McLean c55f437885
Add pyup-django to warn me if Django's dangerously outdated 2018-05-09 21:00:30 +10:00
Danielle McLean b32cefe762
Ban CORS requests to the siteadmin and to the auth forms, just in case 2018-05-09 01:29:30 +10:00
Danielle McLean 30c4c8ec8f
whoops, patch the RSS/Atom feeds to work with the refactored handling of entry kinds 2018-05-08 18:10:08 +10:00
Danielle McLean 4d974a5364
Create a basic but functional micropub media endpoint :o 2018-05-07 22:28:48 +10:00
Danielle McLean 0d5387823d
Upgrade to Bootstrap 4.1.1 2018-05-07 21:01:20 +10:00
Danielle McLean 467ba19704
Update to Font Awesome 5.0.12 2018-05-07 20:59:23 +10:00
Danielle McLean 9edb0571d8
1.9.7 2018-05-04 16:10:34 +10:00
Danielle McLean e5bad72e36
Add docstring to webmention:status endpoint 2018-05-04 13:50:50 +10:00
Danielle McLean 18ca8545e6
Bump package versions in Pipfile.lock, pulls in fix for this Django bug 2018-05-04 13:32:09 +10:00
Danielle McLean d4b8581793
Add docs to a bunch of stuff in users.models 2018-05-04 13:20:14 +10:00
Danielle McLean 1b660d8af5
Migrate users.urls from url() to re_path() 2018-05-04 12:42:48 +10:00
Danielle McLean 2fc4a5e23e
Change the webmention acceptance URL to /webmentions - it feels a little more RESTful 2018-05-04 12:40:39 +10:00
Danielle McLean 30634f9ec2
Port webmention.urls to use path() 2018-05-04 12:34:52 +10:00
Danielle McLean 0239f7e031
Port the global lemoncurry.urls URLconf to use path() 2018-05-04 12:31:44 +10:00
Danielle McLean 70e57e4155
Port the urls for lemonauth, lemonshort, micropub, and wellknowns to path() 2018-05-04 12:19:54 +10:00
Danielle McLean e9c46f23db
Switch home.urls and entries.urls over to modern path() definitions, with param conversion and such 2018-05-04 12:13:52 +10:00
Danielle McLean 0b43aad50e
Upgrade to Font Awesome v5.0.11 2018-05-04 11:30:14 +10:00
Danielle McLean 70d4579448
Support oEmbed using the mf2-to-oEmbed proxy :3 2018-05-01 15:23:57 +10:00
Danielle McLean c40372a020
Add cute little Tipper.js tooltips to the profiles on the home h-card 2018-05-01 14:15:37 +10:00
Danielle McLean ffd0d3384e
Upgrade to Tippy.js v2, along with upgrading its dependency Popper.js 2018-05-01 14:00:16 +10:00
Danielle McLean 6f3f613cc8
Fix the AMP template to use the new favicon support instead 2018-04-28 13:22:30 +10:00
Danielle McLean 34ea2441bb
Set the From address for lemoncurry error emails 2018-04-27 11:43:13 +10:00
Danielle McLean 8c9977439e
Add some extra blocks to lemoncurry/layout.html for overriding in special cases 2018-04-26 13:47:05 +10:00
Danielle McLean 8cbe51277e
Install django-extensions for lots more commands 2018-04-26 13:35:31 +10:00
Danielle McLean b649a79afc
Load the lemoncurry app FIRST so it can override templates and stuff from third-party apps 2018-04-26 10:40:11 +10:00
Danielle McLean 8dd5fc0f50
Whoops, use a path relative to the project dir to load the theme module into Stylus 2018-04-26 10:32:01 +10:00
Danielle McLean 1d079abd19
Set myself as a Django admin, so I get emails about production server errors 2018-04-26 10:27:11 +10:00
Danielle McLean 092cd5ca18
Explicitly depend on gevent, since apparently depending on it as a Gunicorn 'extra' might not install it :/ 2018-04-26 10:22:02 +10:00
Danielle McLean 6f84023f8c
1.9.6 2018-04-25 14:49:50 +10:00
Danielle McLean 78e6d76693
Force the Django admin to go through the normal lemonauth:login view rather than its own login 2018-04-25 14:49:02 +10:00
Danielle McLean 0936bcb311
Clean up lemoncurry.settings.base in accordance with flake8 2018-04-24 13:05:25 +10:00
Danielle McLean 01d5745fa7
Change the cache serialiser from pickle to MessagePack for way better performance 2018-04-24 12:46:36 +10:00
Danielle McLean 0f95cfa0bc
Switch from django-redis-cache to django-redis, which does the same thing but is actively maintained 2018-04-24 12:45:05 +10:00
Danielle McLean 9d30534d1d
Explicitly depend on the gevent extra for Gunicorn, since we make a lot of HTTP requests and so absolutely need async workers 2018-04-24 11:31:30 +10:00
Danielle McLean 23ab0c4329
Add a meta[name='generator'] tag to the layout 2018-04-21 14:03:09 +10:00
Danielle McLean 132da5d69b
Add /favicon.ico redirection 2018-04-20 12:48:01 +10:00
Danielle McLean 1654ceecf3
Switch from django-favicon-plus to django-super-favicon, it performs better and doesn't require a DB table 2018-04-20 12:35:51 +10:00
Danielle McLean 025910029e
Add support for the django.contrib.admindocs feature 2018-04-20 11:21:00 +10:00
Danielle McLean 236a32ebc1
Reorganise the meta tags at the top of the layout in accordance with best practices - the charset needs to be as early as possible 2018-04-20 10:41:04 +10:00
Danielle McLean d3c79a4cc3
Use django-sites for the absolute_url template tag - this actually reduces the number of queries for whatever reason 2018-04-20 10:39:52 +10:00
Danielle McLean 3142c6073c
Add pre-commit hooks for checking common problems 2018-04-19 10:25:23 +10:00
Danielle McLean 1cf0449371
Rename a few variables under the webmention app to satisfy linters 2018-04-19 10:16:02 +10:00
Danielle McLean 5252c59910
Bump the pluggy==0.6.0 hash because PyPI has just gone through a migration that accidentally changed some hashes 2018-04-19 10:14:13 +10:00