Dandelion is a fair source project. View the code on Github · See the design guide

Commits on Nov 18, 2026
fcb17df

Don't lock events on Stripe errors caused by a buyer's own values

A Stripe invalid request error locked the event whatever caused it, so one checkout with values Stripe refuses could close an event's sales for everyone.

  • Order#metadata is cut to Stripe's limits (keys of 40 characters, values of 500), so the buyer's name and answers fit
  • Stripe invalid request errors about the buyer's own values (the metadata, success and cancel URLs, customer email) fail only that purchase and email the admins without dashboard advice; other invalid requests (no such account, destination or tax rate) still lock
  • utm values are cut to 200 characters in OrderBuilder

Mollie, PayPal and GoCardless lock only on auth or API usage errors and send no buyer-entered values, so they're unchanged.

Claude-Session: https://claude.ai/code/session_015HnU1LFv3vAbRbfC1WLJwd

b1de8d1

Don't focus the first field of a form opened in the modal on a touch screen (pointer: coarse, as in confirm.js), where it brings up the keyboard over the form; desktops still start at it

5a8f200

Stop POST /stripe_row_splitter stalling a web process: reading a description tries every ': ' in it, so its cost grew with the square of its length (a 24 KB upload took about 94 s). Keep descriptions over 1,000 characters or with more than 10 ': ' as they are, stop reading a description's parts at the first that isn't one, refuse CSVs over 5 MB, need someone signed in, and throttle it to 10 a time per IP per 10 minutes

6008ade

Make plain text email bodies untrusted, so a donation's source (which anyone can set through POST /accounts/pay) can no longer open %recipient.token% in the contribution email to admins and give each a link carrying their own sign in token

49833df

Run the local MCP servers through script/mcp-server rather than npx -y, so neither they nor their dependencies are releases inside the 7-day cooldown (mcp/package-lock.json, installed with npm ci without install scripts) and each gets only the variables it needs rather than every credential in the agent's environment; test that every local server in .mcp.json runs that way (test_local_mcp_servers_run_pinned_and_scrubbed), and ShellCheck the script

076cfc1

Handle orders whose buyer deleted their account when transferring, resending and restoring them

Deleting an account nullifies its orders' account_id (and leaves removed orders pointing at an account that's gone), but Order#send_tickets and Order#create_order_notification assumed a buyer:

  • Transferring or resending such an order queued a send_tickets job that raised on account.email
  • Restore and complete raised synchronously in create_order_notification (account.publicly_visible?), a 500 after the order had been restored and completed

send_tickets and create_order_notification now return when there's no buyer, and Resend order confirmation tells the admin there's no one to send the tickets to rather than saying they were resent.

Closes #355

534a28b

Don't destroy or half-complete an order when its buyer can't join the gathering yet

Buying a ticket to an event linked to a gathering makes the buyer a member, and creating that membership waits for the gathering's RecordLock. If another request held it past the wait (an admin's account being deleted), Busy escaped Ticket#payment_completed! after the order was marked complete: a free booking was then destroyed by OrderBuilder and answered 503, and a paid order completed by the webhook was left without its tickets sent or its notification, and couldn't be completed again.

Ticket#join_gathering now queues the membership a minute later when the gathering is busy, and OrderBuilder only destroys the order for a Busy from the booking's own locks, before any payment is processed.

Closes #356

5fdc2e2

Don't crash the homepage's birthdays card on a February 29 birthday

Account#next_birthday is nil for a February 29 birthday in a year without one, and the birthday row called strftime on it whenever the viewer could see the date of birth. Since site admins see every followed account's birthday, including private ones, this made the homepage 500 for them. The row now shows the date and countdown only when there is a next birthday, as the birthdays page does, and still lists the account.

7e5d8dd

Update packages to the newest releases out of the 7-day cooldown, from script/update_packages.rb (the package updates workflow)

09be936

Write each assertion one way, with the Minitest cops whose fixes pass and fail on the same values, and refute rather than assert_not or assert ! (Dandelion/RefuteNot); load only the rg and SimpleCov Minitest plugins, as Minitest 6 makes plugins opt-in; document --include (Minitest 6's name for -n), the minitest command's file:line and --bisect; and drop from AGENTS.md the rules a lint already enforces with a message saying what to do

The cops that would change what passes stay off, with why in .rubocop.yml: AssertEqual (assert_equal refuses an expected nil), AssertEmptyLiteral (assert_empty passes on {} or ''), AssertInDelta and RefuteInDelta (0.001 would loosen amounts exact to the cent), AssertTruthy and RefuteFalse (assert x passes on any truthy value, refute x on nil), and AssertPredicate and RefutePredicate, for reading worse.

Commits on Nov 17, 2026
d6c3e95

Show an event's views blank rather than 0 in the stats table and CSV: events that started before views were counted have 0, which read as nobody having viewed them

25d0087

Show the Stripe report's tables as placeholders while it's fetched from Stripe, sharing one table placeholder (_table_placeholder) with the event stats page, whose own placeholder it replaces

d562e57

Load the Stripe report page straight away, fetching the report from Stripe in a pagelet on the same route, so the page no longer waits on Stripe's search before showing anything

37ac818

Run the opencode bug review on GLM 5.3 too, at its top reasoning level (max)

c4c01f0

Run the Codex workflows on gpt-6.2-sol

48922ce

Show site admins the birthdays of everyone they follow, whatever their age's privacy: since an unset date of birth privacy counts as Only me (b85d9a6ab), most people dropped off admins' Upcoming birthdays and /birthdays, though viewable? already lets admins see every age, as the birthdays feed did. Both lists now go through Account.birthdays_shown_to(viewer), which skips the privacy filter for site admins and still leaves out hidden profiles

1f23775

Give the private sessions list, not a 500, for nested q, tag and near params

?q[x]=1, ?tag[]=x or ?near[x]=1 give a hash or an array, which Regexp.escape, downcase and Location.bounds_for's strip raised on. Such a param is now no filter, as parse_date treats a nested date. The near guard is in set_bounding_box and near_place_ticks_in_person, which events and facilitators share.

Clearing the tag filter already lists every session, as blanks_to_nils! makes tag= nil; a browser test now covers it.

7aeffdf

Stop a form saving half a private session's price range, which broke the private sessions list

A crafted POST could set price_min without price_max (the form only sends price_or_range), and price_label then raised formatting the missing end, a 500 on /private_sessions for everyone while the session was on the page.

  • The stored length and price fields (price, price_min, price_max, duration_min, duration_max) are protected: forms set them only through price_or_range and duration_or_range
  • Validation checks the stored fields however they were set: a price range has both ends and isn't beside a single price, and a length range has its lower end
  • price_label shows the end it has of an incomplete range saved before, rather than raising

Closes #348

65b6393

Update packages to the newest releases out of the 7-day cooldown, from script/update_packages.rb (the package updates workflow)

6be59eb

Show ticket sales to at most three figures (72.4m, 102m)

Rounded down, as the figure is followed by a +.

Claude-Session: https://claude.ai/code/session_015HnU1MnAk8aG538FwHjSsR