Commit graph

341 commits

Author SHA1 Message Date
6ceb800723
Turns out stages are isolated from each other, so we need to do the build and the test in one script 2018-02-26 12:51:14 +11:00
247bce0996
Don't collectstatic, it's not needed and it won't work without Yarn being run, which introduces another dependency 2018-02-26 12:43:43 +11:00
1759be4d8c
Yet another try - use python:3.6, install submodules, use build and test stages, etc. 2018-02-26 12:37:08 +11:00
ea0ef22b16
Use a CI image that already has pipenv installed 2018-02-26 12:24:22 +11:00
227c43c81e
Switch to the python:3.6 image for CI, to make sure we get Python 3.6 2018-02-26 12:17:57 +11:00
65cba59a72
Add initial .gitlab-ci.yml, which hopefully works correctly 2018-02-26 12:14:52 +11:00
9d1c9646d9
Bump Bootstrap from beta2 to the final 4.0.0 release 2018-02-19 15:32:19 +11:00
52ffbab671
1.9.2 2018-02-06 16:25:19 +11:00
45daf529f8
Switch the preferred password hash from PBKDF2 to the newer and more secure Argon2 2018-02-06 16:18:15 +11:00
cbc24d4774
Add support for tests that use django.test.Client and that require a database, and use this support to test some of the wellknowns.views modules 2018-02-06 16:12:36 +11:00
380afe9831
Update the client ID used for Paw's autogenerated JWTs - use https://paw.cloud/ instead of https://00dani.me/ for accuracy 2018-02-05 09:59:50 +11:00
39b2e40e32
Introduce some unit tests in lemoncurry.tests - only testing a few of the really easy things so far ;) 2018-02-02 15:08:41 +11:00
dffa2d9d50
Install pytest for designing and running automated test suites 2018-02-02 15:06:59 +11:00
1cfab95201
1.9.1 2018-01-29 16:16:30 +11:00
9befd27a26
Whoops, make our new UserManager extend the Django core one, since it turns out it's absolutely mandatory 2018-01-29 16:16:21 +11:00
70703c5ceb
Simplify the environment stuff: just have one group, since it doesn't make sense to switch the host and the secret separately 2018-01-29 12:48:00 +11:00
b0bde64882
Add a nice little Paw.app project file to help me test out Micropub routes 2018-01-29 12:37:06 +11:00
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