Commit Graph

504 Commits

Author SHA1 Message Date
Danielle McLean 5ac46dad63
Whoops, fix Pipfile.lock hash 2022-04-29 14:57:55 +10:00
Danielle McLean d4c814c79a
Upgrade to Python 3.9
I also needed to patch my Jinja2 filters to not use a deprecated method
of declaring themselves, since the upgrade pulled in a newer minor
version of Jinja2.

The upgrade also tried to pull in Django 4, which many of the plugins
I'm using can't cope with yet, so it needed to be convinced not to do
that.
2022-04-29 14:54:49 +10:00
Danielle McLean db0d6e28a3
makemigrations for minor tweaks to User and Entry 2022-03-12 15:27:59 +11:00
Danielle McLean 2f8d62649e
1.11.0 2022-03-12 15:16:43 +11:00
Danielle McLean 683adc1b46 Use proper path converter for lemonshort 2022-03-12 15:04:05 +11:00
Danielle McLean cfeb206154 Fix dev settings to use .lo instead of .dev 2022-03-12 15:03:26 +11:00
Danielle McLean c5c0f4258b Set DEFAULT_AUTO_FIELD to AutoField 2022-03-12 15:03:01 +11:00
Danielle McLean 73addc2f75 Remove unncessary default_app_config settings 2022-03-12 15:02:26 +11:00
Danielle McLean 0ca50252dd
Add mypy types for libraries that have them now 2022-02-22 12:35:38 +11:00
Danielle McLean 8d79be07da
Do a pipenv update to get patched Django again lol 2022-02-22 12:33:31 +11:00
Danielle McLean 37d5a7a20d
Do a pipenv update to get patched Django 2021-08-22 23:24:58 +10:00
Danielle McLean 76496e7169
Harmlessly ignore bad params to Libravatar
I was throwing 400s when bad parameters are provided, but the spec
actually says you're supposed to just ignore them entirely.
2021-08-22 23:08:45 +10:00
Danielle McLean 7fcc3c8788
1.10.3 2019-05-06 08:55:11 +10:00
Danielle McLean 4436db7d83
Bump up Font Awesome to 5.8.1 2019-05-06 08:46:06 +10:00
Danielle McLean d017c642eb
Bump up Bootstrap to 4.3.1 2019-05-06 08:44:21 +10:00
Danielle McLean 7c5f311af9 Merge branch 'details' of BenLubar/lemoncurry into master 2019-05-05 18:36:52 -04:00
Ben Lubar 73155f399b
allow details tags 2019-05-05 00:12:49 -05:00
Danielle McLean e540f7b784
Do a yarn upgrade c: 2019-01-25 10:21:25 +11:00
Danielle McLean 0e8f816d0e
Remove deprecated pre-commit hook autopep8-wrapper 2019-01-24 12:29:38 +11:00
Danielle McLean 1bf0d8478a
Placate a deprecation warning from Django by importing 'static' from a different module 2019-01-24 12:28:55 +11:00
Danielle McLean 594947852f
1.10.2 2019-01-17 12:29:22 +11:00
Danielle McLean b318ed5b06
Fix broken Tippy tooltips caused by changes to Tippy's API in version 3 2019-01-17 12:29:16 +11:00
Danielle McLean 012aed42b1
1.10.1 2019-01-17 11:55:56 +11:00
Danielle McLean 5c10bafb7d
Bump up the versions of Highlight.js, Tippy.js, and OpenWebIcons as well 2019-01-17 11:55:47 +11:00
Danielle McLean e660221265
Upgrade Font Awesome to 5.6.3 2019-01-17 11:48:40 +11:00
Danielle McLean e23ca7d215
Upgrade Bootstrap to 4.2.1 2019-01-17 11:47:53 +11:00
Danielle McLean 95b02269bb
Perform pre-commit autoupdate 2019-01-17 11:44:15 +11:00
Danielle McLean ce07ba8cdc
Perform a pipenv update since everything is old 2019-01-17 11:43:30 +11:00
Danielle McLean 17e5c2c1b4
Remove calls to as_meta since the info is ignored anyway - gives a decent performance boost :o 2018-07-12 21:00:52 +10:00
Danielle McLean 4fd2ff826a
Support Libravatar matching by OpenID URL as well as by email address 2018-07-11 13:13:12 +10:00
Danielle McLean 6efcc450a3
Fix the tests by ensuring lemoncurry.settings.test is always loaded regardless of the environment 2018-07-11 13:06:40 +10:00
Danielle McLean dc7442cfb6
Add a migration which just sets help text on users.User fields 2018-07-11 13:02:25 +10:00
Danielle McLean 9c708b8c89
Don't preload_app when running with Gunicorn since apparently that breaks database access 2018-07-11 13:01:00 +10:00
Danielle McLean 40f0bd858b
Stop pooling Postgres connections, because Django's pool isn't thread-safe and breaks under gevent 2018-07-10 15:25:01 +10:00
Danielle McLean 639e1ec9c6
Add Gunicorn config file so we can use server hooks 2018-07-05 11:09:35 +10:00
Danielle McLean a35072bbc3
1.10.0 2018-07-05 09:06:27 +10:00
Danielle McLean da5ca5edea
Ignore the .env file, since I wanna use it 2018-07-03 16:07:15 +10:00
Danielle McLean 1e4df2d1b5
Implement the Micropub source query internally rather than by simply parsing the visible content 2018-07-03 10:18:24 +10:00
Danielle McLean d68dda85ad
Refactor the Micropub error responses into a non-view module, have them produce an immediately raise-able exception 2018-07-03 10:03:35 +10:00
Danielle McLean 065619772e
Use ResponseException for various places rather than needing to check the return value for responseness 2018-07-03 09:51:51 +10:00
Danielle McLean 7d17a92793
Introduce a middleware that allows for HttpResponses to be thrown from inner utility functions, to avoid boilerplate in views 2018-07-03 09:41:00 +10:00
Danielle McLean 1d4be082cf
Refactor the 'find an entry based on a URL' behaviour into a utility function 2018-07-03 09:19:50 +10:00
Danielle McLean 2d643b48c6
Allow GIFs to be sent to the Micropub media endpoint 2018-07-03 08:45:45 +10:00
Danielle McLean bab7097fa3
Properly send webmentions after deleting an entry :3 2018-07-02 15:30:32 +10:00
Danielle McLean fa8419976d
Enable support for deleting entries through Micropub :D 2018-07-02 15:08:13 +10:00
Danielle McLean 427dcde672
Make lots of improvements to the narrow-screen layout 2018-07-01 15:26:55 +10:00
Danielle McLean 580c61e924
Adjust sizing of p-author photo and spacing inside entries 2018-07-01 15:01:14 +10:00
Danielle McLean 6c9b6eb061
Shrink the precision of 'ago' datetimes so they stay compact 2018-07-01 14:56:24 +10:00
Danielle McLean 6d7b5db482
Restore favicon links in the page <head> 2018-07-01 14:53:21 +10:00
Danielle McLean 8a0c24a9b5
Run pipenv lock to downgrade PyYAML to 3.12, since 4.1 was removed from PyPI 2018-07-01 14:45:20 +10:00