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

Commits on Nov 12, 2026
8650004

Restore password_block (lib/form_builder.rb), removed in b27e8e23e as unused: dadmin/build calls each field's block by name ("#{type}_block"), and admin_fields gives Account's password the :password type, so debride couldn't see the call and the Account edit form in dadmin raised NoMethodError. A comment now says where it's called from

ff04ac8

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

Commits on Nov 11, 2026
8ad0eca

Update activesupport to 8.1.4.1 (with activemodel and actionview), fixing a possible DoS in safe_constantize (GHSA-8474-xrp6-wh69) and a possible XSS in the MessagePack serializer (GHSA-2w9f-fxwj-w2qf)

274b580

Share the activity and local group routes' code in subgroups_helper: the events stats page and its filters, the followers list and its search, emailing followers as CSV, importing followers from CSV and the follow button. Each route stays written out in its own controller with its lookup and permission check, and calls these for the rest. Activities still only let people follow an open activity, or one they already follow, and the activity edit error loses the full stop the other three messages lacked

f0e40df

Share Activityship's and LocalGroupship's code in a Subgroupship concern: the account, the admin, unsubscribed, hide_membership and receive_feedback fields, protected_attributes, absorb_duplicate! and refreshing the account's notification cache on create and destroy. Each model still names its own subgroup, its uniqueness and which cache ids it refreshes, so they stay greppable, and Activityship keeps hiding membership of closed activities

7e845a5

Count the people a free gift mail goes to, not only the organisation's followers: an activity's, activity tag's or local group's members needn't follow the organisation (an activity's CSV import adds none), so an organisation with few followers could import any number of people into an activity and mail them all through Dandelion's Mailgun. Pmail#free_gift? checks both, for sendable? and send_batch_message, which now returns nil rather than raising when no account can send it. A test checks an activity's imported members beyond the limit need a Mailgun account

e10a9a4

Defuse Mailgun recipient variables in From and Reply-To, as in subjects: Mailgun fills them into both headers (tested Nov 2026), which carry organiser text, so an event's contact email or an organisation's reply address of %recipient.token%@their.domain sent each buyer's sign-in token there when they replied. EmailHelper::RecipientVariables now runs from and reply_to through EmailHelper.untrusted, covering every sender. A mailer test checks it on a real BatchMessage

be0d24b

The package updates run the new gems' code (bundle install, rake) in a job of their own with a read-only token, handing on only a patch to Gemfile.lock and frontend, which a fresh job checks touches nothing else before applying it, updating the actions' pins itself and only then using PACKAGE_UPDATES_TOKEN. In one job, a gem could have left a git hook, config or gh on the PATH for the token's step. script/update_packages.rb takes the sections to run

4294ef0

The email-reply drafter no longer runs Bash: its allowed git log, show and blame could write files (git log --output=.git/config) and so run commands (git show --ext-diff with that config's diff.external), from a prompt injection in an email, beside its production MCP credentials. Its prompt says it can't run commands, and the workflows README why

2d81f2b

Check every gathering route says who may use it: Dandelion/GatheringPermission flags a /g/:slug route that calls none of confirmed_membership_required!, membership_required!, gathering_admins_only!, own_or_gathering_admins_only! or halt 403, so a new route can't be left open by leaving its check out. A route that only redirects needs none, and the four public ones (the gathering's page, applying, joining and Stripe's webhook) disable it, saying why. AGENTS.md lists the gathering route helpers

0622ba6

Protect Event#donations_to_organisation from mass assignment, so an event admin can't post it to the event create or edit routes and stop checkout offering donations to Dandelion; only the admin panel sets it. A Rack test checks both routes refuse it

212a0d0

Unsubscribing a teamship from its team's emails clears the subscriptions to the team's posts of the teamship's member, not of whoever unsubscribed it: a gathering admin unsubscribing someone else's teamship cleared their own subscriptions and left the member's. A Rack test checks it

494559f

Refuse gathering requests with 403, as the rest of the app does, rather than a bare halt, which answered 200 with an empty page. The routes for someone's own shift, teamship or optionship check with own_or_gathering_admins_only! (access_control.rb), in place of four versions of the same condition, two of which raised (a 500) for someone signed out or a record whose account had gone, as did deleting a verdict. Scheduling a timetable activity and joining a gathering that isn't open refuse with 403 too. A Rack test checks a member can't remove another's shift, teamship or optionship, nor anyone signed out an optionship

2795d5b

Have membership_required! and confirmed_membership_required! keep the viewer's membership of @gathering in @membership as they look it up (find_membership, access_control.rb), so the 59 gathering routes that call one straight after finding the gathering no longer look the membership up first, a query each. Routes that check only for an admin, or check membership conditionally, still look it up themselves

cacb6bb

Find the gathering a /g/:slug route names with gathering_from_params (helpers.rb), beside activity_from_params and local_group_from_params, in place of Gathering.find_by_slug_or_id(slug: params[:slug]) in each of the 125 gathering routes

4a8bd47

Decide whether a comment's attachment shows as an image in one place, Comment#file_image?, in place of the same extension check in comments/_file and twice in emails/comment

2a1737f

Update the Cloudflare ASN rule through one Asn.update_rule!(rule, expression), in place of the same PATCH request, with its URL, headers and body, in each of block!, unblock! and autoblock

9e569fe

Show the nav, and name in a hidden field, the organisation, activity, local group or event a discount codes or mailer page is for through context_nav and context_id_field (navigation_helpers.rb), in place of the same if/elsif chain in each of discount_codes/build, discount_codes/discount_codes, pmails/build and pmails/pmails. events/event_stats keeps its own, as each of its branches sets more than the nav

3563470

Show a ticket's account, and the name and email it was ordered for, through one partial, events/ticket_holder, in place of a copy in each of the tickets and check-in lists

5a47c16

Find the record an old id URL names in redirect_to_slug_url (helpers.rb), which takes the records to look in, the old URL up to the id and a block giving the slug URL, in place of the same find and Dandelion/SlugLookup disable in each of the event, organisation, activity, local group and account redirect routes. A Rack test checks each model's old URL redirects, a POST keeps its method, and an unknown id is a 404