Commit graph

171 commits

Author SHA1 Message Date
Danielle McLean 5f9aca20c4
Throw out support for AMP, because AMP sucks anyway 2018-06-12 12:27:35 +10:00
Danielle McLean d7abc468b9
Fix URL syntax for linking to the current lemoncurry version in the repo, so it works with Gitea 2018-06-12 11:01:59 +10:00
Danielle McLean f0678c3379
Add the missing navbars to the Jinja2 version of the layout 2018-06-12 10:47:53 +10:00
Danielle McLean 2c90114b9d
Add pickle support to the MSGPackModernSerializer - if a type can't be serialized to native MessagePack, then pickle it 2018-06-08 14:46:41 +10:00
Danielle McLean 0860f37ac0
Use the full URI of the current page as the OpenID delegate, rather than just the origin 2018-06-05 12:54:00 +10:00
Danielle McLean 4c0be4ce8b Load Postgres parameters from the environment so that it can work with GitLab CI 2018-06-04 09:32:47 +10:00
Danielle McLean c9f66eb91c
Install mypy and make the minimum changes necessary for it to pass, albeit using --ignore-missing-imports 2018-05-29 09:37:28 +10:00
Danielle McLean 142e3eff2b
Ugh. Fix the new MessagePack serialiser to interface reliably with the msgpack library (gotta pass some flags and stuff) - also, actually depend on msgpack to make sure we have it 2018-05-28 21:33:20 +10:00
Danielle McLean 8d4444cfb9
Provide our own MessagePack serialiser class for django-redis, since the included one doesn't work properly with msgpack <= 0.5.4 2018-05-28 21:18:18 +10:00
Danielle McLean b59962a119
Start porting stuff from Django templates to Jinja2 - I've only done the lemonauth templates so far, and the layout is missing some meta stuff (hoping to reduce how much of that is needed) but it works 2018-05-28 21:15:02 +10:00
Danielle McLean a62522d36a
Make some performance tweaks - persistent database connections, static file hashing, conditional GET support (ETags and stuff) 2018-05-28 17:52:24 +10:00
Danielle McLean a0bc5bacd8
Remove unused openwebicons and tippy.js symlinks 2018-05-28 17:49:09 +10:00
Danielle McLean bbb860148d
Upgrade to Font Awesome 5.0.13 2018-05-16 15:54:37 +10:00
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 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 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 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 0239f7e031
Port the global lemoncurry.urls URLconf to use path() 2018-05-04 12:31:44 +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 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 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 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 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 fceda5c698
Upgrade jQuery from 3.2.1 to 3.3.1 2018-04-17 15:23:46 +10:00
Danielle McLean 7cc173420d
Upgrade from Bootstrap 4.0.0 to Bootstrap 4.1.0 2018-04-17 15:23:18 +10:00
Danielle McLean 2d6751cf0c
Bump Popper.js to 1.12.9 and Font Awesome to 5.0.10 2018-04-12 08:37:01 +10:00
Danielle McLean baeae5cacd
bump Font Awesome to 5.0.9 2018-03-29 16:08:32 +11:00
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 27e0cb9a34
Install the lovely Highlight.js for automatic syntax highlighting of code blocks 2018-03-21 16:35:50 +11:00
Danielle McLean f0cf3b3a68
Patch a few small deprecated operations so that the site works under Django 2.0 as well 2018-03-21 16:14:07 +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