Dandelion is a fair source project. View the code on Github

Commits on Oct 14, 2025
6f851ef

♻️ Replace raw organisation_id.ne => nil checks with has_organisation flag

5dee871

🐛 Fix news scope to use boolean false instead of nil Check for explicit false values on monthly_donors and facilitators

Commits on Oct 13, 2025
b35eae9

♻️ Replace .and(:field.in => [nil, false]) with .and(field: false)

7ec33fc

♻️ Replace nil with false for boolean attributes

Set explicit false instead of nil for boolean fields (email_confirmed, ai_tagged, listed, hide_referrer, everyone, monthly_donors, not_monthly_donors, facilitators, waitlist) to ensure consistent boolean semantics and avoid tri-state logic.

4b7f6d2

♻️ Rename BelongsToWithoutParentValidation to DandelionMongo
♻️ Move the concern into its own file under models/concerns

086e0aa

🐛 Replace nil with false for boolean attributes across controllers

Standardise boolean columns to use false instead of nil for unsubscribed, admin, starred, checked_in, hidden and hide_from_sidebar flags. This prevents accidental truthy behaviour and keeps data consistent.

1dc34c8

♻️ Replace deprecated set with update_all/update_attributes

aa28f45

♻️ Replace deprecated set calls with update_attribute

fe3fa6c

🐛 Replace .ne => true with .in => [nil, false] for boolean fields

This change ensures that queries correctly handle records where the boolean field is either nil or false, aligning with the intended logic for filtering hidden, locked, or inactive records.

b34d1bb

🐛 (event_callbacks): only send first-event email for recently-created accounts

47ad056

🐛 Remove organisation_id filter from Event.public scope

ffdd49d

📝 Remove empty AGENTS.md file

944aa07

📝 Create AGENTS.md and move dependency docs out of CLAUDE.md

2e0e08f

♻️ (rack_attack_throttle.rb): refactor responder to use case/when for clearer intent

57249cc

🐛 Fix search and tag filtering in calendar exports

Apply the same search and tag filters used for HTML/JSON to the ICS output so users downloading calendars see only the events they asked for.

5413c8d

🌐 (mongoid.yml): append "_development" to database name in dev env
🌱 (seeds.rb): ensure admin account is created first so subsequent records belong to it
🔒 (rack_attack_throttle.rb): split blocked vs throttled paths, rename rules for clarity
🗃️ (cohostship.rb): maintain cohosts_ids_cache on create/destroy to speed up queries
🗃️ (event_fields.rb): add cohosts_ids_cache field for faster co-host lookups
⚡ (organisation_associations.rb): use cached ids instead of extra queries for events

Commits on Oct 12, 2025
4361886

♻️ (organisation): add Organisation.lead class method to encapsulate ENV lookup

ef8e7ac

♻️ Remove redundant .all calls before .or chains

841eb1b

♻️ (organisation_associations): remove redundant comments to clean up featured_events

ebe761a

🐛 (organisation_associations.rb): add explicit ordering by start_time to featured events query