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

Commits on Nov 01, 2026
bf9e5c4

Find organisations, gatherings, events and accounts in URLs by slug or id, with one SlugLookup concern

An event URL with its id or a slug in capitals redirects to the slug, keeping the format and query

a413c47

Require an event's slug: one is generated before validation when it's blank, and every event has one

351abd7

Load the events stats table in a request of its own, so the page shows before its rows are worked out, and pluck the filter dropdowns' names and ids

The stats pages (organisation, activity and local group) hold a pagelet of the same url with table=1, which event_stats_page answers with the table alone. Their dropdowns no longer load whole documents (local groups' polygons made the page's slowest query) or check whether each has options with a query of its own.

17fc6f1

Render the events stats table's rows with the page, from data loaded once for all its events, rather than loading each row separately

Event.preload_stats loads the events' own records with one query per collection and plucks their tickets' and donations' accounting fields, so the stats page and CSV make the same queries however many events they show. Orders that split credit or a fixed discount with a revenue sharer are handed their ticket and donation revenue too, and DragonflyJob.with_prefetched finds the avatars' image urls with one query. The stats_row and checked_in routes go, with the events/_checked_in partial, and the CSV now gives each event's Facebook event url.

b74857f

Skip warming an image's derivatives when it was replaced or removed after the job was queued, deleting its original

Fixes DANDELION-4F

8bd94f0

Hide a dropdown's tooltip when its menu opens, and keep it hidden while the menu is open

Commits on Oct 31, 2026
396654d

Name what you follow in the follow and profile tooltips: this organisation, activity or local group, not just this

94b5128

Load the books' and films' images from stephenreid's site folder, where they moved from app/assets when it became a Jekyll site: the old path has returned 404 since

ad141e7

Remove the Attending row from events, which was barely used

With it go its partial and routes (the attendees pagelet and show/hide attendance), the event's hide_attendees setting, the ticket's show_attendance field and the public_attendees and private_attendees associations. Ticket emails' sign-in link no longer depends on hide_attendees.

61e9ba1

Explain the follow, feedback and profile buttons on organisations, activities and local groups with tooltips

808c724

Check every script in a template with SafeErb, and fix what it found

better_html finds the content after each

1e5498b

Run zizmor offline outside CI

script/lint ran zizmor's online audits whenever GH_TOKEN was set. Cloud agents have one, but their proxy doesn't let zizmor reach GitHub's API, so script/lint --all, and the pre-commit hook on any change to .github, failed there. It now runs them only in GitHub Actions, which still gives it its token.

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

e2fc5b3

List SafeErb in AGENTS.md's erb_lint section

It's one of our erb_lint linters (better_html's ErbSafety without its script type check), but the section named only DesignClasses, JqueryRequests and CdnTags. It now lists it with what it enforces, and points to RubocopTags under RuboCop.

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

Commits on Oct 30, 2026
91da2d7

Give the Signal API time to send a pmail to all its recipients: the request waits 60 s plus 5 s per recipient, up to 10 minutes, rather than Net::HTTP's default 60 s, which two pmails to 30 and 59 phones ran past. Errors are reported with the recipient count.

Fixes DANDELION-4E

1051cd0

Fail CI on rubocop-minitest's cops for tests that don't test what they seem to

Expected and actual swapped, a test method Minitest won't run, duplicate, unreachable or useless assertions, assertions in setup, and return or skip in the wrong place. The booking test's assert_equals put the expected value first, and the recaptcha signup tests move above private (they ran, as test defines them public, but read as private).

The rest of rubocop-minitest is assertion style, so it stays off. rubocop-thread_safety and rubocop-performance aren't added: every thread-safety offense was a request's instance variable in a Padrino block, a registry filled at boot, a memoized cache or a thread we start on purpose, and the performance cops are micro-optimisations, several unsafe on Mongoid criteria.

The lockfile adds rubocop-minitest by hand: re-resolving with Bundler 4 dropped the ruby platform, which Linux needs.

4a9bea0

Give links somewhere to go

  • The "show names instead of pictures" links point at the names view, which the pagelet trigger fetches, rather than at #, which fetched the whole page
  • The sidebar's minify toggle is a button
  • The carousel placeholder's image isn't wrapped in a link to #, and the iframe-resizer marker is a span
  • The allocated-to-role badge and the sidebar's booking button set their href in one attribute rather than in each ERB branch

lint_test gets a case for erb-no-empty-control-flow.

1e69893

Fail CI on ESLint's eqeqeq (smart), and compare with === and !==

The comparisons were between numbers, or strings from .val() and literals, so === gives the same answers. The Select2 lookup compared a JSON id with a select's string value, so it now compares them as strings.

ea59e60

Fail CI on ESLint's prefer-const and no-loop-func

The map's point is block-scoped so each marker's lookup sees its own, and the pagelet queue's callback disables no-loop-func, as it shares the in-flight count on purpose. Callback parameters that hid an outer variable get their own names too.

5f764dd

Fail CI on Herb's erb-no-empty-control-flow, and drop the empty branches

if x, else, ... is now unless x, an empty if before an elsif is folded into its condition, and the empty when 'secret' is gone: a case with no matching when renders nothing, as before.

f53b4be

Fail CI on Style/OpenStructUse, and stub API objects with Structs

ostruct isn't a default gem since Ruby 3.5, and the tests only had it through other gems' dependencies. Their stand-ins for Stripe and GoCardless objects are now api_object(...), a Struct of the attributes given, so a test fails if the code reads one it didn't set rather than getting nil.