My favorites | Sign in
Logo
          
Search
for
Updated Jul 20, 2008 by jdcohenesq
Labels: Phase-Implementation
FieldChanges  
How Calagator validates, escapes, modifies fields

Introduction

How Calagator changes fields on input, display, output.

Current through r870

(This wiki page is still being drafted.)

Details

- Event Venue
import tbd tbd
manual create tbd tbd
before validate :normalize_url! (if no protocol, prefixes url with http://) same as Event
before save - If lat or lon missing, geocode, which can change latitude, longitude, street_address, locality, region, postal_code, country
show uses html_escape on all fields except description uses html_escape on all fields except description, url, and email (r866); as of r870, escapes all relevant fields except description
show description upgrade_br(simple_format(auto_link(white_list(@event.description)))) same as Event
list same as show as of r866 escapes all relevant fields, with possible partial exception of email; as of r870 escapes all relevant fields
duplicate escapes all relevant fields except venue.title (as of r866); escapes all relevant fields (r870) same as Event
export tbd tbd


Sign in to add a comment
Hosted by Google Code