| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
| |
- Enables gzip compression of output xhtml for browsers that support it.
For example the wiki:syntax page takes up 46.80KB raw, but only 9.88KB gzip encoded.
- Setting is configurable through the config plugin.
darcs-hash:20060516084132-05dcb-d8d1c7911a951b00e166c5a94f46a2cf1cfa5846.gz
|
|
|
|
|
|
|
|
|
|
| |
- Adds a jpg quality setting for scaled images
(Some images were getting too many jpg artifacts
at the hard-coded compression setting.)
- Creates a group for the media settings in the
config plugin.
darcs-hash:20060516062321-05dcb-a175b0de3264322a335cf60d8ee96317f7b03144.gz
|
|
|
|
| |
darcs-hash:20060515190136-7ad00-7ad740433de7a21980efba720f4f45f30f085226.gz
|
|
|
|
| |
darcs-hash:20060515185820-7ad00-29b60fb0a142c9d2cd27c9dfbf4549fcb7829970.gz
|
|
|
|
| |
darcs-hash:20060512073949-7ad00-64c25a5f74939cd4ca17e5928d77f0951c67b3ac.gz
|
|
|
|
| |
darcs-hash:20060511083209-9b6ab-418fb83530be356bb40307c4a95a9c03954fc725.gz
|
|
|
|
|
|
|
|
|
|
| |
The background indexer now gathers info on contributors and modification
dates from the changelog when adding the missing meta info.
A new io_grep function was added which might be useful for other parts in
the Wiki as well.
darcs-hash:20060511191450-7ad00-baba1b48ea03b823c88a480862c612316f159b5a.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- organizes the configuration settings list into chunks
- provides a table of contents for the configuration chunks
- provides one chunk for each plugin with configurable settings
- provides one chunk for the active template (if it has settings)
- provides the config file setting as a tool-tip on the setting label
ex. $conf['start']
- provides for localization of useful strings
- generates a "smart" fallback name for plugins and templates
- plugin and template sections are only shown if they have settings
- current configuration list is organized into chunks
Note: There are NEW strings to translate into the non-english language files.
darcs-hash:20060510065732-05dcb-398d5c7efa7981f690d97a25a5110b1f39be9f8e.gz
|
|
|
|
|
|
|
|
| |
* fixed some translation errors in dir. inc/lang/it
* changed some labels for text-formatting quickbuttons to
match those of GUIs and office suites
darcs-hash:20060507170229-57bea-cbe1f3011eaec0b4d426fa0c49b71defda1fa245.gz
|
|
|
|
|
|
|
| |
added all missing translations for plugins acl,
config, plugin, usermanager
darcs-hash:20060507160954-57bea-73636f302bdf9ae5ec48242732b6051dea461784.gz
|
|
|
|
| |
darcs-hash:20060507165308-7ad00-3526c8c4e5d8c10a8e003068008e2344e94e1739.gz
|
|
|
|
|
|
|
|
|
|
| |
If no credentials where given (either by form or former cookie) it is
checked if credentials from a former HTTP based authentication are
available. Those will be tried for login then.
This only works with PHP running as Apache module.
darcs-hash:20060507161224-7ad00-7ba0a6e871cf5319038e83672a2ff05ef23c124b.gz
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
darcs-hash:20060507101333-7ad00-e687d797fbee26e0b0bc7741ff8a1af496c101bf.gz
|
|
|
|
| |
darcs-hash:20060506215440-7ad00-a04d6ebb428816b534b7b3636f050885bc02f266.gz
|
|
|
|
| |
darcs-hash:20060505000630-9b6ab-eb1add597db261d8d2843435bcfa22ac8f35a6f5.gz
|
|
|
|
|
|
| |
a more robust fix is needed, but this should resolve 99.9% of potential problems
darcs-hash:20060505000432-9b6ab-273277892e7b7dc978f7622174de38212155f104.gz
|
|
|
|
| |
darcs-hash:20060430221451-7ad00-9729246270f67bcc955a42727595925e6f53a331.gz
|
|
|
|
| |
darcs-hash:20060430182156-7ad00-1548636dbfaa9fc0b25c26e4121f763a485c2f9c.gz
|
|
|
|
|
|
|
|
|
|
|
| |
This adds meta data rendering to the indexer process to build missing meta data
in the background.
p_get_first_heading was adjusted to make use of the new meta data mechanisms
A problem with unitialized arrays in p_set_metadata and PHP5 was fixed (I think)
darcs-hash:20060430181740-7ad00-8952fa6beb4fadf6b4321627998442d34febfc8d.gz
|
|
|
|
|
|
|
| |
- style correction, change second occurrence of textarea.default to textarea.protected
- comment spelling correction
darcs-hash:20060430160900-9b6ab-5d2ba348ba00880f79d0874e3128234e0cb696c0.gz
|
|
|
|
| |
darcs-hash:20060430153000-9b6ab-0918d41e77e897d3b14c91de822567f8a3007779.gz
|
|
|
|
|
|
|
|
|
|
|
|
| |
update comments to work with DokuWiki's auto generated API docs.
slight restructure of configuration functions and comments
- loadConfig now loads plugin config settings into
$conf['plugin'][<plugin_name>] & $this->conf. These are aliases
ensuring only one copy is stored.
- readDefaultSettings() reads the plugin's conf/default.php
darcs-hash:20060430152308-9b6ab-9ec53e79ce5b07405acb84d19d81df9dd609612e.gz
|
|
|
|
| |
darcs-hash:20060428233035-a265a-5b124304e8250f0c97bff5ce8fdc839170cc7f95.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes a typo which made the new Feedparser not use our own HTTPClient.
It also enhances the get() method of HTTPClient to optionally cope better
with bad HTTP responses:
Some servers return a body with a "304 Not Modified" status which violates
RFC 2616 but is usually accepted by common browsers. Setting the $sloppy304
parameter will return the response body. This fixes problems with feeds
from feedblendr.com
darcs-hash:20060429155805-7ad00-33a1c3142f241bf7747e8f679237cb6e8f1564ef.gz
|
|
|
|
| |
darcs-hash:20060427224105-d5083-505d1230b7d13dfbf1eb6ae1144b7b72313574dc.gz
|
|
|
|
| |
darcs-hash:20060428213851-7ad00-2aebcece3effc9315645cf3164c83f2631a7f2a2.gz
|
|
|
|
| |
darcs-hash:20060428195153-7ad00-7104d2ffc54902e8969202a9a3ac93f7df5dcbf7.gz
|
|
|
|
|
|
|
| |
The search() function now accepts an array in $func for giving
object methods as callback.
darcs-hash:20060428184554-7ad00-2d1726d078683ea41c72f6ca67ded3e1eccfdf17.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The HTTP Cache-Control header output now respects the Dokuwiki media parameters
'cache', 'recache', and 'nocache'.
- cache: cachetime or one hour (which ever is larger)
- recache: remaining cachetime + 10 seconds so the newly recached media is used
- nocache: no caching
Notes:
- 'proxy-revalidate' should ensure that public caches always revalidate, this
will keep caches from (accidentally) ignoring Dokuwiki's ACL rules.
- 'no-transform' should keep media from being modified in transit by caches.
Impact:
Speeds up page layout/display by browsers when they already have the media
in their [memory] cache. For example the 2nd time a page is viewed. This
also reduces server load by eliminating most of the overhead needed to
return '304 Not Modified' responses each time an image is viewed.
darcs-hash:20060421025424-05dcb-23ff26c5cb410bcd166299a840f4c500fa0d112e.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes a major bug in fetching remote media with 'recache' and improves
the efficiency of 'nocache'.
Recache:
- Used to reload the remote media on EVERY request.
- Now it behaves as intended and only reloads the remote media
into the Dokuwiki cache every $conf['cachetime'] time.
Nocache:
- No longer stores remote media in the Dokuwiki cache.
- No longer loads, saves, and forwards remote media -- just redirects.
- No longer resizes images on the server because the cached results
can not be reused.
Overall this is faster for Dokuwiki. The bandwidth usage for
the 3rd party server is the same (less for Dokuwiki). Page loading
should also be faster because data is not being forwarded through
Dokuwiki (and the 3rd part server's cache control headers will be
respected automatically).
darcs-hash:20060421012210-05dcb-a6029baa0fad218ace28e0e3c2f442b1ca645a99.gz
|
|
|
|
|
|
|
|
| |
Does client-side rewriting of accesskey tooltip text so that it will be
more OS and browser specific. Dokuwiki should output all accesskey tooltips
as [ALT+<key>] because this patch matches on "[ALT+".
darcs-hash:20060428015158-05dcb-0102a1b2068c053e81dd21ad3927c78b6c9f349e.gz
|
|
|
|
|
|
|
| |
correct handling of enablePreventDefault in advise_before()
improved comments for trigger_event() wrapper
darcs-hash:20060424234541-9b6ab-b07040f60b86c40466b95d92514b0a0d60674a83.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
|
|
|
|
| |
darcs-hash:20060424214448-7ad00-9ddb03ba739930555538c942de12cd28b5ac7097.gz
|
|
|
|
| |
darcs-hash:20060424213806-7ad00-05b1ae64e442ef72b94f0cc900530336ea70f3bd.gz
|
|
|
|
| |
darcs-hash:20060419162307-0ad7b-b0d52123d32f81c024a0ac9e336baedff95b8738.gz
|
|
|
|
|
|
|
| |
spelling and gender corrections - added all missing translations
for dir. inc/lang/it
darcs-hash:20060418173433-6f5f9-090be4bcb32b4075358de113941cf491e2cde215.gz
|
|
|
|
| |
darcs-hash:20060418201132-7ad00-fd1a73238470a55a245ee873479fa391a4a4bb53.gz
|
|
|
|
| |
darcs-hash:20060418183353-7ad00-4a5f2fbe0bf1524cf279d15110d80688d31bfe0f.gz
|
|
|
|
| |
darcs-hash:20060417164547-7ad00-7270f4d88b027d179b1f600fc347eea8db8a8f83.gz
|
|
|
|
| |
darcs-hash:20060417003153-a90f0-4792fd7b946f62d3696b979f8debfa73587d353a.gz
|
|
|
|
| |
darcs-hash:20060417160453-7ad00-e54322159dbe1c1c75cd2c8494fda14a3f4bc021.gz
|
|
|
|
| |
darcs-hash:20060415162247-9b6ab-d6c05736c0e4fb05331bc1cf06e48c5d61c64d5b.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
event TPL_ACTION_HTML
data $ACT
action tpl_content_core (formerly tpl_content)
This event is a wrapper for tpl_content() (now tpl_content_core()) and as such is a
full trigger, meaning it issues three advises:
- TPL_ACTION_HTML_before
- TPL_ACTION_HTML
- TPL_ACTION_HTML_after
Event handlers can output HTML before and/or after the main Dokuwiki page output and
can prevent the default dokuwiki page generation taking place.
Example uses could include:
- replacements for dokuwiki command handlers like index.
- appending a discussion section to the page by handling TPL_ACTION_HTML_after
event TPL_DISPLAY_HTML
data html output produced by tpl_content_core[1]
action send output to browser
Event handlers can post process the HTML output before it is sent to the client
browser. This is a full trigger, meaning it issues three advises
- TPL_DISPLAY_HTML_before
- TPL_DISPLAY_HTML
- TPL_DISPLAY_HTML_after
darcs-hash:20060415160847-9b6ab-d7affcb1aaf49aecfaf9bc1e78a82ceb8ae409f7.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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
darcs-hash:20060415104627-283c4-c7d35620fc9dbc21b8a47089692b76d35a9f9ca8.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This event is advisory only.
Event data is the $ACT variable
The default action is to display an "unknown action" message
The event is triggered by tpl_content if it does not recognise the $ACT value. It is
the complement to event 'ACTION_DISPATCH'. Handlers of this event can output XHTML
which will be displayed in the main dokuwiki window - ie. where the wiki page would
normally be displayed.
darcs-hash:20060414201705-9b6ab-f8ede6a2fb601d734c115ee09bb57195ad7d1e2b.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This event is advisory only.
Event data is the handler object.
There is no default action to prevent.
The event is signalled by the handler during its finalisation of the instruction list.
At the time of signalling the instruction list is complete except for three instrucitons,
meta, document_start & document_end.
Syntax plugins could register for this event to finalise processing of their data knowing
it is complete, e.g. an alternate footnote plugin.
darcs-hash:20060414201101-9b6ab-eba2d096ed3b82e1ec6b24ee90caaa9849f16093.gz
|