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

Commits on Nov 15, 2026
e110056

Open an add and remove box's lookup with its search focused when its plus is clicked, so you can type a name straight away: choose_in_lookup clicks the lookup only when it isn't already open, and the activity admins and co-host tests type into the focused search

2924c54

Test permission refusals no test took: deleting another's event, an orphaned event, an unpaid member's shift, a forged commentable_type, and the sign in code an account's own pages email

  • POST /e/:slug/destroy (can_delete_event_only!): an event manager who admins the event but didn't make it, and anyone signed out, are sent back to the event, with nothing deleted, cancelled or emailed; the manager deletes their own event
  • An event whose organisation was deleted (Organisation has_many :events, dependent: :nullify) is refused at GET /e/:slug and GET/POST /e/:slug/edit, even to the account that made it, who still counts as its admin, so the refusal is the missing organisation's (it sends them home, not back to the event)
  • A member of a gathering that demands payment who hasn't paid can't open, change or drop their own shift, nor see the rota with its edit link, and can once they've paid
  • POST /comment refuses a commentable_type outside Post.commentable_types (Gathering, Account, Kernel), creating nothing; a Team comment posts
  • Signed out, /accounts/edit and /accounts/subscriptions with an account_id email that account a sign in code and send it to the code page, say so when the limit withholds one, and fall back to signing up for an unknown account_id

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

17016a9

Test booking refusals no test reached: banned emails, and ticket types hidden, deleted or off sale mid-booking

  • rules_test: a banned email (existing account, or a new guest typing it in another case) gets a 403 with no order, ticket or email, beside an allowed email that books; in the browser the banned buyer is told why and an allowed one books; ticket types whose sales have ended, and every one once the event has ended without sales after it, aren't offered
  • bookings_test: a hidden ticket type isn't offered without its secret link (none, a wrong one, or its id once it has a token)
  • changes_during_booking_test (new, in the ticket types CI group): Quote already refuses hidden, missing and off-sale ticket types before the order is made, so OrderBuilder#create_tickets' own checks only fire when the ticket type changes after the quote, as the order is created. These tests make that change at that point and check the booking is refused with TicketTypeNotFound or SalesEnded, leaving no order, ticket or email, beside the same change that doesn't matter (the buyer has the secret link, the sales end moves later, the event takes sales after its end)

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

db904aa

Test gathering verdict, ticket type waitlist and feedback report refusals

Covers refusals no test took: proposing before a gathering's proposing delay, a missing reason when a gathering requires one from proposers or supporters, joining a ticket type's waitlist once its sales have ended (the model and WaitlistJoiner), and the event feedback report before 5 answered feedbacks (and, in development, with none).

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

51e4e2c

Test model validations no test reached: an organisation's order reward is 1-100%, its Mailgun domain isn't a sandbox one, its Mailgun domain, API key and region come together, its required event image size is above 0 and its theme colour is hex; an event's tax rate starts with txr_ and its Open Collective slug waits for the organisation's; an event session sits within its event and ends after it starts; a ticket group stays with its event once saved and its capacity isn't negative; a private session's prices aren't negative; a mail's link params have no spaces. Each refusal is asserted on its field with its message, beside the value that's allowed. The new organisations/validations file joins the organisations CI group.

Two of the event checks asked for are left untested, as no input reaches them: a revenue sharer's blank share is set to 0 just before 'must be present if a revenue sharer is set', and a Stripe Connect organisation's event with no organiser gets its creator as organiser before 'or revenue sharer must be set' (only an event with no account, already refused, reaches it), as test/events/validations_test.rb already notes.

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

3c003ea

Test the sign in code race and the hourly and daily messaging limits

  • A sign in code that another request redeems after this one found it (redeem_sign_in_code! returning false) kicks to the sign in page and doesn't sign in, beside a valid code that does
  • Message's per-hour and per-24-hours caps on distinct recipients, with earlier messages spread so only the window under test is over its limit: one person under the limit is saved, the next isn't

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

52adfcc

Keep each test run's port below 32768, where Linux starts the ephemeral ports it gives outgoing connections: a coverage run's integrations group failed six browser tests when a connection held the port the run had picked at boot, so Capybara's Puma couldn't bind it on any attempt

8cff079

Open an option's members and a membership's details with data-open-in-modal rather than onclick code loading #modal, and check that no template loads #modal itself (test_modals_open_with_data_open_in_modal), so every modal gets app.js's focus, size, scroll and address bar handling

7171c65

Check that a form created in a modal is edited in one (test_forms_created_in_a_modal_are_edited_in_one): an edit route whose page renders a form partial that _form_modal.erb shows answers a background request with _modal_content.erb

05f8426

Edit a tier, a payment, a ticket's name or email, and a gathering's expense, inventory item or proposed activity in a modal, as each is created in one: their edit links take data-open-in-modal and their routes answer a background request with _modal_content.erb. A ticket is created and edited with one form, events/_ticket_form.erb; the payment and ticket edit pages start with Return to, in the centred column; and a link in the phone's dropdown sheet that opens a modal closes the sheet first

c414369

Open Create a tier, Add payment and Create a ticket in a modal rather than showing the form in place, and check that no create or edit form is revealed in place (test_create_and_edit_forms_open_in_modals), bar the add and remove boxes and an application's Propose and Support, which are in pagelets: gatherings/_form_modal.erb is now _form_modal.erb, for any page, taking a short form as form_html, and open_on_load for a link that asks for the form (an event's stats' ?create=1, the orders page's ?create_ticket=1)

823a993

Put the way back and the form of a page that starts with Return to in a centred column, and check it (test_return_to_forms_sit_in_a_centred_column), so they line up as every subpage's form does: the private session create and edit page now sits in one

1ab1586

Start every page that also opens in a modal with a way back, Return to ..., at the top below any nav, for whoever opens its URL as a page with no modal to close, and check it (test_modal_pages_start_with_a_way_back): gatherings/_back.erb is now _back.erb, used by every Return to link, and gathering subpages put it above their heading rather than under it. And the organisation tier edit page gets the organisation nav, a heading and the centred column, as its Return to tiers sat outside the form's container

e58c3f3

Show a gathering application's URL in the address bar while it's open in a modal, as a private session's does: the links to it from the applications list, its proposers and supporters and the members list are data-open-in-modal links with data-modal-push-url, rather than inline onclick code, and data-no-autofocus on a link keeps the focus off its discussion form

6dee7a3

Keep a gathering's only admin when their account is deleted or two admins go at once

The only-admin rule was checked only in the leave, unadmin and remove routes, outside any lock, so deleting the account cascaded the only admin's membership away, and two admins leaving, unadmining or removing each other at once could both pass the check.

  • Membership: an around_destroy refuses to destroy the only admin's membership (unless the gathering itself is being deleted), checking and deleting under the gathering's lock
  • Account: an around_destroy refuses while the account is the only admin of any gathering, holding the locks of the gatherings it admins until its memberships are gone. The delete page lists those gatherings instead of the form, and POST /accounts/destroy now says the account wasn't deleted when destroy refuses (it said it was, also for site admins)
  • The three member routes check and write under the gathering's lock
  • RaceHelpers#race moves out of capacity_races_test.rb for the new races to share

Closes #332

21497ac

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

d2d782c

Give the facilitators page a Facilitators heading, shown only when signed out, like the organisations and events pages, as the sidebar names the page when signed in; and show the private sessions page's heading only when signed out too

54bf856

Show a private session's own URL in the address bar while it's open in a modal from a list, to copy or share, with data-modal-push-url on data-open-in-modal links: opening it pushes the session's URL, closing it goes back to the list's address, and going back closes it

dd5c7f9

Space a search form's stacked fields 8px apart below 576px, as far as the Search button sits from them, rather than 4px: on /organisations the scope toggle sat cramped against the search field on a phone, and so did the stacked fields of every other search form (events, gatherings, admin lists)

e7b6870

Show Edit under a private session's badges below 576px, on its page and in its modal, rather than beside its title, where on a phone it squashed the title and itself