| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Ignore-this: 23dc9e7eda7fd430071d6de62c218842
darcs-hash:20090214114700-7ad00-67030b0174425844e54866612d5cd25a3af5bcf6.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
darcs-hash:20081226161244-7ad00-8c843ea6a06a0d36fc322d109497239ab6ea229c.gz
|
|
|
|
| |
darcs-hash:20081213090400-7ad00-4e21cd75978bb07513f32f5d750658e8d777c59e.gz
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
darcs-hash:20081121203311-f7d6d-5cf707afd1c1c4a0d0efc664855cda65233163a2.gz
|
|
|
|
| |
darcs-hash:20081117154409-23886-d0ad833c6bcf96bcc54f6998397de90ff07b7686.gz
|
|
|
|
| |
darcs-hash:20081012113150-7ad00-6408da058bdb6c923159d445e03b76f54b579362.gz
|
|
|
|
| |
darcs-hash:20081011161458-19e2d-97001154886654be84d70b1b140743b124a1c763.gz
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
darcs-hash:20080901120812-fdd0b-7082d4c264f665899f56438c0d0a64137d83b3a1.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
This triggers the new redirect event for logins as well.
darcs-hash:20080825202710-7ad00-b8cc40d7a74fd093bd79c5d7d88302c63ea9ef3d.gz
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
darcs-hash:20080504092410-7ad00-ec386b1e897c1afbf3fd9e9a68867c4284225f72.gz
|
|
|
|
| |
darcs-hash:20080318221659-19e2d-bf5088e16c3a9c65bb70dd58fff4e385b5851204.gz
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
darcs-hash:20070809212728-7ad00-485593f2658fa217f1b70b72d60dd4ef0f59b0c3.gz
|
|
|
|
| |
darcs-hash:20070516091909-19e2d-0e9379e79c11ebf090634fd6062ddc072b8ac7a2.gz
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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:20061116212937-7ad00-2ac647a9040f75650bdbe1047e76370f9c900dff.gz
|
|
|
|
| |
darcs-hash:20061027185046-05dcb-71c34a3fbe67c5d17dfc9400e6e668469bd91b51.gz
|
|
|
|
| |
darcs-hash:20061020164148-7ad00-6bb857729d9004b0f9b865410c1c666e07cc03aa.gz
|
|
|
|
| |
darcs-hash:20060923203609-9b6ab-ecca679faa254a29772868508050fcf3206b0814.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
|
|
|
|
|
|
|
| |
This rechecks all ACLs a second time before the template is called,
avoiding similar problems in the future.
darcs-hash:20060606182742-7ad00-375c7989c8357c8a051b4966d06dbfde356bedb5.gz
|
|
|
|
| |
darcs-hash:20060606083212-9b6ab-b04f08b3fde6baca7ec2a33a38c3f147651c8371.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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:20060307165127-7ad00-b11a8cab6d904745998d5648911bee9fcd55af61.gz
|
|
|
|
| |
darcs-hash:20060304204748-d5083-c03783b7c736f039058ccd7150417c17fbe3265f.gz
|
|
|
|
|
|
| |
This is recommended here: http://www.joelonsoftware.com/articles/Unicode.html
darcs-hash:20060304164119-7ad00-f7da3e6edeefb8dcfc907bf28b51379d7b31689e.gz
|
|
|
|
| |
darcs-hash:20060224223947-d5083-e7fd85205458be8322064941789b4335179949d8.gz
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
darcs-hash:20051126125627-7ad00-142bb2502948ce20b7ecc60941ffa3eb318478ed.gz
|
|
|
|
|
|
|
| |
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
|