Dandelion is a fair source project. View the code on Github · See the design guide
Commits on Nov 12, 2026
| fa2c9df |
Keep a member's place in a full option when their optionship is saved again: the capacity check counted them among those filling it, so an admin saving a contribution in a full option, even unchanged, was told it was full. Only someone joining an option, new or moved into it, is now checked against its capacity |
| c1b8261 |
404 when saving another gathering's optionship through a gathering's address, where its admin got a 500: the edit route's POST found it without || not_found, as its GET does |
| 2784e46 |
Refuse scheduling an activity into a slot that's taken, or another timetable's, with a 422 rather than an error: the schedule route saved with save!, so either raised a validation error and a 500 |
| e31a63a |
Let members schedule an activity from its edit form only where they may schedule it by dragging: its Space and Slot fields showed to every member, and saved, so a member could schedule or unschedule activities on a timetable that leaves scheduling to its admins. The form now shows them only to admins, or to everyone when the timetable lets all members schedule, and the route drops them otherwise |
| 2ef5a89 |
Test a gathering's timetables, rotas, budget, inventory and options pages: an admin scheduling an activity from its edit form, a member saying they're no longer interested (taking away only their own interest), an admin setting a slot's shift points, a member's expenses being their own, an admin unmarking one reimbursed, choosing who brings an item and then no one (only ever one of the gathering's members), the old accoms and transports pages going to the options, and an admin moving a member to a paid option, which then asks for its cost. Rack tests check that members, people signed out and another gathering's admins are turned away from the admin routes, that outsiders can't list, edit, schedule or mark anything, and that each route 404s for another gathering's records under this gathering's address. The new files run in the tours group in CI |
| 1cd06d9 |
Let only site admins hide an event from the homepage or show it again: the toggle is offered only to them, but its routes let any event admin through, so an event's admins could show it again after a site admin hid it, or after it was hidden for a forbidden word or location or its organisation's hide from homepage, which is itself protected from organisation admins. hidden_from_homepage is protected from the event form too, which doesn't set it |
| e0d7d08 |
Test an event's admin reports and My events: the Stripe report's totals and charges as Stripe gives them (refunds, donations to Dandelion, Stripe fees, net, in the payout currency), the Stripe charges page's amounts, fees and refund badges, leaving unsettled and other events' charges out, and the donations page's total, which leaves out donations to Dandelion; private notes, hiding from the homepage, the email previews (which send nothing) and resending all feedback emails (to attendees who've paid and haven't opted out, even once sent); each refused, with none of its data, to other events' admins, attendees and people signed out, and the Stripe report to event admins who aren't revenue admins. My events lists the events someone has a ticket for, facilitates, coordinates, organises or revenue-shares, starred ones on their own tab and past ones with their feedback, and nobody else's |
| dbd2561 |
Keep a calendar feed's events when it returns something that mentions BEGIN:VCALENDAR and END:VCALENDAR but can't be read as a calendar (an error page, a garbled response): the parser gave no calendars and so no events, and the sync removed every event imported from the feed. It's now reported as "iCal feed could not be read", as a non-calendar response already was; a calendar that's really empty still removes them |
| 84efc4c |
Keep a calendar feed's javascript: URLs off imported events' edit pages: an event's URL from the feed became its source link (calendar_import_source_url) whatever its scheme, and the edit page's "the source event" link put it in an href, so a feed could run script for the organisation's admins who opened the event. Only http(s) URLs are taken as the source now, and the edit page links only to one, for events imported before |
| 2d9dadb |
Test organisation calendar imports: a feed's events are created for the organisation with their times (UTC, TZID, and all-day dates as midnights in the organisation's time zone), places, descriptions and RSVP links, a recurring event once, and untitled, startless, past and cancelled ones skipped; syncing again doesn't duplicate (matching by UID, else URL, else title and start), overwrites hand edits to the feed's fields but keeps other settings, removes events gone from or cancelled in the feed and no others, and keeps passed ones the feed still lists; the first import posts no notifications; feeds that error, time out, can't be reached or are malformed are reported and keep their events while other feeds sync; titles are stripped of markup, descriptions sanitised where rendered, and the calendar name and errors shown as text; feed URLs off the allowed hosts (localhost, private and metadata addresses, userinfo tricks, other schemes) are refused and never fetched when saved without validation, and redirects aren't followed, nor Luma pages or images off Luma; only organisation admins can see or save the iCal sync page, and sync results can't be set through it. stub_faraday moves to CalendarImportHelpers, recording what's requested and raising given exceptions |
| 4969614 |
Set a field's privacy only to a level the menu offers (Account.privacy_levels): a request with no level cleared it, which makes the field public, and any other level hid it even from its owner |
| 351f104 |
Keep the birthdays feed to the birthdays the birthdays page shows: it had every followed account's birthday and age, including private profiles and birthdays set to Only me, or to People I follow by someone who doesn't follow back |
| b96332d |
Keep a private profile's lists private (profile_viewable?): who it follows, who follows it, and its organisations, local groups, activities and gatherings were readable by anyone at /u/:username/following and the like, though the profile itself is visible only to its owner |
| 4a2fce3 |
Show a bio only to those its privacy lets see it: the profile showed it to everyone, whatever its owner chose in the menu beside it |
| d7da3ed |
Test account privacy: each profile field shows only to those its privacy lets see it (everyone, the people the account follows, or just them, and admins), and a hidden field isn't in the page or its modal at all; organisations and the like are hidden from signed-out visitors; who an account follows and who follows it follow their settings; someone changes a setting from their profile; the privacy routes set only the signed-in account's own privacy settings; a private profile and making it public; replacing the calendar key ends the old feed URL; and who may refresh, remove and preview a feedback summary. The new file runs in CI's accounts group |
| 2d7c2e2 |
Voting again for a poll option you've already voted for keeps your one vote, where it failed Vote's uniqueness validation and answered 500 (as a second tab, or a double click, would send) |
| d6faa13 |
Test comments, reactions, read receipts, polls, files and sending a comment by email: each kind of discussion (a gathering's teams, timetable activities and applications, an event's chat, an activity application) is shown only to the people it belongs to, and outsiders with its ids can't read its posts, replies, reactions, read receipts or polls, or react, unreact, vote, add poll options or attach files; members react once each and unreact only their own; reading a gathering thread marks it read; members vote once per option and take back only their own vote; only a comment's author attaches files, and not active content; only a gathering's admins send a comment, to the thread's subscribers, once. messages/comments runs in the calendar group |
| 2396964 |
Show an invalid To on a mail as an error rather than crashing: a To naming an activity, local group or event the organisation doesn't have (another organisation's, or one since deleted) left the mail with no mailable, and the edit page counting its recipients raised on nil. A mail with no mailable for a kind that needs one now goes to no one (Pmail#to, Pmail#event_tickets_with_email), so the form shows the error |
| 34eaf9c |
Don't let sending a mail again cancel its queued send: Send destroyed the mail's queued send_pmail job before checking whether it had already been requested, and then queued none, so a second Send from another tab or a stale page, before the worker ran the first, left the mail queued but never sent. A mail already requested now says it has already been sent and keeps its job |
| 905b251 |
Send a mail to an activity tag only to the members of the organisation's own activities with that tag: tags are shared by every organisation's activities, so ActivityTag#subscribed_members took in the members of other organisations' activities with the same tag, and an organisation's mail to a tag reached people who had never followed it or any of its activities |