| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
* Popup now shows up relative to the link, not the mouse position
* Easier handling of mouseout’s bubbling
* Factor out popup creation to allow plugins to use it
|
|
|
|
|
|
| |
50e988b accidentally stopped act_dispatch from calling act_edit for locked
pages, thus showing a generic »page not writable« message instead of a
page lock message.
|
| |
|
|
|
|
|
| |
explode converts $string (false) to string ("") and returns it if $delimiter is
not found, therefor looking for the key "" in metadata array.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This commit adresses two issues:
* rawWikiSlices used to drop the first byte of the suffix (usually a newline,
but custom section edits may not be bound to newlines)
* con used to insert way too much newlines: the newline that got
dropped by the bug in rawWikiSlices and one additional newline in prefix
and text each if they are not terminated by a newline. Now con only inserts
newlines if there are absolutely no newlines between prefix and text and
text and suffix.
|
|
|
|
|
|
| |
It seems that the 0x0B Vertical Tab character breaks the PHP
XML parser. This workaround replaces the char with a space
before parsing. Not ideal but good enough for now.
|
|
|
|
|
|
| |
The hash option did not hash the correct content for the
found media files. This causes troubles in the sync plugin
http://github.com/splitbrain/dokuwiki-plugin-sync/issues#issue/1
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
When the page is not editable or the section info is out of date, a custom
editor should not be used.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before this patch the temporary filename was the uncleaned id. This
allowed everyone with upload-privileges (on the whole wiki) and XML-RPC
privileges on a XML-RPC-enabled DokuWiki to (over)write any file PHP is
allowed to write with any content he wants. If you have XML-RPC enabled
and users with XML-RPC and upload privileges you don't trust in a way
you would allow them to write any file PHP may write, consider this as
an important security fix. By default XML-RPC is disabled, so if you
don't know what I'm talking about you are probably not affected by the
problem.
|
| |
|
|\ |
|
| | |
|
|/
|
|
|
| |
The constants are required by the class constructor, which effectively
means before the autoloader is triggered. This change fixes that issue.
|
| |
|
|
|
|
|
|
|
|
|
| |
* Syntax error fixed
* lock refresh event is now attached to the whole edit form since it bubbles
up and we cannot be sure that the wikitext input exists on all edit forms
* Updated findPos(X|Y)
* Easier and less error-prone way of getting the section edit button in the
highlight mouseover event handler
|
| |
|
| |
|
|\
| |
| |
| |
| | |
Conflicts:
inc/fulltext.php
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
This patch moved the place where DOKU_PLUGIN is defined. It no longer
can be set from a normal config (only via preload)
|
| | |
|
| |
| |
| |
| |
| |
| | |
those are loaded on demand through the autoloader mechanism
Also cliopts.php is not loaded automatically at all
|
| |
| |
| |
| |
| |
| |
| |
| | |
Classes are loaded throug PHP5's class autoloader, all other
includes are just loaded by default. This skips a lot of
require_once calls.
Parser and Plugin stuff isn't handled by the class loader yet.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
The new COMMON_PAGE_FROMTEMPLATE is triggered by pageTemplate AFTER the template
has been read but before performing the template replacements.
|
| |
| |
| |
| |
| | |
Edit conflicts occur when a page has been edited since starting the current edit.
In order to detect them, the date of the newest revision is saved.
|