0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-12-22 08:21:52 +00:00

- Update TODO

- Fix bug in merge-library.php

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1547 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
Edward Z. Yang 2008-02-10 23:05:28 +00:00
parent e9c22df148
commit d228d66785
3 changed files with 17 additions and 2 deletions

12
TODO
View File

@ -14,9 +14,19 @@ afraid to cast your vote for the next feature to be implemented!
IMPORTANT
- Get everything into configuration objects (filters, I'm looking at you)
- Factor demo.php into a set of Printer classes, and then create a stub
file for users here
file for users here (inside the actual HTML Purifier library)
- Test HTMLPurifier.auto.php, HTMLPurifier.includes.php, and combinations
of the two.
- Document new ConfigSchema setup and format; dev-includes.txt is a base
but we need it in HTML
- Document new methods of including the library
- We should do a release candidate, because of the major changes
- Move utility classes for ConfigSchema into HTML Purifier itself: they're
that important
- Factor generate-schema-cache.php into a class, so that the maintenance script
is as small as possible
- Document which scripts need to be called when a change is made
- Semi-automated smoketests using PHPT style files
3.1 release [Error'ed]
# Error logging for filtering/cleanup procedures

View File

@ -131,7 +131,8 @@ create_blank('HTMLPurifier.php');
echo 'Creating full file...';
$contents = replace_includes(file_get_contents('HTMLPurifier.includes.php'));
$contents = str_replace(
"define('HTMLPURIFIER_PREFIX', dirname(__FILE__));",
// Note that bootstrap is now inside the standalone file
"define('HTMLPURIFIER_PREFIX', realpath(dirname(__FILE__) . '/..'));",
"define('HTMLPURIFIER_PREFIX', dirname(__FILE__) . '/standalone');
set_include_path(HTMLPURIFIER_PREFIX . PATH_SEPARATOR . get_include_path());",
$contents

View File

@ -43,7 +43,11 @@ $aliases = array(
);
htmlpurifier_parse_args($AC, $aliases);
// Calls generate-includes.php automatically
shell_exec("php ../maintenance/merge-library.php");
// Not strictly necessary, but its a good idea
shell_exec("php ../maintenance/generate-schema-cache.php");
shell_exec('php ../maintenance/flush-definition-cache.php');
$test = new TestSuite('HTML Purifier Multiple Versions Test');