| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
| |
If a Server supplies a Content-Length header we stop reading when the specified
number of bytes was read. This fixes problems with Servers not closing the
connection after sending the body.
darcs-hash:20070906194435-7ad00-cfb9b77ee085d28f5a643e45750b0a7be8ad7bd7.gz
|
|
|
|
| |
darcs-hash:20070904185355-23886-e5cbed2357a2697a593409ed0a31f044423db2e1.gz
|
|
|
|
| |
darcs-hash:20070906183038-7ad00-7bfdf2858d146a17fbe5824773ae5d9c985e0e28.gz
|
|
|
|
| |
darcs-hash:20070906125503-23886-5b5d7f1fb90eaa25e0ce08469a541cb2a760de1b.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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds a session based token to all form in the default action plugins.
The validity of the token is checked before any administrative function is
executed aiming to protect DokuWiki's admin functions from Cross-site request
forgery (CSRF) attacks.
Another patch will follow to add the same functionality on other, less critical
functions.
More details on CSRF attacks can be found at
http://en.wikipedia.org/wiki/Cross-site_request_forgery
darcs-hash:20070829201538-7ad00-d0770224a3351fd8e38968e3a9d8e73520482445.gz
|
|
|
|
| |
darcs-hash:20070828194406-23886-832f4a1222633b686cd8895eba00f1c895c5a992.gz
|
|
|
|
| |
darcs-hash:20070826201745-19e2d-10ac45260b4ab288ffa91c4828b82bb61ebfa625.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is my patch for creating toolbar buttons with arbitrary button types,
tested with Firefox, Opera and IE7. If you want to create a new type of
button, you must have a function in the script.js file of your plugin. The
function name must begin with "addBtnAction", followed by the type name, for
example for the type "myType" the function must be called
"addBtnActionMyType" (bear in mind that the first char of the type must be
uppercased in the function name).
The function has four parameters:
"btn" is the HTML element for the button where you attach the onclick
handler
"props" is an associative array of the array properties that come from the
toolbar array that was created by toolbar.php
"edid" (optional) is the id of the editor textarea
"id" (optional) is a "unique" number for each button: the index variable of
the for loop where the buttons get created.
darcs-hash:20070826192206-79ce3-1fe6f49c1eb5d0c10adbadc43f7b2ee1aec1853e.gz
|
|
|
|
| |
darcs-hash:20070821174710-7ad00-a9e4ff4f23c99c0634f8dcc4f4c11d517efa827f.gz
|
|
|
|
| |
darcs-hash:20070821174336-7ad00-f17ae332851fb010f6cfc6e09e0a2f958b809a92.gz
|
|
|
|
|
|
|
|
|
|
|
|
| |
Calls to p_get_first_heading() are most likely to expect to get the first heading even if it needs to be
generated, that is a $render value of true. Only the metadata renderer itself needs a value of false in
order to prevent mutual dependency probelms.
This fix should finally complete FS#1010 & problems breadcrumbs have with use_first_headings when metadata
doesn't exist. Also see, http://www.freelists.org/archives/dokuwiki/08-2007/msg00018.html &
http://www.freelists.org/archives/dokuwiki/08-2007/msg00132.html
darcs-hash:20070821021008-d26fc-e08a23b4eb40f075de043687b57eb1223b0201b9.gz
|
|
|
|
|
|
| |
FS#1185
darcs-hash:20070821120916-d26fc-75fbdf68d2a31222b892106229ee84c12c504630.gz
|
|
|
|
| |
darcs-hash:20070821173805-7ad00-49900167ab4babede6acebb595faf005b28ce18e.gz
|
|
|
|
| |
darcs-hash:20070820175842-23886-3af1d5a1585545b6a84cc8df526f8fe53be537d7.gz
|
|
|
|
| |
darcs-hash:20070819211952-7ad00-a1a321178ef3c5a85b2e422a01eda8066eb10588.gz
|
|
|
|
| |
darcs-hash:20070819211829-7ad00-7f2dbd3d7ad6b4568b8f34209fbcffda6e110f4c.gz
|
|
|
|
| |
darcs-hash:20070818222239-7ad00-d427f89d0cd9cdc88cf99538209e50e1b001ea9c.gz
|
|
|
|
| |
darcs-hash:20070818222029-7ad00-490d6e1e53a9753c4951ee8a9a9882d3cbdcfdb0.gz
|
|
|
|
| |
darcs-hash:20070816182508-7ad00-a6107d7ae873a1473444c8fcfc02cf59172b0d8b.gz
|
|
|
|
| |
darcs-hash:20070813220053-7ad00-db53d44215d74c091c10e0423b8152dec302127a.gz
|
|
|
|
| |
darcs-hash:20070813160452-23886-c40e9f3bfe259d698500a6ef01f75894801b22c5.gz
|
|
|
|
| |
darcs-hash:20070813190912-7ad00-b2677372876f395da890ba5a86050343bea249f2.gz
|
|
|
|
| |
darcs-hash:20070810082232-7ad00-e6abe2b952b7575454f8a2fcc5c257ec07b09e78.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Improves the perceptual latency of the AJAX based index view.
- Only show the throbber for AJAX calls that are slow.
Currently this applies to calls that take more than 500 ms.
- Reuse the results of AJAX calls.
This makes a namespace open, close, open, cycle much faster.
Also reduces the number of AJAX calls to the server.
(To reload the index, just reload the page as usual.)
darcs-hash:20070810040430-05dcb-1a4bcdb19c599ea74d1a3d2cc758753d19ef6eee.gz
|
|
|
|
|
|
|
|
| |
See http://simplepie.org/support/viewtopic.php?pid819#p3819
Patch sent to upstream
darcs-hash:20070809234320-7ad00-985fc7e26ee6440efef8a4c8b72d313df012fc53.gz
|
|
|
|
| |
darcs-hash:20070809221830-7ad00-601fe9bef16ae512262c40feadbb07af512b0ef1.gz
|
|
|
|
| |
darcs-hash:20070809213753-7ad00-95904b1effbd827c0b5b1ed73879d99d99175fc6.gz
|
|
|
|
| |
darcs-hash:20070809212728-7ad00-485593f2658fa217f1b70b72d60dd4ef0f59b0c3.gz
|
|
|
|
| |
darcs-hash:20070809212154-7ad00-bde57d95f9b61840f1cdac4d60f89bcd0ae83c4a.gz
|
|
|
|
| |
darcs-hash:20070809212044-7ad00-83ab11f90cb5730a8ad455967308efeb3dfa91ea.gz
|
|
|
|
| |
darcs-hash:20070808214818-7ad00-48bb7ceff4e2144512bb7ad217700c63c9d4bb94.gz
|
|
|
|
| |
darcs-hash:20070808180825-7ad00-63a8a7c23769cd92cccde54c3df267e94214eaae.gz
|
|
|
|
| |
darcs-hash:20070807221400-7ad00-c67b347e0528709a4eae84f3740c34d12f9e1bba.gz
|
|
|
|
|
|
| |
This fixes some small bugs which were introduced with recent TOC changes
darcs-hash:20070807171844-7ad00-fc09dd6d09b72927e64dfa41dd8b86fc20d86ed0.gz
|
|
|
|
|
|
| |
data in array (FS#1196)
darcs-hash:20070805203312-d26fc-cab8dbfff8a2d5f7299fa4462771bafc00135728.gz
|
|
|
|
| |
darcs-hash:20070806185341-7ad00-c89eefb548615b3b91f77faf3ee477fc62d3257f.gz
|
|
|
|
| |
darcs-hash:20070805193638-d26fc-aac3910d4dea3cd5539572cce3e73366ed39ab80.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
|
|
|
|
| |
darcs-hash:20070804125124-7ad00-5558de577207bb63af7629f278c24991f23924bc.gz
|
|
|
|
| |
darcs-hash:20070804081605-7ad00-4b17b701a9cdfeca1a3fda4538b894b8adcd916f.gz
|
|
|
|
| |
darcs-hash:20070804081226-7ad00-a8e7127c7122a96f9817158d87e1a364d8cdbc9f.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
|
|
|
|
| |
darcs-hash:20070804071840-7ad00-2b1c11bc7890ab5f145e4d0545e962c144fb460a.gz
|
|
|
|
| |
darcs-hash:20070804071749-7ad00-c7e718c2e24f4ded10b5780e2881e232fab8e48c.gz
|
|
|
|
|
|
|
|
|
|
|
|
| |
Replaces a number of *FORM_INJECTION events with a more flexible way of
modifying forms. Forms are created with a Doku_Form class (inc/form.php)
that can be manipulated by plugins prior to output. Plugins register a
HTML_{$name}FORM_OUTPUT event which can modify the form object prior to
output. Available forms are:
LOGIN DRAFT CONFLICT REGISTER UPDATEPROFILE EDIT RESENDPWD
Documentation for the Doku_Form class is in inc/form.php.
darcs-hash:20070730215007-6942e-a0cf08197f939e224a2b28c40aec5431b118ea94.gz
|
|
|
|
| |
darcs-hash:20070802174401-d26fc-d9a099773f08c1d85b4f481eb1b634d2e14eba86.gz
|
|
|
|
|
|
|
| |
If the server field is empty in configuration the postgres backend will
try to connect via a local socket to the server
darcs-hash:20070730171227-7ad00-83bb5c4e60fec79e116343b1043a0dfe9800f82b.gz
|
|
|
|
| |
darcs-hash:20070730164939-7ad00-43323188e904f45153062bb2e5c3550a1ea4ce4d.gz
|