Intermediate commit:

* Improved tag framework 
 * Added support for image tags
 * Moved most code of StoryMgr.evalNewStory to Story.evalStory to decrease redundancy
 * Added compatibility module (including drafts for database conversions)
 * Moved code for topics to compatibility module
 * Removed obsolete code
This commit is contained in:
Tobi Schäfer 2007-08-03 19:41:51 +00:00
parent d5c59cf2ec
commit 09b39b2af3
48 changed files with 872 additions and 494 deletions

View file

@ -22,30 +22,6 @@
// $URL$
//
//
// The Antville Project
// http://code.google.com/p/antville
//
// Copyright 2001-2007 by The Antville People
//
// Licensed under the Apache License, Version 2.0 (the ``License'');
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an ``AS IS'' BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// $Revision$
// $LastChangedBy$
// $LastChangedDate$
// $URL$
//
/**
* constructor function for site objects
* @param String Title

View file

@ -1,4 +1,4 @@
<?xml version="1.0"?>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

View file

@ -43,14 +43,12 @@ trusted = SITE_ISTRUSTED
createtime = SITE_CREATETIME
modifytime = SITE_MODIFYTIME
topics = mountpoint(TopicMgr)
members = mountpoint(MemberMgr)
images = mountpoint(ImageMgr)
layouts = mountpoint(LayoutMgr)
files = mountpoint(FileMgr)
stories = mountpoint(StoryMgr)
polls = mountpoint(PollMgr)
tags = mountpoint(Tags)
preferences = mountpoint(Metadata)
preferences_data = SITE_PREFERENCES
@ -106,3 +104,10 @@ tags = collection(Tag)
tags.accessname = tag.name
tags.local = site_id
tags.foreign = site_id
tags.filter = type = 'Story'
slideshows = collection(Tag)
slideshows.accessname = tag.name
slideshows.local = site_id
slideshows.foreign = site_id
slideshows.filter = type = 'Image'