Difference between revisions of "Release Notes v1.5"
From ADF Docs
(→CCAPI) |
(→CEData) |
||
Line 157: | Line 157: | ||
=== CEData === | === CEData === | ||
+ | * Bug Fixes = 26 | ||
+ | * Enhancements = 23 | ||
+ | * Updated CEData library v1.1 components. | ||
+ | * Updated cedata.getAllCustomElements function to update the where clause in the query to return all the custom elements for the site. | ||
+ | * Changed the query in the ceData getAllCustomElements function to get the Custom Element names and ids from the AvailableControls table to get the Custom Element State. | ||
+ | * Added a parameter to the ceData getAllCustomElements function to pass in a state value or a list of state values. | ||
+ | * Updated ceData.compareCEDataArray function. Updated to set the large array in the outer loop. Validate if both arrays have lengths. | ||
+ | getDataFieldValueByPageID - Added AuthorID and OwnerID fields to the Query. getElementInfoVersionsByPageID - Added AuthorID and OwnerID fields to the return structure. | ||
+ | * Updated arrayOfCEDataSort to allow for proper time sorting. | ||
+ | * Updated functions getCEData and getPageIDForFormID for new queryType for "searchInList". This query type finds any of the items in a list that match a list item in a CE field that stores a list of values. Updated function getPageIDForFormID to remove if statements for condition " contains in 'list' ". | ||
+ | * Updated getElementInfoByPageID function to getFormIDFromPageID function. Added comments. | ||
+ | * Updated getFormIDByCEName function to Replace the dash to underscore. | ||
+ | * Added the ability to search the memo field also for getPageIDForElement. | ||
+ | * Updated CEData_1_0 for getPageIDForElement function to fix data_listItems query for the strItemValue field with the 'list' query type. | ||
+ | * In the ceData_1_1 lib updated the importCEData method with a CCAPICEname parameter also updated the exportCEData method with a exportFolder parameter. | ||
+ | v1.0.1 - Added buildRealTypeView and buildCEDataArrayFromQuery functions. | ||
+ | * Updated CEData_1_1 function buildRealTypeView. Updated the viewname variable to remove spaces. | ||
+ | * CEData_1_1 - buildCEDataArrayFromQuery function - Updated function to load the Forms from the server object factory. Attempted to add dependency but ADF build throws error. | ||
+ | * Updated CEData 1.1 buildRealTypeView function. Commented out the Oracle DB cast for "large_textarea,formatted_text_block". | ||
+ | * Updated CEData v1.1 for buildRealTypeView function. Updated the SQL WHEN condition to only check for empty string. Updated the "large_textarea,formatted_text_block" CASE for the IF condition when 'SQLServer'. | ||
+ | * Updated CEData v1.1 for buildRealTypeView function. Changed memoValue field size to "max". | ||
+ | * Updated CEData v1.1 for buildRealTypeView function. Added an optional FIX for use with SQL2000. The FIX is commented out since SQL 2000 is not widely used. | ||
+ | * Added arrayOfCEDataMerge. | ||
+ | * Added a getCEData wrapper function that returns an array of element data based on an * Active Field and the Active Value. | ||
+ | * Updated CEData v1.1 function getFieldDefaultValueFromID. Added check for CS 5 to decode the HTML escaped param WDDX. | ||
+ | * Updated CEData_1_1 buildCEDataArrayFromQuery function. Modified function to set the fieldStruct variable outside of the cfloop. | ||
+ | * Allowed get fieldsFromTabID to be more flexible by adding a list. Also, changed the function name from getFieldValuesByID to getFieldParamsByID - since it was really retrieving the parameters of the field not the values. | ||
+ | * Added function getDataPageIDFromControlIDandPageID Returns the CE Data Page ID based on the Control ID and CommonSpot Page ID. | ||
+ | * Modified the arrayOfCEDataToQuery function to return additional information (columns) in the query. The returned query now includes the following columns: dateadded, dateapproved, formid, formname, and pageid. | ||
+ | * Updated CEData_1_0 getFormIDFromPageID function. Added new control ID for local custom elements. | ||
+ | * Updated CEData_1_0 deleteCE function. Updated logic to return false if user is not validated. | ||
+ | |||
=== CSAPI === | === CSAPI === | ||
Revision as of 13:58, 18 November 2011
Contents
Highlights
- Bug Fixes = 257
- Enhancements = 224
- Added new library version 1.1 components for ceData, csData, data, date, forms, scripts, scriptsService, taxonomy, and utils.
- Added new library version 1.0 components for csapi, lightbox, scheduler, and ui.
- Enhanced ADF reset functionality for better debugging.
- Compatibility with CommonSpot v6.2 for ADF custom field types.
- Expanded the Forms capabilities with JavaScript callback functionality and form fields serialized into JSON.
- Lightbox framework updates for CommonSpot 5 and 6.
- Enhancements to the general chooser and custom element select field types.
- Added new lightboxProxy to handle opening pages within a lightbox dialog.
- Updated the AjaxProxy to support returning JSON and XML.
- Added RunCommand function to handle calling functions within the ADF object factory.
- Updated JQuery and JQuery UI libraries to the latest versions.
Core
- Bug Fixes = 20
- Enhancements = 25
- Ability to reset the ADF through URL parameter "resetADF".
- Added the ADF version to the ADF reset message.
- Added variable to store build errors on ADF reset.
- Added view log button for ADF reset error messages.
- Updated the ADF reset error log to not append to the file and overwrite the file.
- Updated ADF reset to not display the 'Application.ADF' cfdump in the debug log file.
- Added validation checks to the reset for the server and application space.
- Added ADF and CommonSpot version variables to the appliction.ADF variable.
- Added support for passing an optional version number for loading library components directly into the ADF.
- Reconfigured Proxy White List to store in application space to avoid conflicts with multiple sites.
- Bug Fix: Uncommented the 'localLibKeys' variable to load for the site LIB component overrides.
- Bug Fix: LightWireConfigExtendedBase, Feature refinement for custom element select and adding new data functionality (arrayOfStructToXML) and proxyWhiteList got updates to allow scheduler.
- Bug Fix: Loading the site level ADF Component overrides.
- Added LightboxProxy.cfm to the site sample files.
- Added support to store the ADF in a folder name other than "ADF".
- Replaced code references for "isDefined" function use.
- Added a response header to indicate whether or not the ADF was reset. The response header is "CS_ADF_Reset" and will be true if the ADF was reset or false if the ADF was not reset.
- Updated the Core files with the updated CopyRight year.
- Updated the LightWireConfigExtendedBase.loadADFAppBeanConfig function to update AppConfig path building process.
- Updated Base INIT function to remove call to "super.init".
- Updated Base INIT function to remove call to "super.init".
- Updated AppBase INIT function for no IF statement for call to "super.init".
- Added a getADFminorVersion method to return only the first two version digits.
- Replaced the getADFversion calls with getADFminorVersion so it will read the XML file even if extra version digits are added to the ADFversion variable.
- Updated the core BASE and SITEBASE to change the function name to getDecimalADFVersion and updated load library processing to call this function. Added variable into application.ADF space for 'decimalVersion'.
Extensions
Custom CF
- Bug Fixes = 5
- Enhancements = 9
- Updates to the ADF debugging code.
- Updated extensions customcf make_CFT_list script to change the AJAX method to "getFieldTypes".
- Moving handleFileUpload to customfields directory.
- Updated Extensions Datasheet_jquery_ui_style custom script. Updated to include the ADD button, removed JQuery "$", and added comments to customize
- Updated Extensions datasheet_jquery_ui_style custom script. Updated to allow for adding this custom script directly to the page using attributes.
- Updated instructions for the Import CE custom scripts.
- Added genericElementManagement.cfm for rapid prototpying and creation of basic management pages.
- Updated Extensions datasheet_jquery_ui_style custom script. Updated to allow for adding this custom script directly to the page using attributes.
Datasheet Modules
- Bug Fixes = 12
- Enhancements = 13
- Renamed and updated datasheet modules to follow a naming standard.
- Added new datasheet module for the JQuery UI edit/delete buttons in a datasheet.
- Updating edit-delete to handle datasheet sorting better and fixing issues with view tables having lowercased values.
- Datasheet Modules Edit/Delete files updated to add class "ADF-Edit-Delete" to TD for custom styling. Add align and valign to TD to make standard with the "edit-delete" DS-module.
- Updated edit/delete datasheet modules for CS6.1.
- Added datasheet-module to render an anchor tag with the page URL for the page ID.
- Updated the subsiteURL datasheet-module with sorting for the display data
- Added handling for deleted/missing SubsiteIDs
- Fixed so that it wont throw an error if they try to translate a bad subsite.
- Extensions delete_element_handler - Fixed the variable name in the callback JS.
- Extensions datasheet-modules, Updated for CS Version checks for the anchor tag JavaScript.
- Added a callback ID list param in the request.params that are being passed to the callback function to include IDs of records to be modified by the callback other than the one being deleted.
- Added datasheet render module to have active row highlighting.
Custom Fields
- Bug Fixes = 37
- Enhancements = 22
- Updating every custom field type export.
- Updated custom_element_select_field_render to sort the CEDataArray at the start by the display field.
- Updated the Custom Element Select field to have the Default Value field to add [] to the value to make it evaluate a CF expression.
- Adding "Add" button to custom element select field
- Updated AJAX calls for bean "ceData_1_1" in the Custom Element Select Field property file.
- Adding #prefix# to functions to fix issues with 2 custom element select fields messing each other up.
- Updated extensions custom element select field. Updated JQuery functions to work with older JQuery versions.
- Updates to General Chooser custom field. Deprecated - Version "1.0" for new version "1.1". This supports v1.0 general chooser render files that were customized. Update the property CFC to extend the "general_chooser_1_0" component.
- Added sample property component to the general chooser custom field type (sample_gc.cfc)
- Resolved bug in the General Chooser custom field to update the jquery and jquery UI versions in the render file. Commented out a load jquery UI function call in the loadSelectBoxes function.
- Updated the general chooser render file to update the Scripts loading methods to dynamically load the latest script versions from the Scripts Object.
- Extension custom fields General Chooser updates. Updated component to simplify the customizations process and performance. Removed Ajax loading process.
- General Chooser Updates for IE styling and updated for Add/Edit/Delete callback.
- General Chooser update the sample_gc.cfc. Updated the variable flags.
- Backward compatibility checks to allow the variables from General Chooser v1.0 site and app override GC files to honored
- Modified general chooser to have max/min selections.
- Updated the Page Layout CFT in extensions.
- Updated the App Config Page CFT - Added conditional logic inside the select box loop to check the length of filename for the records generated by the pagesContainingRH or the pagesContainingScript
- Fixed a bug with the Subsite Select CFT so the field can be added to a form more than once. Also added the code so the field label text with display properly.
- Added the ResizeWindow() call to be triggered after the ajax call completes in the subsite select and template select CFTs.
- Minor fixes to the Subsite Select CFT. Removed ptBlog2 references. Finished filling out the comment headers, etc.
- Adding Form Protect props and render, updating forms 1.1 to account for form protection. Updated cfformprotect to new version.
- Converting file uploader to work without uploadify. Adding in features to get CE field ID's by name. Added in feature to utils to get resource images (currently only works with PDF's) updated document uploader to display a thumbnail of uploaded file.
Added support for CCAPI config Custom Element (which will replace the CCAPI.xml file in config directory at site root)
- Added a jQueryUI theme selector CFT to pick an a jQueryUI theme from the available list of ADF installed themes for a specific version of jQueryUI.
- Added Custom Script Selector.
- Updated the custom checkbox custom field to allow values to be set for checked and unchecked values.
- Added file uploader v2, with the ability to configure most everything via a cfc. Custom validation and thumbnail support has also been added in this release. To maintain backwards support a v1 folder has been created and all existing file uploader field types need to be updated to point to this directory.
Lightbox
- Bug Fixes = 11
- Enhancements = 6
- Updated ADF Lightbox Framework to create custom 'lbResizeWindow' function to resolve problems with the lightbox framework in CS 5. CS 5 also uses the 'ResizeWindow' function to resize the window dialogs. A new custom resize function needs to be implemented. If the user is runnin in CS 5, this function is overrided by loading the cs5-overrides.js to replace this function with the lightbox resize code.
- Updated the ADF Lightbox framework to resolve issues with functionality in CS 6. Resolved issue with callback in CS 6 LView, updated the lightbox loading process in scripts, and general chooser for the ADF lightbox init for the add link.
- Lightbox updates to fix the replaceLB function not working when in CS 6.0 LView.
- Updated loadCallback function to loop over the level of lightbox windows to locate the callback function.
- Added in a fix for Lightboxing on cs 6.1 with multiple scrollbars.
- Updating code to use lightbox proxy instead of ajaxproxy.
- Update to the ADF Lightbox 1.0 - Commented out some functions that conflict with CS 5.x styles.
- Updated to have an optional MainTable wrapper for better lighbox support.
Lib
Ajax
- Bug Fixes = 13
- Enhancements = 19
- Updated proxyWhiteList.xml for library v1.1 components.
- Updated the ajaxProxy.cfm by moving all of the parameter and data processing code from ajaxProxy.cfm into a method in a new ajax_1_0 component.
- Removed ADFlightbox specific code from ajaxProxy.cfm and from the ajax_1_0 lib component.
- Making ajaxproxy call the utils runCommand function instead of Evaluate.
- Updated the buildAjaxProxyString method with logic to check if runCommand method call returns a query, if so the it converts the return query to an Array of Structs before converting to JSON or XML.
- Updated AjaxProxy and LightboxProxy to add check for subsiteURL param, then load the APPLICATION.CFC to load the lightbox within the specific subsites application scope.
- Added an optional appName parameter to request.params to allow you to execute components directly from an app using the ajaxProxy.cfm.
- Added back the support for jsonpCallback and converted the call from createObject to use the server.ADF.objectFactory for the json object.
- Updated the AjaxProxy.cfm file in the ajax LIB to allow calls to methods that return void.
- Added a debug parameter and debug dumps to AjaxProxy.cfm. The dumps collect data before and after the reHTML processing also added a try/catch around runCommand call, if an error is caught then debugging is auto enabled.
- Added the Return type of XML to the ajaxProxy.cfm file.
- Updated to have an optional MainTable wrapper for better lighbox support.
- Removed the args loop and replaced it with a method call to convert the request.params in to the args struct before calling the runCommand method.
- Updated the serialize call to serializeBean to avoid future issues with Railo.
CCAPI
- Bug Fixes = 16
- Enhancements = 12
- Updated the CCAPI to clear the SSID to logout. Added functions to the lib proxywhitelist.
- Updated loggedin function to look for a number as the first character in the response from getSSID(). We were returning false positives when checking the logged in state.
- Updates to CCAPI 1.0 and 1.1. Updated login verification logic for success or error.
- Updating error handling for loggingEnabled function.
- Updated csSubsite v1.0 createSubsite function. Added Parent SubsiteID to the success log.
- Updated createSubsite function moving the definition of "ws" up a level so that it's always available when you try to create a subsite.
- Updated the handleCreateSubsite function in the csSubsite LIB to have an access of public.
- Updated arguments list in the createSubsite function of csSubsite_1_0 in the ccapi lib.
- Adding forceSubsiteID and forcePageID to populate content.
- Adding scheduler, copy page, fixing various bugs.
- Removed CopyPage function from 1_0 function, this was moved to the 1_1 function.
- Updated CSPage v1.0 createPage function. Added logout call at the end of the process.
- In the copyPage method in the csPage_1_1 lib added a parameter for find/replace text and a call to a function that does a find and replace on StandardMetadata (ie. Name, Title, Caption, Description and FileName) the function replaces the source info with new destination info before creating the destination page.
- Updated the csPage method copyPage with a parameter used to pass in a destination Standard Metadata struct to overwrite the Standard Metadata from the source page when creating the destination page.
- Updated the copyPage function in csPage to use the flag in getCustomMetadata to convert Taxonomy Term Lists to TermID lists in taxonomy custom metadata fields.
- Updated CSContent 1.0 populateContent function. Added LOCK to prevent multiple CCAPI calls from throwing the "security-exception -- conflict" error message.
CEData
- Bug Fixes = 26
- Enhancements = 23
- Updated CEData library v1.1 components.
- Updated cedata.getAllCustomElements function to update the where clause in the query to return all the custom elements for the site.
- Changed the query in the ceData getAllCustomElements function to get the Custom Element names and ids from the AvailableControls table to get the Custom Element State.
- Added a parameter to the ceData getAllCustomElements function to pass in a state value or a list of state values.
- Updated ceData.compareCEDataArray function. Updated to set the large array in the outer loop. Validate if both arrays have lengths.
getDataFieldValueByPageID - Added AuthorID and OwnerID fields to the Query. getElementInfoVersionsByPageID - Added AuthorID and OwnerID fields to the return structure.
- Updated arrayOfCEDataSort to allow for proper time sorting.
- Updated functions getCEData and getPageIDForFormID for new queryType for "searchInList". This query type finds any of the items in a list that match a list item in a CE field that stores a list of values. Updated function getPageIDForFormID to remove if statements for condition " contains in 'list' ".
- Updated getElementInfoByPageID function to getFormIDFromPageID function. Added comments.
- Updated getFormIDByCEName function to Replace the dash to underscore.
- Added the ability to search the memo field also for getPageIDForElement.
- Updated CEData_1_0 for getPageIDForElement function to fix data_listItems query for the strItemValue field with the 'list' query type.
- In the ceData_1_1 lib updated the importCEData method with a CCAPICEname parameter also updated the exportCEData method with a exportFolder parameter.
v1.0.1 - Added buildRealTypeView and buildCEDataArrayFromQuery functions.
- Updated CEData_1_1 function buildRealTypeView. Updated the viewname variable to remove spaces.
- CEData_1_1 - buildCEDataArrayFromQuery function - Updated function to load the Forms from the server object factory. Attempted to add dependency but ADF build throws error.
- Updated CEData 1.1 buildRealTypeView function. Commented out the Oracle DB cast for "large_textarea,formatted_text_block".
- Updated CEData v1.1 for buildRealTypeView function. Updated the SQL WHEN condition to only check for empty string. Updated the "large_textarea,formatted_text_block" CASE for the IF condition when 'SQLServer'.
- Updated CEData v1.1 for buildRealTypeView function. Changed memoValue field size to "max".
- Updated CEData v1.1 for buildRealTypeView function. Added an optional FIX for use with SQL2000. The FIX is commented out since SQL 2000 is not widely used.
- Added arrayOfCEDataMerge.
- Added a getCEData wrapper function that returns an array of element data based on an * Active Field and the Active Value.
- Updated CEData v1.1 function getFieldDefaultValueFromID. Added check for CS 5 to decode the HTML escaped param WDDX.
- Updated CEData_1_1 buildCEDataArrayFromQuery function. Modified function to set the fieldStruct variable outside of the cfloop.
- Allowed get fieldsFromTabID to be more flexible by adding a list. Also, changed the function name from getFieldValuesByID to getFieldParamsByID - since it was really retrieving the parameters of the field not the values.
- Added function getDataPageIDFromControlIDandPageID Returns the CE Data Page ID based on the Control ID and CommonSpot Page ID.
- Modified the arrayOfCEDataToQuery function to return additional information (columns) in the query. The returned query now includes the following columns: dateadded, dateapproved, formid, formname, and pageid.
- Updated CEData_1_0 getFormIDFromPageID function. Added new control ID for local custom elements.
- Updated CEData_1_0 deleteCE function. Updated logic to return false if user is not validated.