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

Commits on Oct 18, 2026
a8c8e96

Convert stablecoins at their peg, and stop reporting currencies with no exchange rate

DAI, WXDAI, USDC, CUSD and BREAD convert at 1 USD and CEUR at 1 EUR, so events priced in them are asked their contribution, and DAI and WXDAI, which older events are still priced in, are registered again. Events in other currencies with no rate, like SEEDS, count nothing towards an organisation's contribution without reporting an error each time it's worked out (DANDELION-4A, DANDELION-49).

06dfa09

Scrap promotion fees, keeping on each older event what its organisation paid towards one

Events with no ticket types or a purchase_url were asked a £25 promotion fee. Now an event counts a promotion fee only if promotion_fee_gbp is set, which a one-off backfill fills in from what each organisation paid beyond its other contributions, so organisations that never paid one are no longer held back from being paid up. A currency conversion that fails now counts £0 and is reported, rather than falling back to £25.

56a5826

Show the ticket count in the event stats' Tickets sold column, with places filled in the bar's tooltip

With a capacity, the cell showed places filled (slots taken/capacity) under a Tickets sold header, while the column sorted and totalled tickets, so the figures differed whenever a ticket type's slots weren't 1.

36437a9

Give the ticket card Bootstrap's usual side padding on phones too

4dc28b3

Give the textareas that save on change a submit button, as the feedback box has

Event notes, follower notes and feedback extracts still save when they change, but now sit in an ask box with an arrow button, so it's clear how to save them. Pagelet forms skip a submit while their last one is in flight, so clicking the button straight after an edit doesn't save twice.

Commits on Oct 17, 2026
cc3ffbb

Space wrapped rows of search form fields as far apart as the fields beside each other

9a56d11

Scrap the Patreon integration, leaving its donors for admins to manage by hand

Patreon has retired API v1, the only one the patreon gem (last released 2018) speaks: it answers 410 Gone, so since about 7 October the daily sync has found no campaign and changed nothing. Moving to v2 would mean renewing tokens monthly and reading pledge histories, which is a lot to keep for two organisations' 25 patrons.

The gem, the sync, its daily run, the Patreon card and patreon_api_key (field, validation, labels) go. Those patrons keep their records, and admins can now update them on the members page as they can donors they record themselves: monthly_donations_enabled? holds for an organisation that has monthly donors, rather than one with a Patreon key, and the manual donation control covers donors recorded from Patreon. Clearing the amount there now stops someone counting as a monthly donor, where before they stayed one with no amount.

299bff6

Fade the date tile's month band and day with the tile on hover, so they don't switch at once while it's still fading

c0b1045

Check Mailgun's signature on inbound email ourselves, and remove incoming

EmailReceiver used only incoming's Mailgun strategy (last released 2019): an HMAC-SHA256 of the webhook's timestamp and token, keyed with MAILGUN_WEBHOOK_SIGNING_KEY, and a Mail built from the fields Mailgun posts. It now does both itself, checking the signature first, before parsing anything, and with a constant-time comparison where incoming used eql?. Without a signing key set it refuses every request rather than raising. Attachments aren't read, as nothing used them.

New tests post signed replies to /inbound/:id: one Mailgun signed becomes a comment, while one signed with another key, unsigned, with its timestamp changed, or arriving with no key set gets a 401.

ec1fad8

In embeds, open the events container before the carousels too, so they line up with the search well and the events

304fe49

In embeds, line the search well up with the events below it, and the view buttons up with the fields inside it

The well gets the same container-fluid as the listings. The view options' own container-fluid moves out to the one place they sit outside a well, with no search, so inside the well they line up with the fields.

35e097d

Space the events grid from what's above it only after carousels, where it opens with All events, so it sits 1rem under a search well

e184cc9

Give search wells a Filter header that slides the form open or shut, and make the wells white with outlined checkbox chips

The header is the well's top row, a funnel and Filter with a chevron that turns, sliding the form like the sidebar's groups. It replaces the Show/Hide search options link on the map and calendar, on /events near a location, and on organisations' events, where phones always start with the form shut.

f93e990

Work out theme colours with our own ColorMath, and remove chroma and luminosity_contrast

lib/color_math.rb converts between hex, RGB and HSL, darkens, and gives the WCAG contrast ratio, for quick_colors, theme_css_variables and clamp_color (behind /theme.css) and the email theme_css. Checked against both gems on the 370 theme colours in use and 3,000 random ones:

  • theme_css_variables and the email blockquote borders are the same for every colour, and quick_colors for all but one, #3ddd81, whose hue is exactly 145.5: chroma's float error made it 145.49999, so its wheel starts a degree round from before
  • clamp_color differs for 23: luminosity_contrast left out the 12.92 divisor WCAG gives for very dark channels, so it found too little contrast and darkened past the 2:1 it aims for. Both versions pass 2:1; ours now lands nearer it
  • 300 email hover colours differ by 1 in one channel: chroma cut lightness and saturation to two decimal places of a percent as it converted back from HSL; Python's colorsys agrees with ours

A colour that isn't hex, as one old event's Blue is, is used as it is in emails. New tests in design_test.rb pin /theme.css's output for a colour that passes, ones too light and one too dark, and the email theme css.

08b043a

Read GitHub with a few lines of Faraday, and remove octokit

Github.get in lib/github.rb GETs from the REST API, as GITHUB_ACCESS_TOKEN when it's set, and returns the parsed JSON, for the two places that used Octokit: the /code page's commits and Trace.commit_time, when the deploy's git history lacks a release's commit. Octokit's sawyer goes with it.

f7a5133

Get YouTube titles for emails from oEmbed, and remove yt

Rich text in emails shows an embedded YouTube video as its thumbnail and title. EmailHelper.youtube_title now gets the title from YouTube's oEmbed endpoint, which needs no API key, so YOUTUBE_API_KEY and Yt.configure go too. A private, deleted or unknown video still gets a plain link (oEmbed answers those with an error status, as yt raised NoItems), which a new test covers.

e206b3d

Cut message previews short with ActiveSupport's truncate, and remove html_truncator

Messages are plain text, but HTML_Truncator parsed them as HTML and returned & and < as entities, which the template escaped again, so a preview of "Tom & Jerry" showed "Tom & Jerry". truncate(41) keeps the same cut, at a word boundary, 40 characters and an ellipsis.

8c7c5c6

Stop listing digest, which Ruby ships

It's a default gem, so MD5, SHA384 and the keccak gem's Digest::Keccak work without it in the Gemfile; it was pinned in 2021, when activating a newer copy clashed with the one Ruby had already loaded.

65bbb42

Stop listing better_html, which only erb_lint uses and already brings in

Our SafeErb linter in .erb_linters uses it, through erb_lint, which depends on it, so it stays in the lockfile. Listed on its own it was also required at boot, where the app never uses it.

b5e0bf3

Remove htmlbeautifier, which nothing in the app uses

It was added to format templates from an editor (VS Code's ERB Beautify extension runs its htmlbeautifier command), but the app, the linters and the scripts never call it, and an editor that wants it can install it on its own.