1
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-07-10 17:26:25 +02:00

Commit Graph

  • 9f2f6c3166 [3.1.0] Fix bug with addAttribute when called multiple times on the same element Edward Z. Yang 2008-03-26 04:31:04 +00:00
  • 48311b3b02 Update TODO with a few bugs that need to be squished. Edward Z. Yang 2008-03-26 04:11:38 +00:00
  • 880a5b9dae Remove incorrect script path. Edward Z. Yang 2008-03-24 19:38:56 +00:00
  • 043099549c Tick off a few TODO items. Edward Z. Yang 2008-03-23 02:55:00 +00:00
  • 0c051df108 Fix broken --only-phpt tests Edward Z. Yang 2008-03-23 02:51:50 +00:00
  • 7e59923029 Fix PHP 5.0 and other early version compatibility by removing use of __toString Edward Z. Yang 2008-03-23 02:50:42 +00:00
  • 6d517fab09 svn:eol-style=native for *.vtest Edward Z. Yang 2008-03-23 02:40:27 +00:00
  • 77302f845f [3.1.0] Implemented redundant validators and tests Edward Z. Yang 2008-03-23 02:35:47 +00:00
  • 82c9a737f4 [3.1.0] Implement more validators, add in missing DEFAULTs for many tests. Edward Z. Yang 2008-03-23 01:29:57 +00:00
  • aedfbd1e93 [3.1.0] Define *.vtest test hierarchy, and continue work on validator. Edward Z. Yang 2008-03-23 01:06:35 +00:00
  • 848795d4a0 [3.1.0] Add multi-parse capability for StringHash Edward Z. Yang 2008-03-23 00:02:37 +00:00
  • b8f00ace1a [3.1.0] - Add tests for the atoms. - Add Id validation for Directives Edward Z. Yang 2008-03-22 21:06:55 +00:00
  • 34ba0e408f [3.1.0] Initial validator implementation for namespaces. Edward Z. Yang 2008-03-22 20:26:04 +00:00
  • 56cfcba5d1 [3.1.0] Make StringHash system-agnostic. Edward Z. Yang 2008-03-22 19:30:37 +00:00
  • ec59062a9d [3.1.0] De-crudify the ConfigSchema space; we're starting over again - Optimize ConfigSchema by removing non-essential runtime data. We can probably optimize even more by collapsing object structures to arrays. - Removed validation data from ConfigSchema; this will be reimplemented on Interchange - Implement a sane Interchange composite hierarchy that doesn't use arrays - Implement StringHash -> Interchange -> ConfigSchema, and rewrite maintenance file to account for this Edward Z. Yang 2008-03-22 03:55:59 +00:00
  • 93babf0a88 [3.1.0] Fix bug with rgb() w/ spaces inside shorthand CSS properties Edward Z. Yang 2008-03-16 19:14:39 +00:00
  • 42d2858c9d [3.1.0] Experimental kses support. Edward Z. Yang 2008-03-13 05:35:57 +00:00
  • c0dd6944a3 Implement If validator. Edward Z. Yang 2008-03-05 06:04:08 +00:00
  • e83573a3ad Implement ParseDefault. Edward Z. Yang 2008-03-05 05:49:18 +00:00
  • b65942a2c5 Implement "Or" composite validator. Edward Z. Yang 2008-03-05 05:38:28 +00:00
  • e4ab6d584e Implement composite validator, and make Interchange use that. Edward Z. Yang 2008-03-05 05:20:28 +00:00
  • e21e9b23ad [3.1.0] float -> int Edward Z. Yang 2008-03-05 05:07:12 +00:00
  • 6cdcc8b8e1 Implement native VarParser. Edward Z. Yang 2008-03-05 05:03:01 +00:00
  • ff60e09780 Refactor VarParser and VarParser_Flexible to use template method, factoring out common functionality. Edward Z. Yang 2008-03-05 04:41:45 +00:00
  • bd64a8346d Reorganize VarParser; there may be multiple implementations. Edward Z. Yang 2008-03-05 03:51:09 +00:00
  • 7480e7b956 [3.1.0] Split out VarParser from ConfigSchema Edward Z. Yang 2008-03-04 15:06:00 +00:00
  • b9eb44bf03 Add ParseType validator. Edward Z. Yang 2008-03-04 14:33:38 +00:00
  • c0b5bc3eea [3.1.0] Implement NamespaceExists and ParseId Edward Z. Yang 2008-03-04 05:21:04 +00:00
  • 14437cbf47 - Rename Duplicate to Unique, as the name of validator indicates what we want the input to be - Enable flush to work when includes are renamed Edward Z. Yang 2008-03-04 04:20:55 +00:00
  • 4c798bd17e [3.1.0] Implement Duplicate validator, also modify some design things Edward Z. Yang 2008-03-04 04:13:07 +00:00
  • 1b434f0ecc Update index. Edward Z. Yang 2008-03-04 02:02:02 +00:00
  • fab5a9b3e1 Add Sander Tekelenburg's CSS extraction proposal. Edward Z. Yang 2008-03-04 01:58:33 +00:00
  • d8cb360f3b Refactor validators so that they can be reused between directives and namespaces. Edward Z. Yang 2008-03-02 04:39:14 +00:00
  • 18320d59a4 Fix some backwards compatibility issues in FSTools::globr. Edward Z. Yang 2008-03-02 04:07:17 +00:00
  • 0d9c05d13c [3.1.0] Create decorator validator/adapter for Interchange. - Output flush output Edward Z. Yang 2008-03-02 04:00:43 +00:00
  • d81bcbd208 Remove decorator pattern from validator; we'll only have one decorator which invokes the subsystem. Edward Z. Yang 2008-03-02 02:57:31 +00:00
  • fa6b6fe85f [3.1.0] Reconfigure tester to glob for test files using *Test.php pattern. Edward Z. Yang 2008-03-02 02:05:47 +00:00
  • 8bda0c4dfb [3.1.0] Refactor out validation framework for Interchange - Implement IdExists validator Edward Z. Yang 2008-03-02 01:55:14 +00:00
  • d682a59a68 Make magic quotes fix play more nicely with PHP 5.3, but it's now untested. Edward Z. Yang 2008-03-01 18:09:52 +00:00
  • 240b565513 [3.1.0] Implement ConfigSchema interchange - Implement exception hierarchy Edward Z. Yang 2008-03-01 17:06:23 +00:00
  • c521e3a534 Fix fatal error with empty migrate.php file Edward Z. Yang 2008-02-28 05:35:45 +00:00
  • d765628d24 Minor cosmetic changes. Edward Z. Yang 2008-02-26 01:45:03 +00:00
  • 2cc535ad84 [3.1.0] Support for display/visibility CSS with %CSS.AllowTricky Edward Z. Yang 2008-02-25 22:05:49 +00:00
  • 30eb982961 [3.1.0] Add support for !important, with %CSS.AllowImportant Edward Z. Yang 2008-02-25 21:58:17 +00:00
  • a2d044f58d Reorganize configdoc, but it's still broken. Edward Z. Yang 2008-02-25 21:21:12 +00:00
  • 002fe649f7 [3.1.0] Move ConfigSchema to HTMLPurifier core Edward Z. Yang 2008-02-24 06:19:28 +00:00
  • d3c04de9dc [3.1.0] Move schema files to schema/ directory, this is in preparation for mass-class rename Edward Z. Yang 2008-02-24 05:59:57 +00:00
  • e4ce3362a5 Some maintenance script cleanup - Create super-script flush.php - Rename old scripts with old- prefix. Edward Z. Yang 2008-02-24 05:06:39 +00:00
  • cb793cd9b9 - Restore substr_count compatibility method; it's not just PHP 4 - Update missing includes - Fix generate-standalone.php fatal error - Make LexerTest resilient against variant versions of libxml Edward Z. Yang 2008-02-20 01:28:19 +00:00
  • b5f1c76ee8 [3.1.0] Implement Proprietary HTML module with <marquee> Edward Z. Yang 2008-02-20 00:53:09 +00:00
  • f2863557f5 [3.1.0] Make static ConfigSchema methods throw errors. Edward Z. Yang 2008-02-20 00:37:08 +00:00
  • 6c9c8f2380 [3.1.0] [BACKPORT] Fix bug with comments in styles, and some associated issues - Restore printTokens() Edward Z. Yang 2008-02-20 00:15:44 +00:00
  • fbc595ebed Remove includes from unit tests. Edward Z. Yang 2008-02-18 04:41:42 +00:00
  • 6651941e3f Rename merge-library to generate-standalone. Edward Z. Yang 2008-02-18 04:02:12 +00:00
  • f5a77c523b Make PHPT globally configurable via test-settings.php Edward Z. Yang 2008-02-18 03:48:07 +00:00
  • ed2aa44bd2 - Make suite flush remote tests - Make CliTestCase report fails when XML cannot be parsed Edward Z. Yang 2008-02-18 03:35:27 +00:00
  • 21cf2c94d4 - Gracefully error out of obscure bug involving non-static autoloaders - Test multiple autoloaders - Remove local URL test; doesn't work for other people Edward Z. Yang 2008-02-18 02:33:50 +00:00
  • a4abc45505 All PHPT tests for now complete! Fix an SPL autoload bug. Edward Z. Yang 2008-02-18 01:11:17 +00:00
  • 969a027a5b Rename to spl-autoload to more descriptive spl-autoload-and-user-autoload Edward Z. Yang 2008-02-18 00:55:10 +00:00
  • e3fdda1f3c - Bulk up loading PHPT tests. - Fix documentation error with regards to standalone path behavior Edward Z. Yang 2008-02-18 00:49:45 +00:00
  • 40d3d5b961 [3.1.0] Fix broken autoloader, resulting in duplicate classes - Factor out phpt directory parsing - More phpt tests Edward Z. Yang 2008-02-17 23:59:23 +00:00
  • a3b6a15595 Expand flush capabilities of unit tester Edward Z. Yang 2008-02-17 18:28:35 +00:00
  • 4c24a51054 Numerous documentation and test code fixes for HTML Purifier loading - Improve documentation for stub files - Synchronize stub files between extras/ and library/ - Remove unnecessary include in function file - Remove special treatment of Bootstrap - Improve docs for HTMLPurifier, converted singleton to use static member variables and removed reference - Add HTMLPurifier.path.php stub file - Update sample test settings - Reorganize includes in test files Edward Z. Yang 2008-02-17 18:21:45 +00:00
  • f4c4354ae4 Make --disable-phpt and --only-phpt flags work with multitest.php Edward Z. Yang 2008-02-17 01:12:30 +00:00
  • 51da183f80 - Enable blank params to mean true for booleans again - Make reporter send val=1 anyway - Add htmlpurifier.org remote test Edward Z. Yang 2008-02-17 01:07:17 +00:00
  • 212958a9c7 - Make phpt files svn:eol-style=native - Add missing NEWS entry Edward Z. Yang 2008-02-17 00:19:27 +00:00
  • 9f851b2139 - Rewrite command line parsing code to support --opt val - Add $php settings variable Edward Z. Yang 2008-02-16 23:23:45 +00:00
  • 8c439aa62c [3.1.0] multitest.php now works again for all version, however, some hacks to PHPT are required - Bootstrap hotfix to prevent multiple loading in standalone. We need a better way of doing this! - Make extras/ autoloader polite too - Initialize autoloaders in common.php - Add trailing dash to "skip" in phpt - Upgrade SimpleTest.php not to allow directories Edward Z. Yang 2008-02-16 18:03:51 +00:00
  • 5c0a1d467a [3.1.0] [BACKPORT] Fix bug with trusted script handling for versions of libxml 2.6.28 or later Edward Z. Yang 2008-02-16 05:44:14 +00:00
  • 929d932234 [3.1.0] Implement a few phpt, fix some autoload bugs - Make our autoload handler polite, ensuring that any __autoload() functions get added - Modify phpt calling code so that each phpt files gets its own test-case (this lets us run one phpt file at a time) - Implement phpt for loading, which test varying loading methods of HTML Purifier - Add --disable-phpt and --only-phpt flags - More descriptive veto messages, also fix test count Edward Z. Yang 2008-02-16 05:40:59 +00:00
  • 3441421e8b [3.1.0] Land PHPT integration (currently required; we'll relax this later) - Port ConfigSchema and Config tests to new syntax - Deprecate Debugger - Add $schema params to most Config convenience functions - Add --php flag to testing scripts for command line - NOT TESTED WITH MULTITEST.PHP! Edward Z. Yang 2008-02-16 00:40:30 +00:00
  • e28d39e46b Organize TODO into sectors. Edward Z. Yang 2008-02-11 02:21:35 +00:00
  • bf6de96bd0 - More TODO items - Update comments Edward Z. Yang 2008-02-11 00:27:35 +00:00
  • 65d0e1fdfe [3.1.0] HTMLPURIFIER_PREFIX can be defined outside of HTML Purifier - Update TODO Edward Z. Yang 2008-02-11 00:15:04 +00:00
  • d228d66785 - Update TODO - Fix bug in merge-library.php Edward Z. Yang 2008-02-10 23:05:28 +00:00
  • e9c22df148 Remove unnecessary includes: includes now works. Edward Z. Yang 2008-02-10 22:51:33 +00:00
  • de6e024464 Regenerate HTMLPurifier.includes.php, and fix parse errors. Edward Z. Yang 2008-02-10 22:47:08 +00:00
  • 66229121bf Post-update changelog for hotfixes r1542 and r1543. Edward Z. Yang 2008-02-10 22:41:49 +00:00
  • 0eadf98ee2 Split out tokens to prevent autoload barfing. Edward Z. Yang 2008-02-10 22:38:53 +00:00
  • 6eb193a316 Prefix needs to be one-up. Edward Z. Yang 2008-02-10 22:30:32 +00:00
  • 8165adb6c8 Move constant to Bootstrap to prevent autoload problems. Edward Z. Yang 2008-02-10 22:29:01 +00:00
  • 37b24b6732 [3.1.0] Further cleanup, making standalone work again - Remove includes call in HTMLPurifier.auto.php - Relax ConfigSchema treatment in generate-includes.php - Clean up some empty comments (there are probably more) - De-indent some extends - class_exists() should now attempt to use autoload - schema.ser is now a standalone file - tests/index.php can be run from any directory Edward Z. Yang 2008-02-10 21:34:52 +00:00
  • 35f8b3c801 Transition is complete! Cleanup and class rearrangement now necessary. Edward Z. Yang 2008-02-10 20:34:39 +00:00
  • c7e115c81c Add /null identifiers to schema definitions Edward Z. Yang 2008-02-10 19:47:09 +00:00
  • 4c502b25f2 Exported configuration values! Edward Z. Yang 2008-02-10 02:44:44 +00:00
  • 3d56c1253b Add version extraction functionality Edward Z. Yang 2008-02-10 01:33:40 +00:00
  • d00cb1e64d Add API for version extraction. Edward Z. Yang 2008-02-10 00:49:31 +00:00
  • b6c9dcefd7 Implement schema extraction script; almost done except for version extraction. Also, some minor refinements. Edward Z. Yang 2008-02-07 19:29:08 +00:00
  • 14ef0b75e5 Make StringHash compatible for all versions of PHP 5. Edward Z. Yang 2008-02-07 18:02:18 +00:00
  • 3ba42106ba Implement ReverseAdapter. Also, debug some order of execution things in the Adapter. Edward Z. Yang 2008-02-07 17:41:40 +00:00
  • dea117032f Complete Adapter implementation, also unit-test keys with dashes in them in parser. Edward Z. Yang 2008-02-05 21:04:00 +00:00
  • b8a46821f3 Add README for the extras/ folder. Edward Z. Yang 2008-02-05 02:26:46 +00:00
  • 2135597553 - Implement StringHash wrapper ArrayObject - Implement namespace parsing for StringHashAdapter, as well as rudimentary error-checking Edward Z. Yang 2008-02-05 01:54:20 +00:00
  • d238b1a9ed Temporary modification to auto until we get pure autoload working. Edward Z. Yang 2008-02-04 21:57:55 +00:00
  • c5e1e1711d Update HTMLPurifier.includes.php as per r1526. Edward Z. Yang 2008-01-27 21:25:01 +00:00
  • f2e42d1d3e Make bootstrap a require_once... for now. Edward Z. Yang 2008-01-27 21:21:18 +00:00
  • a74a590f1c [3.1.0] Remove multi-description functionality as well as file detection. Edward Z. Yang 2008-01-27 20:21:31 +00:00
  • 3baf1774b2 [3.1.0] Initial commit of adapter functionality; not complete. Edward Z. Yang 2008-01-27 19:59:12 +00:00
  • 41e3c091e1 [3.1.0] Give ConfigSchema non-static function equivalents - Add todo to StringHashParser Edward Z. Yang 2008-01-27 19:41:40 +00:00
  • 5a6021599a [3.1.0] Add StringHashParser. Edward Z. Yang 2008-01-27 18:50:36 +00:00