| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
bool page_exists($id, $rev
darcs-hash:20070930021040-d26fc-e3847bfdd20a36154685262eca94211cfd461e83.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:20070904185355-23886-e5cbed2357a2697a593409ed0a31f044423db2e1.gz
|
|
|
|
| |
darcs-hash:20070818222239-7ad00-d427f89d0cd9cdc88cf99538209e50e1b001ea9c.gz
|
|
|
|
| |
darcs-hash:20070813190912-7ad00-b2677372876f395da890ba5a86050343bea249f2.gz
|
|
|
|
| |
darcs-hash:20070805163833-9b6ab-82e8cd7ec37d163ccb552e3b6aee8c1f70e75f15.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch introduces a tpl_toc() function which can be used to freely place
the Table of Contents in a template. When used, tpl_content should be called
with a parameter of false to supress the automatic TOC placement.
Note: if tpl_toc() us run *before* tpl_content(), TOCs will not work in the
preview. A work around is to run tpl_content() in a output buffer first.
This patch also adds a getTOC() function for admin plugins which allows plugin
authors to put create their own TOC which will be placed correctly in the
template. A convenience function html_mktocitem() is available.
The config manager was adjusted to make ue of this new feature, but some bugs
might remain.
darcs-hash:20070805132405-7ad00-77d2c3cdf66cc62b2d408cc6580f938636a109af.gz
|
|
|
|
|
|
|
| |
This allows template authors to use their own HTML content as link body. Eg. to
use images. Defaults to the appropriate language string.
darcs-hash:20070804071934-7ad00-47670c4998ee74f93e0057323f4d9a4a4a1654b5.gz
|
|
|
|
|
|
| |
Lets you subscribe to the result of a full text search
darcs-hash:20070718071053-7ad00-131c87d5a51ec0d600358590539193ab59b3dbe6.gz
|
|
|
|
|
|
|
|
| |
This is a follow up on the previous patch to disable authtentication without
disabling ACL on backend problems. It fixes a few errors that might occour
in this rare situation.
darcs-hash:20070627194910-7ad00-de5ac10e0d36ecf8906c080e1d3dc1b2fd85b45d.gz
|
|
|
|
| |
darcs-hash:20070513124655-d5083-7ffc212357be18a5f889c85736d7c97946b5c899.gz
|
|
|
|
| |
darcs-hash:20070513122005-d5083-1430b1f322e7a9753e2c94079f86c2385328cfcd.gz
|
|
|
|
|
|
| |
When export_raw or export_xhtml is disabled no rel
darcs-hash:20070513072127-7ad00-e2a2451102cbaaef7de4a12982bd14da4b90b866.gz
|
|
|
|
| |
darcs-hash:20070511200426-7ad00-8ac8909d40e7c62d61980c4f9b29d88b92be9da6.gz
|
|
|
|
| |
darcs-hash:20070511200426-7ad00-23e5b8d85d00caf3b0b0cdcdbb56dea9e30c9578.gz
|
|
|
|
| |
darcs-hash:20070425181727-3c7c8-0641bd535e909322fc42ef1c50854f1f530cdd47.gz
|
|
|
|
| |
darcs-hash:20070422105629-7ad00-0f9a1aa2da73ce8e485292c2490fffc73ae54b30.gz
|
|
|
|
| |
darcs-hash:20070224112634-ce218-6f895b09dfe7abb5b8c19ea592f5849e02be4d4e.gz
|
|
|
|
| |
darcs-hash:20070221133007-ce218-844345922ee66ce33c3f0969b5fc6d643ac618ce.gz
|
|
|
|
| |
darcs-hash:20070211024110-7f317-c094764db4d4c9b7e1cad01fc016f354d91aa39e.gz
|
|
|
|
|
|
|
| |
Any tpl_* function that doesn't otherwise return a value
will return true if something was printed.
darcs-hash:20070202064949-6942e-31ea67ab941cc352d01f0b72971dd20179770226.gz
|
|
|
|
|
|
|
|
|
|
|
| |
Some changes to clearly identify when wiki pages have been edited outside
Dokuwiki. Also correctly attributes external changes from an unknown
author. Avoids sending extra emails when recording old external edits.
Adds a new language string:
$lang['external_edit']
darcs-hash:20061207032825-05dcb-3234bee57cb165c848b33abb9251502589b0f3cb.gz
|
|
|
|
|
|
|
| |
This patch adds support for a manager option as suggested in
http://www.freelists.org/archives/dokuwiki/11-2006/msg00314.html
darcs-hash:20061203134104-7ad00-72ff6422bbb4f79be325c7e77255e1eee32d0f6b.gz
|
|
|
|
| |
darcs-hash:20061130202541-7ad00-fc46a71f59d699f2cc720f361f22da8260e7ca92.gz
|
|
|
|
|
|
|
| |
plugins can include styles with feed.css,
templates can use the media type feed in style.ini
darcs-hash:20061115101549-6942e-d1de56b343ce0cc11ca6b911c444197316f4a4eb.gz
|
|
|
|
|
|
|
| |
This patch addes some comment magic to inline scripts to hide them from
XML parsers (like the W3C CSS validator).
darcs-hash:20061118154333-7ad00-c24bc36192080fe34f232c5ec2df3f494993f2fe.gz
|
|
|
|
|
|
|
|
|
| |
This adds support for the OpenSearch specification to autodetect
DokuWiki's search engine. The patch was submitted by Mike Frysinger
some time ago.
Some changes were made to the original patch. Only tested in FireFox 2.0
darcs-hash:20061110151453-7ad00-298ad77603854a604a642c0afd3975a997b8dc09.gz
|
|
|
|
| |
darcs-hash:20061101171656-9b6ab-1f3f9de870380a91e907db96d6645d3480951f0e.gz
|
|
|
|
| |
darcs-hash:20061022134224-7ad00-f5c26c5104869719db3bf01e326e137eb8f4c725.gz
|
|
|
|
| |
darcs-hash:20061019103310-7ad00-0de42af92587989d155f55831956480b7976d6e8.gz
|
|
|
|
| |
darcs-hash:20061011141043-3c565-9509bda5d864e0fbb42088d04d5b6f337dd18eb7.gz
|
|
|
|
| |
darcs-hash:20061006113409-23886-166f573a8ae5c897011282ef22a581cea1dbce86.gz
|
|
|
|
| |
darcs-hash:20060930143719-05dcb-251992d688e64ed221dbfe3d9c198fae603e2531.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The default wordblock.conf provided by the guys at chonqed.org matches agaist
URLS beginning with http. But DokuWiki also links simple www.example.com links.
Spammers used this method to place blacklisted URLs in the Wiki.
This patch constructs full URLs from these shortcut-URLs before applying the
blacklist regexp.
The patch also fixes a problem with the toolbar not appearing when the blacklist
hit and denied saving.
darcs-hash:20060926192420-7ad00-519df90a5953b690428bfa0928de37b3053031b0.gz
|
|
|
|
| |
darcs-hash:20060923203609-9b6ab-ecca679faa254a29772868508050fcf3206b0814.gz
|
|
|
|
|
|
|
| |
HTML_EDIT_PAGETEMPLATE becomes HTML_PAGE_FROMTEMPLATE
TPL_METAHEADER_PRINT becomes TPL_METAHEADER_OUTPUT
darcs-hash:20060917103450-7ad00-405f3533915b54ee4d4050cfccbf27d43ff7435f.gz
|
|
|
|
|
|
|
|
|
|
| |
This patch changes the tpl_metaheaders function to emit an event to intercept
the creation of HTML metadata.
The usually generated meta headers are passed in an array structure for easy
modification and enhancement.
darcs-hash:20060916154722-7ad00-b22ab79803d1abad4ca579b84b6a3fa466403619.gz
|
|
|
|
| |
darcs-hash:20060913185921-7ad00-8ee85b4a39944484d660c8a1d710bd548feac26b.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
|
|
|
|
|
|
| |
The <meta name
darcs-hash:20060903161204-7ad00-61c823d3806e6fdc2ffa3d4978a90dc9953ef9ce.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch provides a rewritten changelog system that is designed to run
efficiently on both small and large wikis. The patch includes a plugin to
convert changelogs from the current format. The conversion is
non-destructive and happens automatically. For more information on the new
changelog format see "http://wiki.splitbrain.org/wiki:changelog".
Structure
In short the changelog is now stored in per-page changelog files, with a
recent changes cache. The recent changes cache is kept in
"/data/meta/_dokuwiki.changes" and trimmed daily. The per-page changelogs
are kept in "/data/meta/<ns>/<page_id>.changes" files. To preserve
revision information for revisions stored in the attic, the "*.changes"
files are not removed when their page is deleted. This allows the full
life-cycle of page creation, deletion, and reversion to be tracked.
Format
The changelog line format now uses a general "line type" field in place of
the special "minor" change syntax. There is also an extra field that can
be used to store arbitrary data associated with special line types. The
reverted line type (R) is a good example. There the extra field holds the
revision date used as the source for reverting the page. See the wiki for
the complete syntax description.
Code Notes
The changelog functions have been rewritten to load the whole file only if
it is small. For larger files, the function loads only the relevant
chunk(s). Parsed changelog lines are cached in memory to speed future
function calls.
getRevisionInfo
A binary search is used to locate the chunk expected to contain the
requested revision. The whole chunk is parsed, and adjacent lines are
optimistically cached to speed consecutive calls.
getRevisions
Reads the changelog file backwards (newest first) in chunks until the
requested number of lines have been read. Parsed changelog lines are
cached for subsequent calls to getRevisionInfo. Because revisions are read
from the changelog they are no longer guaranteed to exist in the attic.
(Note: Even with lines of arbitrary length getRevisionInfo and
getRevisions never split changelog lines while reading. This is done by
sliding the "file pointer" forward to the end of a line after each blind
seek.)
isMinor
Removed. To detect a minor edit check the type as follows:
$parsed_logline['type']
darcs-hash:20060830182753-05dcb-1c5ea17f581197a33732a8d11da223d809c03506.gz
|
|
|
|
| |
darcs-hash:20060807205738-7ad00-5492ba5fe3e854f9dc233254535e4e897847353c.gz
|
|
|
|
|
|
|
| |
Instead of only showing the accesskey in button's title tooltips now the button
label is shown additionally. This helps blind users with screenreaders.
darcs-hash:20060724165158-7ad00-056481f9120c383cac03b1b2c6c397e829b7d103.gz
|
|
|
|
| |
darcs-hash:20060714112025-7ad00-42f53ba7901132eb1fe6a3446c4d0a45ca5bb33c.gz
|
|
|
|
| |
darcs-hash:20060714093028-7ad00-6d5a07d8bb7a21e315ee52da237085321be1a7a9.gz
|
|
|
|
|
|
|
| |
Fixing undefined variable notices and sometimes
the underlying error that produced them.
darcs-hash:20060710114655-05dcb-073948171847f1f43f153e96c8382abd421da36a.gz
|
|
|
|
|
|
|
| |
Undefined constants replaced with strings, see
http://www.php.net/manual/en/language.types.array.php#language.types.array.foo-bar
darcs-hash:20060710091820-05dcb-cfccff2bdd633b929470c60d8eee096f50ab4c18.gz
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds a config option to disable certain internal action commands of
DokuWiki's main dispatcher.
The options resendpasswd and openregister were removed because they can now set
through this new option.
The config plugin needs to be adjusted.
darcs-hash:20060702121622-7ad00-1e80e77bcfb0ae561fe7abd79cfbe1bb158be720.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The 'back' currently works only inside a namespace and hide the
button, if the namespace startpage has been reached.
This patch tear down the namespace wall. Now the 'back' button
of the namespace startpage addresses the start page of the
parent namespace instead of being hidden.
With this patch the 'back' button works as before the 'startpage'
patch series.
darcs-hash:20060619171023-7ef76-baac3ad5367d6c6397125401aa7d8beab5122faa.gz
|
|
|
|
|
|
| |
4th part of the global start series
darcs-hash:20060618121521-7ad00-8ea574bdb2c8a12560cf892c7ed53a4972af998d.gz
|