MetaPhilter 1.42
October 16th, 2003
Security patch.
httpRequest
class handels chunked data better.
MetaPhilter 1.41
May 23rd, 2003
Problems with XML-RPC pinging of update notifications have been fixed.
MetaPhilter 1.4
May 23rd, 2003
A new API has been added to the system core: XML-RPC. This release also implements support for Blogger API, metaWeblog API, and Movable Type API (and its extensions of the metaWeblog API).
A new index template for an RSD file has been added to the default installation.
Added
MPXmlRpcLink
tag to create a URL pointing to the default XML-RPC entry point.The common index template 'index.tmpl' has been updated to include an "EditURI"
link
element that points to your Philter's XML-RPC entry point.New option in configurator: Allow/disallow XML-RPC API (Miscellaneous Settings).
New user privilege: Remote uploading using metaWeblog API.
The "TackBack URL domain" setting has been nixed and the "MetaPhilter path" setting has a new, more general purpose. Upgraders note: make sure you change its value in the configurator after upgrading. (Instructions provided in Site Settings page of each Philter)
The HTTP Request Object is now documented.
MetaPhilter 1.3
May 16th, 2003
New option in configurator: Adjust TrackBack URL domain.
TrackBack ping URL auto-detection dump now displays the correct URLs for posts.
A basic class has been added to send HTTP requests (
httpRequest
). Documentation on its usage may follow.The templating system can now parse attribute values that are not encased in quotes (HTML style). This will not be noted in the documentation because it's slower to parse and its use is discouraged.
MetaPhilter 1.25
May 13th, 2003
The
MPLinkTitle
tag now replace special HTML characters with their appropriate entities. This should stop broken attributes in RDF TrackBack auto-detection dumps.Safer HTML parsing of user submitted.
New option in configurator: Turn on/off auto-emailing of new users to your site. (User Settings page)
MetaPhilter 1.2
May 12th, 2003
The
MPCommentCount
tag can now detect if its container has specified asince
attribute and return a "recent comment count".Modified the "Recently added" sidebar in the common index template 'index.tmpl' to save screen space. Instead of listing the authors of each new comment, it now display the title of each updated thread with a "(X new)" comment count next to it.
The default anonymous user name has been changed to simply "Anonymous".
MetaPhilter 1.12
May 8th, 2003
Problems with usernames containing spaces is fixed.
MetaPhilter 1.11
May 7th, 2003
The
trunc
attribute has been added toMPLinks
andMPLinkComments
for limiting the number of iterations for each container, while still loading all the actual data.The
MPCommentCount
tag now returns the correct number when used outside the context ofMPLinks
.The index template 'index.php' has been updated to use the
trunc
attribute to display the number of recently posted comments next to each link footer.Comments are now sorted properly.
MetaPhilter 1.1
May 1st, 2003
There were a mess of problems in the TrackBack script that probably caused it to stop working around MePhi .4. Fixed.
TrackBack and XML-RPC pinging can now decode responses sent in "chunked" HTTP 1.1 format.
New attribute,
url_encode
, available for theMPUserData
andMPCategory
MetaPhilter 1.05
April 26th, 2003
The IP addresses of link and comment posters is now logged. When a link or comment is posted, the user's IP address is written to 'ip_log.php' in the MetaPhilter system directory. The IP log file limits itself to the fifty most recent posts.
You can now ban IP addresses from using your Philter. Add banned IP addresses to the text field located in the configurator script, Miscellaneous Settings.
MetaPhilter 1.0
April 24th, 2003
The common form template 'form_admin_profile.tmpl' had some poor templating that caused users to be "degrouped" when editing their profiles. Fixed. Please replace your former templates with the new one if upgrading.
The Super Admin can now change a user's password through the profile edit form.
Added
MPContentType
for sending a 'Content-Type' field in the header block on your returned pages. A setting for the default content type is available in the configurator, Miscellaneous Settings.The included index templates are now XHTML 1.1.
Empty query strings return no results when searching Philter content.
The
MPXmlDeclaration
no longer sends its own 'text/xml' content-type header to the client.
MetaPhilter .95
April 21st, 2003
New constant added for a Philter's locale setting. (Can be adjusted in the configurator, "Miscellaneous Settings")
Date formatting is now done via strftime to allow for different date/time languages.
Configuration date defaults changed to strftime tokens.
All default templates using the
format
attribute to format a date have been updated to use strftime tokens.
MetaPhilter .9
April 20th, 2003
The included RSS index is now in RSS 2.0
Unicode characters no longer mangled into garbage HTML entities when previewed or edited.
If the following tags are used outside the context of
MPUser
,MPLinks
, orMPLinkComments
, they apply to properties of the currently logged in user:Using these tags without nesting them in user, link, or comment, containers saves processing time when only information of the logged in user is needed.
The
MPUser
tag from the "Recent content" sidebar in the common template 'index.tmpl' has been removed to comply with the new "smart tag" design of user data tags.Introduces "Context Notation" format for writing tags that can apply their functioning context outside their written context.
MetaPhilter .8
April 15th, 2003
Broke the documentation into separate HTML files.
MPUserLinkCount
,MPUserCommentCount
,MPLinkCommentCount
have been deprecated;MPLinkCount
andMPCommentCount
have been added, and are now multi-purpose depending on their context.Added an explanation of the cookie settings of the configurator.
Added a "Revert all settings" option to the configurator to reset your configuration to its last build.
Added
strip_tags
attribute toMPLinkData
,MPLinkCommentData
, andMPUserData
for stripping any and all HTML tags from user submitted data.Many attempts made to make the system fully compatible with PHP 4.1. No promises, though.
MPPrevious
andMPNext
weren't testing if sibling links existed in their parent lists. Fixed.The
user
attribute ofMPLinks
andMPLinkComments
can now accept usernames as well as user ID's. In addition, you can select multiple users using 'OR' conditional syntax.MPLinks
andMPLinkComments
are now "smart tags" that determine what content is returned by their tag context. (Currently,MPUser
is the only supported special-case tag)
MetaPhilter .77
April 15th, 2003
Tag object's
ancestor()
method no longer usesarray_change_key_case()
. This should push requirements back to PHP 4.1 (though 4.3.0 is still preferred).
MetaPhilter .76
April 14th, 2003
The
<MPFormData select="content"/>
tag in 'form_comment.tmpl" has been changed to<MPFormData select="content" literal="yes"/>
to prevent lost entities when previewing comments.Some poorly formed XHTML in the configurator has been fixed. (Thanks, dano)
MetaPhilter .75
April 14th, 2003
Safer user permission handling with multiple Philters.
Better cross-Philter category control.
Added
philter
attribute toMPUserGroups
for listing user groups in different Philters.Added
philter
attribute toMPLinkCategories
for listing link categories of different Philters.If
MPGroup
is used outside the context ofMPUserGroups
, it returns the name of the default user group.If
MPUserGroups
is used within the context ofMPUser
, it lists user groups in the Philter of the current user.If
MPLinkCategories
is used within the context ofMPLinks
, it lists link categories in the Philter of the current link.Added
user
attribute toMPLinkComments
for listing comments posted by a specific user.Added
link
attribute toMPLinkComments
for listing comments posted in a specified thread. (Bypasses nesting inMPLinks
)Filtering attributes of
MPLinkComments
are now supported when used in the context ofMPLinks
.
MetaPhilter .7
April 12th, 2003
Inportant: The
MPRedirect
tag has been rewritten to require an absolute URL from your server path. AnyMPRedirect
tags should include theMPSitePath
tag if the forwarding document is not located in the base server URL. (e.g.<MPRedirect>index.php</MPRedirect>
becomes<MPRedirect><MPSitePath/>/index.php</MPRedirect>
)User permission handling reworked. Permissions are now in shared user groups rather than given individually.
User permissions have been renamed, several have been added, one has been removed. Consult the
MPIfUserPermission
documentation for information.The 'permissions' columns of the 'users' table in the Philter database has been renamed to 'group' and is now an integer value.
The Super Admin's submitted data is no longer filtered for legal HTML tags. A permission has also been added to prevent HTML filtering of other user groups.
Added
MPUserGroup
for returning the name of a user's permission group.Added
MPIfUserGroup
for including content if a user belongs to a certain permission group.Added
MPUserGroups
, a container tag for listing the user permission groups in a Philter.Added
MPGroup
for returning the name of a group within anMPUserGroups
container.Added
MPGroupID
for returning the numeric ID of a user permission group within anMPUserGroups
container.All user data related tags' context models have been expanded to include
MPLink
,MPLinkComments
,MPLinkPreview
, andMPLinkCommentPreview
.Added
MPUserPath
for generating a URL of a user's profile.Default templates 'link.php' and 'profile.php' have been updated to include the new
MPIfUserPermission
permission values 'change_group', 'edit_users', and 'edit_content' when including theMPEditButton
tag.Default common template 'form_link.tmpl' has been updated to include the new
MPIfUserPermission
permission value 'post_category' when including the category pull down menu.Default common template 'form_admin_profile.tmpl' has been updated to include a pull down menu of user permission groups. This menu only appears when viewed by a user in a permission group with the "change_group" permission granted.
Added
user
attribute to theMPUser
tag which accepts either the numeric ID of a user, or a username. Theid
attribute is still acceptable.
MetaPhilter .6
April 10th, 2003
New database structure introduced to allow user preferences and track user site usage.
Added
MPUserPreference
tag to return a preference of a user.Added
MPUserLastVisit
tag to return the time of the users last visit to a Philter.Added
since
andbefore
attributes toMPLinks
andMPLinkComments
to fetch content that has been added after or before a specified time.A sidebar has been added to the default common template 'index.tmpl' which lists recently posted links and comments since a user's last visit.
The sidebar in the default template 'index.php' has changed its id attribute to a class of value "sidebar". The changes have been reflected in the default stylesheet.
The common form template 'form_profile.tmpl' has been updated to include manipulation of the user's preferences.
Many link-related tags can now be used solely in the context of an
MPLinkComments
tag to return information of the comment's parent link thread. It was previously impossible to fetch link data with link-related tags outside the context ofMPLinks
.MPGlue
,MPNext
,MPIfNext
,MPPrevious
andMPIfPrevious
are now valid in the context ofMPLinkComments
.Added
MPLinkHeader
tag to include data if a comment in anMPLinkComments
container is posted in a different thread than the preceding comment.Added
MPLinkFooter
tag to include data if a comment in anMPLinkComments
container is posted in a different thread than the following comment.The Tag object's
ancestor()
method can now accept multiple class names as arguments and will find the closest ancestor from the given list.Some HTML clean-ups in the configuration script.
Added a Customization section to the documentation for those new to MePhi.
MetaPhilter .5
April 8th, 2003
Link categories are now organized numerically. Through the configuration script, you can adjust the category names of links that have already been posted.
MPCategory
can now be used outside the context ofMPLinkCategories
to return the name of the default link category.Added
id
attribute toMPCategory
for specifying a category name by the category's numeric ID.Added
MPCategoryID
tag for returning the ID of categories in anMPLinkCategories
container tag.The
category
attribute ofMPLinks
can now accept numerical values as well as strings to filter links posted in specific categories.Common templates 'form_link.tmpl' and 'form_admin_link.tmpl' have been updated to utilize
MPCategoryID
so as not to attempt inserting string data into the (now) numeric 'category' column of the database.PHP scripting elements inside templates are now supported. However...
Added
php
tag as a work-around for global PHP elements being parsed before templates are parsed.Added a
class
attribute of value "MPEditButton" to the <form>, <p> and <input> HTML elements of theMPEditButton
tag for altering their appearance using CSS.
MetaPhilter .42
April 6th, 2003
Method for inserting index titles changed. Should prevent user submitted data from printing the title of the current index.
Utilizing
MPRedirect
, the successful login, link and comment posting messages redirect the user to the appropriate site index. (Last version only changed the values if you were upgrading)
MetaPhilter .41
April 4th, 2003
Added
MPRedirect
tag for redirecting the client browser.Utilizing
MPRedirect
, the successful login, link and comment posting messages redirect the user to the appropriate site index. (These can easily be changed to static messages via the configuration script)Added quick "Rebuild Configuration" link to the Philter selection list of the configuration script.
MetaPhilter .4
April 3rd, 2003
Added support for multiple Philters in the same database.
Added support for running the MetaPhilter system scripts from a directory other than 'mp'. A new setting in the configuration has been added to specify the location of your MetaPhilter system path. (This allows for multiple Philters to run the same set of MePhi system scripts)
Added keys in the Philter database structure to speed up requests.
Reorganized the release package archive. The MetaPhilter scripts are no longer in a subdirectory of the default indexes.
Added
MPIfUserPhilter
tag for including content if a user's profile exists in a specified Philter.Added
philter
attribute toMPUser
,MPLinks
,MPLinkComments
,MPUserLinkCount
, andMPUserCommentCount
for selecting information from different Philter tables.Added
MPLinkPreview
tag to emulate a link from submitted data.Added
MPLinkCommentPreview
tag to emulate a comment from submitted data.Added two new default common templates: 'link_preview.tmpl' and 'comment_preview.tmpl'.
Added selection logic for
MPLinks
'scategory
attribute. (e.g. category="Turkies AND Widgets")Added
lastn
,sort_order
, andoffset
attributes toMPUser
for date-based selection of users in the database.A Philter's ID is now required in TrackBack ping URLs.
MPTracbackLink
as been adjusted accordingly.Quotes in strings sent via a TrackBack ping were preceded by backslashes. Fixed.
Added constants for the messages received on successfull and unsuccessfull user logins/logouts.
MPFormData
now supported in the context of anMPFormResults
tag.MPLinkNext
andMPLinkPrevious
renamed toMPNext
andMPPrevious
and are now supported in the context of anMPUser
tag.MPGlue
now supported in the context of anMPUser
tag.Added 'Multiple Philters' section to documentation.
MetaPhilter .36
March 30th, 2003
Adjusted template parsing to improve speed.
MetaPhilter .35
March 30th, 2003
All "call by reference" function calls eliminated. Tag methods now have references in their declaration.
"Magic quotes" used very sparingly to improve speed.
MetaPhilter .3
March 28th, 2003
Includes a template for RSS index generation of front page links.
Added
MPXmlDeclaration
for sending a 'text/xml' content-type header and including a "<?xml ?>" declaration.Added a constant for a Philter description.
Added
MPSiteDescription
tag.Timezone designator used to be inserted at any occurrence a 'T' character in date formatting strings, regardless of them being escaped with a backslash. Fixed.
Added
MPTimezone
tag for returning your Philter's timezone designator.Added
MPTimezoneOffset
tag for returning your Philter's timezone offset (in hours).Main MetaPhilter script used to buffer the contents of index templates when exiting. A call to
exit()
is now used instead.Added a constant used for generating the default title of posted links.
Added a constant for the success message received when posting links.
Added a constant for the success message received when posting comments.
Added
days
,months
, andskip
attributes to theMPLinks
tag.Added a constant for a default
days
attribute value ofMPLinks
tag.Extra links sometimes slipped into the list when listing by a number of days. Fixed for good.
Deprecated the constant for a default
lastn
of theMPLinks
tag.Deprecated
MPArchive
in favor of usingMPLinks
in conjunction with thedays
ormonths
and thelastn
attribute. (See documentation onMPLinks
)
MetaPhilter .2
March 26th, 2003
Support for sending and receiving Movable Type TrackBack pings.
Added a
textarea
field with name 'ping' to the default common template 'form_link.tmpl'.This field should contain TrackBack URLs to ping when posting new links.
Support for sending XML-RPC update pings.
Added "Path to individual link threads" in "Link Settings" of configuration for use in directing sent TrackBack pings to your links.
Added
MPTrackbackData
tag for support with TrackBack ping URL auto-detection.Added
MPTrackbackCount
tag for returning the number of pings sent to a posted link.Added
MPTrackbackLink
tag for generating the TrackBack ping URL of a posted link.Added
MPIfTrackbacks
tag for including content if a link has been pinged.Added
MPIfNoTrackbacks
tag for excluding content if a link has been pinged.Added
MPPings
tag for formatting a list of TrackBack pings sent to a link.Added
MPPingDate
tag for formatting the date a TrackBack ping was received.Added
MPPingData
tag for returning information of a TrackBack ping sent to a link.Attribute values of template tags can now be encased in double-quotes as well as single-quotes.
Deprecated use of '"'-encasing for emulating an attribute value of a template tag that is nested in another attribute.You should now use single-quotes for nesting attribute values encased in double-quotes, and vice-versa. (e.g.,
<MPLinks terms="<MPIndexQuery select="terms"/>"/>
becomes<MPLinks terms="<MPIndexQuery select='terms'/>"/>
)Supports newline characters in all values when using the configuration script.
Included 'pings.php' as an example index template for listing TrackBack pings sent to a link.
Removed the constant for default links offset. (default is now 0)
Removed the constant for default link thread search results. (default is to return all)
Removed the constant for default comments search results. (default is to return all)
Removed the constant for default users search results. (default is to return all)
Added
MPIfLinkTitle
tag for including content if a link has a title.Added
MPIfNoLinkTitle
tag for excluding content if a link has a title.Added
MPIfNoLinkURL
tag for excluding content if a link has a URL.Added
MPIndexQuery
tag for returning variables in the query string sent to an index.Renamed search result templates from 'type_search_format.tmpl' to 'type_search_results.tmpl'.
Search results are no longer pasted into the search result templates.
Instead, a container tag for the type of search is placed in the search result template and given a
terms
attribute with a value of "<MPIndexQuery select="terms"/>
".Content searches pass the search criteria for the search via the GET HTTP request method. (was POST)
Added
MPIfNone
tag for excluding content if aMPUser
,MPLinks
, orMPLinkComments
tag has any items.Added
MPIfAny
tag for including content if aMPUser
,MPLinks
, orMPLinkComments
tag has any items.Added
literal
attribute toMPUserData
,MPLinkData
,MPLinkCommentData
, andMPFormData
.When the value is "yes" the HTML entities in the returned user submitted data will have the leading '&' replaced with '&' (e.g. '<' becomes '&lt;'). This method makes it possible to edit the original data submitted when editing HTML in
textarea
elements.Added
always_parse
attribute toMPUser
,MPLinks
, andMPLinkComments
. When the value is "yes" the tag will always parse even if it contains no items.This should be used in conjunction with
MPIfNone
andMPIfAny
to prevent regular character data from being displayed.MPGlue
tag can be used inMPPings
.MPLinks
date filtering now compliant with the database's GMT timestamp.Existing HTML entities are prevented from being parsed through the
FilterHtml
function.Renamed default index for displaying link threads from 'comments.php' to 'link.php'.
Renamed default index for listing links by month from 'archived.php' to 'monthly.php'.
Added 'TrackBack' and 'Upgrade' sections to the documentation.
Fixed a bug in the configuration script that made it an impossibility to change a few variables.
MetaPhilter .1
March 22nd, 2003
Initial Release.