Commit Graph

161 Commits (1c09be1b1cc1f0defee658f8c751b3cd76cc742b)
 

Author SHA1 Message Date
Danielle McLean 1c09be1b1c
Switch from database-persisted auth codes to stateless JSON Web Tokens :) 5 years ago
Danielle McLean 41d490ea80
Put the shortcuts for returning 40* responses into lemoncurry.utils 5 years ago
Danielle McLean 1e56d5a09a
Install django-model-utils and use it for automatic timestamp fields on entries 5 years ago
Danielle McLean 4b4ab324cc
Enable analytics in production 5 years ago
Danielle McLean 06278935b6
Add support for selecting scopes during IndieAuth's 'code' type 5 years ago
Danielle McLean 0a202a215d
Include references to the Atom and RSS feeds in the host-meta 5 years ago
Danielle McLean 387e7d859c
Smarter handling of IndieAuth code verification, including verifying the response type is correct 5 years ago
Danielle McLean 5555cdfd1e
Render the entry content to HTML when syndicating it as Atom or RSS 5 years ago
Danielle McLean 730a2bcb9d
Added support for RSS and Atom feeds, because why not 5 years ago
Danielle McLean c34ec965a1
Improved host-meta support, with correct JRD format and more links to stuff 5 years ago
Danielle McLean ee9992603c
1.5.2 5 years ago
Danielle McLean 5aa4eed816
Add simple /robots.txt support 5 years ago
Danielle McLean 7090db3c37
Add JSON-LD support to entries too, mostly so Google can understand the site a little better 5 years ago
Danielle McLean 371401d441
Teach users how to generate their own JSON-LD representation rather than doing it in the view code 5 years ago
Danielle McLean a86188fcb6
Put the JSON-LD version of my user profile inside my h-card, so it's easy to access with an mf2 parser if you want it (although I dunno why you would) 5 years ago
Danielle McLean 91fc632703
Tweak the styling of entry footers 5 years ago
Danielle McLean b053ba3c88
Order sites by domain rather than by name 5 years ago
Danielle McLean 8a9f41759e
Add a field site.domain, so that profiles can be labeled as username@domain, WebFinger style 5 years ago
Danielle McLean 76305543fa
Just glue the netloc and path together rather than using urlunparse - it doesn't need to be a valid URL, just a nice-looking one 5 years ago
Danielle McLean 71295e30f0
1.5.1 5 years ago
Danielle McLean 52106f1d3f
Make shortlinks discoverable by displaying them on each entry, with extraneous bits trimmed out 5 years ago
Danielle McLean 65ff5f947a
Set the short base URL to my new short domain 5 years ago
Danielle McLean 93e3fa5412
Add a Forwardfile for development 5 years ago
Danielle McLean e0dfdafdc0
Delegate OpenID authentication to IndieAuth - OpenID is barely used nowadays but this is such a tiny change I might as well do it 5 years ago
Danielle McLean 3f4c5bbc11
Replace use of abandoned rev="canonical" with rel="shortlink" 5 years ago
Danielle McLean bfa7f68edc
Make POST /indie/auth return a 403 if parameters are missing, rather than a 500 5 years ago
Danielle McLean d87d49e67b
Default the Accept header to */* if there isn't one provided 5 years ago
Danielle McLean e8214b45ef
Use an absolute URI for the IndieAuth authorisation endpoint - many IndieAuth clients don't resolve the relative URI correctly 5 years ago
Danielle McLean 75ed4503c8
Make some little quality-of-life improvements to the Django admin for my models 5 years ago
Danielle McLean 63b0ec45e9
Keep images in entry content inside the card, oops 5 years ago
Danielle McLean 53b7b86515
Whoops, allow images in bleached content 5 years ago
Danielle McLean e5d3af1b51
Make redirect_uri verification optional because many IndieAuth clients don't implement it - show a stylish icon to convey whether the client was verified 5 years ago
Danielle McLean 3c95eeeefb
Insist on Python 3.6, since the 'secrets' module for making secure tokens isn't available in 3.5 5 years ago
Danielle McLean 486eec2448
1.5.0 5 years ago
Danielle McLean 360063845e
Make the IndieAuth authorisation endpoint discoverable :o 5 years ago
Danielle McLean acce72e90e
Implement the auth-code verification step, producing a complete IndieAuth implementation for 'id' type (nothing for 'code' type yet tho) 5 years ago
Danielle McLean 8b4a14ffa3
On approving an IndieAuth request, actually generate an auth code and redirect 5 years ago
Danielle McLean 221d548e4a
Give better 'me' normalisation to IndieAuth processing + Aadd a simple POST route for actually submitting the form 5 years ago
Danielle McLean 6bdcce1844
1.4.5 5 years ago
Danielle McLean 54bed15585
In production, move the static and media directories out of the app directory (which puts them in the lemoncurry user's home dir) 5 years ago
Danielle McLean 7027c74035
Install django-shorturls to generate simple shortpermalinks for entries :3 5 years ago
Danielle McLean 21786d6e6c
Install django-annoying, which provides some nice shortcuts for common operations 5 years ago
Danielle McLean 88bf1e580c
1.4.4 5 years ago
Danielle McLean c354830653
Enable django.contrib.sites rather than using a custom lemoncurry-specific setting for the site name 5 years ago
Danielle McLean 7429d43280
Update manifest.json with extra properties, set theme colour properly as a <meta> as well 5 years ago
Danielle McLean b172d9f139
1.4.3 5 years ago
Danielle McLean 55731c63ce
Add support for generating a simple Web App Manifest file, which helps mobile browsers display the site smartly 5 years ago
Danielle McLean 5987e54105
Simplify entry routing by using one route with an optional slug for permalinks, rather than a route with a slug and a route without 5 years ago
Danielle McLean 1f6a587329
Tweak the styles on breadcrumbs: rather than wrapping, just truncate the active page crumb since you can see it elsewhere on the page anyway 5 years ago
Danielle McLean e2e21f4afa
Make sure IndieAuth is agnostic to whether the 'me' parameter has a trailing slash or not 5 years ago