The Metadata Plugin
Metadata Management for Manila
 
Site last updated
2/24/2006; 12:33:21 PM
 
Home

Why

Features

FAQ

Updates

Documentation

Download

Developers

Bugs

Feedback

Discuss

Planned
Features

 
 

Updates

Updated Tuesday, January 17, 2006 at 3:46:42 PM by John VanDyk.

Next release (do a root update to get this functionality)

In valueLists.act_addToValueList fix ordering of values after a value has been deleted. (David Detlefsen)

In metaDataMacros.showVal, check if path is defined. It's not in the case of static rendering. (Jared Jackson)

Step out of the way if someone is editing a news item via the discussion group view, since metaEdit.act_finalFilter will be called after a redirect occurs to the newsitem editing view. (Robert Cassidy, Peter Baumgartner)

Check if recentChangedPages table defined in cache.act_trackerDelete. (Patrick Ritchie)

Fix reference to incorrect table in metaDataMacros.metaSearchResults. (Eric Soroos)

Fix typo in mapping of ASE operators in query macro.

5.10 released September 26, 2003

metaEdit.finalFilter now tries harder to find the msgNum when admin deletes happen. (Patrick Ritchie)

query macro now takes optional msgReaderURL and storyReaderURL parameters. (Patrick Ritchie)

recentlyChangedPages macro now returns empty string if no changed pages are available. (Oliver Wrede)

metaSearchResults macro now supports user-defined formatters. (Patrick Ritchie)

Undeclared local 'data' in metaEdit.act_processForm indexing prep fixed. (Robert Cassidy)

Add to recently changed pages form now optional on custom forms (Pat Ritchie). Affected: prefs.dsp_buildform, prefs.act_processForm, metaEdit.dsp_buildFormFromTemplate.

Bug fix in dropbox custom input form element (David Detlefsen).

In keyIndex.qry_getRelatedItems, don't coerce metavalue from a list to a string before passing to ASE; leave it as a string.

query macro now handles --related-- meta value correctly when the page the macro is on has multiple values for the meta type being queried. (Jim Bain) Update: change backed out. Update: set searchType parameter in param table which, in conjunction with the change to the query engine detailed above, fixes the bug.

metaEdit.dsp_buildFormfromTemplateCache handles checkbox labels with special characters correctly.

Helpful error now appears when you search for an undefined meta type.

5.09 released September 25, 2002

customInputForm macro updated by David to set default objectType.

Three fixes for custom input forms submitted by David.

Fix typos in deleteMetaType, getMetaTypeTable and setMetaTypeTable RPC handlers. (Jan Storms)

The date sorting in keyIndex.qry_formatResults only worked for non-builtins. Fixed. (Scott Granneman) Later...remove reference to adrTbl. (Ian Davidson)

showIndex macro receives headingsOnly parameter.

David Bayly adds better date sorting in keyIndex.qry_formatResults.

The suppressEmptyTerms parameter in the showIndex macro was broken. Fixed.

metaEdit.act_finalFilter bug fix to recognize WYSIWYG forms again.

Disabled troublesome score preservation for list whole text indexed meta types. Now upon processing the edit-this-page form the score will be reset to 1.

David Bayly fixes MFTextSearchReplace and a typo in metaEdit.dsp_buildFormfromTemplateCache

Fix to AND intersection in metaSearchResults macro (Theo Den Brinker).

In externalURLs.act_delete, abort if we don't have a record of the shortcut.

metaEdit.dsp_buildFormFromTemplate and metaEdit.dsp_buildFormFromTemplateCache updated to pass formname, solving the problem Ken Kenworthy reported.

utils.act_pokeMetaValue handles nondisplay default builtin meta types better.

5.08 released August 27, 2002

Metadata for shortcuts now works for shortcuts that were added prior to enabling the metadata plugin.

metaEdit.act_finalFilter updated to handle named forms properly.

utils.MFTextSearchReplace updated to work with version 5.

Refreshform attribute no longer refreshes in metaEdit.act_processForm when coming from a new story/post.

Jan Storms updates Dutch localization to v1.3.

Boolean storage in custom forms fixed, custom form refresh after post changed. Affected scripts: metaEdit.act_finalFilter, metaEdit.act_processForm, boolean and radioValueChecked scripts in buildFormFromTemplateSetup table.

Backed out changes to utils.listToString completely. Too many bug reports coming in and not enough time to fix all the problems.

query macro receives optional msgNum parameter for use in included pages and home page news items.

utils.act_pokeMetaValue now tracks changes for builtins (increasing the likelihood that caches will not be cleared).

Backed out change to utils.listToString. It had problems with escaped characters in strings longer than 255 characters. The replacement is a good compromise.

Fix typo in keyIndex.qry_formatResults.

Localized informative message from metaSearchResults when no results were found.

David Bayly has added an 'isin' operator for the list_wholeText indexing method. This searches for a substring in list_wholeText indices. The paddedNumeric method is the only one supported at this time.

Coerce nonstring values to lists in utils.act_pokeMetaValue.

Separate value from display in metaTypes.dsp_buildForm now that it's localized.

metaEdit.dsp_buildFormFromTemplate and metaEdit.dsp_buildFormFromTemplateCache now behave differently depending on whether the message is new or not. Also, cache semaphore added.

We can now add metadata when creating new gems. This is only available if your manila.root has been updated since August 8, 2002. A big thank you to Jake Savin of Userland for making the change to gems.postGemPage that allows us to do this. Affected scripts: metaEdit.qry_fillMetaTable, metaEdit.act_finalFilter, metaEdit.act_processForm.

Jake, David and I came up with a faster utils.listToString. Would be nice if this were kernelized.

Updated metaSearchResults macro. Results were not consistent between and and or searches.

In keyIndex.qry_formatResults, storyCategory wasn't being consistently lowercased. Fixed. Also, setting the sortBy parameter to a meta type is now supported for gems and shortcuts. (Terri Phifer)

David Bayly fixed custom forms to account for the fact that form element names in new story and edit this page forms for body text are different.

5.07 released August 8, 2002

Added localization at metaTypes.pages and metaTypes.images.

Fixed bug in metaSearchResults macro related to compiling global results. Full-text searching of Manila sites works better now. (Terri Phifer)

Fix bug in keyIndex.qry_formatResults that bit if you had more gems than messages. When searching for the title pseudomacro the formatter wasn't passing the address of the msgTable, which needs to be done now that we support messages, gems and shortcuts (different message table address in each case) (Theo Den Brinker).

Even more optimization for keyIndex.qry_formatResults. Another 10-15% speed increase (the larger the result set, the better the speed gain). Factored isStory code, prebuilt common URL parts.

keyIndex.buildFlatIndexWithValues received caching functionality. Calls to cache.act_clearFlatIndexCache added to:

  • metaEdit.act_processForm
  • externalURLs.act_add
  • externalURLs.act_delete
  • deindexMessage RPC handler
  • IndexMaintenanceValueAdd RPC handler
  • IndexMaintenanceValueDelete RPC handler
  • metaEdit.act_finalFilter

Jan Storms updated the Dutch localization to version 1.2.

David Bayly declares adrStorage in metaEdit.dsp_buildFormFromTemplateCache.

Seriously optimized keyIndex.qry_formatResults, the default formatter. It is now up to twice as fast. Update: and now it returns relative paths again (Ian Davidson).

Predefine storyReaderURL and msgReaderURL in showIndex macro for speed.

externalURLs.act_processURLform now uses the POST method.

Support for "everyone" value of roleList parameter removed. editGemsMetadataLink and editShortcutsMetadataLink.

metaEdit.act_processForm changed to accomodate non-managing editors editing gems and shortcuts metadata.

5.06 released July 31, 2002

Thanks to the Australian Industrial Registry for supporting this release.

Add a preference to allow searchArg values to override default meta type values (Jonas Kroon). Affected scripts are prefs.act_processForm, prefs.dsp_buildForm, and metaEdit.qry_fillMetaTable.

Change to metaEdit.act_processForm to support setting values for meta types that are not in the meta type table. This was necessary to support lastUpdate modification in gems and shortcuts.

In keyIndex.qry_formatResults, the eval macro, and in metaEdit.qry_extractGridboxValues we now use html.processMacros' plainprocessing parameter instead of escaping URLs and e-mail addresses ourselves.

The default formatter now substitutes postTime if lastUpdate is not defined for gems.

lastUpdate is added as a standard builtin meta type for shortcuts and gems, affecting externalURLs.act_add and externalURLs.act_processURLForm, gems.act_processGemForm.

metaEdit.dsp_buildForm should not build fields for body or subject.

metaEdit.qry_fillMetaTable changed to support builtin meta types for gems and shortcuts.

metaTypes.act_setupBodySubjectIndexing does exactly that.

Quote was missing from value in 'other' field in metaEdit.dsp_buildForm.

keyIndex.act_buildIndex now indexes the message table and the shortcuts and gems table if applicable.

metaTypes.act_addMetaType now uses the new appliesTo info when adding builtins.

metaTypes.act_processForm now indexes builtins at the time they are added.

mainCase updated to stop overriding gems metadata titles.

ase.methods.list_wholeText.getRanking fails more gracefully now.

externalURLs.dsp_buildURLForm shows a linked title now rather than the URL.

externalURLs.act_add now seeds new entries with member and postTime.

All builtins received appliesTo settings so that when you add a builtin the system knows which of pages|gems|shortcuts it applies to.

New macros for generating links to edit Gems and Shortcuts, editGemsMetadataLink and editShortcutsMetadataLink.

body is now a builtin meta type.

mainCase updated to support the gridaction for indexing body and subject from the Managing Meta Types page.

metaTypes.act_alignMetaTypes prohibits body meta type from being included in head.

metaEdit.dsp_BuildForm now supports externalURLs.

metaTypes.dsp_buildForm: default value of includeInHead changed to false, support body and subject builtins, option to enable full-text indexing of body and subject. Update: fixed bug where we were using body twice instead of body and subject each once. This led to the changing of the format and writeaccess types from strings to lists thanks to Frontier's automatic conversion of double postArgs to lists.

utils.qry_peekMetaValue supports externalURLs.

utils.act_pokeMetaValue supports externalURLs.

metaEdit.act_processForm supports externalURLs and revamps support for builtins, including body and subject.

metaDataSuite.gems table replaced (new version has no ID encoding as this was moved to utils so we can reuse the code in our externalURL code).

metaDataSuite.externalURLs table checked in. Experimental at this point.

Localization for externalURLs and metaTypes.indexbodysubject.

ID encoding for gems and shortcuts moved to utils.qry_IDencode/decode.

Fixed a bug in keyIndex.act_buildIndex that caused problems with date indexing of builtins such as lastUpdate.

mainCase updated with gridactions for gems and shortcuts.

The default formatter was not unprotecting double slashes and @ symbols. Fixed.

utils.act_pokeMetaValue now returns false if requested to poke a privileged meta type (body, subject, msgNum).

David Bayly rewrites metaEdit.dsp_buildFormFromTemplate.

Uncomment local declaration in metaEdit.dsp_buildFormFromTemplateSetup.dropBox.

Added adminUtils.checkIndexVSValueList, a developer tool written by David Bayly.

5.05 released July 16, 2002

Seth Dillingham updated the ASE's cleanText script to better detect support for string.multipleReplaceAll. Other ASE updates: index now logs errors to Frontier's daily log guest database; all methods' exists scripts updated for parity with search scripts.

"Old and obscure" bug in page macro fixed.

setMetaTypeTable RPC handler updated to work with version 5 meta types.

getValueList and setValueList scripts added for system.verbs.apps.metadata.

Correct qry_getAddress call in setValueList RPC handler.

Fix "dodgy code" in install script. Root update prefs weren't being set correctly.

Query engine updated to map AND and OR searches to 'call' and 'cany' operators in the ASE and, as a result, fixes the full-text searching bug reported by Ken Kenworthy.

valueLists.act_copyToIndexTable factors out code that combines value lists and index values. metaEdit.buildFormFromTemplate, metaEdit.buildFormFromTemplateCache and metaEdit.dsp_buildForm updated to use this.

Updated RPC handlers: setIndexValues, getIndexValuesTable, getIndexValues.

ase.methods.text.index and ase.methods.text.search now do not drop non alphas. Therefore, high ascii searches are now supported. Update: this change backed out.

5.04 released July 8, 2002

Updated the ase.methods.*.exists code to reflect changes made by Macrobyte to make the .search and .exists scripts accept the same parameters.

Two RPC handlers, deIndexMessage and setMetaData updated to include discussion group address in page table.

David Bayly's getting up to speed. He submitted getValueList and setValueList RPC handlers, factored some oft-used code into valueLists.qry_getAddress, wrote valueLists.qry_getValueList, and updated custom input forms in custom fields (buildFFTemplateSet.custom).

metaSearchResults macro is now compatible with 5.x. (Ken Kenworthy)

debugging.enable now handles multiple summits.

Turned off debugging in ase.index, ase.methods.text.index, ase.storageMethods.paddedNumeric.resultSet.intersect. This should have been done automatically but the debug-commenter didn't recognize multiple top-level summits in scripts.

In keyIndex.qry_getRelatedItems, don't run constrainBy queries unless the main query returned a positive result.

ase.methods.boolean.search now handles Yes and No values as well as true and false.

David Bayly updated (and I optimized) the following scripts for support of custom input forms in version 5: metaEdit.dsp_buildFormfromTemplateCache, metaEdit.dsp_buildFormFromTemplateSetup.boolean, metaEdit.dsp_buildFormFromTemplateSetup.checkboxChecked, metaEdit.dsp_buildFormFromTemplateSetup.dropBox, metaEdit.dsp_buildFormFromTemplateSetup.radioValueChecked.

Save a cycle or two in the query macro by not defining adrStorage (that's handled by cache.qry_getCacheEntry). (Andrew Duncan)

David Bayly's changes to support disabling isoFilter added to metaEdit.dsp_buildForm and dsp_buildFormFromTemplate.

5.03 released June 28, 2002

Jan Storms updated the Dutch localization to version 1.1.

Updated metaEdit.act_finalFilter to work around the fact that various Themes have incorrect path settings to /discuss/edit/newTopic. The themes have a trailing slash (/discuss/edit/newTopic/) which is incorrect because newTopic is a script, not a directory. (Jan Storms)

Fixed bug in the query engine (keyIndex.qry_getRelatedItems) so that negative searching for constrainBy parameter now works. Wouldn't you know it, a mistake I hardly ever make: substituted == for =. Must have been kind of jumpy that day.

showIndex macro now supports gems.

Suppressing expansion of e-mail addresses in the showVal macro now works.

The query macro was updated so it handles the case where the includeSelf checkbox is not checked when using the Query Builder.

And naturally, I didn't check in utils.act_pokeMetaValue which lead to the infamous adrMessageToEdit not defined message that Terri Phifer quickly identified. I'm going to go out on a limb here and say that 5.03 will be out tomorrow. In the meantime, a root update will get you utils.act_pokeMetaValue.

5.02 released June 26, 2002

Support for gems added. Modifications include a new metaDataSuite.gems table and updates to utils.qry_peekMetaValue, keyIndex.qry_formatResults, metaEdit.dsp_buildForm, metaEdit.act_processForm, metaTypes.dsp_buildForm, metaEdit.act_finalFilter and utils.act_addMetasToPage.

Deletion of values in value lists was not working. Fixed.

Fix "the name ID hasn't been defined" error in keyIndex.act_deleteByMsgNum.

Added a preference to determine whether to count hits from editors.

Removed the functionality to add entries to indices from the Index Maintenance form processor (keyIndex.act_processMaintForm) since this is now done with value lists.

Received final license wording for the licensing of the AttSearchEngine from Macrobyte Resources. The license is at metaDataSuite.ase.#License.

templates.act_processTemplateForm plays nicely with value lists now. Thanks to Terri Phifer.

Fixed bug in ase.methods.list_wholetext.getRanking on new messages.

metaEdit.dsp_buildForm significantly optimized by avoiding index building for textbox-formatted fields.

5.01 released June 20, 2002

metaEdit.act_processForm now has better error flagging for ASE-related errors.

templates.subtemplate now checks for the beginning of HTML tag only so that it will still recognize HTML tags with attributes. Thanks to Michael Zajac.

metaTypes.act_alignMetaTypes now keeps attIndexTemplate in sync with the meta type table. Very important.

metaDataData.builtIns.member.indexingMethod changed to List Whole Text.

metaEdit.act_finalFilter now includes code that will support gems. We now create pta^.gridTable.objectType which flags the type of object we're creating/editing.

Call to metaEdit.qry_buildEnabledTypeTable removed from metaEdit.dsp_buildForm (it's already called in metaEdit.qry_fillMetaTable).

metaTypes.dsp_buildForm now suppresses value list links for built-in meta types.

Version 5.00 was released June 19, 2002 via the Download page.

The following major changes have taken place since 4.19:

  • New table, ase, contains the metadata plugin version of the Attribute Search Engine
  • Meta types support value lists (although ordering is supported in the value list editing interface, the ordering is not currently honored when building the editing form)
  • All code optimized
  • Consolidated installation code.
  • Removed obsolete scripts keyIndex.qry_buildMatchTable and utils.qry_peekBuiltInMetaValue

Changes to macros

  • recentlyChangedPages (storage method support)
  • showCount (ditto)
  • metasearchForm() (no flIndexed)
  • eval (call to qry_peekbuiltinmetavalue replaced)

Changes to other scripts:

  • enable
  • utils.act_assureIndices (now points to attIndices table)
  • metaDataData.indexingMethods is a string4 lookup table
  • localization table; the metaType section has some changes
  • metatypes.dsp_buildForm
  • metatypes.act_addmetatype
  • metatypes.act_deletemetatypes
  • metatypes.act_alignmetatypes
  • install
  • debugging enable and disable (no edit())
  • finalFilter (extra debugging return)
  • getMsgTitleLink (pop leading zeros)
  • metaTypes.act_processForm (factor gridbox extraction)

Updates Prior to 5.0

Comments...


This page last updated Tuesday, January 17, 2006 at 3:46:42 PM. (23557)