summaryrefslogtreecommitdiff
path: root/inc/actions.php
Commit message (Collapse)AuthorAge
...
* do not require special permissions to look at index FS#1720Andreas Gohr2010-06-27
|
* check for user in act_subscription FS#1935Andreas Gohr2010-06-26
|
* msgs are saved in send_redirect now, less code duplication neededAndreas Gohr2010-06-13
|
* Let actionOK detect auth backend capabilitiesAdrian Lang2010-05-17
|
* Call act_edit for locked pagesAdrian Lang2010-03-29
| | | | | | 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.
* Merge branch 'requireall'Andreas Gohr2010-03-12
|\ | | | | | | | | Conflicts: inc/fulltext.php
| * removed more unneeded require_once() callsAndreas Gohr2010-02-01
| |
| * first attempt to centralize all include loadingAndreas Gohr2010-01-31
| | | | | | | | | | | | | | | | 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.
* | Move & rename HTML_PAGE_FROMTEMPLATE to common.phpAdrian Lang2010-03-10
| | | | | | | | | | The new COMMON_PAGE_FROMTEMPLATE is triggered by pageTemplate AFTER the template has been read but before performing the template replacements.
* | Correct edit conflict detectionAdrian Lang2010-03-10
| | | | | | | | | | 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.
* | Remove wordblock action, issue a msg insteadAdrian Lang2010-03-09
| |
* | Move data preprocessing out of html_editAdrian Lang2010-03-09
| |
* | Add security token to subscription manage pageAdrian Lang2010-02-09
|/
* nicer subscription stylesAndreas Gohr2010-01-20
| | | | | | Ignore-this: e1b3b815b5ebb0da320bff997c4fed4b darcs-hash:20091130130311-6e07b-03ccfc52abb3dcc0764eed5784d81f8416841328.gz
* Add redirect after successful subscriptionAdrian Lang2010-01-20
| | | | darcs-hash:20091130093642-e4919-318eed562f0e7777d342dfbe4c8fc352eee58ddf.gz
* Fix subscription data validation bug (pass by ref)Adrian Lang2010-01-20
| | | | darcs-hash:20091127143223-e4919-023dd4bfab074c1206580649a2927958c28f38f5.gz
* Some language changes in subscription managementAndreas Gohr2010-01-20
| | | | | | | | Ignore-this: 9d6c368419814c7b8cb94f778377ede7 A few language strings were dropped, others updated or added darcs-hash:20091123151813-6e07b-4d01fe03fa2c3bd5944bc05abdd05a24fb79c186.gz
* Add events to subscription.Adrian Lang2010-01-20
|
* New mail subscription with digestAdrian Lang2010-01-20
|
* some more coding standard compliance updatesAndreas Gohr2010-01-15
|
* Emit less E_NOTICEs and E_STRICTsAdrian Lang2009-11-04
| | | | | | | | | | | | | Changes of behaviour are: * Allow the user name, title & description \e2\80\9c0\e2\80\9d * Default to Port 443 if using HTTPS * Set $INFO['isadmin'] and $INFO['ismanager'] to \e2\80\9cfalse\e2\80\9d even if no user is logged in * Do not pass empty fragment field in the event data for event ACTION_SHOW_REDIRECT * Handle chunked encoding in HTTPClient darcs-hash:20091104100115-e4919-5cf6397d4a457e3f98a8ca49fbdab03f2147721d.gz
* Send export_raw as attachement to avoid IE's content sniffing [security]Andreas Gohr2009-09-29
| | | | | | | | | | Ignore-this: 9b6ef0179df729d4bc41c2d746965134 With MSIE's content-sniffing [1], the export_raw mode could be used for XSS attacks against MSIE users. Sending the export as a download circumvents that. [1] http://www.splitbrain.org/blog/2007-02/12-internet_explorer_facilitates_cross_site_scripting darcs-hash:20090929182832-7ad00-085deb3fa8cc939b55cd293a8f4780b4b170d2e6.gz
* One click revert for managersAndreas Gohr2009-09-11
| | | | | | | | | Ignore-this: e3c9b5f941b2f1aa83ca375861203a2f This patch adds another button for users with the $conf['manager'] role when viewing an old revision. It allows them to revert to this revision with a single click. darcs-hash:20090911081833-7ad00-5a64feb7e3e1b37178295c290a6c97c3923e82e3.gz
* Fixed header support for renderer plugins when run the first time FS#1608Andreas Gohr2009-02-14
| | | | | | Ignore-this: 23dc9e7eda7fd430071d6de62c218842 darcs-hash:20090214114700-7ad00-67030b0174425844e54866612d5cd25a3af5bcf6.gz
* Work around IIS bug for redirects FS#1576Andreas Gohr2009-01-27
| | | | | | | | | | | | | Ignore-this: 37b33f575e4c0b31e4af93185bf74f0f When IIS is running PHP in CGI mode it will not send cookie headers on 302 redirections. This is a known bug (KB176113). This patch will detect affected servers. Instead of a 302 redirect a Refresh: header is issued. This is supported by all known browsers should have the same effect as a real redirect. darcs-hash:20090127204506-7ad00-ce474f3b0db003e86e09d5e9a9bd7c96887ac01c.gz
* 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