summaryrefslogtreecommitdiff
path: root/inc/actions.php
Commit message (Collapse)AuthorAge
* fixed PHP4 incompatibility in sectionID() FS#1553Andreas Gohr2008-12-26
| | | | darcs-hash:20081226161244-7ad00-8c843ea6a06a0d36fc322d109497239ab6ea229c.gz
* removed some illogical path setupsAndreas Gohr2008-12-13
| | | | darcs-hash:20081213090400-7ad00-4e21cd75978bb07513f32f5d750658e8d777c59e.gz
* Better creation of section IDs FS#1536Andreas Gohr2008-12-01
| | | | | | | | This patch enhances the creation of section IDs for number only headlines. It also moves section ID creation to a function in pageutils.php removing some duplicate functionality in inc/action.php darcs-hash:20081201215539-7ad00-48f3c153a2c126d9fb06aa90e4f1b857f76ebec7.gz
* yfixed typo that caused screwed up charset in export_rawAnika Henke2008-11-21
| | | | darcs-hash:20081121203311-f7d6d-5cf707afd1c1c4a0d0efc664855cda65233163a2.gz
* show update profile dialog only when logged inMichael Klier2008-11-17
| | | | darcs-hash:20081117154409-23886-d0ad833c6bcf96bcc54f6998397de90ff07b7686.gz
* Make license selectable from config FS#312Andreas Gohr2008-10-12
| | | | darcs-hash:20081012113150-7ad00-6408da058bdb6c923159d445e03b76f54b579362.gz
* Empty breadcrumbs on logout (see FS#979)Guy Brand2008-10-11
| | | | darcs-hash:20081011161458-19e2d-97001154886654be84d70b1b140743b124a1c763.gz
* keep undisplayed messages over redirectsAndreas Gohr2008-09-29
| | | | | | | | | When act_redirect is executed (post data was received and mode show is called) all undisplayed messages (from calls to msg()) are saved in the session now. These messages are then revived in inc/init.php. This makes sure no errors that occured before the redirect are lost. darcs-hash:20080929203831-7ad00-d0869fd3093f57c1ea64ccbaf05d7fd98f68c5e1.gz
* No more redirect on doMichael Hamann2008-09-01
| | | | darcs-hash:20080901120812-fdd0b-7082d4c264f665899f56438c0d0a64137d83b3a1.gz
* new event ACTION_EXPORT_POSTPROCESSMichael Klier2008-08-28
| | | | | | | | | | | | | This event allows action plugins to postprocess the output of a page requested for export. Event data: data[id] -- the page id data[mode] -- requested export mode data[headers] -- headers of the requested export mode data[output] -- export output darcs-hash:20080828200321-23886-6676682f33fa5c2d9f0c0a21fa26154baf4e137a.gz
* return show action in act_auth for logged in users and 'login' actionAndreas Gohr2008-08-25
| | | | | | This triggers the new redirect event for logins as well. darcs-hash:20080825202710-7ad00-b8cc40d7a74fd093bd79c5d7d88302c63ea9ef3d.gz
* redirect on show/POSTAndreas Gohr2008-08-23
| | | | | | | | | Now a redirect is always done when the final action is show, but the reqeuest method is POST. This handles actions like cncel autmatically and ensures nice URLs are reinstated. A new event ACTION_SHOW_REDIRECT wraps the redirect. darcs-hash:20080823174550-7ad00-4969a9467b5bca12412507fd6b177088a1c5363f.gz
* jump to edited section after editing FS#643Andreas Gohr2008-05-06
| | | | | | | | | | | This patch adds a mecanism that tries to scroll down to the section that was just edited when using section editing. The approach used is not failsafe, but should work in most cases. It will not work correctly when: * multiple sections on the page have the same headline * the edited section no longer starts with a headline darcs-hash:20080506205011-7ad00-9d213d4436c4f01840d3f62277c3fee9e316d447.gz
* Fixed TOC for HTML export modes FS#1384Andreas Gohr2008-05-04
| | | | darcs-hash:20080504092410-7ad00-ec386b1e897c1afbf3fd9e9a68867c4284225f72.gz
* Fix message displayed after (un)subscribens actionGuy Brand2008-03-18
| | | | darcs-hash:20080318221659-19e2d-bf5088e16c3a9c65bb70dd58fff4e385b5851204.gz
* Add namespace changes mail notificationsGuy Brand2008-02-27
| | | | | | | | This patch lets DokuWiki send mail notifications when any page inside a namespace gets modified. Two actions are introduced: subscribens and unsubscribens and two new buttons also appear in the bundled template. darcs-hash:20080227155024-19e2d-8ce5bd66f4e870db31d6b438516599f294365ce1.gz
* removed security token requirement for loginAndreas Gohr2008-02-08
| | | | | | | This was discussed a while ago on the mailing list. We want to work cross-site logins keep working. darcs-hash:20080208200733-7ad00-a1f6164d65001586ec23311c07fe5c277bd62a82.gz
* header support for renderer pluginsAndreas Gohr2007-10-16
| | | | | | | Renderer plugins now can store HTTP header information in 'format <mode>' which will be used to send their output. Also fixes a problem with loading cache files. darcs-hash:20071016185626-7ad00-c0e18a90b310daf0d3a3c01d7a73f3524ced803d.gz
* 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
* Part 2 of the SecurityToken patch to avaoid CSRF attacksAndreas Gohr2007-08-30
| | | | | | | | This patch adds a security token to all forms generated through the new form class. However it is only checked for possible dangerous actions like editing or profile changes. darcs-hash:20070830191429-7ad00-445efea47a09a4823dfe9e3434ba5b355a80daf6.gz
* don't allow export formats in Google index FS#1219Andreas Gohr2007-08-09
| | | | darcs-hash:20070809212728-7ad00-485593f2658fa217f1b70b72d60dd4ef0f59b0c3.gz
* Redirect after login and populate breadcrumbs (FS#1063)Guy Brand2007-05-16
| | | | darcs-hash:20070516091909-19e2d-0e9379e79c11ebf090634fd6062ddc072b8ac7a2.gz
* removed ACTION_REGISTER eventAndreas Gohr2007-04-22
| | | | | | | | This event was undocumented and only used in the CAPTCHA plugin. The event is not needed as the same action can be carried out in ACTION_ACT_PREPROCESS. Users of the CAPTCHA plugin need to update it. darcs-hash:20070422095013-7ad00-179a3784f9edb5840cdb8fb5296015a60c79859e.gz
* pluggable renderersAndreas Gohr2006-12-03
| | | | | | | | | | Plugins can now provide their own renderer in lib/plugins/<name>/renderer.php The class inside this file needs to inherit from Doku_Renderer and has to be called Doku_Renderer_<name> To access the renderer the export action can be used eg: ?do darcs-hash:20061203190138-7ad00-f56b470b5dd043e1168ff2101c677eb8a9851627.gz
* manager user/groupAndreas Gohr2006-12-03
| | | | | | | 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
* two more event hooksAndreas Gohr2006-11-16
| | | | darcs-hash:20061116212937-7ad00-2ac647a9040f75650bdbe1047e76370f9c900dff.gz
* fix conflicting edit cancel buttonBen Coburn2006-10-27
| | | | darcs-hash:20061027185046-05dcb-71c34a3fbe67c5d17dfc9400e6e668469bd91b51.gz
* used named submitbuttons instead of localized labelsAndreas Gohr2006-10-20
| | | | darcs-hash:20061020164148-7ad00-6bb857729d9004b0f9b865410c1c666e07cc03aa.gz
* minor bugfix and boring error removalchris2006-09-23
| | | | darcs-hash:20060923203609-9b6ab-ecca679faa254a29772868508050fcf3206b0814.gz
* cleanup undefined constant noticesBen Coburn2006-07-10
| | | | | | | 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
* disableactions supportAndreas Gohr2006-07-02
| | | | | | | | | | | | 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
* Fix for privilege escalation bug #825Andreas Gohr2006-06-06
| | | | | | | This rechecks all ACLs a second time before the template is called, avoiding similar problems in the future. darcs-hash:20060606182742-7ad00-375c7989c8357c8a051b4966d06dbfde356bedb5.gz
* bug#775, fix access control of resend password pagechris2006-06-06
| | | | darcs-hash:20060606083212-9b6ab-b04f08b3fde6baca7ec2a33a38c3f147651c8371.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
* event SEND_HEADERSchris2006-04-15
| | | | | | | | | | | | | | | | | Event data an array of headers dokuwiki will send[1]. The default action is to output all the headers in order using the header() function. This event is a full trigger, meaning there are three advises: - SEND_HEADERS_before - SEND_HEADERS - SEND_HEADERS_after Handlers of this event can add/modify/delete the headers in the event data. The event data must remain an array, even if emptied. [1] There is one dokuwiki header 'Content-Type: text/html; charset darcs-hash:20060415160210-9b6ab-841bd034b797c7f1b8d4bbc66f90185a16e5a043.gz
* add ACTION_DISPATCH eventchris2006-04-14
| | | | | | | | | | | | | | | | The 'ACTION_DISPATCH' event[1] is triggered prior to any processing of the $ACT variable[2]. This gives custom content the opportunity to add new "do" commands and to process any custom form data. This event is advisory only (there are no '_before' or '_after' advise) Preventing default action will skip Dokuwiki's own processing of the $ACT value, this includes its cleansing of the $ACT variable. [1] also refer ACTION_TEMPLATE event [2] $ACT is the do variable from the query string darcs-hash:20060414195601-9b6ab-8ae62d2c3a7c6f8c09c77436d9adbaba5404f51b.gz
* Automatic draft savingAndreas Gohr2006-03-11
| | | | | | | | 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
* disable ACL commands if ACL is disabled FS#732Andreas Gohr2006-03-07
| | | | darcs-hash:20060307165127-7ad00-b11a8cab6d904745998d5648911bee9fcd55af61.gz
* added missing doctype and title for export_htmlAnika Henke2006-03-04
| | | | darcs-hash:20060304204748-d5083-c03783b7c736f039058ccd7150417c17fbe3265f.gz
* move content-type meta header above title tagAndreas Gohr2006-03-04
| | | | | | This is recommended here: http://www.joelonsoftware.com/articles/Unicode.html darcs-hash:20060304164119-7ad00-f7da3e6edeefb8dcfc907bf28b51379d7b31689e.gz
* fix for export_html to look good again after my "css_in_dokuwiki_context.patch"Anika Henke2006-02-24
| | | | darcs-hash:20060224223947-d5083-e7fd85205458be8322064941789b4335179949d8.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
* fix special char ID handlingAndreas Gohr2006-02-03
| | | | | | | A given ID consisting of special chars only (either added manually in the URL or in the search box) will be ignored correctly now. darcs-hash:20060203153945-7ad00-60fc38b49604f45bb2ca912a9c76c619ad60ac44.gz
* added export_xhtmlbody option #636Andreas Gohr2005-11-26
| | | | darcs-hash:20051126125627-7ad00-142bb2502948ce20b7ecc60941ffa3eb318478ed.gz
* profile change feedbackMatthias Grimm2005-11-11
| | | | | | | This pathc adds a feedback for the user after changing his/her profile and the profile dialog will be closed. darcs-hash:20051111170122-4145d-8b04e5078ac5f7f5bff2309d55002232e67f344a.gz
* auth update, incl. auth object, plain.class.php; resend password & update ↵chris2005-10-20
| | | | | | profile actions darcs-hash:20051020181434-50fdc-44222aa2074bb0e39a1c240c516259579b380740.gz
* minor edit checkboxAndreas Gohr2005-10-02
| | | | | | | | | This patch adds a minor edit checkbox to the edit form for logged in users. Minor edits are displayed different in recent changes and the page revision history. The RSS feed excludes minor edits by default - this can be changed by adding a minor darcs-hash:20051002113255-7ad00-2bc9e1aaa76d9616428e760529ecc14ef119cf71.gz
* rebuild $INFO array directly after lockoutAndreas Gohr2005-09-30
| | | | darcs-hash:20050930154739-7ad00-e5dea212a28508d24be6471fe5900c7edb1bbde9.gz
* admin plugin i/face + acl pluginchris2005-08-25
| | | | darcs-hash:20050824224718-50fdc-6d27ff70e60e6fe547aff6c2b305507c4ab3f669.gz
* subscribe_changes.patchsteven-danz2005-08-08
| | | | | | | Updates to the subscription patch to add a configuration option to enable/disable the feature, move the messages to the language files, and general cleanup darcs-hash:20050808045034-4c315-88a72dc8d2b22fdd9af8caa0505ef5c737965c86.gz