Commit Graph

329 Commits

Author SHA1 Message Date
Danielle McLean 1654ceecf3
Switch from django-favicon-plus to django-super-favicon, it performs better and doesn't require a DB table 2018-04-20 12:35:51 +10:00
Danielle McLean 025910029e
Add support for the django.contrib.admindocs feature 2018-04-20 11:21:00 +10:00
Danielle McLean 236a32ebc1
Reorganise the meta tags at the top of the layout in accordance with best practices - the charset needs to be as early as possible 2018-04-20 10:41:04 +10:00
Danielle McLean d3c79a4cc3
Use django-sites for the absolute_url template tag - this actually reduces the number of queries for whatever reason 2018-04-20 10:39:52 +10:00
Danielle McLean 3142c6073c
Add pre-commit hooks for checking common problems 2018-04-19 10:25:23 +10:00
Danielle McLean 1cf0449371
Rename a few variables under the webmention app to satisfy linters 2018-04-19 10:16:02 +10:00
Danielle McLean 5252c59910
Bump the pluggy==0.6.0 hash because PyPI has just gone through a migration that accidentally changed some hashes 2018-04-19 10:14:13 +10:00
Danielle McLean fceda5c698
Upgrade jQuery from 3.2.1 to 3.3.1 2018-04-17 15:23:46 +10:00
Danielle McLean 7cc173420d
Upgrade from Bootstrap 4.0.0 to Bootstrap 4.1.0 2018-04-17 15:23:18 +10:00
Danielle McLean 2d6751cf0c
Bump Popper.js to 1.12.9 and Font Awesome to 5.0.10 2018-04-12 08:37:01 +10:00
Danielle McLean baeae5cacd
bump Font Awesome to 5.0.9 2018-03-29 16:08:32 +11:00
Danielle McLean 93c45f8a90
1.9.5 2018-03-23 13:17:24 +11:00
Danielle McLean 418f501afa
Use a native checkbox on the login page too 2018-03-23 13:17:11 +11:00
Danielle McLean 7e50300942
Switch the scopes checkboxen from Bootstrap's custom ones to browser-native ones, since the custom one wasn't getting us much 2018-03-23 13:14:34 +11:00
Danielle McLean 43348a89da
Add support for serving users' avatars through the Libravatar API 2018-03-23 12:56:13 +11:00
Danielle McLean 6fb289727c
Make Entry.get_absolute_url actually return an absolute URL, always 2018-03-21 22:56:33 +11:00
Danielle McLean 0fb62f5962
1.9.4 2018-03-21 22:03:21 +11:00
Danielle McLean 365110544c
Upgrade Django to 2.0.3, yay! 2018-03-21 22:02:27 +11:00
Danielle McLean 452dd3f47d
Oops, update the list of routes that's pinged on micropub creation to use the new names for entry feeds 2018-03-21 22:02:01 +11:00
Danielle McLean 098284a617
Remove django-shorturls with my own implementation, since it's incompatible with Django 2 and unmaintained 2018-03-21 21:50:40 +11:00
Danielle McLean 27e0cb9a34
Install the lovely Highlight.js for automatic syntax highlighting of code blocks 2018-03-21 16:35:50 +11:00
Danielle McLean f0cf3b3a68
Patch a few small deprecated operations so that the site works under Django 2.0 as well 2018-03-21 16:14:07 +11:00
Danielle McLean 169f0687cb
Start implementing webmention receiving :o the status page is ugly and there's no actual verification yet, but good start at least ;) 2018-03-19 21:11:04 +11:00
Danielle McLean b3fb0a8600
Add the lemoncurry logo - yes, it's just FA's lemon layered over a dark circle 2018-03-08 15:37:52 +11:00
Danielle McLean 480658fefe
1.9.3 2018-03-08 14:35:14 +11:00
Danielle McLean 91f649fcb2
Bump Font Awesome to v5.0.8 2018-03-08 14:34:52 +11:00
Danielle McLean d5f36bcfbe
Use consistent IDs for each input of the login form 2018-03-08 14:24:32 +11:00
Danielle McLean 039b6a1914
Make the permalink views 404 if you try to load a non-existent entry 2018-03-08 14:13:45 +11:00
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