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

Commits on Mar 09, 2025
7e3a4c5

✨ (tasks.rake): introduce hourly and morning rake tasks

This commit introduces new rake tasks for hourly and morning errands.

The hourly task checks for payments for organisations and events, and deletes stale uncompleted orders.

The morning task sends feedback requests for events that ended yesterday, event reminders for events starting tomorrow, star reminders for events starting in 6 days, and payment reminders for ticket types with payment plans on the 1st of each month.

The check_for_payments, delete_stale_uncompleted_orders, send_feedback_requests, send_reminders, send_star_reminders, and send_payment_reminders tasks were removed from the events namespace as they are now part of the hourly and morning tasks.

3d75fec

📝 (/.cursorrules): add project details for context

This file now contains information about the project's tech stack, Gemfile, and CDN dependencies. This provides context for future cursor movement and code understanding.

d0fa997

🐛 (orders.rb): handle not found orders

This commit fixes a bug where the application would crash if an order with a given ID was not found. The code now checks if the order exists and returns a 404 error if it does not.

Commits on Mar 06, 2025
210675b

✨ (app/app.rb): do not track pageviews for /z/ paths

The change prevents page view tracking for paths starting with '/z/'. This is useful for excluding certain types of requests (e.g., health checks, internal probes) from analytics, reducing noise and improving the accuracy of genuine user traffic data.

d44dc44

💬 (app/views/contact.erb): reduce font size of contact email

09af9e0

💄 (app/views/events_build/_ticket_groups.erb): Improve mobile ticket group input styling

62f8ac7

💄 (app/views/events_build/_ticket_groups.erb): improve ticket group UI

78cace4

💄 (app/views/events_build/_ticket_types.erb): improve ticket types form responsiveness on smaller screens

4d4480f

🎨 (app/views/events_build/_ticket_types.erb): improve ticket type form UI

64c2a6e

Revert "
🎨 (app/views/_nav.erb): replace javascript pseudo-link with #"

This reverts commit da5d264bba7d0e301b18763043d7233580e3215d.

0626840

Revert "
🐛 (apps.js): fix sidebar menu toggle on click"

This reverts commit 9d16354c4a2a2256baca4095abff36860459ccf0.

da5d264

🎨 (app/views/_nav.erb): replace javascript pseudo-link with #

The javascript pseudo-link is not a valid link and can cause accessibility issues. Replacing it with # will make the link valid and prevent the page from reloading.

9d16354

🐛 (apps.js): fix sidebar menu toggle on click

The default action on click was causing the page to jump to the top. This commit prevents the default action and fixes the sidebar menu toggle.

7d7b83a

Revert "Auxiliary commit to revert individual files from a9a55a40647e4d6be4550e0b8c36e7e1d79a2079"

This reverts commit 48f6d560eb23c5f5350f830a9a65fd278417f470.

e0e9238

💄 (app/views/events_build/_ticket_types.erb): fix ticket type form styling on smaller screens

a9a55a4

💄 (app.scss): make sidebar submenus clickable
📝 (_nav.erb): remove href from submenu items to prevent page reload

fbe6cdd

💬 (models/pmail.rb): update sender name and reply-to

This commit modifies the sender name and reply-to address in the Pmail model. The sender name is extracted from the from address if present, otherwise, it defaults to the MAILER_EMAIL_FULL environment variable. The reply-to address is set to the original from address. This change ensures that replies are correctly routed to the original sender while providing a consistent sender name.

8be0b12

💬 (app/views/purchase/_ticket_type.erb): enable links in ticket descriptions

Commits on Mar 05, 2025
2be1147

🐛 (event_stats_row): fix nil error when event end time is nil

The conditional statement event.end_time.to_date < Date.today - 1 was throwing an error when event.end_time was nil. This commit adds a check to ensure that event.end_time is not nil before attempting to call to_date on it.

63e6247

🐛 (app/views/layouts/pmail.erb): fix markdown rendering

The markdown was not rendering correctly due to missing options. This commit adds the autolink: true, tables: true options to the Redcarpet::Markdown renderer to fix this issue.