This branch contains three new features that we should look at merging:
Download csv datasets by passing a filter json. All data field plus special fields related to projects, organizations, events, sites, etc are included as columns
Unit conversion. There is now a UnitConversion table to define multiplier factors when converting between units. The details of how and when to use it are abstracted into the FieldValue model as a @converted_value property ensuring that you can always call field_value.converted_value and get the right answer
Caching cleanup. Started the process of moving event-specific caches into the Event model and it's properties/methods. Makes views cleaner. The cache keys are normalized to event_<event_id>_blahcache which will eventually allow for wildcard invalidation.
This branch contains three new features that we should look at merging:
Download csv datasets by passing a filter json. All data field plus special fields related to projects, organizations, events, sites, etc are included as columns
UnitConversion
table to define multiplier factors when converting between units. The details of how and when to use it are abstracted into theFieldValue
model as a@converted_value
property ensuring that you can always callfield_value.converted_value
and get the right answerEvent
model and it's properties/methods. Makes views cleaner. The cache keys are normalized toevent_<event_id>_blahcache
which will eventually allow for wildcard invalidation.