Dandelion is a fair source project. View the code on Github · See the design guide
Commits on Oct 28, 2026
| 8229bd3 |
Run the Claude, Codex and opencode bug reviews at high effort. They ran at each tool's default (Opus 5.5 at medium, GPT-6.1 Sol at low, Argon at its default variant) while Cursor runs Grok at xhigh; the levels are now CLAUDE_EFFORT, CODEX_EFFORT and OPENCODE_EFFORT in models.env, beside the models. |
| d6ce1be |
Remove comments that only restate the code: bare ### dividers, labels repeating the line below, and the event feedback aggregation's notes about a join with events it doesn't do. |
| 48f4b71 |
Sync monthly donations before counting them each night. late:errands ran set_counts before the GoCardless and Patreon syncs, so an organisation's monthly donation totals showed the previous night's donors; the syncs now run first. |
| 7e75280 |
Size the members page's monthly donation field to its contents: the amount box is 5em wide with the currency select beside it, rather than the pair filling the column. |
| a2db629 |
Drop PayPal as a monthly donation method: donations that don't come from GoCardless or Patreon are recorded by hand as Other, so the members page's Monthly donor filter no longer offers PayPal. The two PayPal donors, both in one organisation, are moved to Other (or cleared) from the console. |
| 356fd91 |
Show the real number of records under paginated lists. Paginating a Mongo query caps total_entries at ten pages' worth, so paging stops at page 10, and pagination_details showed that cap: an organisation with 100,000 members saw "1 - 10 of 100 in total". The patch already counted every record to work out the cap, so it now keeps that count as uncapped_total_entries, and pagination_details shows it, with thousands separators. Paging still stops at page 10. |
| 07fa36b |
Show Patreon donors as synced, and filter members by how they donate. Now that Patreon donors sync each night again, their row on the members page says "$15/month via Patreon since …", as GoCardless donors' do, rather than offering an amount field whose changes the next sync would undo; saving a monthly donation for a GoCardless or Patreon donor is refused. The Monthly donor and Not a monthly donor checkboxes become one Monthly donor select: All, each method (GoCardless, Patreon, PayPal, Other) or None. |
| 747957c |
Bring back the Patreon sync on API v2. Organisations give the client ID, client secret and creator's refresh token of a client in Patreon's developer portal. Each night Dandelion swaps the refresh token for a new access and refresh token, saving the new refresh token at once, so the token no longer needs renewing by hand each month. It then reads the campaign's members with their pledge history: active patrons are recorded as monthly donors, with the amount and currency of their latest pledge start, upgrade or downgrade (the member's own amounts are in the campaign's currency, so a CA$11.50 patron would show as USD). Patrons who stop are cleared, as GoCardless donors are. If Patreon rejects the token, patrons are left as they were and the Patreon card says to paste a new refresh token (patreon_sync_error, which forms can't set). |
| 1e308ef |
Work out the event and gathering navs' counts once. Most items in the event admin nav, on every event admin page, counted their records once to decide whether to show and again for the badge, and the ticket types were counted six times. The gathering nav builds its menu twice, for desktop and mobile, so its member count, applications check and teams, timetables and rotas were each loaded twice. Each is now worked out once at the top of the partial and reused (and the ticket type and co-host checks are exists? rather than counts). On an event's tickets page that's 6 fewer queries (64 to 58), and on a gathering's page 7 fewer (50 to 43), with the same HTML. |
| a46d906 |
Count donors recorded by hand (Other) in an organisation's monthly donation total. set_counts left them out, so when the Psychedelic Society's Patreon members were moved to Other, their pledges dropped out of the total. |
| 7764380 |
Answer the newsfeed's repeated queries from the query cache. A gathering's page took 435 ms typically and up to 4 s, almost all of it in the newsfeed, which looked up the same gathering, teams, posts and accounts again for each notification (in one trace, 420 queries for 30 notifications). The feed now renders inside with_query_cache, which turns on the Mongo driver's query cache for the block and clears it afterwards, as the driver otherwise keeps what it cached for the thread's next request. With 20 comment notifications, a gathering's page goes from 392 queries to 195 and the feed's 60-second refresh from 357 to 160, with the same HTML. The home page's feed uses the same partial. |
| accb7a8 |
Let admins choose the currency of a monthly donor they record by hand. The amount field showed the organisation's currency symbol and saving it set the organisation's currency, so editing a donor recorded in another currency (a Patreon member paying CA$11.50) turned their amount into pounds. The symbol is now a currency select, set to the donor's own currency, and saving keeps the one chosen. |
| 0d80d1c |
Accept an organisation's Mailgun click webhooks only when they're signed with its own key. They also accepted Dandelion's key (MAILGUN_WEBHOOK_SIGNING_KEY), which signs events for every organisation, so an event signed for one organisation could be replayed to another's webhook to inflate its click counts. Organisations set up the Clicked webhook in their own Mailgun account with its signing key, as the docs say, so none should rely on the fallback. Dandelion's key still verifies the replies to comment emails posted to /inbound. |
| 0fe34b7 |
Show placeholder lines while a feedback summary generates. Managers saw the old summary (or nothing) above a spinner while a new one generated; now its place shows the pulsing placeholder lines other loading content uses, first time or not, above "Generating feedback summary…", with no spinner. Others keep seeing the old summary until the new one is ready, as only managers' pagelets refresh. |
| da0ac29 |
Keep feedback on secret events off public pages. An organiser found feedback from their secret event, with the reviewers' names and the event's name, on their public event's page, through the facilitator's feedback list. The public feedback lists (an organisation's, an activity's and a facilitator's, and the card on event pages) now leave out secret events: unscoped_event_feedbacks and unscoped_event_feedbacks_as_facilitator become public_event_feedbacks and public_event_feedbacks_as_facilitator. AI feedback summaries are written from the same public, non-removed feedback; the home page's quotes skip secret events and removed feedback, which its aggregate read straight from the collection. Feedback on a secret event creates no left_feedback notification, and an event that becomes secret loses those its feedback already has, as they named it in the reviewer's followers' feeds. |
| 58df559 |
Say which event a duplicate was copied from until it's first saved. People were editing the original rather than the copy: the two have the same name, dates and image, and the only note saying which was which went once ?duplicated=1 left the URL. A duplicate now stores the event it was copied from (duplicated_from, a foreign key forms can't set), and its event and edit pages tell event admins "This is a duplicate of |
| 55ca55c |
Keep asking an unconfirmed account's owner to confirm their email after a mail scanner opens their link first The first link sign in elsewhere to an unconfirmed account signs out other browsers and asks to confirm, but a mail scanner or HEAD request opening the link used that up, so the owner was never asked and whoever signed up could sign back in with their password or provider. Now only a page view (not HEAD or XHR) signs out, and the account records the prompt as owed (confirm_email_prompt_owed), so each link sign in asks until the owner confirms or presses Not now, which posts to /accounts/confirm_email/later. Fixes #284 |
| 2081b49 |
Link the Stripe report's customers to their orders by username rather than email for admins who can't see attendee emails (activity and local-group admins when show_emails is off), so the link's URL no longer exposes the address. Fixes #285 |
| 8871048 |
Lay search forms' filter checkboxes side by side on phones, as space allows, rather than one per line, with the Search button on a line of its own below them |
| 92946fd |
Count event page views in a page_views_count field on the event rather than counting PageViews for each row of the stats table: the event page adds one on each HTML view (not XHR or crawlers) until the event starts, so the count runs past 30 days and is frozen at the start. The stats column and CSV header become Views |