| Commit message (Collapse) | Author | Age |
|
|
|
| |
darcs-hash:20070819211829-7ad00-7f2dbd3d7ad6b4568b8f34209fbcffda6e110f4c.gz
|
|
|
|
| |
darcs-hash:20070804081605-7ad00-4b17b701a9cdfeca1a3fda4538b894b8adcd916f.gz
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
darcs-hash:20070627184603-d26fc-b557a7f1c2ed4be7d967a25e64ca71b68095e6d5.gz
|
|
|
|
|
|
|
| |
Now all test cases succeed, but there is probably still trouble with certain
conditions.
darcs-hash:20070626181735-7ad00-dd6e51e37cda7ca63077a2779afe1753ad975f84.gz
|
|
|
|
| |
darcs-hash:20070514225347-7ad00-ba191319ac6aa30cdc8d7abe10ddebbd761bfe37.gz
|
|
|
|
| |
darcs-hash:20070514222527-d5083-53ed619daf07d0a84c52161465d163abf1400529.gz
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
darcs-hash:20070326185533-7ad00-487a00e955386bdccd145928c7d69178327ded69.gz
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
darcs-hash:20070303225338-7ad00-41af966e3536facdcf139bf307479eeb08b10458.gz
|
|
|
|
|
|
|
| |
utf8_tohtml handles all codepoints, and the inverse
function, utf8_unhtml, is added.
darcs-hash:20070202070509-6942e-09ed9dc37f1469055a7c04d44044768e160d60e6.gz
|
|
|
|
| |
darcs-hash:20070128115556-7ad00-fb57f70eee08ae82e9b55a19edef3d6aee4f2345.gz
|
|
|
|
| |
darcs-hash:20070125143848-9b6ab-490215e5feef3a7f6ed268ee03a6cfe4ced1afbb.gz
|
|
|
|
| |
darcs-hash:20061104142639-9b6ab-af9413b6e751b13bb358fc3a8b307d9cd493e1fa.gz
|
|
|
|
| |
darcs-hash:20061008074029-7ad00-8457873dd8ad2f5a36dc8f44eca42a4378e61e93.gz
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
darcs-hash:20060908124315-9b6ab-7e4146e1068ab08d5539a7c573502d8373a0e524.gz
|
|
|
|
| |
darcs-hash:20060831092146-9b6ab-b00aa29c982ab18117f476b3d01d5111915c9d4b.gz
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
darcs-hash:20060827153254-9b6ab-3c76fde7cb5534ca12628e9aa6e6d59d9bb02f45.gz
|
|
|
|
| |
darcs-hash:20060826095311-9b6ab-9a6f272cc7c7532eb2bad8f7b4404c5a16b71109.gz
|
|
|
|
|
|
| |
- move parser.test.php
darcs-hash:20060809192115-9b6ab-973fea51fbfdcf5f44a2ac66000f2ccb5fdd43b4.gz
|
|
|
|
|
|
|
| |
+ fix missing utf8 deaccent character mapping
+ set utf-8 charset for HTMLReporter (unit tests)
darcs-hash:20060809160209-9b6ab-26c80a4830643b9790536f6d3a4adee0f451e4f0.gz
|
|
|
|
| |
darcs-hash:20060809155755-9b6ab-d48f2af0fa98b310223b96361cad43ba2317b582.gz
|
|
|
|
| |
darcs-hash:20060805082442-9b6ab-8447755da8c66c5cfc3ee0df0f8bb97375a2a1ff.gz
|
|
|
|
| |
darcs-hash:20060804142243-9b6ab-d208f7f1a67a9958fda05c519c8407ad5e733cea.gz
|
|
|
|
|
|
| |
(possibly due to more stringent checking in PHP5 ???)
darcs-hash:20060804000126-9b6ab-9ba08939e0d43648e3700df8837a5a35ded15924.gz
|
|
|
|
|
|
|
| |
This fixes a problem with escaped backslashes in single and double quote
strings.
darcs-hash:20060731223008-7ad00-ebae61a00115b7f32c12eb9355059a1ecf467cd3.gz
|
|
|
|
| |
darcs-hash:20060618134515-7ad00-3097e310ccdaf793b5da3bd49a54723fea7ec260.gz
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
darcs-hash:20060617125202-7ad00-bbcce419fca4bac38340bcb2dd148c37b13bd9cb.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
darcs-hash:20060606191953-7ad00-0e8098d5d8f4cf5379f3cce0e6899ac11c20a321.gz
|
|
|
|
| |
darcs-hash:20060527140157-7ad00-225a9ba66f658cc279cb44ebb04d483291d567d2.gz
|
|
|
|
|
|
|
| |
Also resolves a small p_close anomaly introduced when section edits were
given their own instruction.
darcs-hash:20060526170229-05dcb-9509e939b923fe966b901fe5d90ba499828a56c1.gz
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Now allows links like [[..:..:page]]
darcs-hash:20060414150358-7ad00-88394caabc6ee2ce7137694e2a0c0c98e7534ea5.gz
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
darcs-hash:20060307192928-7ad00-1ec5393d63d536992810fe8f611525d2af4834a2.gz
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
darcs-hash:20060225162230-7ad00-3694f6e8d8ae36a3814d2ce09bc400a33a0d89c5.gz
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
darcs-hash:20060124213123-7ad00-c562d502ad0da637f9cf4ebb65c91c5368c2c4b6.gz
|
|
|
|
| |
darcs-hash:20060122160518-7ad00-fe700b723300fd5f020120c8551eec98ad8f8b1a.gz
|
|
|
|
| |
darcs-hash:20060122124613-7ad00-41ed03a1d6668874a324db8bc98aee72ab90e277.gz
|
|
|
|
| |
darcs-hash:20051112113822-7ad00-507d694e91f85274266df71b7912690c65bc2b5e.gz
|