Commit graph

489 commits

Author SHA1 Message Date
35ced9a451
Whoops, only revoke the current user's Micropub tokens for a client, not every single token for that client 2018-06-28 08:38:55 +10:00
446029ce84
Add a page that lists all authorised Micropub clients and allows a client's access to be revoked easily 2018-06-25 22:31:42 +10:00
bb91d3c6b6
Resilently handle IndieAuth clients that don't have a logo in their h-x-app 2018-06-25 18:01:29 +10:00
b32412f4fd
Add a bunch of <link> tags I forgot about, oops 2018-06-25 13:53:11 +10:00
ce0bf28725
1.9.10 2018-06-25 10:45:45 +10:00
77816b6c5d
Complete migration to Jinja2 by porting the home page template 2018-06-25 10:43:45 +10:00
b145f4ada9
Render the Markdown content for entries in Jinja2 - the resulting HTML isn't pretty yet, I'll probably need to write an html5lib filter that prettifies it 2018-06-25 10:11:52 +10:00
e4aa5c6e6e
Loosen the checks on IndieAuth parameters so that generic OAuth 2.0 clients like Paw.app can be used 2018-06-23 13:43:15 +10:00
fa66fbbf1e
Bump Tippy.js to 2.5.3 and Font Awesome to 5.1.0 2018-06-22 12:40:30 +10:00
bc433f235f
Use a mypy-friendly approach to loading and caching the package.json file 2018-06-22 12:31:03 +10:00
2a38c8d21b
Bump versions with pipenv update 2018-06-22 12:14:28 +10:00
4bc7fde36b
Oops, I accidentally used a 'ref' attribute instead of 'rel' :3 2018-06-19 16:49:41 +10:00
5042f3bda7
Port the entries-by-kind feed over to Jinja2, wasn't too tricky c: 2018-06-19 16:46:54 +10:00
fca5b3259d
Run using a separate domain for static assets in dev as well, to closer match production 2018-06-19 15:58:08 +10:00
ee12c15d1c
Mostly port the individual entry template to Jinja2 - the actual entry content isn't being rendered, and there's no breadcrumbs yet, but otherwise it's spot-on 2018-06-19 15:47:10 +10:00
741c2eb234
Switch from stateless JOSE tokens to stateful tokens in the DB, since they can then be much smaller and we're using a DB anyway 2018-06-12 14:57:53 +10:00
9c843ee145
Fix the repo URL syntax on the Django template as well, since it's probably gonna be sticking around for a while 2018-06-12 12:32:55 +10:00
8f416cb5d7
1.9.9 2018-06-12 12:27:53 +10:00
5f9aca20c4
Throw out support for AMP, because AMP sucks anyway 2018-06-12 12:27:35 +10:00
59e40b551b
Fix bad indent and a few actual errors in README.md 2018-06-12 12:16:18 +10:00
9586f59592
Write a big ol' README.md 2018-06-12 12:10:13 +10:00
a585ab038b
Bump npm library versions using yarn upgrade 2018-06-12 11:18:15 +10:00
81baf59085
Bump library versions using pipenv lock 2018-06-12 11:15:33 +10:00
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
67f8ec6fae
Throw away now-unused lemonauth templates, since they've all been ported across to Jinja2 2018-06-12 11:01:25 +10:00
24bc7816f1
Relocate official repository to git.00dani.me 2018-06-12 10:52:49 +10:00
f0678c3379
Add the missing navbars to the Jinja2 version of the layout 2018-06-12 10:47:53 +10:00
e94a856a08
Add caching and smarter resizing to the Libravatar endpoint 2018-06-08 14:47:34 +10:00
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
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
8932317f08
Allow sizes up to 512 when requesting libravatars, since that's what the spec says actually and I just misread it I guess? 2018-06-05 10:14:24 +10:00
f551a5214a
Add pytest and mypy steps to the pre-commit hooks to avoid committing clearly broken code 2018-06-04 10:32:24 +10:00
d91676289b
Satisfy autopep8 by adding a newline between two methods 2018-06-04 10:16:09 +10:00
121789febe
pipenv update - it re-added msgpack-python again and I'm just gonna leave it there tbh 2018-06-04 10:07:09 +10:00
276ce34ae9
Upgrade pre-commit hooks, enable the executable shebang check as well 2018-06-04 10:06:36 +10:00
5ce0af0731 Simplify the GitLab cache config, should be more reliable this way? 2018-06-04 09:39:32 +10:00
4c0be4ce8b Load Postgres parameters from the environment so that it can work with GitLab CI 2018-06-04 09:32:47 +10:00
f7fbf49e1e Update the .gitlab-ci.yml to install dev packages and cache properly 2018-06-04 09:21:23 +10:00
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
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
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
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
335db51ffc
1.9.8 2018-05-28 17:52:39 +10:00
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
15e5219e3a
Install Werkzeug so that runserver_plus is available 2018-05-28 17:49:57 +10:00
a0bc5bacd8
Remove unused openwebicons and tippy.js symlinks 2018-05-28 17:49:09 +10:00
4aba1034e7
Explicitly mark the environment variables as global 2018-05-28 11:53:46 +10:00
a35a1283da
Try to preserve both the pip and pipenv caches in Travis builds 2018-05-28 11:50:15 +10:00
382a79e6c7
Run 'pipenv lock' to fix up Pipfile.lock - should make Travis pass again 2018-05-28 11:30:22 +10:00
24843cc31b
Add gevent==1.3.1 hash for Linux wheel as well (fixes Travis build) 2018-05-28 11:16:19 +10:00