Commit Graph

533 Commits

Author SHA1 Message Date
Danielle McLean c405fc0dbb
Load Tippy and the OpenWeb icons from unpkg rather than bundling them 2018-05-16 15:50:19 +10:00
Danielle McLean d65757f7df
Merge pull request #2 from 00dani/pyup-update-gevent-1.2.2-to-1.3.0
Update gevent to 1.3.0
2018-05-14 10:48:00 +10:00
pyup-bot 9e57d04ad5 Update gevent from 1.2.2 to 1.3.0 2018-05-14 10:41:05 +10:00
Danielle McLean e5c02b1fc6
Configure pyup to look at my Pipfiles 2018-05-14 10:40:44 +10:00
Danielle McLean 742296d5dd
Do a --dev install when running on Travis, so that pytest is available :o 2018-05-14 10:38:09 +10:00
Danielle McLean 4a208a91b6
Push pytest-django, and also ptpython, into dev-packages 2018-05-11 14:57:04 +10:00
Danielle McLean 4dd7a6dcc4
Switch to psycopg2-binary - don't actually need it, libpq is available in all my environments, but it'll shush some warnings 2018-05-11 14:04:38 +10:00
Danielle McLean aec98120ab
Whoops, include an updated date on items in Atom/RSS but do it correctly? Also made a few other minor improvements to the feeds 2018-05-11 13:45:26 +10:00
Danielle McLean 03b2668969
Update django-model-utils 2018-05-11 13:41:14 +10:00
Danielle McLean 46c2224a4f
Replace the previous WebFinger implementation with a fairly simple forwarder to Bridgy Fed, so that Bridgy Fed will work eventually 2018-05-11 13:23:47 +10:00
Danielle McLean 9f3cbac3c4
Advertise the WebSub hub inside all Atom feeds, to make sure subscribers know it exists 2018-05-11 12:52:29 +10:00
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 https://code.djangoproject.com/ticket/29296 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 wirres.net 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 manage.py 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