Dandelion is a fair source project. View the code on Github · See the design guide
Commits on Mar 23, 2026
| a5aeed5 |
✨ Add evergreen/on-demand event type for courses without fixed dates |
Commits on Mar 22, 2026
| a025b0d |
♻️ Split PaymentMethod into EventPaymentMethod and GatheringPaymentMethod Refactor payment methods to separate concerns between events and gatherings. The monolithic PaymentMethod class is replaced by two distinct classes, each with their own payment processors, improving maintainability and clarity of the codebase. |
| e0f03ce |
🐛 (tickets.erb): remove "tickets are attached" message when no tickets PDF exists |
| e5eeb84 |
♻️ Extract payment handlers into dedicated modules for events and gatherings |
| 45b6465 |
♻️ Extract duplicated EVM payment logic into reusable runEvmPaymentFlow function |
| 3e7a44f |
♻️ Normalize payment API response field names by removing evm_ prefix from value fields |
| d8bc0e0 |
♻️ (stripe.rb): rename organisationship variable to revenue_sharer_organisationship for clarity |
| 918e1eb |
⚰️ Remove outdated comment from order_currency_for method |
| 60f046b |
♻️ Refactor payment condition logic to separate org and event concerns
This commit:
- Renames |
| bfb2776 |
♻️ Remove logo and url attributes from PaymentMethod class Simplify PaymentMethod model by moving logo and URL data directly into the view, eliminating unnecessary attributes and options. |
| 7f693b6 |
🐛 Fix payment method validation to check availability per event This change adds a critical |
| 082dc3b |
♻️ Extract payment method processing logic into separate module files |
| c7e70ec |
♻️ Move order currency logic to PaymentMethod class Extract currency mapping from helper to allow payment methods to define their own order_currency_for behavior |
| 80e2868 |
♻️ (payment_methods.rb): refactor to compute The |
| 1758e6f |
♻️ Extract payment handling logic into separate module |
| 59f0032 |
♻️ (payment methods): Extract payment method views into dynamic partials
|
| a6aeada |
♻️ Refactor payment processing by moving logic into PaymentMethod class Move payment processing logic from helper methods to individual PaymentMethod objects using lambda functions. This encapsulates payment behavior within each payment method, improving maintainability and reducing coupling with the controller. |
| 9226559 |
♻️ Refactor payment methods into a centralized configuration class Instead of hardcoding payment methods across views, helpers, and JavaScript, introduce a PaymentMethod class that encapsulates all payment method configuration (name, labels, conditions, logos, URLs). This eliminates duplication and makes adding new payment methods straightforward. Key changes: - Extract payment method definitions to lib/payment_methods.rb - Refactor views to iterate over PaymentMethod.all instead of hardcoding - Replace case statement in process_payment with dynamic method dispatch - Simplify JavaScript button visibility logic using grouped selectors - Update organisation model to use PaymentMethod for payment_method? checks |
Commits on Mar 21, 2026
| 9bd258a |
⬆️ (Gemfile.lock): upgrade bcrypt and json dependencies |
| cbcc22b |
👷 (CI): add concurrency controls and actions:read permissions to workflows |