| Commit message (Collapse) | Author | Age |
| |
|
| |
|
| |
|
|
|
|
|
| |
- put test comments in more appropriate spot
- move appending replacement line alongside its search/delete code
|
| |
|
|
|
|
|
|
|
|
| |
The changes should also:
- fix unlikely edge case when replacement line is the same as the
old line (would have resulted in timeout)
- reduce memory footprint
- avoid applying string search beyond maxlines replacement limit
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
The code reading .bz2 compressed files did not correctly check for
possible read errors. In case of a corrupted file this could have led to
an infinite loop.
Thanks to Filippo Cavallarin from www.segment.technology for dicovering
this bug.
|
|
|
|
|
|
|
| |
In an older version of PHP a file_exists() call would issue a warning
when the file did not exist. This was fixed in later PHP releases. Since
we require PHP 5.3 now, there's no need to supress any error here
anymore. This might even give a minor performance boost.
|
|
|
|
|
|
| |
many PHPDocs
some unused variables
some dynamically declared variables declared
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
\!empty/empty/isset as appropriate
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
DokuWiki's page loading is intended to be filesystem agnostic. DOS line
endings in pages are supposed to be self healing. This behaviour was
broken in a change in 2006. As long as you edited pages through DokuWiki
only you never noticed the bug though.
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
inc/fulltext.php
inc/indexer.php
lib/exe/indexer.php
|
| | |
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Ignore-this: 259cb5773c3144c6c706d87298dcf674
darcs-hash:20091020212338-7ad00-6bf1c5c403491f136a1c02af5ecd9f84d7227107.gz
|
|
|
|
|
|
| |
This patch extends the config 'password' class to support a "_code" parameter
darcs-hash:20090119164809-f07c6-c136b559772610539bccb9e9c0191f6a973216ad.gz
|
|
|
|
| |
darcs-hash:20081213090400-7ad00-4e21cd75978bb07513f32f5d750658e8d777c59e.gz
|
|
|
|
| |
darcs-hash:20080823090003-7ad00-e3b2f2258bf794b62810f9fc51378bb9271441e3.gz
|
|
|
|
| |
darcs-hash:20080408014339-f07c6-63870bfa4e45d05275cf46993bee62d61a6cc5a8.gz
|
|
|
|
| |
darcs-hash:20080227221631-23886-1ce689e9616b6dd5d2cc55613b86ddff4e1808be.gz
|
|
|
|
| |
darcs-hash:20080215105251-7ad00-b7ac1bfc0e2d1eccf079f4ff2f0db8876896b79d.gz
|
|
|
|
| |
darcs-hash:20080118213300-7ad00-11a2b04c91c566ba2965bc548b94b8bf5b1bf5e5.gz
|
|
|
|
|
|
|
|
|
|
|
| |
The use of realpath() to clean up relative file names caused some
trouble in certain setups relying on symlinks or having restricitve
file structure setups.
This patch replaces all realpath() calls with a PHP only replacement
which should solve those problems.
darcs-hash:20070930184250-7ad00-512ff04c95f57fc9eaf104f80372237a3c94286f.gz
|
|
|
|
| |
darcs-hash:20070725190021-7ad00-32ea2f7d76d6508dfeb9dfd90f94132c4020386c.gz
|
|
|
|
| |
darcs-hash:20061018181931-7ad00-2778b83d25e8dcfad4b00710077e44bcef9af699.gz
|
|
|
|
| |
darcs-hash:20060923203609-9b6ab-ecca679faa254a29772868508050fcf3206b0814.gz
|
|
|
|
| |
darcs-hash:20060916145350-7ad00-cb78b531006e1f1875b2d8e8bc648740e5021736.gz
|
|
|
|
|
|
|
|
| |
Suppress any errors from set_time_limit,
unlink, and file_exists functions.
see: http://www.freelists.org/archives/dokuwiki/09-2006/msg00004.html
darcs-hash:20060908193433-05dcb-013617431870ab5bfb2ce8c6e99ba5af13493228.gz
|
|
|
|
| |
darcs-hash:20060823211149-9c1ae-569f295c33dc798a429a373f48cb09122334ea29.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adds page and namespace events:
IO_WIKIPAGE_READ
IO_WIKIPAGE_WRITE
IO_NAMESPACE_CREATED
IO_NAMESPACE_DELETED
The namespace events are purely advisory,
while the wikipage events allow page content
to be modified between DokuWiki and the disk.
These events are primarily intended to simplify
keeping other tools in sync with the semantic
structure of a DokuWiki site. As an added benefit,
the events allow plugins to conduct automated
processing of raw wiki page content.
The namespace events cover the separate namespace
trees for both pages and media. The "name" of the
tree that the event belongs to is included in the
event data.
darcs-hash:20060705105652-05dcb-f44024e852a2adf1a14b8a7d69c46db067e72307.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds an option to configure the maximum size for files the fetch.php
will ever download. Setting this to 0 completely turns of the caching of external
media files.
Disadvantages of setting a low or zero fetchsize:
* fetch.php needs to download images to be able to resize them. When the used
fetchsize prevents the downloading the images can only be resized by the
browser which means the browser will need to download the fullsized image first.
* If the linked external media files vanishes it will no longer display in the
wiki because it is not cached.
Advantages of setting a low or zero fetchsize:
* fetch.php may be used for a possible denial of service attack by requesting
many big external files.
* The created cache files may take a lot of space on the server
I recommend to leave the setting at 2MB for internal and private wikis and lower
the setting to about 200 to 500 Kb for bigger public Wikis.
Note: the caching of files uploaded through the media manager is not affected by
this setting.
darcs-hash:20060615184847-7ad00-04fc39928f7d72e56f5c5e271013ef265436e6c9.gz
|
|
|
|
| |
darcs-hash:20060517165023-7ad00-f3583cd929bf80721593f8fc77fb74bd6b864b03.gz
|
|
|
|
|
|
|
|
|
|
| |
The background indexer now gathers info on contributors and modification
dates from the changelog when adding the missing meta info.
A new io_grep function was added which might be useful for other parts in
the Wiki as well.
darcs-hash:20060511191450-7ad00-baba1b48ea03b823c88a480862c612316f159b5a.gz
|
|
|
|
|
|
|
|
| |
DokuWiki now automatically creates a draft file of the currently edited
page. In case of an editing interuption (eg. Browsercrash) the draftfile
can be continued later.
darcs-hash:20060311200148-7ad00-919337a51e001136178d175a1755cd26122e9726.gz
|
|
|
|
| |
darcs-hash:20060307184706-7ad00-c57e9e6c54879afaf17858fe642478fcb91af983.gz
|
|
|
|
|
|
|
|
|
|
| |
This patch simpliefies the configuration of the file and directory creation
modes. There is no need to set the umask anymore. Only the wanted permissions
for files and directories are set. An init function compares the wanted modes
with the ones that would be choosen by the system automatically (consulting
the system's umask) and sets the modes for chmod when needed.
darcs-hash:20060304154038-7ad00-5ef1db3a87e42563a602f9d050c681d2ea74682f.gz
|