Commit graph

37 commits

Author SHA1 Message Date
Danielle McLean d0bd6c1231
Expand Nostr key field to 64 chars (32 hex bytes) 2023-08-10 19:28:04 +10:00
Danielle McLean 04bd6dd35d
Add NIP-05 verification compatibility 2023-08-10 18:05:46 +10:00
Danielle McLean 2e7d12b3e6
Run Black over the whole codebase 2023-08-10 16:52:37 +10:00
Danielle McLean cd990e4e2f
Rename Key to PgpKey, so other keys can fit too 2023-08-10 16:50:35 +10:00
Danielle McLean db0d6e28a3
makemigrations for minor tweaks to User and Entry 2022-03-12 15:27:59 +11:00
Danielle McLean 73addc2f75 Remove unncessary default_app_config settings 2022-03-12 15:02:26 +11: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 4fd2ff826a
Support Libravatar matching by OpenID URL as well as by email address 2018-07-11 13:13:12 +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 e94a856a08
Add caching and smarter resizing to the Libravatar endpoint 2018-06-08 14:47:34 +10:00
Danielle McLean 8932317f08
Allow sizes up to 512 when requesting libravatars, since that's what the spec says actually and I just misread it I guess? 2018-06-05 10:14:24 +10:00
Danielle McLean 46c2224a4f
Replace the previous WebFinger implementation with a fairly simple forwarder to Bridgy Fed, so that Bridgy Fed will work eventually 2018-05-11 13:23:47 +10:00
Danielle McLean d4b8581793
Add docs to a bunch of stuff in users.models 2018-05-04 13:20:14 +10:00
Danielle McLean 1b660d8af5
Migrate users.urls from url() to re_path() 2018-05-04 12:42:48 +10:00
Danielle McLean 43348a89da
Add support for serving users' avatars through the Libravatar API 2018-03-23 12:56:13 +11:00
Danielle McLean 20fb7dbc6e
Delete some stub modules with no actual functionality 2018-03-06 22:30:10 +11:00
Danielle McLean 9befd27a26
Whoops, make our new UserManager extend the Django core one, since it turns out it's absolutely mandatory 2018-01-29 16:16:21 +11:00
Danielle McLean 75e08aa1b2
Reduce number of queries required to render an entries list, especially the home page 2018-01-24 13:18:22 +11:00
Danielle McLean b89405ed88
Dramatically improved processing of Micropub tokens which supports both the Authorization header and the access_token field approaches 2017-12-18 09:51:06 +11:00
Danielle McLean ea241577f1
Smarter generation of OGP/ metadata, with HTML tags stripped out so the result looks nice and clean 2017-12-11 13:30:46 +11:00
Danielle McLean 97f52a713b
Switch back to ordering sites by name, since sites like Pocket have weird domain names and therefore sort weirdly if you go by domain 2017-12-06 22:13:54 +11:00
Danielle McLean 6b51531cb4
Add a user field specifically for XMPP, because it needs to be handled a little differently to the user profiles (different mf2 property, stuff like that) 2017-11-06 22:02:12 +11:00
Danielle McLean 7090db3c37
Add JSON-LD support to entries too, mostly so Google can understand the site a little better 2017-10-31 14:51:50 +11:00
Danielle McLean 371401d441
Teach users how to generate their own JSON-LD representation rather than doing it in the view code 2017-10-31 14:33:16 +11:00
Danielle McLean b053ba3c88
Order sites by domain rather than by name 2017-10-31 13:57:55 +11:00
Danielle McLean 8a9f41759e
Add a field site.domain, so that profiles can be labeled as username@domain, WebFinger style 2017-10-31 13:47:47 +11:00
Danielle McLean 75ed4503c8
Make some little quality-of-life improvements to the Django admin for my models 2017-10-29 22:44:11 +11:00
Danielle McLean 8814e60624
Clean up URL handling for models a li'l 2017-10-27 16:51:46 +11:00
Danielle McLean 824aaa1e57
Make a few database performance optimisations 2017-10-27 08:52:26 +11:00
Danielle McLean d267df337f
Give Users a url property 2017-10-25 12:07:57 +11:00
Danielle McLean 9b624d1a5d
Set the twitter:creator and fb:profile_id properties on the homepage 2017-10-25 09:34:42 +11:00
Danielle McLean 8ef64d6a87
Some basic support for gross SEO metadata formats with django-meta 2017-10-24 21:57:07 +11:00
Danielle McLean 97948b957d
Add support for social profiles 2017-10-23 12:59:10 +11:00
Danielle McLean 75f2575c30
Add simple support for PGP keys 2017-10-23 12:33:24 +11:00
Danielle McLean 0e3ef423d2
Whoops, add the migration for altering the user avatar field 2017-10-23 12:10:00 +11:00
Danielle McLean c22e807fa4
Support for actually setting an avatar and note on the user in the admin 2017-10-23 11:53:51 +11:00
Danielle McLean 8bd2faa8a9
Install a custom user model 2017-10-23 09:04:59 +11:00