• last updated 12 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Dealing with country code and delivery address which are required for postal addresses. Not sure, we might want to drop the constraint for delivery address at one time

Removed the link to the widgets page which is a) broken and b) does not serve the intended purpose anyway

Fixed typos

    • -6
    • +4
    ./sql/postgresql/ams-package-create.sql
    • -3
    • +2
    ./sql/postgresql/upgrade/upgrade-1.1d12-1.1d13.sql
Small tuning with not using ams_attributes.

Made sure we see the additional options when we have an option widget

Remove unnecessary notices

  1. … 2 more files in changeset.
Allow saving of attributes even without a delivery address (e.g. if you want to save only the country). Added a couple of procs to make saving easier

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.

updating message key to go with the one in the telecom number widget

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...

Missed index which resulted in each value retrieval jumping from 145ms to 2ms

    • -0
    • +2
    ./sql/postgresql/upgrade/upgrade-1.1d15-1.1d16.sql
trimming input before saving it

Added ability to sort the options alphabetically

Added list_id in the view

hiding options list/form if the widget doesn't have any options (and is thus a date or textbox widget

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

Allow purging of options for administrators

    • -11
    • +20
    ./www/attribute-option-delete.tcl
Added new message keys. Added ordering of lists

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.

Added possibility to map multiple attributes at once. Made sure attribute mapping with regards to the default list works if contacts is installed

Made sure that the option_id actually has a value

adding ams.Default

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

moving a number of queries from ams-procs.tcl to ams-procs-postgresql.xql

adding caching of ams::widget_options

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