| Commit message (Collapse) | Author | Age |
... | |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
this splits the long auth_cryptPassword() function into many member
functions of a new class PassHash which should make it more
maintainable and reusable for other projects.
This also adds two new methods djangomd5 and djangosha1 as used by the
popular python framework Django.
Maybe the auth_cryptPassword() and auth_verifyPassword() functions
should be deprecated in favor of using the class directly?
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This function abstracts checking a given user and her groups against a
given member list (as used in the superuser and manager options).
It is also used in auth_isManager() and auth_isAdmin(), unlike the
previous function, this one skips the nameencode step as it should be
unnessary here (all input is given decoded).
The test cases where extended by some non-ID user and group names.
People with non-plain auth backends should check that their
administrator and manager setups still work as expected
|
|
|
|
|
|
| |
As of VIM 7.3 it is no longer possible to specify the encoding in the
modeline. This gives an error message whenever such a file is opened,
thus this commit removes the enc setting from the modeline.
|
|
|
|
| |
SafeFN encoding now always end the encoding block by appending a dot at the end of the file name. This is necessary since the file name may get an extension which is not encoded.
|
| |
|
| |
|
| |
|
|
|
|
| |
Neither I nor Andi has any idea what this file is for and why it explicitly //grants// permission and why its documentation is wrong.
|
| |
|
| |
|
|
|
|
| |
includes unit tests. Extensions welcome.
|
|
|
|
|
|
|
|
| |
Since the specs aren't 100% clear, dates might be passed in different
formats by various XMLRPC clients. This patch makes date parsing a bit
more flexible.
Unit tests included.
|
| |
|
|
|
|
|
|
| |
Each searches on the wiki use this function. Scanning the index directory eachtime is time consuming with a constant series of disk access.
Switching a normal search to use file_exists 1 or more times, and not readdir all the directory.
Switching a wildcard search to use a lengths.idx file containing all the word lengths used in the wiki, file generated if a new configuration parameter $conf[readdircache] is not 0 and fixed to a time in second. Creation of a new function idx_listIndexLengths to do this part.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
$_SERVER['PATH_INFO'] is used now to determine the page id when using
internal rewriting, in all testcases I've seen so far this variable
was set correctly. There are also a couple of fallbacks if the variable
doesn't exist, $_SERVER['SCRIPT_NAME'] is now preferred instead of
custom path extraction which fails when doku.php is outside the document
root.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Ignore-this: c5a934d8bce1c2b5953632bedd0c4f64
darcs-hash:20091201205426-f07c6-e21cbc5f84a8702f074069eae3cab1aa4bdb50ea.gz
|
|
|
|
|
|
| |
Ignore-this: 49e3a74cd437da3f65d66e1bf56b8ec
darcs-hash:20091201192449-7ad00-d0327043c4eee729003f101f53b836f4564539a0.gz
|
|
|
|
|
|
| |
Ignore-this: d14f492efbb4ef316895ef402308176e
darcs-hash:20091201191622-7ad00-19deabc9820a59b447e891b7576c19641d554487.gz
|
|
|
|
|
|
| |
Ignore-this: ffb20375a09483502d61241d76877a8d
darcs-hash:20091105213452-533a7-f09aca121cf24a8b6ad2d3448d058a846cb52182.gz
|
|
|
|
| |
darcs-hash:20091103161002-9a5f4-2114938a7e62a924b9fe424b63584a4747286563.gz
|
|
|
|
|
|
|
|
| |
The Doku_Form constructor used to take up to four arguments setting specific
parameters of the resulting form HTML element. Instead, a generic array is
passed to the constructor specifying HTML parameters.
darcs-hash:20091022120138-e4919-3a42baf8c12b15e6df20e1f28152a992e347859d.gz
|
|
|
|
|
|
|
| |
Ignore-this: 5621e4ff0eb5b759a2176a417bf6779e
includes updated unit tests
darcs-hash:20091004101720-f07c6-5700a40065a496b38ba83c73d4ebcb86388aaabc.gz
|
|
|
|
|
|
| |
Ignore-this: 2757dc089bd6c8465e5b0a4c1311cf85
darcs-hash:20090515184406-7ad00-cd124f30cd1c1b5b744e942e2279ff52cad6eb30.gz
|
|
|
|
|
|
| |
Ignore-this: d38dd22b55ddb7ac94d28fa048130672
darcs-hash:20090514155859-074e0-c9a5eecc8295c1de748b67ec517798d88bf4119e.gz
|
|
|
|
| |
darcs-hash:20090419160351-f07c6-2f439fb7f291331e93c64324878aef0c94d09810.gz
|
|
|
|
|
|
| |
non-captured elements (e.g. boundaries, lookaheads & lookbehinds)
darcs-hash:20090419134450-f07c6-4ff7d226fcba002c840828336e73fb89cf48e3db.gz
|
|
|
|
| |
darcs-hash:20090308163855-f07c6-8d8253e36fe2dff481043bd087355793eaf7bc2d.gz
|
|
|
|
|
|
| |
confutils.php into parser test setup
darcs-hash:20090308161937-f07c6-754e74ffafdfbb7df93cc61a36c43c966f1c531e.gz
|
|
|
|
| |
darcs-hash:20090308041259-f07c6-dcba687b160e30b2dbcfa02d4526c0a3adb4e324.gz
|
|
|
|
|
|
| |
Ignore-this: 7059284786889a3ead12f5a4b3873bdf
darcs-hash:20090205170449-7ad00-63f9459819a355abc7a154e07b487d8431097614.gz
|
|
|
|
|
|
| |
Ignore-this: 75cdd558fc40a114961d2fca76e0bcdd
darcs-hash:20090203191311-7ad00-bd6b96193f188afb5f26b6ca781dd5ea9eb8f0ef.gz
|