Commit Graph

351 Commits

Author SHA1 Message Date
Danielle McLean 756e3478d8
Remove extraneous debugging print() 2018-03-08 14:08:21 +11:00
Danielle McLean 7d677734f3
Patch the 'remember this browser' checkbox to work with the current Bootstrap and django-otp-agents versions 2018-03-08 13:56:15 +11:00
Danielle McLean 9580068c5b
Refactor how the routing for different kinds of entry works - this will make implementing webmentions easier, hopefully? 2018-03-08 13:49:02 +11:00
Danielle McLean c359b7640e
Refactor the 'entries' views into a package rather than just one module, so more views can be added without clutter 2018-03-07 15:46:21 +11:00
Danielle McLean cf0aea4f73
Extend the copyright range in the license to cover 2018 as well 2018-03-06 22:30:49 +11:00
Danielle McLean 20fb7dbc6e
Delete some stub modules with no actual functionality 2018-03-06 22:30:10 +11:00
Danielle McLean 920c938200
Bump Font Awesome to v5.0.7 2018-02-27 12:13:26 +11:00
Danielle McLean dcb9833b0d
Apparently you can't use a Boolean true in gitlab-ci.yml environment variables config 2018-02-26 13:07:12 +11:00
Danielle McLean 345c9f9885
Store the CI caches inside the project dir since that's the only place GitLab CI is allowed to cache 2018-02-26 13:05:28 +11:00
Danielle McLean 58d8ca2a25
Attempt to cache the packages installed by pip and pipenv to dramatically speed up the pipeline 2018-02-26 12:58:34 +11:00
Danielle McLean 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
Danielle McLean 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
Danielle McLean 1759be4d8c
Yet another try - use python:3.6, install submodules, use build and test stages, etc. 2018-02-26 12:37:08 +11:00
Danielle McLean ea0ef22b16
Use a CI image that already has pipenv installed 2018-02-26 12:24:22 +11:00
Danielle McLean 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
Danielle McLean 65cba59a72
Add initial .gitlab-ci.yml, which hopefully works correctly 2018-02-26 12:14:52 +11:00
Danielle McLean 9d1c9646d9
Bump Bootstrap from beta2 to the final 4.0.0 release 2018-02-19 15:32:19 +11:00
Danielle McLean 52ffbab671
1.9.2 2018-02-06 16:25:19 +11:00
Danielle McLean 45daf529f8
Switch the preferred password hash from PBKDF2 to the newer and more secure Argon2 2018-02-06 16:18:15 +11:00
Danielle McLean 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
Danielle McLean 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
Danielle McLean 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
Danielle McLean dffa2d9d50
Install pytest for designing and running automated test suites 2018-02-02 15:06:59 +11:00
Danielle McLean 1cfab95201
1.9.1 2018-01-29 16:16:30 +11:00
Danielle McLean 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
Danielle McLean 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
Danielle McLean b0bde64882
Add a nice little Paw.app project file to help me test out Micropub routes 2018-01-29 12:37:06 +11:00
Danielle McLean 5c50eadb20
1.9.0 2018-01-29 11:03:20 +11:00
Danielle McLean 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
Danielle McLean 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
Danielle McLean 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
Danielle McLean e5b7d0fe95
Bump Font Awesome to v5.0.6 2018-01-29 08:49:55 +11:00
Danielle McLean 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
Danielle McLean f6a0adfb56
Add rel="shortlink" on the AMP pages too 2018-01-24 14:09:26 +11:00
Danielle McLean 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
Danielle McLean 75e08aa1b2
Reduce number of queries required to render an entries list, especially the home page 2018-01-24 13:18:22 +11:00
Danielle McLean 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
Danielle McLean 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
Danielle McLean 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
Danielle McLean 3e4f55fa9c
Add <cite> to ALLOWED_TAGS, because honestly 2018-01-11 11:41:36 +11:00
Danielle McLean 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
Danielle McLean ce46abeb3d
1.8.4 2018-01-11 10:33:21 +11:00
Danielle McLean 0c9adb0288
Upgrade to Font Awesome v5.0.4 2018-01-11 10:33:13 +11:00
Danielle McLean 0fd65d3c2b
Enable CORS using django-cors-headers 2018-01-11 09:32:45 +11:00
Danielle McLean 6072bf64f3
1.8.3 2018-01-11 08:44:29 +11:00
Danielle McLean c4b7e56c35
Upgrade to Font Awesome v5.0.3 2018-01-11 08:43:51 +11:00
Danielle McLean e7b577ef87
1.8.2 2017-12-21 11:32:14 +11:00
Danielle McLean 2add0c3d15
Bump FA to 5.0.2 since that's out now 2017-12-21 11:31:04 +11:00
Danielle McLean 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
Danielle McLean 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