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

Commits on Jan 05, 2026
523d346

🔒 (notification.rb): sanitize user-generated text in notification messages to prevent XSS

b8e97f9

🩹 Sanitize user-supplied text fields before validation

  • Introduce constant SANITIZED_FIELDS listing attributes that must be stripped of HTML tags
  • Add before_validation callback sanitize_fields that removes any HTML from name, title and subject using Sanitize.fragment
  • Prevents stored XSS when these fields are rendered later
e2ce78e

🔒️ Add protected_attributes class method to payment models

Declare payment_completed as protected in Donation, Order, Payment and Ticket so it can no longer be mass-assigned via public API calls. This prevents clients from manually marking payments as completed and enforces that only internal business logic can flip the flag.

eebead8

🔧 (.eslintrc.js): remove obsolete global declarations to clean up config
🗃️ (models/organisation.rb): add protected_attributes list to safeguard paid_up fields

22647d5

🐛 Fix Mailgun upsell link placement in pmails view

f5dc828

🐛 Fix free-tier message logic to show “sending…” when mail queued

Commits on Jan 04, 2026
edc9e21

🩹 Add client-side phone validation with country-code hint

Commits on Jan 03, 2026
daf7064

💄 Add right margin to event labels for better spacing

Commits on Jan 02, 2026
bc286b6

♻️ (searchable.rb): add fuzzy matching to text search with maxEdits=2 and prefixLength=2

59cddfd

♻️ (search_helper): narrow event search scope from 1 month to 1 week ago

c5adb08

♻️ (search_helper): simplify event deduplication logic to use uniq by name and location instead of manual earliest filtering

9dd803e

♻️ (searchable.rb): inline text_search_index variable to simplify compound text search stage

f1b18a8

♻️ (searchable.rb): move fetch_limit calculation inside vector search branch to avoid unnecessary computation

569b460

🐛 (search_helper): deduplicate events by name, keeping only the earliest dated event

be45d47

💄 (search.erb): update UI copy from “Fuzzy search” to “AI search” to reflect new search behaviour
🔥 (searchable.rb): remove unused vector_search method to clean up dead code

9e625f3

🎨 (search): unify vector weight handling across search calls
♻️ (searchable): make vector_weight optional and derive text_weight from it
🔧 (search): set vector_weight to 0.5 in all search invocations for balanced hybrid scoring

b55c561

🔥 Remove AI search mode and consolidate search logic
♻️ Refactor search to use unified text/vector fusion instead of separate AI path

3f3dbef

⬆️ (ruby.yml): bump MongoDB version from 8.0 to 8.2 in CI

Commits on Jan 01, 2026
acc6834

♻️ (searchable): fetch double results and trim to requested limit after deduplication

686c35c

🐛 Fix search queries to use regex_search flag for consistent results