Commit Graph

404 Commits

Author SHA1 Message Date
Danielle McLean 5ce0af0731 Simplify the GitLab cache config, should be more reliable this way? 2018-06-04 09:39:32 +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 f7fbf49e1e Update the .gitlab-ci.yml to install dev packages and cache properly 2018-06-04 09:21:23 +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 335db51ffc
1.9.8 2018-05-28 17:52:39 +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 15e5219e3a
Install Werkzeug so that runserver_plus is available 2018-05-28 17:49:57 +10:00
Danielle McLean a0bc5bacd8
Remove unused openwebicons and tippy.js symlinks 2018-05-28 17:49:09 +10:00
Danielle McLean 4aba1034e7
Explicitly mark the environment variables as global 2018-05-28 11:53:46 +10:00
Danielle McLean a35a1283da
Try to preserve both the pip and pipenv caches in Travis builds 2018-05-28 11:50:15 +10:00
Danielle McLean 382a79e6c7
Run 'pipenv lock' to fix up Pipfile.lock - should make Travis pass again 2018-05-28 11:30:22 +10:00
Danielle McLean 24843cc31b
Add gevent==1.3.1 hash for Linux wheel as well (fixes Travis build) 2018-05-28 11:16:19 +10:00
pyup.io bot ffd367c6ca Update pytest from 3.5.1 to 3.6.0 (#5) 2018-05-28 11:09:35 +10:00
Danielle McLean 73f0d4a7c3
Merge pull request #4 from 00dani/pyup-update-parso-0.2.0-to-0.2.1
Update parso to 0.2.1
2018-05-22 09:14:15 +10:00
Danielle McLean 42f96b0ead
Merge pull request #3 from 00dani/pyup-update-gevent-1.3.0-to-1.3.1
Update gevent to 1.3.1
2018-05-22 09:13:54 +10:00
pyup-bot 42c7b9d854 Update parso from 0.2.0 to 0.2.1 2018-05-21 21:11:35 +10:00
pyup-bot 7cd5e19c1e Update gevent from 1.3.0 to 1.3.1 2018-05-19 00:26:31 +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 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