Updates Prior to 5.0
4.19 released June 10, 2002
Optimized utils.listToString.
Optimized metaTypes.dsp_buildForm and metaEdit.dsp_buildForm.
Escaping of @ corrected in eval macro. (Ian Davidson)
Built-in meta type inResponseTo, a long, was added.
Booleans were not being translated when extracted from the message table. Fixed.
Get the address of the discussion group in a more reliable manner in recentlyChangedPages macro and keyIndex.qry_formatResults. Also, both optimized.
Don't assume we are the only plugin to create a #templates table (keyIndex.act_buildIndex).
4.18 released March 11, 2002
This should be the last release in the 4.x series.
David Bayly adds new standard semaphore naming script, cache.qry_getSemaphoreName. All cache scripts have been updated to use this, as well as the recentlyChangedPages and siteLastModified macros.
IncludeSelf parameter for query macro can now be a msgNum. The msgNum is excluded from the result set, even when the query macro is called via the includeMessage macro.
Redundant check for table existence in callbackTargets.changedMessage and cache.act_trackerWrite eliminated. Semaphore timeout increased to 800.
recentlyChangedPages macro and cache.act_trackerDelete were using different semaphores than the other scripts that dealt with the recently changed pages table. Fixed.
4.17 released February 18, 2002
metaEdit.dsp_buildForm forgot to close a row. Fixed.
metaEdit.act_finalFilter now detects Erin's hack of mainResponder.discuss.editMessageForm on weblogger.com.
keyIndex.qry_getRelatedItems now saves the number of results as numRes in the parameter table.
metadataMacros.showIndex now uses the numRes set by keyIndex.qry_getRelatedItems to correctly evaluate whether or not the result set is empty. This was breaking the suppressEmptyResults behavior.
triggers.act_evaluate passes a single parameter, the page table address, to any action scripts which match the condition. Backwards compatibility is maintained.
metaEdit.dsp_buildFormFromTemplate coercion fix with multibox fields.
4.16 released February 13, 2002
utils.act_addMetasToPage now supports messages as well as stories.
showVal macro is more persistent about getting the message number when pta^.adrMsgTable is not defined.
templates.act_processTemplateForm now indexes names of templates as they are entered.
keyIndex.act_buildIndex now includes names of templates when rebuilding the index.
behavior.dsp_buildForm assumed that it was the only preference when determining the reply behavior. Fixed.
When keyIndex_formatResults filtered out pages without assigned paths, it incorrectly used the adrSite parameter. Fixed.
4.15 released January 21, 2002
Call to index() in pageFilter replaced by index's functionality.
metaEdit.act_finalFilter now removes the msgNum from the recentlyChangedPages table when user deletes a message using the Admin box.
4.14, released January 21, 2002
metaTypes.act_alignMetaTypes now supports hierarchical indexing.
Functionality of index script moved to defaultPage script. This reduces the nested script calls by one level when building metadata admin pages. The index script is now obsolete.
filters.pageFilter now supports static rendering when getting adrDiscussionGroup (David Bayly).
Flag in metaSearchResults one level too deep affected nested AND/OR searching. Fixed.
In metaEdit.qry_extractGridboxValues we protected URLs and email addresses from expansion while running macros but didn't remove the protection afterwards. Fixed.
4.13, released January 16, 2002
metaSearchResults was incorrectly treating searches for multiple terms as ANDed together. Fixed.
utils.act_addMetasToPage now respects built-in meta types.
A preference now controls this behavior. prefs.act_processForm and prefs.act_buildForm updated. Great work, David...it only took a few minutes to add this.
The default query formatter now strips out results that point to pages without assigned paths if the query happens during a static rendering. Requested by Jeremy Reichman.
4.12, released January 9, 2002
Turning the metadata debugger on and off is now faster, and individual script targets are better supported.
metaSearchResults now handles checkboxes.
metaEdit.dsp_buildFormTemplate: subject textbox was defined incorrectly in the generated template (David Bayly).
Macro fix to custom input forms (David Bayly).
The metaSearchForm and metaSearchResults macros now support paired searching and one-level nested boolean searching. See the docs for more info. Thanks to UC-Berkeley's Interactive University Project for supporting this release.
keyIndex.qry_getRelatedItems no longer aborts if it gets no results. Instead, it hands the results to the formatter anyway and lets the formatter decide what to do with it.
utils.shortcutToMessage had a dependency on Arnold Lesikar's tagExtractionKit extension. David Bayly has removed the dependency.
4.11, released December 27, 2001
utils.act_pokeMetaValue has been rewritten and now includes a callback loop. Your script, at config.manila.metadata.callbacks.pokeMetaValue.yourScriptName, will be called whenever a metadata value changes. The parameters from utils.act_pokeMetaValue will be in scope. Also added msgNum to the list of read-only builtin meta types (along with subject and body).
keyIndex.qry_getRelatedItems, keyIndex.act_add and keyIndex.act_delete now support hierarchical indices.
pageFilter now detects msgReader$ style URLs and forces creation of pta^.adrMsgTable in those cases. Without pta^.adrMsgTable defined, macros were aborting.
showVal macro updated to better recognize URLs.
4.10, released November 30, 2001
New meta type attribute, appliesTo. A meta type can now apply to pages, images, or both.
metaEdit.dsp_buildForm and metaEdit.act_processForm now backwards compatible with older manila.roots that don't know about content editors. Also, support added for the appliesTo attribute of meta types.
metaEdit.dsp_buildForm and metaEdit.act_processForm now support content editors. To allow content editors to edit metadata, select editors in the Who May Edit? field on the Managing Meta Types page.
The metadata plugin now uses the plain template when displaying plugin-specific info if the managing editor has set the Preferences Template setting (Prefs --> Editorial) to Yes.
triggers.act_evaluate now prevents msgNum being a null string.
4.05, released November 15, 2001
metaSearchResults macro now runs submitted meta type names through the name validator.
metaTypes.dsp_buildForm updated to preserve curly braces in default values that are macros.
utils.act_createGridTable is now smarter about static rendering.
triggers.act_evaluate now creates entire gridtable if necessary. This fixes a bug where the metaSearchResults() macro returned no results when it should have found some.
4.04, released November 8, 2001
New utility scripts, metaTypes.act_deleteValuesOf and metaTypes.act_deleteMetaTypeMsgData.
New RPC handler, deleteMessageFields, deletes all values from given meta types in all messages.
New RPC handler, deleteValuesOf deletes specific values from given meta types in all messages.
metaTypes.act_deleteMetaTypes receives optional adrSite parameter for RPC usage.
Error in act_processTemplateForm when attempting to delete a template fixed. Thanks to Terri Phifer.
Undeclared variable url in utils.qry_getMsgTitleLink had potential to overwrite page table variable of same name.
4.03, released October 31, 2001
Search results page title localized.
metaEdit.act_finalFilter now calls a new script, cache.act_trackerDelete, to delete a msgNum from the recentChangedPages table if a message is being deleted.
showVal was not working when msgNum was passed explicitly because qry_peekMetaValue requires a defined adrMsgTable for nondefault msgNums.
metaEdit.dsp_buildScheduleOptions sets enableScheduledPublishing pref to false if it doesn't exist.
4.02, released October 17, 2001
If there was an indexed but not enabled meta type and a nonmember attempted to update a message, an error would result. This obscure bug in metaEdit.act_processForm was exposed when I moved the gridbox extraction routines to a separate script.
utils.qry_buildTimeCode doesn't drop digits anymore.
Check for enabled scheduled publishing moved from act_queue to firstFilter to save a few cycles. The pref now defaults to false, too.
metaEdit.dsp_buildScheduleOptions now aborts properly, eliminating the word true next to the Post Changes button.
scheduledPublishing.act_queue now steps aside gracefully when scheduled publishing is not enabled.
4.01, released October 15, 2001
keyIndex.act_deleteByMsgNum takes an optional adrSiteTable parameter now.
act_publish, act_queue, metaEdit.act_finalFilter, metaEdit.dsp_buildForm, metaEdit.dsp_buildScheduleOptions, firstFilter updated to support scheduled editing.
prefs.qry_getPref now creates the prefs table if it does not exist.
4.00, released October 15, 2001
New localization table: scheduler
mainCase supports scheduled publishing gridactions.
New table, metaDataSuite.scheduledPublishing, contains the scheduled publishing scripts.
New prefs scripts, prefs.act_setPref and prefs.qry_getPref facilitate getting and setting preferences from the metadata.prefs table of a Manila site.
Code for extracting data from the gridbox has been broken out of metaEdit.act_processForm into a separate script, metaEdit.qry_extractGridboxValues.
utils.qry_buildTimeCode builds a string code out of a date and hour (e.g. 2001101512).
The install script now installs an hourly task at user.scheduler.hourly.scheduledPublishing.
firstFilter now detects new stories being published and reroutes execution to the scheduled publishing mechanism if necessary.
metaTypes.dsp_buildForm adds scheduled publishing option.
Thanks to UtopiaNet for supporting this release.
Updates prior to 4.0
Comments...
|