ams-widget-procs.tcl

  • last updated 15 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Improve confusing documentation text.

Use info commands instead of info procs

  1. … 1 more file in changeset.
Use info commands instead of info procs in order to retrieve widgets

Revert massive replacement of empty list creation sentences. The use of '[list]' instead of '{}' adds semantics that could be used for performance improvements in the future, such as using a different internal representation. There is already work in this direction, avoiding the generation of the string representation during comparison of empty strings (huge thanks to Stefan Sobernig for the pointer: https://core.tcl.tk/tcl/info/44527c632ed609c2).

  1. … 475 more files in changeset.
Prefer '{}' to '[list]' when creating empty lists

  1. … 204 more files in changeset.
Fix typos

  1. … 52 more files in changeset.
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.

Modify mobile to support SMS Sending. Fix Skype

  1. … 1 more file in changeset.
Support for SMS sending

  1. … 4 more files in changeset.
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

  1. … 1 more file 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

  1. … 2 more files in changeset.
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.
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. … 2 more files in changeset.
adding caching of ams::widget_options

  1. … 2 more files in changeset.
adding value_list_text, value_list_html and value_list_headings as ams::widget requests

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

  1. … 1 more file in changeset.
fixing html_options display and cleaning up some procs

  1. … 5 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. … 8 more files in changeset.
cleaned up text storage type seperation of format and text value and made it consistent

fixed widget for country_codes

  1. … 2 more files in changeset.
Added value_list as a possible option to postal_address

Fixing #2723

  1. … 1 more file in changeset.
Reverting change by miguel

  1. … 2 more files in changeset.
commit changes from merge with HEAD

  1. … 76 more files in changeset.
making changes to support html options in attributes widgets

  1. … 2 more files in changeset.