• last updated 9 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Added elements proc. Added procedure documentation

Made sure that we can save a postal_address if we at least have the country. This is very useful to see which users you have in a certain country, even if they are not providing the full address.

Move skype to it's own right file

    • -0
    • +278
    ./instant-message-widgets-procs.tcl
Modify mobile to support SMS Sending. Fix Skype

    • -281
    • +123
    ./mobile-number-widget-procs.tcl
Support for SMS sending

    • -11
    • +12
    ./mobile-number-widget-procs.tcl
  1. … 3 more files in changeset.
Fixed Skype button

  1. … 1 more file in changeset.
Support for multiple object types (e.g. used in contacts for employees)

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

Small tuning with not using ams_attributes.

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.

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