| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
| |
Changes:
* XML-RPC now correctly allows leading and trailing _
* Error messages from XML-RPC are correct
* MEDIA_UPLOAD_FINISH has a sixth param specifying the move function
* Not having upload rights when using media_upload throws a msg
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Functionality changes:
* deleteAttachment now triggers MEDIA_DELETE_FILE (closes FS#1568)
* deletion success msg in mediamanager is correct, even when the ns dir
was deleted
* media_delete changed quite a bit
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
As discussed on the mailing list [1] this patch replaces the
COMMON_PAGE_FROMTEMPLATE with a more flexible event to better intercept page
template use.
Plugin authors need to change their plugins. Details on the event are
available at [2]
[1] http://www.freelists.org/post/dokuwiki/COMMON-PAGE-FROMTEMPLATE-event
[2] http://www.dokuwiki.org/devel:event:common_pagetpl_load
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch allows to use the placeholders in the search intro message that
will be replaced with the search term.
@SEARCH@ will be replaced with the search query
@QUERY@ will be replaced with the URL encoded search query for use in URL
parameters
Please note that the replacement is don't on the XHTML *after* parsing and
rendering the intro wiki text. This means you can not use the query where
an ID would be expected.
Examples:
This will work:
[[http://www.google.com/search?q=@QUERY@|Google for @SEARCH@]].
This will not work and will link to the page "search" instead:
[[@SEARCH@|Your page]].
You could use this instead:
[[this>doku.php?id=@QUERY@|Your page]].
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This patch supresses a warning in the adLDAP library when a password
change is attempted but fails due to the configured Active Directory
Password Policy. Instead of the error an Exception is thrown.
This change probably needs to be replicated in the user modification
function.
Patch sent to upstream.
|
|\
| |
| |
| | |
danny0838-master
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|/ |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 reverts commit fa7c70ff4d7f9999466436e7d559eb0c81571779.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This removes headers that are sent by PHP/the webserver anyway as they
are possibly wrong as e.g. when gzip compression is enabled in
inc/init.php (which does happen when the client supports gzip) the
content size is smaller than the one that was specified by the
content-length header and thus e.g. the Python XML-RPC client fails with
an error message because of the size mismatch. Additionally the content
encoding is now set to utf-8 in the http headers.
|
|
|
|
|
|
|
|
| |
Sometimes (when using rewriting with the workaround for CGI mode
described at
http://www.besthostratings.com/articles/http-auth-php-cgi.html) the
HTTP_AUTHORIZATION variable is renamed, this change detects this
renaming and uses the renamed variable.
|
| |
|
|
|
|
|
|
|
| |
Not sure if this sympol is the best to use. I'm open for different
suggestions.
Template auhtors still can overwrite the symbol of course.
|
|\ |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
[+] New feature: Move the user to a new OU using user_move() function
[-] Bug fix: Prevent an 'undefined index' error in recursive_groups()
when full PHP E_ALL logging is enabled
[-] Bug fix: user_groups() does not return primary group when objectsid
is not given (Tracker ID:2931213)
[-] Bug fix: Undefined index in function user_info for non-existent
users (Tracker ID:2922729)
[-] Bug fix: Force user_info to find objectCategory of person as if a
sAMAccountName also exists in a group it will return that group.
(Tracker ID:3006096)
[-] Bug fix: Return false for user_info if the user does not exist
[-] Bug fix: user_info, checks for for a "count" value that not exist in
$entries array if "memberof" isn't passed in $fields array. (Tracker
ID:2993172)
[-] Bug fix: In authenticate() if user authentication fails function
returns and does not rebind with admin credentials - so the other
funcions don't work anymore as $this->_bind === false. (Tracker
ID:2987887)
[-] Bug fix: When calling $ldap->user_modify('user',
array("expires"=>0)) the function fails due to the value being 0.
Changed to isset (Tracker ID:3036726)
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
since we don't use setter/getters for the other options it doesn't make
sense to have them for the keep-alive function
|
| |
| |
| |
| |
| |
| |
| | |
As soon as something goes wrong while querying a http server
do not reuse the same connection again, its state is undefined.
In addition, check the connection for feof() before reusing it.
|
| |
| |
| |
| |
| |
| | |
Using a static context for the connection pool allows connection
reuse throughout the whole application without additional changes
in other places.
|
| |
| |
| |
| |
| |
| |
| |
| | |
The DokuHTTPClient is now able to keep connections alive. This
feature is enabled by default. It can be disabled with
$client->setKeepAlive(false);
and asked with
$client->isKeepAlive();.
|