ported over the HTML Checker from the original Venice source, somewhat improved
in design
This commit is contained in:
@@ -81,6 +81,10 @@
|
||||
<database connection="data" namespaces="nscache" userproxy="users"/>
|
||||
</object>
|
||||
|
||||
<object name="htmlchecker" classname="com.silverwrist.dynamo.htmlcheck.HTMLCheckerManager" priority="5">
|
||||
<database connection="data" namespaces="nscache"/>
|
||||
</object>
|
||||
|
||||
<!-- Presentation and interface objects -->
|
||||
<object name="remapper" classname="com.silverwrist.dynamo.servlet.RemapperData" priority="0">
|
||||
<remap path="/verifyemail">
|
||||
|
||||
@@ -211,6 +211,30 @@ CREATE TABLE imagetype (
|
||||
name VARCHAR(255) BINARY NOT NULL # image type name
|
||||
);
|
||||
|
||||
# Table giving the names of all defined HTML checker profiles.
|
||||
CREATE TABLE htmlprofiles (
|
||||
profid INT NOT NULL PRIMARY KEY AUTO_INCREMENT, # profile identifier
|
||||
nsid INT NOT NULL, # profile namespace ID
|
||||
name VARCHAR(255) BINARY NOT NULL, # profile name
|
||||
UNIQUE INDEX by_name (nsid, name)
|
||||
);
|
||||
|
||||
# Properties that make up each HTML checker profile.
|
||||
CREATE TABLE htmlprops (
|
||||
profid INT NOT NULL, # profile identifier
|
||||
nsid INT NOT NULL, # property namespace ID
|
||||
prop_name VARCHAR(255) BINARY NOT NULL, # property name
|
||||
prop_value VARCHAR(255), # property value
|
||||
PRIMARY KEY (profid, nsid, prop_name)
|
||||
);
|
||||
|
||||
# Table that indicates which HTML tag sets are permitted in which profiles.
|
||||
CREATE TABLE htmltagsets (
|
||||
profid INT NOT NULL, # profile identifier
|
||||
tagset VARCHAR(64) NOT NULL, # tag set name
|
||||
PRIMARY KEY (profid, tagset)
|
||||
);
|
||||
|
||||
#### following this line are Venice-specific tables ####
|
||||
|
||||
# The table which defines menus.
|
||||
|
||||
Reference in New Issue
Block a user