Commit graph

524 commits

Author SHA1 Message Date
5c50eadb20
1.9.0 2018-01-29 11:03:20 +11:00
b5604ac8d1
Require the 'create' scope in the token to be present in order to create new entries 2018-01-29 11:01:57 +11:00
9f733125a7
Refactor micropub, add basic support for querying - source works great, the other two not so much 2018-01-29 10:28:46 +11:00
a6a5264477
Merge branch 'master' into develop
All this pulls in is disabling Google Analytics in production. I wanted
to get the branches back in sync.
2018-01-29 09:15:22 +11:00
e5b7d0fe95
Bump Font Awesome to v5.0.6 2018-01-29 08:49:55 +11:00
b2b017c1bd
Whoops, make sure we correctly fetch the user to display entries for on the home page if nobody is logged in 2018-01-29 08:48:56 +11:00
f6a0adfb56
Add rel="shortlink" on the AMP pages too 2018-01-24 14:09:26 +11:00
e5a44fd38c
Dramatically improve AMP support, adding all the missing fields so that the AMP version still parses to a reasonable h-entry 2018-01-24 14:04:19 +11:00
75e08aa1b2
Reduce number of queries required to render an entries list, especially the home page 2018-01-24 13:18:22 +11:00
957fc4ada7
Lock Django to 1.11 in Pipfile, so it won't accidentally upgrade to 2 when I try to install unrelated packages 2018-01-24 12:57:10 +11:00
870cdf5c25
Turn off Google Analytics, since I don't really care about it and people don't like it 2018-01-15 16:37:55 +11:00
40ead1bbe1
Provide simple support for fetching entries in AMP format - can't handle images yet and needs some other tweaks, but works nicely so far c: 2018-01-13 14:49:38 +11:00
3e4f55fa9c
Add <cite> to ALLOWED_TAGS, because honestly 2018-01-11 11:41:36 +11:00
501c8c3ee3
Whoops, wind back to Django 1.11 in Pipfile.lock, since django-favicon-plus doesn't work with Django 2 yet 2018-01-11 11:35:23 +11:00
ce46abeb3d
1.8.4 2018-01-11 10:33:21 +11:00
0c9adb0288
Upgrade to Font Awesome v5.0.4 2018-01-11 10:33:13 +11:00
0fd65d3c2b
Enable CORS using django-cors-headers 2018-01-11 09:32:45 +11:00
6072bf64f3
1.8.3 2018-01-11 08:44:29 +11:00
c4b7e56c35
Upgrade to Font Awesome v5.0.3 2018-01-11 08:43:51 +11:00
e7b577ef87
1.8.2 2017-12-21 11:32:14 +11:00
2add0c3d15
Bump FA to 5.0.2 since that's out now 2017-12-21 11:31:04 +11:00
e15e4c72fe
Add missing aria-hidden attribute to icons that aren't or might not be Font Awesome ones, since the automatic aria-hidden attributes are only added to FA icons 2017-12-21 11:27:17 +11:00
447e91f1f1
Make sure the content doesn't stretch wider than the display, so mobile users can access the site correctly 2017-12-19 17:02:30 +11:00
777878610f
1.8.1 2017-12-19 15:51:01 +11:00
5e524cb4f2
Process the WebSub pings for each feed separately, because the hub.url[] syntax doesn't seem to actually work 2017-12-19 15:44:42 +11:00
778bd7d872
Tweak the code block style again - simpler and more robust CSS 2017-12-19 14:53:05 +11:00
17f3779596
Style code blocks nicely 2017-12-19 14:41:51 +11:00
cd075a8ce2
Add <pre> to the list of acceptable tags so that code blocks work 2017-12-19 14:38:06 +11:00
7b4f5d3ac1
Unwrap 'html' content passed to micropub 2017-12-19 13:54:07 +11:00
ff96b732af
1.8.0 2017-12-19 13:39:56 +11:00
afc3b45edd
Remove an extraneous print call 2017-12-18 16:33:18 +11:00
d30f1bc334
Normalise formencoded Micropub requests to JSON form, and handle all requests as JSON, so now JSON request bodies work too 2017-12-18 16:32:29 +11:00
29a3f740a9
Add a function to convert form-encoded micropub requests into JSON micropub requests - I'll be changing the actual endpoint to accept JSON and use this to keep accepting form-encoded as well 2017-12-18 11:56:04 +11:00
14723b03ff
Fix regression - the verification tooltips weren't working with FA 5 2017-12-18 10:53:45 +11:00
87f04ce988
Use a more helpful page title on IndieAuth authorisation pages 2017-12-18 10:53:17 +11:00
b89405ed88
Dramatically improved processing of Micropub tokens which supports both the Authorization header and the access_token field approaches 2017-12-18 09:51:06 +11:00
e5f2e9d537
Oops, bump up the entries-per-page to ten again - it was lowered to make testing the behaviour easier 2017-12-15 12:34:36 +11:00
a0db1bfb47
Use the same paginate function on the entry-kind feeds and cat feeds, for identical pagination everywhere c: 2017-12-15 12:34:02 +11:00
4033837b91
Refactor the pagination logic into a reusable module so I can go add it to the other feed pages 2017-12-15 12:25:55 +11:00
f9e6f1dde3
Display the pagination on the home page at least - gotta do the same thing on other feed pages as well but this one is working nicely :) 2017-12-15 11:55:29 +11:00
2a65644813
Switch from custom pagination to django.core.paginator, since it can do things like counts and 'is there a next page' more easily 2017-12-13 09:56:18 +11:00
2d2159ee58
Enable simple entry pagination - each h-feed page has a rel=next pointing to the next page of the feed, but there's no visible link yet 2017-12-12 18:35:13 +11:00
ea241577f1
Smarter generation of OGP/Schema.org/etc. metadata, with HTML tags stripped out so the result looks nice and clean 2017-12-11 13:30:46 +11:00
b8a74443c9
1.7.4 2017-12-11 12:33:16 +11:00
acb5bc97a9
Oops, still generate a shortlink when the published and updated timestamps match 2017-12-11 12:33:04 +11:00
5fa4066d7a
Wrap the u-uid link in the h-card around my avatar rather than just having it be hidden, since invisible info in is a microformats2 antipattern 2017-12-11 12:28:39 +11:00
ddf4099639
Remove a little bit of spurious whitespace 2017-12-11 11:11:32 +11:00
1e15a82403
1.7.3 2017-12-11 09:54:00 +11:00
e0bc184c12
Bump FA to 5.0.1 2017-12-11 09:38:44 +11:00
b45661fa41
Improve accessibility and make profiles appear a little more cleanly - the full username and site domain are available to screen readers, but aren't displayed by default, which is much less cluttered 2017-12-11 09:38:29 +11:00