Commit Graph

491 Commits

Author SHA1 Message Date
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
Danielle McLean c8e0b9c5fb
Save any provided syndications for a new entry when creating it 2018-06-28 21:07:24 +10:00
Danielle McLean 556329d5fa
Have syndications infer the correct Site from their URL rather than require an explicit Profile reference 2018-06-28 20:51:43 +10:00
Danielle McLean ac22c826cb
Canonicalise the 'me' parameter better, so if I just enter the bare domain it'll work fine 2018-06-28 20:11:37 +10:00
Danielle McLean 0adc7a0d5e
Handle cats and syndications with better wrapping behaviour - &nbsp; doesn't work as well as I'd hoped 2018-06-28 16:37:19 +10:00
Danielle McLean f7d7936499
Whoops, make sure ago actually emits the /correct/ relative timestamps using the right timezone 2018-06-28 13:03:53 +10:00
Danielle McLean c8faa30724
Switch to another relative-date-formatting library which supports tiny abbreviated formats 2018-06-28 12:57:09 +10:00
Danielle McLean 0d1d102f47
Lots of spacing adjustments so that the new entry layout doesn't suck on mobile 2018-06-28 12:25:22 +10:00
Danielle McLean cf0264b5a6
Allow info fields to wrap if long, rather than squish the main content of the entry 2018-06-28 12:10:19 +10:00
Danielle McLean 6054accc54
Force individual cats and syndications not to wrap, so that they don't wrap between the icon and the text 2018-06-28 11:52:10 +10:00
Danielle McLean 778a9c870d
Move cats and syndications back into the card, shrinking them down to avoid taking up too much vertical space 2018-06-28 11:48:37 +10:00
Danielle McLean dee64f130e
Switch to a less bright theme-color since base0A didn't work so well 2018-06-28 11:23:56 +10:00
Danielle McLean bc8d7923b4
Restore the <base> and rel="canonical" URLs to the layout <head> 2018-06-28 11:19:32 +10:00
Danielle McLean dec5ef153b
Set a theme-color in the template again, so mobile Chrome uses it properly 2018-06-28 11:10:56 +10:00