Compare commits

..

No commits in common. "a6fa7ebb3a90f3643d7963626512ed545c2788ab" and "0b1a548ee418cfd6a9206a50ba3f427fc5ea914e" have entirely different histories.

5 changed files with 503 additions and 1599 deletions

View file

@ -1,6 +1,6 @@
{
"name": "lemoncurry",
"version": "1.12.1",
"version": "1.12.0",
"repository": "https://git.00dani.me/00dani/lemoncurry",
"license": "MIT",
"devDependencies": {

2061
poetry.lock generated

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,6 @@
[tool.poetry]
name = "lemoncurry"
version = "1.12.1"
version = "1.12.0"
description = "Indieweb-compatible personal website"
authors = ["Danielle McLean <dani@00dani.me>"]
license = "MIT"
@ -48,7 +48,6 @@ pyyaml = "*"
qrcode = "*"
ronkyuu = "*"
xrd = "*"
greenlet = "^2.0.2"
[tool.poetry.dev-dependencies]
mypy = "*"

View file

@ -1,32 +0,0 @@
# Generated by Django 3.2.20 on 2023-08-10 09:27
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("users", "0018_auto_20230810_1754"),
]
operations = [
migrations.AlterField(
model_name="user",
name="nostr_key",
field=models.CharField(
blank=True,
help_text="A Nostr public key in 32-byte hex format (64 characters)",
max_length=64,
null=True,
unique=True,
),
),
migrations.AlterField(
model_name="user",
name="nostr_relays",
field=models.JSONField(
blank=True,
default=list,
help_text="An array of Nostr relay URLs that this public key posts to",
),
),
]

View file

@ -82,11 +82,11 @@ class User(ModelMeta, AbstractUser):
)
nostr_key = models.CharField(
max_length=64,
max_length=32,
unique=True,
blank=True,
null=True,
help_text="A Nostr public key in 32-byte hex format (64 characters)",
help_text="A Nostr public key in 32-byte hex format",
)
nostr_relays = models.JSONField(
default=list,