Dandelion is a fair source project. View the code on Github · See the design guide
Commits on Nov 13, 2026
| 6ce0f1d |
Say an EVM gathering payment is complete on the check that completes it: check_evm_account completes a copy of the payment it finds itself, so the route answered with the copy it had loaded before, still unpaid, until the next poll |
| 7171b17 |
Show whether a gathering payment is complete only to its payer and the gathering's admins: any member could check on another member's payment, and in doing so set off the EVM account check |
| d5937eb |
Find a gathering's payment or 404 when checking on it: another gathering's payment id, or one that doesn't exist, under a gathering's URL raised NoMethodError on nil and gave a 500 |
| 6c23147 |
Complete a gathering payment atomically, so two callers at once credit it once: the webhook and the EVM check each found the payment not yet completed and then set it, so two deliveries of Stripe's webhook at once (or a delivery and a poll) both added its amount to the membership's paid and the gathering's balance |
| 0e222b4 |
Test members paying into a gathering: a confirmed or not yet confirmed member starts a card payment, which makes an unpaid Payment and a Stripe Checkout session on the gathering's own key in its own currency, and anyone else, or a method the gathering doesn't take, is refused; the gathering's webhook completes a paid session and credits the membership once however often it's delivered, waits for an async payment, ignores bad signatures, unknown sessions and another gathering's, and reports a failure completing with a 200; who sees a payment's status; and an EVM payment asking for its amount plus its secret in millionths, completing once a transfer of exactly that arrives |
| 6bef5fd |
Find the organisation with organisation_from_params on /o/:slug/pay, stripe_setup, stripe_setup_complete and clear_stripe_customer_id, so an organisation that doesn't exist is not found rather than a 500 from organisation_admins_only! |
| 583bbda |
Complete an organisation's contribution or a person's donation from Stripe's webhook by claiming it atomically, as orders are: two deliveries at once both found it incomplete, so both completed it and told Dandelion's admins twice |
| 49128aa |
Turn away a badly signed or unparseable webhook to /organisations/stripe_webhook or /accounts/stripe_webhook with a 200, reporting it, as the other Stripe webhooks do: construct_event's error went unrescued, so anyone could make either give a 500 |
| c804525 |
Test organisations and people paying Dandelion: an organisation's contribution and its saved card for auto top-ups (admins only), one-off donations, and the webhooks from Dandelion's own Stripe account that complete them and keep monthly donors' subscriptions, with each payment sent to Stripe for the amount and currency asked on Dandelion's own keys, and each contribution completed and notified once |
Commits on Nov 12, 2026
| 4b1e146 |
Make /stats/collections and /stats/indexes sortable, searchable tables (DataTables), and drop indexes from the console rather than with a Drop button: the indexes are one table with a Collection column, filtered by Unused only and TTL only as before, and a collection on /stats/collections links to just its indexes (?collection=). Each index still says why to keep it, if it's one code hints or the plain index beside a filtered one, and the page says why an unused unique index still refuses duplicates |
| 8699ae1 |
Filter /stats/indexes to TTL indexes with a TTL only checkbox, beside Unused only |
| 9a81d11 |
Find the collections models use from Mongoid.models rather than every class in ObjectSpace: /stats/collections called include? on each, and in production RubyGems' Gem::Molinillo::DependencyGraph::Log breaks on it, so the page gave a 500. A gem's models, like delayed_job's, are still among them Fixes DANDELION-4J |
| 95a4f8a |
Start each stats database test with no leftover_things collection: reset! empties only the app's models, so the collection and its indexes outlived each test, and when an earlier test's queries had used leftover_name, it counted as used and offered no Drop, failing "an admin drops an unused index" depending on the order the tests ran in |
| fe51420 |
Protect an organisation's Bluesky handle and app password from its edit form: only connecting sets them, once Bluesky has accepted them, and a forged edit form could set them without that check |
| 544f849 |
Tell an admin when Cloudflare refuses blocking or unblocking an ASN: Asn.block! and unblock! returned true whatever Cloudflare answered, so the admin was redirected as if the rule had changed. They now return whether Cloudflare accepted the update, and the routes answer 400 when it didn't |
| 52d2789 |
Test administering and following local groups: editing a group (its name, area and member map) by organisation and group admins only, refused to followers, another group's admin, another organisation's admin and people signed out, and a forged form unable to move it to another organisation, change its creator or set its area apart from its geometry; adding followers and receiving feedback for admins only, each admin choosing for themselves; following, leaving, hiding and showing one's own membership and unsubscribing; another group's admin refused this group's memberships under their own group's URL; the map counting only followers who show their membership; and the organisation's followers in a group's area joining it, when they follow or when it's created, and not those outside it |
| cee6693 |
Turn the db: rake tasks into /stats/collections and /stats/indexes: collections by size on disk, flagging any no model uses, and every index with its size, uses since the server restarted and TTL, flagging unused ones. Unused indexes can be dropped from the page, except those code hints (Event::HOSTS_INDEX, Trace's SUMMARY_INDEX and RELEASES_INDEX), which would make their queries fail, and the only plain index beside a $type-filtered one; the drop route checks again and refuses them. tasks/database.rake goes |
| 423f16c |
Send someone signed out to sign in from /event_feedbacks/feedback, the text of the feedback on their events as a facilitator, rather than raising on a nil account |
| c0c4710 |
Refuse a public extract for feedback whose author didn't allow its written answers to be quoted publicly: the feedback pages offer no extract control for it, but the public_answers routes didn't check publicly_visible, so an event admin could post one and have the private answer shown on public feedback lists. Both routes now answer 403 |
| aaa6197 |
Test who can give, read, respond to, quote and delete event feedback: only someone with a completed ticket can give it, as themselves on that event (a feedback token for another event or account, a tampered one, a forged account or event id, or someone else's email from anyone but a site admin are refused, and the form can't set the response or public extracts); only the event's admins read its feedback, as a page or CSV, and only an organisation's, activity's or local group's admins theirs; anonymous feedback names no one on admin pages, in the CSV, on public lists, in the tickets table or in its emails, and makes no feed notification; only event admins respond or quote, and never respond to anonymous feedback that can't be quoted; only organisation admins delete feedback, and only site admins for good |