Commit Graph

482 Commits

Author SHA1 Message Date
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
Danielle McLean 5cf566251a
Redesign the display of entry 'metadata', like author and category, to be way more space-efficient - should make tiny statuses less 'heavy' 2018-06-28 11:03:31 +10:00
Danielle McLean 7edc5d0165
Move the Django media URL from /media to just /m, so we get shorter overall URLs to that kinda stuff 2018-06-28 09:37:18 +10:00
Danielle McLean 35ced9a451
Whoops, only revoke the current user's Micropub tokens for a client, not every single token for that client 2018-06-28 08:38:55 +10:00
Danielle McLean 446029ce84
Add a page that lists all authorised Micropub clients and allows a client's access to be revoked easily 2018-06-25 22:31:42 +10:00
Danielle McLean bb91d3c6b6
Resilently handle IndieAuth clients that don't have a logo in their h-x-app 2018-06-25 18:01:29 +10:00
Danielle McLean b32412f4fd
Add a bunch of <link> tags I forgot about, oops 2018-06-25 13:53:11 +10:00
Danielle McLean ce0bf28725
1.9.10 2018-06-25 10:45:45 +10:00
Danielle McLean 77816b6c5d
Complete migration to Jinja2 by porting the home page template 2018-06-25 10:43:45 +10:00
Danielle McLean b145f4ada9
Render the Markdown content for entries in Jinja2 - the resulting HTML isn't pretty yet, I'll probably need to write an html5lib filter that prettifies it 2018-06-25 10:11:52 +10:00