• last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
address-widget no defaults to blank country if no defaultisocountrycode is set in parameters. also changed validation to require a country if a delivery address is input.

Adding canadian province validation and automatic conversion to the two digit province code from the official list of provinces (which is the format expected by Canada Post).

Getting the list_id for an exists should be cached...

trimming input before saving it

adding textdate ams widget - which is dependent on the textdate code i just added to acs-templating

  1. … 1 more file in changeset.
Added new message keys. Added ordering of lists

  1. … 4 more files in changeset.
Adding check to see if the message exists before looking up the help text message, this eliminates message key errors from showing up in the log

replacing foreach with util_unlist for telecom_number and postal_address widget types since it cause a bug, also move attribute::help_text proc to the ad_form_widget part of the request switch so that the lookup only takes place when it needs to and adding help_text message to mobile_number, aim and skype widget types

Adding date, month and year sub-types of ams::widget::date, this allows for much more logical aggregated reports with date type attributes in extended columns (for contacts) - e.g. break down gender by year born, or show mean the number of people who inquired broken down by month-year (where date of inquiry is actually a full date), etc.

Made sure that the option_id actually has a value

adding support for default values for option widgets (select,radio,checkbox,multiselect)

  1. … 1 more file in changeset.
moving a number of queries from ams-procs.tcl to ams-procs-postgresql.xql

adding caching of ams::widget_options

  1. … 1 more file in changeset.
fixed attribute help text proc so that it doesn't display an error in the log

cleaning up some presentation logic and creating new helper procs

adding value_list_text, value_list_html and value_list_headings as ams::widget requests

simplified and cleaned up ams::util::sort_list_of_lists

checking for parent object_type for any attribute_name when searching for an id (not just email) and removing ams::package_id proc because it was useless

The email attribute is associated with a party

Adding mobile number, skype, aim widget procs written by Al-Faisal El-Dajani

    • -0
    • +566
    ./mobile-number-widget-procs.tcl
fixing typo

fixing html_options display and cleaning up some procs

  1. … 1 more file in changeset.
caching attribute::id proc.

Adding parameter HideISOCountryCode and bumping up version so its loaded.

  1. … 1 more file in changeset.
Added sanity checks and make sure if we recreate a list that all old elements of the list are being deleted

Fixed problem with mac characters in the string

Made sure you can specify multiple list ids to map an attribute to. Furthermore split up the list code in the attribute generation and the mapping to the lists

  1. … 3 more files in changeset.
Missed some thing on the help text.

  1. … 1 more file in changeset.
Added help_text to attributes and along with it some more I18N strings

  1. … 7 more files in changeset.
adding ams::util::orderby_clause and making ams::values_not_cached and ams::ad_form::elements use it so that attributes are orderby by list then by sort order , not just sort order