Updates prior to 4.0
3.62, released October 15, 2001
This should be the last release in the 3.xx series.
Bug fix to metaTypes.act_processForm. A bogus meta type named "true" is no longer created when updating meta type info on the managing meta types page.
metaTypes.qry_validName now throws a scripterror when passed the empty string (since that should never happen).
3.61, released October 9, 2001
Fix bug in metaEdit.act_finalFilter which prevented fields from showing in new stories.
Add a pair of switches to decide whether to add a form and if it is to be a custom form for pictures.
Allow specification of templates for the categories News, Topics, Stories, or Pictures which overrides the global custom input form template. If no message number is specified for that category , the default custom input form is used as before. (In response to Ian Koss's question).
Affected scripts: metaEdit.act_finalFilter, customInput.dsp_buildForm, customInput.act_toggleCustomInput.
Fix protection of URLs in eval macro to avoid triple slashes.
3.60, released October 4, 2001
New macro, eval, evaluates a string, expanding all meta types and macros the string contains.
3.55, released October 3, 2001
New script, metaTypes.qry_validName() returns a valid meta type: no spaces, no specials.
The following RPC handlers now call the meta type name validation script:
deleteMetaType,
getIndexValueMessages,
getMetaTypeTable,
IndexMaintenanceValueAdd,
IndexMaintenanceValueDelete,
setMetaData,
setMetaTypeTable.
The following scripts now call the meta type name validation script: templates.act_processTemplateForm, metaTypes.act_processForm.
New RPC handlers: getIndexValuesTable and setIndexValueTable.
setPreferencesTable RPC handler now creates the preferences table if it's not there already.
3.54, released September 25, 2001
search page moved from metaData website fragment to its own metasearch website fragment; enable and disable scripts updated to handle this.
metaSearchForm now points to metasearch fragment, which originates at metaDataData.searchFragment.
getMetaTypeTable RPC handler replaces spaces with underscores in names of meta types.
3.53, released September 24, 2001
Two new RPC handlers, getPreferencesTable and setPreferencesTable.
Fix coercion of boolean values in metaEdit.dsp_buildForm and metaEdit.dsp_buildFormFromTemplate.
getMetaTypeTable RPC handler no longer permits spaces in names of meta types.
metaTypes.act_addMetaType receives optional adrSite parameter.
metaEdit.finalFilter now aborts instead of throwing an error if pta^.path is undefined.
3.52, released September 11, 2001
More flexibility for custom input forms. Scripts in the customInput table and metaEdit.act_finalFilter were tweaked for this.
Workaround for ordering logic bug in metatypes.dps_buildForm and metaEdit.dsp_buildform.
utils.MFTextSearchFind and utils.MFTextSearchReplace are callbacks for ManilaFixer.
enable and disable support ManilaFixer's search and replace.
metaDataData.initialConfig.flEditors now is set false by default.
utils.getMsgTitleLink updated to work around Userland's September 4 change to manilaSuite.discuss.getDiscussionGroupAddress. There will probably be further bugs from this change; please report them.
3.51, released August 29, 2001
setUpSubscriptionPrefs now has the correct time of the release date, eliminating huge downloads when a user does their first root update after download.
Fix to page macro to better handle empty values in shortcuts and pictureref cases.
Improve error messages in buildFormFromTemplate parser when building custom forms from the template.
3.50, released August 22, 2001
New RPC handler, getIndexValues returns a list of index entries for a given meta type.
New RPC handler, getIndexValueMessages, returns a list of messages that match meta type == metavalue.
Now we have a filters.firstFilter You knew that was coming at some point.
enable and disable scripts now know about firstFilter. Also, removed old code from these.
New script, act_overrideHiddenRedirect
metaEdit.dsp_buildFormFromTemplate sets flag in page table when calling custom formatting script.
metaDataSuite.prefs code abstracts preferences management.
utils.act_pokeMetaValue now returns true if we changed the value, false otherwise.
metaTypes.act_alignMetaTypes, metaEdit.act_finalFilter, metaEdit.act_processForm, metaTypes_dspBuildForm, now support refreshafterchange attribute.
mainCase now supports showprefspage gridaction.
3.42, released August 21, 2001
showCount() macro allows you to find out the number of times a meta value occurs in the index of a meta type. You'll need to run the install script to legalize this new macro with Manila.
New RPC script: deIndexMessage is a wrapper to keyIndex.act_deleteByMsgNum. This needs to be called if you are deleting a message through some mechanism other than Manila's web interface (i.e., RPC, custom scripts) in order to keep the index up-to-date. (Dave Detlefsen).
Better error reporting for qry_adhocsearch when the msgNum context field was left blank.
3.41, released August 13, 2001
page macro now passes adrSite to improve performance.
utils.qry_getMetaTypeTableAddress now supports static rendering.
metaEdit.dsp_buildFormFromTemplate now allows fieldnames with spaces at start of [[ string by quoting the name; fixed error report message; fixed parsing of textbox parameters.
metaEdit.act_finalFilter now aborts form building on delete confirmation pages.
metaTypes.dsp_buildForm updated so multibox field format is now selectable from the Manage Meta Types page.
3.40, released August 8, 2001
metaEdit.dsp_buildForm now supports multiselect boxes.
setMetaTypeTable RPC handler now supports multiselect boxes.
metaTypes.act_alignMetaTypes now supports multiselect boxes.
metaEdit.dsp_multiboxRows is the default number of rows to show in a multiselect box. Default is 4. You can modify this using the Size column on the Manage Meta Types page.
metaEdit.dsp_buildFormTemplate supports multiselect boxes.
page macro receives cache and foreach loop construct.
metaEdit.dsp_buildFormFromTemplate received these changes: neuter macros prior to evaluating value parts of fields, nil messageID means use templateStr parameter, add type multibox.
utils.turbocacheCheck adds support for David Bayly's Manila turbocache. The enable and disable scripts now register and deregister a callback with the turbocache.
3.30, released August 6, 2001
metaSearchForm() is a new macro that returns a search form for searching metadata. Docs are here.
metaSearchResults() is a new macro that interprets the search from metaSearchForm, executes the query and formats the results.
metasearch.metaSearchForm added to localization table.
utils.act_createGridTable broken out from index script.
Default search results page added to website fragment.
recentlyChangedPages macro receives new parameter, onlyPagesWithPaths, defaults to false. If true, pages without set paths are filtered out.
Thanks to UC-Berkeley's Interactive University Project for supporting this release.
3.21, released July 18, 2001
The enable and disable scripts now place the static rendering page filter patch in a try for compatibility with older sites. (Erin Clerico)
Fixed hidden element value computation in metaEdit.dsp_buildFormFromTemplate. (DAB)
metaEdit.act_finalFilter turns off custom input forms for image editing pages. (DAB)
The showval macro can now return author names (and, potentially, any other information from the personalInfo table in your Manila site).
3.20, released July 12, 2001
Query builder added. It lives in metaDataSuite.search.
page macro: if a meta variable has no value; try for the default value for this type. Debugging code added.
Extraneous call to metaDataSuite.keyIndex.qry_formatResults removed from search.dsp_searchForm. Debugging code added.
Renamed act_adhocsearch() to qry_adhocsearch to adhere to the gridbox naming scheme.
Optional parameter flEscapeURLEntities added to utils.act_translateToEntities.
templates.act_editTemplate adjusted to reflect new parameter in utils.act_translateToEntities.
These last two fixes should eliminate the tipsy slash problem.
3.15, released July 10, 2001
utils.qry_getMsgTitleLink now returns modified urls if a static rendering is taking place.
David Bayly fixed a static rendering bug in the page macro and initialization bugs in the customInput scripts.
The showval macro no longer requires the message table if a message number is supplied as a parameter
metaEdit.act_finalFilter no longer adds duplicate form closing tags to the default metadata editing form.
3.14, released July 6, 2001
metaEdit.act_finalFilter handles member deletion from Admin page.
metaEdit.dsp_buildForm and metaEdit.dsp_buildFormFromTemplate handle special characters. (David Bayly)
metaEdit.dsp_buildFormFromTemplate now translates entities properly. (David Bayly)
Bug in triggers.evaluate where msgNum may be set to zero in rare cases fixed. (David Bayly)
3.13, released June 20, 2001
Recursion bug in page macro fixed (David Bayly).
metaEdit.act_finalFilter glomp code rewritten by David Bayly to support custom input forms.
Input form functionality in metaTypes.dsp_buildForm moved to separate script.
New code subtable, customInput, deals with custom input forms.
3.12, released June 18, 2001
Logic added to metaEdit.dsp_buildFormFromTemplate to notice different text box field names in the create new story/message and edit this page forms.
3.11, released June 13, 2001
Fixed debugging parameters in metaDataMacros.customInputForm.
Two undefined variables in metaEdit.dsp_buildFormTemplate fixed.
The query macro was returning one item more than maxItems; now it doesn't. (Eric Soroos)
3.10, released June 5, 2001
utils.act_stripAllButHiddens given html text, extract all input tag with type = hidden
utils.act_extractSubmitFrom given html text, extract the first input type = submit
metaTypes.act_buildFormTemplate construct a form template and store it in a message
metaTypes.dsp_buildForm now supports custom form templates.
metaEdit.dsp_buildTrackingOptions is code moved from metaEdit.dsp_buildForm for reuse.
metaEdit.dsp_buildFormTemplate Construct a template usable by metadatamacros.inputForm which will build the same page as dsp_buildForm would.
metaEdit.dsp_buildFormFromTemplate builds the body of a form using templateStr as a template.
metaEdit.dsp_buildForm now supports custom form templates.
metaEdit.act_finalFilter now supports custom form templates.
mainCase now supports custom form templates.
New macro, {metaDataMacros.customInputForm()}.
3.03, released June 5, 2001
showIndex macro can now optionally suppress empty index terms instead of printing (None) next to them. Also, index entries of NA will be automatically suppressed.
3.02, released June 4, 2001
debugging.enable and debugging.disable are available to help developers debug problems with the plugin. See the Debugging page.
All commented dialog.notify debugging code within scripts removed.
keyIndex.dsp_buildViewForm now right-justifies keys.
David Bayly: If the path returned by
manilasuite.sitestructure.getRelativePathToMessage contains special characters it needs to be urlencoded. But you cannot use string.urlencode because it encodes "/" as well because
string.urlencode("/") = "%2F"
New utility, utils.pathEncoder, urlencodes paths without encoding slashes.
utils.qry_getMsgTitleLink now calls the path encoder to correctly return URLs with relative paths in query results.
3.01, released May 29, 2001
triggers.act_evaluate checks for necessity of getting gridtable.msgNum before doing so.
metaEdit.act_finalFilter receives a rewrite of the early logic in a crystal-clear case statement, replacing the muddy swath of AND/OR logic previously there. And a previously unhandled case for new stories is now handled. Debugging code commented out here gives back a few ticks of performance, too.
metaEdit.dsp_buildForm now omits page tracking options from initial discussion group responses, since the options are inappropriate.
3.00, released May 21, 2001
query, recentlyChangedPages, searchkw, showrelated, showindex macros updated in preparation for static rendering support.
Static rendering now handled in qry_getStorageAddress.
filters.pageFilter is now static-rendering-aware.
utils.act_installFilterPatch now adds pagefilter patch to static filter of Manila site.
utils.act_addMetasToPage now adds metas to static pages too.
enable and disable scripts now add and comment static filters.
templates.subTemplate does template inheritance and replacement correctly with static rendering.
Updates prior to 3.0
|