0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-01-23 05:41:53 +00:00

Commit Graph

  • b8f00ace1a [3.1.0] - Add tests for the atoms. - Add Id validation for Directives Edward Z. Yang 2008-03-22 21:06:55 +0000
  • 34ba0e408f [3.1.0] Initial validator implementation for namespaces. Edward Z. Yang 2008-03-22 20:26:04 +0000
  • 56cfcba5d1 [3.1.0] Make StringHash system-agnostic. Edward Z. Yang 2008-03-22 19:30:37 +0000
  • 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 +0000
  • 93babf0a88 [3.1.0] Fix bug with rgb() w/ spaces inside shorthand CSS properties Edward Z. Yang 2008-03-16 19:14:39 +0000
  • 42d2858c9d [3.1.0] Experimental kses support. Edward Z. Yang 2008-03-13 05:35:57 +0000
  • c0dd6944a3 Implement If validator. Edward Z. Yang 2008-03-05 06:04:08 +0000
  • e83573a3ad Implement ParseDefault. Edward Z. Yang 2008-03-05 05:49:18 +0000
  • b65942a2c5 Implement "Or" composite validator. Edward Z. Yang 2008-03-05 05:38:28 +0000
  • e4ab6d584e Implement composite validator, and make Interchange use that. Edward Z. Yang 2008-03-05 05:20:28 +0000
  • e21e9b23ad [3.1.0] float -> int Edward Z. Yang 2008-03-05 05:07:12 +0000
  • 6cdcc8b8e1 Implement native VarParser. Edward Z. Yang 2008-03-05 05:03:01 +0000
  • ff60e09780 Refactor VarParser and VarParser_Flexible to use template method, factoring out common functionality. Edward Z. Yang 2008-03-05 04:41:45 +0000
  • bd64a8346d Reorganize VarParser; there may be multiple implementations. Edward Z. Yang 2008-03-05 03:51:09 +0000
  • 7480e7b956 [3.1.0] Split out VarParser from ConfigSchema Edward Z. Yang 2008-03-04 15:06:00 +0000
  • b9eb44bf03 Add ParseType validator. Edward Z. Yang 2008-03-04 14:33:38 +0000
  • c0b5bc3eea [3.1.0] Implement NamespaceExists and ParseId Edward Z. Yang 2008-03-04 05:21:04 +0000
  • 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 +0000
  • 4c798bd17e [3.1.0] Implement Duplicate validator, also modify some design things Edward Z. Yang 2008-03-04 04:13:07 +0000
  • 1b434f0ecc Update index. Edward Z. Yang 2008-03-04 02:02:02 +0000
  • fab5a9b3e1 Add Sander Tekelenburg's CSS extraction proposal. Edward Z. Yang 2008-03-04 01:58:33 +0000
  • d8cb360f3b Refactor validators so that they can be reused between directives and namespaces. Edward Z. Yang 2008-03-02 04:39:14 +0000
  • 18320d59a4 Fix some backwards compatibility issues in FSTools::globr. Edward Z. Yang 2008-03-02 04:07:17 +0000
  • 0d9c05d13c [3.1.0] Create decorator validator/adapter for Interchange. - Output flush output Edward Z. Yang 2008-03-02 04:00:43 +0000
  • 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 +0000
  • fa6b6fe85f [3.1.0] Reconfigure tester to glob for test files using *Test.php pattern. Edward Z. Yang 2008-03-02 02:05:47 +0000
  • 8bda0c4dfb [3.1.0] Refactor out validation framework for Interchange - Implement IdExists validator Edward Z. Yang 2008-03-02 01:55:14 +0000
  • 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 +0000
  • 240b565513 [3.1.0] Implement ConfigSchema interchange - Implement exception hierarchy Edward Z. Yang 2008-03-01 17:06:23 +0000
  • c521e3a534 Fix fatal error with empty migrate.php file Edward Z. Yang 2008-02-28 05:35:45 +0000
  • d765628d24 Minor cosmetic changes. Edward Z. Yang 2008-02-26 01:45:03 +0000
  • 2cc535ad84 [3.1.0] Support for display/visibility CSS with %CSS.AllowTricky Edward Z. Yang 2008-02-25 22:05:49 +0000
  • 30eb982961 [3.1.0] Add support for !important, with %CSS.AllowImportant Edward Z. Yang 2008-02-25 21:58:17 +0000
  • a2d044f58d Reorganize configdoc, but it's still broken. Edward Z. Yang 2008-02-25 21:21:12 +0000
  • 002fe649f7 [3.1.0] Move ConfigSchema to HTMLPurifier core Edward Z. Yang 2008-02-24 06:19:28 +0000
  • 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 +0000
  • 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 +0000
  • 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 +0000
  • b5f1c76ee8 [3.1.0] Implement Proprietary HTML module with <marquee> Edward Z. Yang 2008-02-20 00:53:09 +0000
  • f2863557f5 [3.1.0] Make static ConfigSchema methods throw errors. Edward Z. Yang 2008-02-20 00:37:08 +0000
  • 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 +0000
  • fbc595ebed Remove includes from unit tests. Edward Z. Yang 2008-02-18 04:41:42 +0000
  • 6651941e3f Rename merge-library to generate-standalone. Edward Z. Yang 2008-02-18 04:02:12 +0000
  • f5a77c523b Make PHPT globally configurable via test-settings.php Edward Z. Yang 2008-02-18 03:48:07 +0000
  • ed2aa44bd2 - Make suite flush remote tests - Make CliTestCase report fails when XML cannot be parsed Edward Z. Yang 2008-02-18 03:35:27 +0000
  • 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 +0000
  • a4abc45505 All PHPT tests for now complete! Fix an SPL autoload bug. Edward Z. Yang 2008-02-18 01:11:17 +0000
  • 969a027a5b Rename to spl-autoload to more descriptive spl-autoload-and-user-autoload Edward Z. Yang 2008-02-18 00:55:10 +0000
  • e3fdda1f3c - Bulk up loading PHPT tests. - Fix documentation error with regards to standalone path behavior Edward Z. Yang 2008-02-18 00:49:45 +0000
  • 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 +0000
  • a3b6a15595 Expand flush capabilities of unit tester Edward Z. Yang 2008-02-17 18:28:35 +0000
  • 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 +0000
  • f4c4354ae4 Make --disable-phpt and --only-phpt flags work with multitest.php Edward Z. Yang 2008-02-17 01:12:30 +0000
  • 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 +0000
  • 212958a9c7 - Make phpt files svn:eol-style=native - Add missing NEWS entry Edward Z. Yang 2008-02-17 00:19:27 +0000
  • 9f851b2139 - Rewrite command line parsing code to support --opt val - Add $php settings variable Edward Z. Yang 2008-02-16 23:23:45 +0000
  • 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 +0000
  • 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 +0000
  • 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 +0000
  • 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 +0000
  • e28d39e46b Organize TODO into sectors. Edward Z. Yang 2008-02-11 02:21:35 +0000
  • bf6de96bd0 - More TODO items - Update comments Edward Z. Yang 2008-02-11 00:27:35 +0000
  • 65d0e1fdfe [3.1.0] HTMLPURIFIER_PREFIX can be defined outside of HTML Purifier - Update TODO Edward Z. Yang 2008-02-11 00:15:04 +0000
  • d228d66785 - Update TODO - Fix bug in merge-library.php Edward Z. Yang 2008-02-10 23:05:28 +0000
  • e9c22df148 Remove unnecessary includes: includes now works. Edward Z. Yang 2008-02-10 22:51:33 +0000
  • de6e024464 Regenerate HTMLPurifier.includes.php, and fix parse errors. Edward Z. Yang 2008-02-10 22:47:08 +0000
  • 66229121bf Post-update changelog for hotfixes r1542 and r1543. Edward Z. Yang 2008-02-10 22:41:49 +0000
  • 0eadf98ee2 Split out tokens to prevent autoload barfing. Edward Z. Yang 2008-02-10 22:38:53 +0000
  • 6eb193a316 Prefix needs to be one-up. Edward Z. Yang 2008-02-10 22:30:32 +0000
  • 8165adb6c8 Move constant to Bootstrap to prevent autoload problems. Edward Z. Yang 2008-02-10 22:29:01 +0000
  • 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 +0000
  • 35f8b3c801 Transition is complete! Cleanup and class rearrangement now necessary. Edward Z. Yang 2008-02-10 20:34:39 +0000
  • c7e115c81c Add /null identifiers to schema definitions Edward Z. Yang 2008-02-10 19:47:09 +0000
  • 4c502b25f2 Exported configuration values! Edward Z. Yang 2008-02-10 02:44:44 +0000
  • 3d56c1253b Add version extraction functionality Edward Z. Yang 2008-02-10 01:33:40 +0000
  • d00cb1e64d Add API for version extraction. Edward Z. Yang 2008-02-10 00:49:31 +0000
  • b6c9dcefd7 Implement schema extraction script; almost done except for version extraction. Also, some minor refinements. Edward Z. Yang 2008-02-07 19:29:08 +0000
  • 14ef0b75e5 Make StringHash compatible for all versions of PHP 5. Edward Z. Yang 2008-02-07 18:02:18 +0000
  • 3ba42106ba Implement ReverseAdapter. Also, debug some order of execution things in the Adapter. Edward Z. Yang 2008-02-07 17:41:40 +0000
  • dea117032f Complete Adapter implementation, also unit-test keys with dashes in them in parser. Edward Z. Yang 2008-02-05 21:04:00 +0000
  • b8a46821f3 Add README for the extras/ folder. Edward Z. Yang 2008-02-05 02:26:46 +0000
  • 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 +0000
  • d238b1a9ed Temporary modification to auto until we get pure autoload working. Edward Z. Yang 2008-02-04 21:57:55 +0000
  • c5e1e1711d Update HTMLPurifier.includes.php as per r1526. Edward Z. Yang 2008-01-27 21:25:01 +0000
  • f2e42d1d3e Make bootstrap a require_once... for now. Edward Z. Yang 2008-01-27 21:21:18 +0000
  • a74a590f1c [3.1.0] Remove multi-description functionality as well as file detection. Edward Z. Yang 2008-01-27 20:21:31 +0000
  • 3baf1774b2 [3.1.0] Initial commit of adapter functionality; not complete. Edward Z. Yang 2008-01-27 19:59:12 +0000
  • 41e3c091e1 [3.1.0] Give ConfigSchema non-static function equivalents - Add todo to StringHashParser Edward Z. Yang 2008-01-27 19:41:40 +0000
  • 5a6021599a [3.1.0] Add StringHashParser. Edward Z. Yang 2008-01-27 18:50:36 +0000
  • 40d7a296b5 Make directory recursive. Edward Z. Yang 2008-01-27 17:59:21 +0000
  • fd81fbac82 Add complete handle support. Edward Z. Yang 2008-01-27 05:53:13 +0000
  • 2598b26778 Initial commit for extra class hierarchies FSTools and ConfigSchema. Edward Z. Yang 2008-01-27 05:31:06 +0000
  • 4fe6661c64 Update INSTALL file with new setup. Edward Z. Yang 2008-01-27 02:08:42 +0000
  • 522c8ed7c2 [3.1.0] The bulk of autoload support added - Add FSTools:globr() - require_once removed from all files - HTMLPurifier.autoload.php added to register autoload handler - Removed redundant chdir in maintenance script - Modified standalone to use HTMLPurifier.includes.php for including stuff - Added maintenance script remove-require-once.php which we used once and should never use again Edward Z. Yang 2008-01-27 01:54:41 +0000
  • 81a4cf6a14 [3.1.0] Preparation for autoload - Factor out getPath from autoload implementation to its own function - Ensure extends is on the same line as class for all files Edward Z. Yang 2008-01-27 00:06:10 +0000
  • 25551c4b78 Support dry runs in SimpleTest, as well as misc other improvements. Edward Z. Yang 2008-01-21 20:27:26 +0000
  • c9bf2e8489 Add support for dry runs. Edward Z. Yang 2008-01-21 19:27:55 +0000
  • 07ca96a132 Make test_files not fatally error if CSSTidy is not available. Edward Z. Yang 2008-01-21 19:02:40 +0000
  • 43a5ef3cc6 Add support for autoload. We're not, however, using it by default. Edward Z. Yang 2008-01-21 18:43:59 +0000
  • ff72b2d012 Minor typo/grammar fixes. Edward Z. Yang 2008-01-20 04:17:32 +0000