0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-01-21 13:01:53 +00:00

Commit Graph

  • a9012f4387 Guard merge-library against non-cli execution. Edward Z. Yang 2007-08-02 12:51:52 +0000
  • 82f8561123 Factor out cli execution guard to common.php Edward Z. Yang 2007-08-02 12:45:15 +0000
  • 0b743fb2db Update maintenance files with cgi-fcgi compiled PHP executable workaround. Edward Z. Yang 2007-08-02 12:40:54 +0000
  • 08e32597df Fix flush-definition-cache to clear everything, and make it accept a parameter specifying which cache to flush. Also, set svn:executable to CLI scripts. Edward Z. Yang 2007-08-02 12:24:50 +0000
  • 2b82fbacad Minor re-prioritization of TODO. Edward Z. Yang 2007-08-02 01:53:46 +0000
  • 710820cbe9 [2.1.0] Repair minor PHP4 regression due to undefined configuration directive Edward Z. Yang 2007-08-02 01:48:43 +0000
  • 22ef52a7f6 [2.1.0] Migrate host blacklist functionality to URIFilter. Edward Z. Yang 2007-08-02 01:41:37 +0000
  • 4919187fc6 [2.1.0] Further refactoring of AttrDef_URI, creation of new URIFilter and URIDefinition subsystems. Edward Z. Yang 2007-08-02 01:12:27 +0000
  • 797b899305 [2.1.0] Create new URI object and migrate URI validation systems to use it. URIScheme interface changed. Edward Z. Yang 2007-08-01 18:34:46 +0000
  • 8c9dbe142d [2.1.0] Refactor AttrDef_URI: removed URIParser functionality - Genericized flush-definition-cache script Edward Z. Yang 2007-08-01 14:55:09 +0000
  • 2a002857ce [2.1.0] All unit tests inherit from HTMLPurifier_Harness, not UnitTestCase. prepareCommon() refactored to global test-case. Edward Z. Yang 2007-08-01 14:06:59 +0000
  • 9d98b45dea Fix typo in news file. Edward Z. Yang 2007-08-01 13:16:49 +0000
  • b0f3116b9e [2.1.0] URI scheme is munged off if there is no authority and the scheme is the default one Edward Z. Yang 2007-08-01 13:15:33 +0000
  • b03a44abff Remove expectations from assertOutput in URITest. Edward Z. Yang 2007-08-01 02:19:43 +0000
  • cf257cabde [2.1.0] - AttrDef_URI unit tests refactored - Block access to benchmarks: they should be called via command line Edward Z. Yang 2007-08-01 01:48:51 +0000
  • ab950a1909 [2.1.0] Fix fairly major bug introduced when logic was reorganized. Edward Z. Yang 2007-07-31 02:39:49 +0000
  • a12ea4bb3b [2.1.0] Fix bug in mkdir_deep that would prevent absolute paths in Unix systems from being created properly Edward Z. Yang 2007-07-31 02:04:32 +0000
  • f80de908bd [2.1.0] Optimize ConfigSchema to only perform safety checks when HTMLPURIFIER_SCHEMA_STRICT is true - Remove useless ->revision check in Config.php - Add simple trace file to benchmarks folder Edward Z. Yang 2007-07-31 01:04:38 +0000
  • 349c4de75b [2.1.0] Standalone file now can be generated using maintenance/merge-library.php. Also: - HTMLPURIFIER_PREFIX constant added, and relevant files transitioned over - Custom ChildDef added to default include list - Tester accepts ?standalone parameter Edward Z. Yang 2007-07-30 16:56:50 +0000
  • 89622c964e [2.1.0] Genericize element contents removal. This is done in a slightly hacky way since ElementDef is not available, but should be sufficient. Edward Z. Yang 2007-07-11 20:42:58 +0000
  • 732fe5cad7 [2.1.0] Two tiny bugfixes: - Remove contents of <style> tags - Use XHTMLStrict Tidy routines for XHTML 1.1 Edward Z. Yang 2007-07-11 20:06:15 +0000
  • e7e81c0a5b [2.1.0] Fix some minor DirectLex bugs that may lead to PHP errors Edward Z. Yang 2007-07-05 21:29:07 +0000
  • 626b2a13c8 Typographical and linkrot fixes for UTF-8 doc. Edward Z. Yang 2007-07-05 16:50:48 +0000
  • 35487c02ae Update test settings template. Edward Z. Yang 2007-06-30 16:13:10 +0000
  • 4bc1761b12 Update test settings file with more options. Edward Z. Yang 2007-06-30 05:02:27 +0000
  • 63f5414f2e [Phorum] Refactor settings.php into different files. Edward Z. Yang 2007-06-29 20:34:19 +0000
  • 88d014706b [Phorum] Double-reverse control.php's double-escaping - Implement signature migration Edward Z. Yang 2007-06-29 20:00:38 +0000
  • f6de73d7e7 [Phorum] Deal more gracefully with signatures and edit messages. More improvements. Edward Z. Yang 2007-06-29 18:25:13 +0000
  • 733868a76d [2.1.0] Fix another AutoParagraph edge-case. Edward Z. Yang 2007-06-29 17:48:56 +0000
  • fab6a212c8 Turn off WYSIWYG. Edward Z. Yang 2007-06-29 17:03:55 +0000
  • ea1362ce5c [Phorum] Minor enhancements: add cache purge support and give a friendly HTML is on message above editor. Edward Z. Yang 2007-06-29 15:43:23 +0000
  • cff498ef67 [2.1.0] Refine autoparagraphing algorithm. Edward Z. Yang 2007-06-29 03:57:14 +0000
  • 1765a7537a [Phorum] Fix cross-platform mutilation of cache data, remove excess newlines. Edward Z. Yang 2007-06-29 03:41:21 +0000
  • d7157d0ccd Tweak to make more conducive to our new textareas. Edward Z. Yang 2007-06-29 02:17:17 +0000
  • ed44b5c5ba [2.1.0] ConfigForm generates textareas instead of text inputs for lists, hashes, lookups, text and itext fields Edward Z. Yang 2007-06-29 02:16:47 +0000
  • 5e5c0f3aa4 [2.1.0] . Introduce new text/itext configuration directive values: these represent longer strings that would be more appropriately edited with a textarea . Allow newlines to act as separators for lists, hashes, lookups and %HTML.Allowed Edward Z. Yang 2007-06-29 01:54:48 +0000
  • b2ed0aff01 [Phorum] Final polishing: Have default config auto-detect character encoding; add WYSIWYG hook; update error message to be more friendly Edward Z. Yang 2007-06-29 00:48:55 +0000
  • 148681d1b0 Tidy up Phorum extension. Add svn:ignore, add img to the default list of allowed tags (for smileys), improve naming convention, move loading code out of main namespace, and add reset. Probably the last thing to do before this is feature complete is to have a WYSIWYG flag that turns on escaping for edit posts. Edward Z. Yang 2007-06-29 00:28:07 +0000
  • 2e7e411491 [2.1.0] Fix bug in auto-paragraphing: empty tags should be treated like start tags too. Edward Z. Yang 2007-06-29 00:24:59 +0000
  • 02051e465c [2.1.0] Phorum mod implemented for HTML Purifier. Some other code adjustments were made, they need to be cleaned up. Edward Z. Yang 2007-06-28 23:01:27 +0000
  • a96b5bf612 [2.1.0] Friendly error messages for when injector needs a tag that's not allowed added Edward Z. Yang 2007-06-28 13:06:15 +0000
  • 9dd7c8c7dd Add reference document on CSS lengths. Edward Z. Yang 2007-06-27 23:49:50 +0000
  • 0c59db1da3 Bring Null's flush() interface inline with parent. Edward Z. Yang 2007-06-27 21:03:07 +0000
  • 584a1abd15 [2.1.0] Standardize interface for Injector (we actually got it wrong in the 2.0.1-strict version, but this'll fix it) Edward Z. Yang 2007-06-27 19:01:09 +0000
  • a6ede3804e [2.1.0] True emoticon < fix. Edward Z. Yang 2007-06-27 16:40:18 +0000
  • 4476745003 Add new entries for 2.1.0 and 2.0.2 Edward Z. Yang 2007-06-27 15:16:27 +0000
  • 495164e938 Release 2.0.1, merged in 1181 to HEAD. v2.0.1-strict Edward Z. Yang 2007-06-27 14:30:45 +0000
  • 45748500ec Release 2.0.1. v2.0.1 Edward Z. Yang 2007-06-27 14:10:43 +0000
  • e99520ab96 Remove trailing ?> in PHP library files, add trailing newlines to all other files. Edward Z. Yang 2007-06-27 13:58:32 +0000
  • 1e2abb7f8f Fix little PHP 4.4.0 bug involving return by reference. Edward Z. Yang 2007-06-27 13:29:01 +0000
  • 362c802191 Since we're passing a temporary variable by reference, it needs to be committed back onto to the main array. To be honest, I'm not terribly happy with this behavior, but it doesn't seem to break anything. Edward Z. Yang 2007-06-27 13:20:02 +0000
  • 3a1d505b3d [2.0.1] Implement haphazard error collection for AttrValidator. - Error collector / Language can take arrays and listify them - AttrValidator takes token by reference - Formatted errors now have their severity <strong> - 100 test-cases! W00t! Edward Z. Yang 2007-06-27 02:03:15 +0000
  • a005da8a4c [2.0.1] Add error messages for FixNesting Edward Z. Yang 2007-06-26 23:43:28 +0000
  • 9a66394abb Add warning on how error reporting is incomplete to "No Errors" message. Edward Z. Yang 2007-06-26 19:54:33 +0000
  • 62c0575468 [2.0.1] Fix minor regression where ins/del broadcasted most restrictive set when they should have been more lenient. Edward Z. Yang 2007-06-26 19:38:26 +0000
  • 6a95d91a1a [2.0.1] Revamp error collector scheme: we now have custom mocks and an exchange of responsibilities - Fix oversight in AutoParagraph dealing with armor. - Order errors with no line number last - Language object now needs $config and $context objects to do parameterized objects - Auto-close notice added - Token constructors accept line numbers Edward Z. Yang 2007-06-26 19:33:37 +0000
  • 275932ec05 [2.0.1] Fix DirectLex's incomprehension of un-armored script contents as CDATA using custom preg_replace_callback Edward Z. Yang 2007-06-26 16:08:42 +0000
  • ae90bb919d Remove unnecessary $this parameters from mock instantiation; SimpleTest doesn't use it! Edward Z. Yang 2007-06-26 15:40:04 +0000
  • 3c734b4c72 [2.0.1] Implement error messages for MakeWellFormed. Armor AutoParagraph generated p start tags from these tag closing errors. Fix another auto-paragraphing edge-case. Create common Strategy error harness. Edward Z. Yang 2007-06-26 15:07:07 +0000
  • 3d02a2a7d4 Remove magic quotes test: it fails in systems that have magic quotes disabled. Edward Z. Yang 2007-06-26 03:34:29 +0000
  • 0bfa42f9b7 Downgrade comment removal error to E_NOTICE. Edward Z. Yang 2007-06-26 03:22:07 +0000
  • 7a8edc88f9 [2.0.1] Implement error collection for RemoveForeignElements. - Register Generator context variable. - Implement special substitutions for error collector. - Also sort by order the errors came in. - Fix line number determination bug in Lexer::create(). - Remove vestigial variables. - Force all tag transforms to use copy(), implement serialize, unserialize algorithm for copy() in tokens. Edward Z. Yang 2007-06-26 02:49:21 +0000
  • 98b4e70a93 [2.0.1] Rewire line numbering so that if it's null it's autodetected based on error collection. also, update TODO. Edward Z. Yang 2007-06-25 23:22:35 +0000
  • 6f5592ae60 [2.0.1] Normalize newlines to \n for internal processing. Edward Z. Yang 2007-06-25 19:18:55 +0000
  • 9f996b125a [2.0.1] - Printer adheres to configuration's directives on output format - Fix improperly named form field in ConfigForm printer . HTMLPurifier_Config::getAllowedDirectivesForForm implemented, allows much easier selective embedding of configuration values . Doctype objects now accept public and system DTD identifiers . %HTML.Doctype is now constrained by specific values, to specify a custom doctype use new %HTML.CustomDoctype . ConfigForm truncates long directives to keep the form small, and does not re-output namespaces Edward Z. Yang 2007-06-25 18:38:39 +0000
  • 96b571d236 [2.0.1] Fix unescaped print_r that handles user input Edward Z. Yang 2007-06-25 15:20:45 +0000
  • 0e9904a9ba Factor out DirectLex error testing to its own class. Edward Z. Yang 2007-06-25 01:56:00 +0000
  • e66a98c396 [2.0.1] Convert test language messages to use new format. Edward Z. Yang 2007-06-25 01:11:56 +0000
  • 728088f2ba [2.0.1] Rather than pass line number by parameter, have it be retrieved via Context. Add $ignore_error boolean to get(). Edward Z. Yang 2007-06-25 01:08:57 +0000
  • 8ae2604440 [2.0.1] Start making more moves towards full error reporting. Revise message naming conventions. Fix variable assignment for error collecting. Revise Language interface to be as readable as possible (NOT compact). Add error reporting to DirectLex. Rewrite ErrorCollector. Edward Z. Yang 2007-06-25 00:48:26 +0000
  • 7b087c7bbe [2.0.1] Add severity to error collector Edward Z. Yang 2007-06-24 23:20:35 +0000
  • 58064592ff [2.0.1] - Stray xmlns attributes removed from configuration documentation . Interlinking in configuration documentation added using Injector_PurifierLinkify . Directives now keep track of aliases to themselves Edward Z. Yang 2007-06-24 22:22:00 +0000
  • b19fc32a5a Genericize Injector loading code, create new AutoFormatParam namespace, move out unit tests. Edward Z. Yang 2007-06-24 21:35:34 +0000
  • b15cbbb42a [2.0.1] Officially add experimental auto-paragraphing and linkification functionality. Rename %Core.DefinitionCache to %Cache.DefinitionImpl. Have AutoParagraph handle even more edge cases. Fix MakeWellFormed bug. Edward Z. Yang 2007-06-24 20:29:50 +0000
  • 5f0663cad7 Refactor MakeWellFormed/Injector for performance and as little code duplication as possible. Also, make AutoParagraph smarter about root nodes that don't like p tags. Edward Z. Yang 2007-06-24 17:44:27 +0000
  • 75e52a12a6 Make context errors more friendly; factor out disabled; fix broken test cases; update TODO. Edward Z. Yang 2007-06-24 04:22:28 +0000
  • 269268b843 Fix possible infinite loop by incrementing everybody's offsets. Add printTokens debugger function. Refine Linkify parent node checks (also check excludes, although technically later steps will catch it!) Edward Z. Yang 2007-06-24 03:34:33 +0000
  • 62c6d93b6d Add more unit tests; everything seems to be good, but I'm suspicious. Edward Z. Yang 2007-06-24 02:59:06 +0000
  • 31704c92f6 Implement working linkification, now, the real challenge is to get it to play nice with auto-paragraphing. Edward Z. Yang 2007-06-24 02:45:38 +0000
  • 291fa4cb29 Convert to numerically indexed array. Edward Z. Yang 2007-06-24 02:27:57 +0000
  • 389fcc9a5d Convert injector to use arrays. Edward Z. Yang 2007-06-24 02:17:34 +0000
  • e5191b3ada [2.0.1] Scrap auto_close in favor of ChildDef->elements heuristic. Edward Z. Yang 2007-06-23 20:52:57 +0000
  • 5d0a992579 Refactor Injector not to edit $result directly. Edward Z. Yang 2007-06-23 19:39:03 +0000
  • ae83bebc98 Convert handleStart to the new format. Edward Z. Yang 2007-06-23 18:58:51 +0000
  • 9191877740 Factor out auto-paragraph to injector class. Edward Z. Yang 2007-06-23 18:50:41 +0000
  • 3066ca357a Further refactoring in preparation for logic change. Edward Z. Yang 2007-06-23 17:44:28 +0000
  • 53fd096641 Refactor auto-paragraph code in preparation for fundamental logic change. Edward Z. Yang 2007-06-23 17:11:05 +0000
  • 2166246b7e Fix quick bug: it's 2 dashes, not 3. Edward Z. Yang 2007-06-23 14:48:08 +0000
  • 49bb6ec35d [2.0.1] DefinitionCache no longer throws errors when it encounters old serial files that do not conform to the current style Edward Z. Yang 2007-06-23 14:45:13 +0000
  • 401612dc3a [2.0.1] Improve directory permissions checks. UNTESTED!!! Edward Z. Yang 2007-06-23 14:38:16 +0000
  • dc0fb7d2b4 [2.0.1] DefinitionCache related bug-fixes - Fixed bug where manually modified definitions were not saved via cache (mostly harmless, except for the fact that it would be a little slower) - Configuration objects with different serials do not clobber each others when revision numbers are unequal . DefinitionCache keys reordered to reflect precedence: version number, hash, then revision number Edward Z. Yang 2007-06-23 14:05:09 +0000
  • eee45fed37 [2.0.1] Add preliminary auto-paragraph implementation. It needs to be aggressively refactored and generalized. Edward Z. Yang 2007-06-22 21:32:56 +0000
  • 03657ad51a Update NEWS. Edward Z. Yang 2007-06-22 00:09:20 +0000
  • dda4038446 [2.0.1] Reorder definition cache includes - Update some comments, rename some variables Edward Z. Yang 2007-06-21 23:56:19 +0000
  • 996ccdbdda [1.7.0] Update HTMLDefinition printer with some of the new attributes. Edward Z. Yang 2007-06-21 16:02:06 +0000
  • 008348db21 Update TODO. Edward Z. Yang 2007-06-21 15:28:50 +0000
  • b10a380ff4 [2.0.1] Rewire test-cases to swallow errors, not expect them Edward Z. Yang 2007-06-21 15:15:02 +0000
  • bf0d659c47 [2.0.1] Improve special case handling for <script> - DirectLex now honors comments with greater than or less than signs in them - Comments are transformed into script elements, ending comments are scrapped - Buggy generator code rewritten to be more error-proof - AttrValidator checks if token has attributes before processing - Remove invalid documentation from Scripting - "Commenting" of script elements switched to the more advanced version Edward Z. Yang 2007-06-21 14:44:26 +0000
  • e55551ecdd Remove SVN checkout warnings from these two docs: they are no longer applicable. Edward Z. Yang 2007-06-21 02:14:47 +0000
  • 42858ad594 Finish up with a few more files that didn't get updated. Hrmm.. v2.0.0-strict Edward Z. Yang 2007-06-21 00:53:09 +0000