The LNbits admin form lagged the webapp's CreateEventDialog:
- Payment methods never rendered. c2d9a96 wired the template to
`paymentMethodOptions` / `acceptsFiat` but never defined them, so the
q-option-group got `options=undefined` and the fiat-currency select
was gated on `undefined`. Rails are now two q-checkboxes; Card is
disabled with an explanatory tooltip when `g.user.fiat_providers` is
empty (same rule as the webapp) and names the providers otherwise.
- Location (NIP-52 `location` tag) and Categories (NIP-52 `t` tags,
same 25-item list as the webapp's category.ts) were missing from the
form even though the model, CRUD and publisher already carry them.
- Datetimes are stamped with the browser's UTC offset on submit, as the
webapp does; `_to_unix` treats naive values as UTC, so 18:00 CEST
entered here went out on Nostr as 18:00 UTC. Table columns render
"YYYY-MM-DD HH:MM" instead of the raw ISO string.
- Validation: title + start date required, end >= start on the folded
date+time, fiat currency required when a sat-priced event accepts
card. Create is enabled once wallet + title + start are set; info,
closing date, tickets and price were all effectively required before
because the disable check compared undefined fields to null.
- Labels follow the payment-rails vocabulary: "Unit" -> "Price
currency", "Fiat checkout currency" -> "Fiat currency"; ticket
closing date and end date explain their defaults.
- A fiat-priced event mirrors `fiat_currency = currency` on save so the
payload and the `tickets_fiat_currency` tag stay coherent.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018b1bDExMX7W3a47wcgFUjb
67 lines
1.9 KiB
JSON
67 lines
1.9 KiB
JSON
{
|
|
"id": "events",
|
|
"version": "1.6.1-aio.13",
|
|
"name": "Events",
|
|
"repo": "https://git.atitlan.io/aiolabs/events",
|
|
"short_description": "Sell and register event tickets",
|
|
"description": "",
|
|
"tile": "/events/static/image/events.png",
|
|
"min_lnbits_version": "1.4.1",
|
|
"contributors": [
|
|
{
|
|
"name": "talvasconcelos",
|
|
"uri": "https://github.com/talvasconcelos",
|
|
"role": "Developer"
|
|
},
|
|
{
|
|
"name": "dni",
|
|
"uri": "https://github.com/dni",
|
|
"role": "Developer"
|
|
},
|
|
{
|
|
"name": "prusnak",
|
|
"uri": "https://github.com/prusnak",
|
|
"role": "Developer"
|
|
},
|
|
{
|
|
"name": "Ben Arc",
|
|
"uri": "https://github.com/arcbtc",
|
|
"role": "Developer"
|
|
},
|
|
{
|
|
"name": "motorina0",
|
|
"uri": "https://github.com/motorina0",
|
|
"role": "Developer"
|
|
},
|
|
{
|
|
"name": "padreug",
|
|
"uri": "https://git.atitlan.io/padreug",
|
|
"role": "Developer (aio fork: approval workflow + NIP-52 Nostr sync + edit gating)"
|
|
}
|
|
],
|
|
"images": [
|
|
{
|
|
"uri": "https://raw.githubusercontent.com/lnbits/events/main/static/image/1.jpg",
|
|
"link": "https://www.youtube.com/embed/hGTkJ9e5TNk?si=DXqBEEzpyyb33UQd"
|
|
},
|
|
{
|
|
"uri": "https://raw.githubusercontent.com/lnbits/events/main/static/image/1.png"
|
|
},
|
|
{
|
|
"uri": "https://raw.githubusercontent.com/lnbits/events/main/static/image/2.jpeg"
|
|
},
|
|
{
|
|
"uri": "https://raw.githubusercontent.com/lnbits/events/main/static/image/3.png"
|
|
},
|
|
{
|
|
"uri": "https://raw.githubusercontent.com/lnbits/events/main/static/image/4.png"
|
|
}
|
|
],
|
|
"description_md": "https://raw.githubusercontent.com/lnbits/events/main/description.md",
|
|
"terms_and_conditions_md": "https://raw.githubusercontent.com/lnbits/events/main/toc.md",
|
|
"license": "MIT",
|
|
"paid_features": "",
|
|
"tags": ["Fun & Social", "Ticketing"],
|
|
"donate": "",
|
|
"hidden": false
|
|
}
|