Skip to content

Payment triggers use a multirange window - #942

Merged
rgalanakis merged 6 commits into
mainfrom
payment-trigger-multirange
Jul 27, 2026
Merged

Payment triggers use a multirange window#942
rgalanakis merged 6 commits into
mainfrom
payment-trigger-multirange

Conversation

@rgalanakis

Copy link
Copy Markdown
Member

Instead of a single 'active during' window for triggers,
they now can use a multirange (just added to sequel-tstzrange-fields plugin).
Each 'window' has its own accumulation of subsidies.

This was a straightforward backend change
but required a big admin change to add icalendar support.


Add GUI-based icalendar event editor

Registration links use ical events,
and up till now only had a single way to edit them,
using text rrules.

This adds a GUI-based rrule editor.
Off-the-shelf libraries had many issues.

It also refactors some backend ical stuff for reuse.

Registration links use ical events,
and up till now only had a single way to edit them,
using text rrules.

This adds a GUI-based rrule editor.
Off-the-shelf options had many issues.

It also refactors some backend ical stuff for reuse.
Remove subdivide, since it gives us a bunch of hard-to-use
triggers with small windows. Instead, just store the multirange of
payment trigger times.
@codecov

codecov Bot commented Jul 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.78%. Comparing base (36d1ce9) to head (8b457e0).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #942      +/-   ##
==========================================
- Coverage   99.79%   99.78%   -0.01%     
==========================================
  Files         755      757       +2     
  Lines       38223    38310      +87     
==========================================
+ Hits        38143    38228      +85     
- Misses         80       82       +2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@rgalanakis
rgalanakis merged commit a38b8fc into main Jul 27, 2026
5 checks passed
@rgalanakis
rgalanakis deleted the payment-trigger-multirange branch July 27, 2026 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant