summaryrefslogtreecommitdiff
path: root/_test
Commit message (Collapse)AuthorAge
* quote fix in auth_nameencodeAndreas Gohr2007-08-19
| | | | darcs-hash:20070819211829-7ad00-7f2dbd3d7ad6b4568b8f34209fbcffda6e110f4c.gz
* test case adjustments for recent spacing fix in formsAndreas Gohr2007-08-04
| | | | darcs-hash:20070804081605-7ad00-4b17b701a9cdfeca1a3fda4538b894b8adcd916f.gz
* New structured forms and action eventsTom N Harris2007-07-30
| | | | | | | | | | | | Replaces a number of *FORM_INJECTION events with a more flexible way of modifying forms. Forms are created with a Doku_Form class (inc/form.php) that can be manipulated by plugins prior to output. Plugins register a HTML_{$name}FORM_OUTPUT event which can modify the form object prior to output. Available forms are: LOGIN DRAFT CONFLICT REGISTER UPDATEPROFILE EDIT RESENDPWD Documentation for the Doku_Form class is in inc/form.php. darcs-hash:20070730215007-6942e-a0cf08197f939e224a2b28c40aec5431b118ea94.gz
* update email address validation to support 'museum' & 'travel' tldsChris Smith2007-06-27
| | | | darcs-hash:20070627184603-d26fc-b557a7f1c2ed4be7d967a25e64ca71b68095e6d5.gz
* some more tweaks to the smart quote parserAndreas Gohr2007-06-26
| | | | | | | Now all test cases succeed, but there is probably still trouble with certain conditions. darcs-hash:20070626181735-7ad00-dd6e51e37cda7ca63077a2779afe1753ad975f84.gz
* test fixes for FS#744 changesAndreas Gohr2007-05-15
| | | | darcs-hash:20070514225347-7ad00-ba191319ac6aa30cdc8d7abe10ddebbd761bfe37.gz
* FS#744 (template developers, heed the changes)Anika Henke2007-05-15
| | | | darcs-hash:20070514222527-d5083-53ed619daf07d0a84c52161465d163abf1400529.gz
* distinction between apostrophes and single quotes FS#1127Andreas Gohr2007-05-13
| | | | | | | | | | This patch adds another parser mode for apostrophes. Now single quote closing markers are handled different from apostrophes for better local typograpy support. Needs testing and languages updates. darcs-hash:20070513084024-7ad00-d20fe093a093c265d357b178e199c1596b484996.gz
* some test cleanupsAndreas Gohr2007-03-26
| | | | darcs-hash:20070326185533-7ad00-487a00e955386bdccd145928c7d69178327ded69.gz
* js_compress updatesAndreas Gohr2007-03-08
| | | | | | | This ports the fixes from the original python code to DokuWiki's js_compress functions. The unit tests now pass. darcs-hash:20070308223644-7ad00-56ea99689a62e9752f4814b5dc7ada02eae59089.gz
* added JsStrip unit test filesAndreas Gohr2007-03-05
| | | | | | | | | | | | | This patch adds unit test files from the new release of JsStrip [1]. Some of the tests currently fail pointing to bugs which are fixed in the new JsStrip release. The fixes need to be ported to DokuWiki's js_compress function. This patch also adds a way to output additional info when a test fails. It misuses SimpleTest's signalling which is probably a bad idea but works for now. http://code.google.com/p/jsstrip/ darcs-hash:20070305223025-7ad00-583a70a1ddc374eb61193f9315af99baeedea0be.gz
* unit test for auth_aclcheckAndreas Gohr2007-03-03
| | | | darcs-hash:20070303225338-7ad00-41af966e3536facdcf139bf307479eeb08b10458.gz
* Encode/Decode numeric HTML entities correctly.Tom N Harris2007-02-02
| | | | | | | utf8_tohtml handles all codepoints, and the inverse function, utf8_unhtml, is added. darcs-hash:20070202070509-6942e-09ed9dc37f1469055a7c04d44044768e160d60e6.gz
* fixed test cases for recent renderer to handler function movesAndreas Gohr2007-01-28
| | | | darcs-hash:20070128115556-7ad00-fb57f70eee08ae82e9b55a19edef3d6aee4f2345.gz
* additional unit tests for email addresseschris2007-01-25
| | | | darcs-hash:20070125143848-9b6ab-490215e5feef3a7f6ed268ee03a6cfe4ced1afbb.gz
* fix xhtml_links test casechris2006-11-04
| | | | darcs-hash:20061104142639-9b6ab-af9413b6e751b13bb358fc3a8b307d9cd493e1fa.gz
* fixed images in email linksAndreas Gohr2006-10-08
| | | | darcs-hash:20061008074029-7ad00-8457873dd8ad2f5a36dc8f44eca42a4378e61e93.gz
* unit_test fixes/changeschris2006-09-27
| | | | | | | | - auth_nameencode.test, add teardown code to clear new $cache_authname memory cache - utf8_substr.test, correct expected result for last test darcs-hash:20060927101118-9b6ab-a72ea443ba67e17946af34d67c274975d563a22f.gz
* clientIP() update + additional unit testchris2006-09-08
| | | | darcs-hash:20060908124315-9b6ab-7e4146e1068ab08d5539a7c573502d8373a0e524.gz
* add unittests for bug#891chris2006-08-31
| | | | darcs-hash:20060831092146-9b6ab-b00aa29c982ab18117f476b3d01d5111915c9d4b.gz
* update cleanID and wikiFN result caches to support unit testingchris2006-08-27
| | | | | | | - move caches into global scope (they were static in function scope) - add teardown() method to clean_id unit test - to clear its cache darcs-hash:20060827183327-9b6ab-cf9beb2ca6c47142dfaad3117d7c86748a54312c.gz
* utf8_correctIdx bounds checking and more unittestschris2006-08-27
| | | | darcs-hash:20060827153254-9b6ab-3c76fde7cb5534ca12628e9aa6e6d59d9bb02f45.gz
* ft_snippet() update, fix utf8 problemschris2006-08-26
| | | | darcs-hash:20060826095311-9b6ab-9a6f272cc7c7532eb2bad8f7b4404c5a16b71109.gz
* more unit test fixeschris2006-08-09
| | | | | | - move parser.test.php darcs-hash:20060809192115-9b6ab-973fea51fbfdcf5f44a2ac66000f2ccb5fdd43b4.gz
* cleanID unit testschris2006-08-09
| | | | | | | + fix missing utf8 deaccent character mapping + set utf-8 charset for HTMLReporter (unit tests) darcs-hash:20060809160209-9b6ab-26c80a4830643b9790536f6d3a4adee0f451e4f0.gz
* update footnote unittestschris2006-08-09
| | | | darcs-hash:20060809155755-9b6ab-d48f2af0fa98b310223b96361cad43ba2317b582.gz
* more unittest updateschris2006-08-05
| | | | darcs-hash:20060805082442-9b6ab-8447755da8c66c5cfc3ee0df0f8bb97375a2a1ff.gz
* unittest fixeschris2006-08-04
| | | | darcs-hash:20060804142243-9b6ab-d208f7f1a67a9958fda05c519c8407ad5e733cea.gz
* fix for E_NOTICE in _test/lib/testmanager.phpchris2006-08-04
| | | | | | (possibly due to more stringent checking in PHP5 ???) darcs-hash:20060804000126-9b6ab-9ba08939e0d43648e3700df8837a5a35ded15924.gz
* fix in JS compressorAndreas Gohr2006-08-01
| | | | | | | This fixes a problem with escaped backslashes in single and double quote strings. darcs-hash:20060731223008-7ad00-ebae61a00115b7f32c12eb9355059a1ecf467cd3.gz
* fixed stupid bug in search query parserAndreas Gohr2006-06-18
| | | | darcs-hash:20060618134515-7ad00-3097e310ccdaf793b5da3bd49a54723fea7ec260.gz
* fixing edit section bugsBen Coburn2006-06-18
| | | | | | | | | | - Final edit section now ignored when there is only one header. - The configuration property 'maxseclevel' is now honored again. - Instructions are not created by the handler for edit sections that have a level higher than 'maxseclevel'. These ignored edit sections are merged into the previous edit section. darcs-hash:20060617223723-05dcb-a1282e827468de00977179c8c8924fb00ec2d56c.gz
* testcase for utf8_substrAndreas Gohr2006-06-17
| | | | darcs-hash:20060617125202-7ad00-bbcce419fca4bac38340bcb2dd148c37b13bd9cb.gz
* better onload handlingAndreas Gohr2006-06-16
| | | | | | | | | | | | | | | | | | | | | | | | This patch improves the way the window.oninit JavaScript function is called. This function is used to initialiaze all JavaScript funcions attached to the DOM so it needs to be executed **after** the full DOM was parsed by the browser. Unfortunately currently only Mozilla supports a DOMContentLoaded event. In all other browsers we had to wait for the window.onload event which will only be called after **all** content (including images) was loaded - this caused a visible delay on all JavaScript generated content (like the toolbar) in non-Mozilla browsers. Dean Edwards now presented a solution [1] which will work for all the bigger Browsers and is used in this patch. The following browsers now should fire the init event right after parsing the DOM: All Mozilla based browsers Internet Explorer Safari Opera > darcs-hash:20060616104539-7ad00-db70d31fcb21cb812cf4982fe80a7d649e2daa1c.gz
* namespace linking first partAndreas Gohr2006-06-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds namespace linking - formerly known as globalstart patch. It differs somewhat from the original patch. It is not implemented in getID() but in resolve_pageid(). It is now possible to link to a "default" file of a namespace ending the linkid with a colon: [[foo:bar:]] To which page the link links is dependent on the xistance of certain named files. For the above mentioned link [[foo:bar:]] the following pages are checked: foo:bar:start foo:bar:bar foo:bar The pages are checked in the order above whatever page is found first will be linked to. If no page is found foo:bar:start will be chosen. BTW: 'start' is the value configured in $conf['start'] Note: autoplural linking is not done for those links This is just the first patch. Several other locations of the code need to be adjusted to reflect this change and some testing needs to be done (first test cases are supplied within the patch bundle) Things that maybe need adjustment: - tpl_youarehere (hierarchical breadcrumbs) - tpl_button back - maybe others (search?) Patches would be welcome. The best aproach to fix things that don't work is probably making calls to resolve_pageid() instead of simple cleanID() calls. darcs-hash:20060611184453-7ad00-ba70b0fcf2cb64d4d4f0ce6bd6e437595cd947d3.gz
* user the MAILHEADER_EOL in quoted printable encodingAndreas Gohr2006-06-06
| | | | darcs-hash:20060606191953-7ad00-0e8098d5d8f4cf5379f3cce0e6899ac11c20a321.gz
* small improvements on JS compressor (maybe fixes #807)Andreas Gohr2006-05-27
| | | | darcs-hash:20060527140157-7ad00-225a9ba66f658cc279cb44ebb04d483291d567d2.gz
* update header test cases 20060526Ben Coburn2006-05-26
| | | | | | | Also resolves a small p_close anomaly introduced when section edits were given their own instruction. darcs-hash:20060526170229-05dcb-9509e939b923fe966b901fe5d90ba499828a56c1.gz
* metadata hnalding updates, header fixesAndreas Gohr2006-05-07
| | | | | | | | This removes the meta instruction again in favour of the new meta renderer. Most tests work now again, a few tweaks were done on the header handler to render certain headers as it did in earlier versions. darcs-hash:20060507153113-7ad00-bd299fbe1762482c72d109f9bca776f12bcea7c8.gz
* relative upper linksAndreas Gohr2006-04-14
| | | | | | Now allows links like [[..:..:page]] darcs-hash:20060414150358-7ad00-88394caabc6ee2ce7137694e2a0c0c98e7534ea5.gz
* enhanced clientIP() functionAndreas Gohr2006-03-11
| | | | | | | | The function now can optinally return a single IP address and tries to be clever about which one to choose if multiple were supplied through X-Forwarded-For headers darcs-hash:20060311185752-7ad00-085bbed7eeffcff0be8f45417d73c13b733c4332.gz
* fix for quoted printable encodingAndreas Gohr2006-03-09
| | | | | | | | This patch replaces the old mail_quotedprintable_encode function with a better one which makes sure to never split an encoded character. This also makes sure mail headers aren't wrapped when quoting is needed. darcs-hash:20060309182459-7ad00-0c442b5422e9727fc70d206f8e1bcd6281536573.gz
* use nameencoding on superuser check in inc/auth.phpAndreas Gohr2006-03-07
| | | | darcs-hash:20060307192928-7ad00-1ec5393d63d536992810fe8f611525d2af4834a2.gz
* Allow non-ID names in ACLsAndreas Gohr2006-03-02
| | | | | | | | | Some auth backends allow special chars like whitespaces in user and group names. This made problems with the existing ACL checks and ACL manager. This patch makes the ACL system work with these cases by (url)encoding all special chars below 128. darcs-hash:20060302101850-6e07b-14bda9dbdb3528904325419b35bb9eddb0d1dde3.gz
* removed obsolete toc unit testAndreas Gohr2006-02-25
| | | | darcs-hash:20060225162230-7ad00-3694f6e8d8ae36a3814d2ce09bc400a33a0d89c5.gz
* fixes for utf-8 to/from unicode conversionAndreas Gohr2006-02-21
| | | | | | | | The functions utf8_to unicode and unicode_to_utf8 didn't work correctly with some 3 and 4 byte strings. This exchanges those functions against two more sophisticated ones. It also adds unit testing for them. darcs-hash:20060221212605-7ad00-7bfefe8c9615d5a7f3b33c279ce79d4200d4778c.gz
* more unit tests fixed - down to 8 failsAndreas Gohr2006-01-24
| | | | darcs-hash:20060124213123-7ad00-c562d502ad0da637f9cf4ebb65c91c5368c2c4b6.gz
* unittest fixes (28 still failing)Andreas Gohr2006-01-22
| | | | darcs-hash:20060122160518-7ad00-fe700b723300fd5f020120c8551eec98ad8f8b1a.gz
* CSS compressor fixAndreas Gohr2006-01-22
| | | | darcs-hash:20060122124613-7ad00-41ed03a1d6668874a324db8bc98aee72ab90e277.gz
* fix for comment stripping in CSS compressionAndreas Gohr2005-11-12
| | | | darcs-hash:20051112113822-7ad00-507d694e91f85274266df71b7912690c65bc2b5e.gz