summaryrefslogtreecommitdiff
path: root/doku.php
Commit message (Collapse)AuthorAge
* don't use realpath() anymore (FS#1261 and others)Andreas Gohr2007-09-30
| | | | | | | | | | | 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
* send 404 only for show or export action FS#1141Andreas Gohr2007-05-28
| | | | darcs-hash:20070528193451-7ad00-258dffcc0751d55a9eacd7dd48a1c6f81cac8167.gz
* remove metadebug again, improve doÞbug insteadAndreas Gohr2006-09-25
| | | | | | | This adds the complete $INFO array (contains the metadata) to the usual debug output and removes the metadebug parameter again. darcs-hash:20060925201052-7ad00-c9a15b921466803b3f2bd50b0d72211cf68658c5.gz
* metadebug parameter addedAndreas Gohr2006-09-25
| | | | | | | | With DokuWiki's reliance on certain page metadata, it is sometimes necessary to view the metadata of a page. This patch allows developers to append the parameter ?metadebug darcs-hash:20060925193202-7ad00-6a42c7458aaa1cc40df3c7a61ad70df5d64be152.gz
* updatecheck featureAndreas Gohr2006-09-16
| | | | | | | | | | | | | | | | | This patch adds a feature to let DokuWiki automatically check if updates are available or any other important messages (like security warnings) and then display this info to the admin user. DokuWiki will contact the URL http://www.splitbrain.org/lib/exe/msg.php with a parameter telling it which messages it already know (read from conf/msg) - the server side script then will return all new messages. The messages will be displayed until DokuWiki was upgraded or conf/msg was updated manually. Messages are cached and only checked once a day. The messenger URL will probably change before the next release. darcs-hash:20060916210229-7ad00-7ac592650e171ae4144b0eb47a751a4ca480f031.gz
* fixing undefined variablesBen Coburn2006-07-10
| | | | | | | Fixing undefined variable notices and sometimes the underlying error that produced them. darcs-hash:20060710114655-05dcb-073948171847f1f43f153e96c8382abd421da36a.gz
* metadata hnalding updates, header fixesAndreas Gohr2006-05-07
| | | | | | | | This removes the meta instruction again in favour of the new meta renderer. Most tests work now again, a few tweaks were done on the header handler to render certain headers as it did in earlier versions. darcs-hash:20060507153113-7ad00-bd299fbe1762482c72d109f9bca776f12bcea7c8.gz
* event system revisionchris2006-04-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a major revision of DokuWiki's event system. There are changes to class names, function names, function parameters and their order and event names. For action plugin writers the following changes are important: - <event_name> is no longer signalled, only <event_name>_BEFORE and <event_name>_AFTER. - note the case change for _BEFORE and _AFTER - calling stopPropagation while processing a _BEFORE signal no longer prevents an _AFTER signal. The events _continue value is reset before the _AFTER signal is made. - events have a new readonly property, canPreventDefault. This lets the event handling hook know whether or not the event honours preventDefault calls. - parameters have changed for the register_hook method, parameters are now $event_name, $advise (can be 'BEFORE' or 'AFTER') $object $method $param (this parameter is now optional) - parameter order has changed for the hook event handler callback functions &$event $param (can now be left off) Event names have changed, they are now structured <dokuwiki name>_<event data name>_<action_name or state if no action> DOKUWIKI_START darcs-hash:20060424220152-9b6ab-00e366288f7ec8a85b85dc83694a5f43a07aa082.gz
* add events, DOKUWIKI_START & DOKUWIKI_ENDchris2006-04-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | event DOKUWIKI_START This event is advisory only. There is no event data There is no default action The event is signalled after Dokuwiki has completed its initialisation phase and before it closes the session. Most Dokuwiki globals will have been created and populated, the global $_SESSION var will still be in existence. Note: Even after $_SESSION has been closed a plugin can reopen the session to access session data - as long as headers have not already been sent. For more information refer to lib/plugins/config/admin.php. event DOKUWIKI_END This event is advisory only. There is no event data There is no default action The event is signalled after all processing has been completed as the last thing doku.php does before exiting. It is possible that under certain circumstances dokuwiki will exit without returning to doku.php and this event may not then be signalled. darcs-hash:20060415152444-9b6ab-1e41d0265f2a6660ad497dd387c7930251dc4030.gz
* action pluginschris2006-04-14
| | | | | | | | | | | | | | | | | | | | | | | | This patch adds events and a third plugin type, "action" plugins, to DokuWiki. The patch doesn't include any event signalling, that will be added in later patches. Action plugins are loaded before most Dokuwiki processing takes place and at the same time are given the opportunity to register handlers (or hooks) to receive specific dokuwiki events. Other parts of Dokuwiki (e.g. templates and syntax plugins) can also register handlers to receive events. Any part of Dokuwiki can create and signal events, including templates and plugins. This patch also revises the admin plugin class by making it an extension of a new class, DokuWiki_Plugin. The DokuWiki_Plugin_Action class also extends this new class. Further details of events, their signalling and handling, and of action plugins will be added to wiki.splitbrain.org in due course :-) darcs-hash:20060414193737-9b6ab-f23d3d9b93e4c50a3ad97ced03eabc6c0363650b.gz
* Fix umask bug and do a code cleanup of chmod/mkdir usage so set the correct ↵Troels Liebe Bentsen2006-02-24
| | | | | | | | | | | permissions, this should also fix problems with dokuwiki making setuid files on some umasks. * Don't set the umask() anymore, this is not good form and we don't really know what is it in the old code anyway as it was not done properly. * Retire the dmask config option introduce 2 new ones called fmode and dmode, this is more in line with posix and should make more sense. * Use chmod for setting the correct permissions but only if it's needed. * Set changing of permissions off by default as i should work properly in most Apache setups without and it does not make sense on windows anyway. darcs-hash:20060224211655-ee6b9-68f7bb59417d6f0033cfd3764146923daa4dcf1b.gz
* file cleanupsAndreas Gohr2006-02-17
| | | | | | | | | | This patch cleans up the source code to satisfy the coding guidelines (see http://wiki.splitbrain.org/wiki:development#coding_style) It converts files to UNIX lineendings and removes tabs and trailing whitespace. Not all files were cleaned yet. darcs-hash:20060217222040-7ad00-bba3d2bee3b5aa7cbb5184258abd50805cd071bf.gz
* option to send 404 header for missing pagesAndreas Gohr2005-11-25
| | | | darcs-hash:20051125123614-7ad00-42e0ab6a594e177603175ee37467fc2bdd45d2cb.gz
* option for disabling debug outputAndreas Gohr2005-10-27
| | | | darcs-hash:20051027183410-7ad00-5ca48cf2d4058016f5cf07887d9eaa7b07a4043f.gz
* session_write_close added #364andi2005-06-08
| | | | | | | | | | I just learned that PHP does lock it's session objects. This is realy bad if you have multiple images in a page as each one will call fetch.php which locks the session, so everything can only be loaded sequentially. The fix for this is to close the session after using it which is after doing the auth and the breadcrumbs. I added the needed calls everywhere. darcs-hash:20050608213514-9977f-f2dfc467ebbd06406e10e33a386fa1db6cb32dba.gz
* moved loading of languages to init.php - fixes #346andi2005-05-23
| | | | darcs-hash:20050523174804-9977f-a49e154bb89357d39eb8ddb3273650759cd74114.gz
* more cleanupandi2005-04-29
| | | | darcs-hash:20050429205436-9977f-762f3ded6f93cfb3e068f3acdc1bb80690ad658b.gz
* added internal rewritingandi2005-04-29
| | | | darcs-hash:20050429205320-9977f-6bf54f3b022104a0a9aefa882dfba09a98bc9c2a.gz
* section editing fixedandi2005-04-17
| | | | darcs-hash:20050417150906-9977f-96fcdc018414606bc58252631708c8b55d82354a.gz
* new parser now default, caching addedandi2005-04-16
| | | | darcs-hash:20050416171733-9977f-61a66a56862c4126c6987cdc19609b4e5504da9b.gz
* new parser: more hacking, RSS readdedandi2005-04-15
| | | | darcs-hash:20050415204735-9977f-613d9b007452d538dcb8fce4ade5cbec389c4415.gz
* backbutton fixandi2005-03-20
| | | | darcs-hash:20050320124910-9977f-737f333d5524b844011a69a4c0351c3366ecf62f.gz
* template support (incomplete, maybe broken)andi2005-03-06
| | | | darcs-hash:20050306183159-9977f-22dbb69831b5fa2e28bbf62448c65053d96a2cb9.gz
* revison sanitizingandi2005-03-01
| | | | darcs-hash:20050301181638-9977f-212463af48be9fb6c4e2f9e738f3eb57878c30f7.gz
* some feed tuningandi2005-02-26
| | | | darcs-hash:20050226133325-9977f-001fc0ae4081b812bdef84350074624bb530f6f7.gz
* acl-administration rc1frank2005-02-20
| | | | darcs-hash:20050220104506-b7c55-01c85b4b688597c8405987e0f7ea30aa4fb1472f.gz
* added init.php - may have broken something! (related to #153)andi2005-02-19
| | | | darcs-hash:20050219102055-9977f-575d654e742934c911ffab855d82aa91f198b5cf.gz
* some getBaseURL changes (maybe fixes #123)andi2005-02-17
| | | | darcs-hash:20050217180602-9977f-06df5b55635df223490d5baf9aafe1cb08471e86.gz
* proper ACL handling on empty search (fixes #139)andi2005-02-14
| | | | darcs-hash:20050214185949-9977f-d85da632260af4ffe325efdfd3bca3e5385c32df.gz
* moved content header (maybe fixes #110)andi2005-02-09
| | | | darcs-hash:20050209190400-9977f-a416f864348340eb2ae4052249bbc1a86dfd781b.gz
* workaround for php umask bug (fixes #97)andi2005-01-29
| | | | darcs-hash:20050129113621-9977f-a3439b9f7a590d3c64522046e79001f0ba9b199b.gz
* ACL security bugfix (#96)andi2005-01-28
| | | | darcs-hash:20050128084512-9977f-a13bc935d76c0401e0aa16c19adda2a3b78f3e94.gz
* new versionstring methodandi2005-01-24
| | | | darcs-hash:20050124200309-9977f-fda536f83c08a38d56f77a09bd99abdd1745e2fb.gz
* locales removedandi2005-01-24
| | | | darcs-hash:20050124192653-9977f-9b17dd147f4bf9b89a83b1d475943a85ab35e0ca.gz
* version updateandi2005-01-17
| | | | darcs-hash:20050117192041-9977f-87f447fa145452295ae3873994f2974c26e75359.gz
* version updateandi2005-01-16
| | | | darcs-hash:20050116113818-9977f-b6ddf1daabe3d9aea7185dfde6b3365c334dc2d2.gz
* version updateandi2005-01-15
| | | | darcs-hash:20050115192920-9977f-39d4ff4f00a811ad49123ccb1cb235401627bd68.gz
* version string fixandi2005-01-14
| | | | darcs-hash:20050114225958-9977f-c5234044adab6f51eee36362d106926464ee1680.gz
* fix for bug #4andi2005-01-14
| | | | darcs-hash:20050114210506-9977f-b34047f7f7ff63f9c33c54bcd25a6d37211ec80f.gz
* phpdoc commentsandi2005-01-14
| | | | darcs-hash:20050114164057-9977f-e4936fde9037c65c3f32c30b31b2b7df35732f3a.gz
* magpie caching removedandi2005-01-13
| | | | darcs-hash:20050113165147-9977f-8a6c359349eeca76667af06ef5a69da16c654128.gz
* Initial revision.andi2005-01-12
darcs-hash:20050112202454-9977f-60936f24fe2092a30223627e0683de2df61d0c4a.gz