- May 20, 2006
-
-
Ben Coburn authored
This patch hides settings that are missing config metadata and optionally provides a list of warnings about settings that are not properly configured. - Warnings about settings are listed if $conf['allowdebug'] is true. - Warnings are listed by the $conf string as it appears in local.php. - Warnings show the $meta string as it would appear in the correct settings metadata file. - There are 3 kinds of warnings. - undefined There is no $meta information defined for this setting. - no class The setting class specified in $meta can not be found. This setting does have a $meta entry. - no default The setting is missing a default value. The setting does have a $meta entry with a valid setting class. - Note: Settings with metadata but other warnings are allowed to appear in the normal config settings list. Also... - Templates can now define their own settings classes. - Removed an XHTML validation error from the first patch. - More language strings to go with the new warnings. The warnings under the 'Undefined Settings' heading are intended to provide developers with a list of any settings that they have forgotten to finish preparing for the config plugin. This list should be blank for stable releases. darcs-hash:20060520103718-05dcb-6d4e6bce78498cbf9d087e27d52e4aa30917b0a5.gz
-
- May 19, 2006
-
-
Andreas Gohr authored
darcs-hash:20060519212751-7ad00-ace54b61706fdf4f1b7c2abdbabee215a1e256ab.gz
-
Andreas Gohr authored
Separate scrolling for right and left side of the manager (like frames) Show syntax example for simple copy'n'paste if no JavaScript available. darcs-hash:20060519202900-7ad00-9b20bd7993d3687f83b807a81cd23051b16785db.gz
-
Andreas Gohr authored
This patch add a link to the media manager when no JavaScript is available. Users can upload and browse for pictures now without the need for JavaScript only inserting has to be done manually then. darcs-hash:20060519175959-7ad00-5ee77fd00d20bef9a36eee632a1c5897097ba4a8.gz
-
Andreas Gohr authored
This patch adds a completely rewritten media popup. The following noteworthy changes were made: - media manager uses a collapsible namespace tree - media manager uses AJAX if available - media manager popup can be kept open when selecting a media file - only one template is used for the media manager :!: Template - Editable image metadata is configured in conf/mediameta.php now - The JS cookie mechanism was enhanced to store key/value pairs - Language strings can be exported to JS in js.php darcs-hash:20060519165023-7ad00-4932b4553fc919aa4a8b8187958b823acf4f8cee.gz
-
- May 16, 2006
-
-
Ben Coburn authored
- 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
-
Ben Coburn authored
- 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
-
- May 12, 2006
-
-
Andreas Gohr authored
darcs-hash:20060512073949-7ad00-64c25a5f74939cd4ca17e5928d77f0951c67b3ac.gz
-
- May 11, 2006
-
-
chris authored
darcs-hash:20060511083209-9b6ab-418fb83530be356bb40307c4a95a9c03954fc725.gz
-
Andreas Gohr authored
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
-
- May 10, 2006
-
-
Ben Coburn authored
- 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
-
- May 07, 2006
-
-
polinnia authored
added all missing translations for plugins acl, config, plugin, usermanager darcs-hash:20060507160954-57bea-73636f302bdf9ae5ec48242732b6051dea461784.gz
-
Andreas Gohr authored
darcs-hash:20060507165308-7ad00-3526c8c4e5d8c10a8e003068008e2344e94e1739.gz
-
Andreas Gohr authored
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
-
Andreas Gohr authored
darcs-hash:20060507101333-7ad00-e687d797fbee26e0b0bc7741ff8a1af496c101bf.gz
-
- May 06, 2006
-
-
Andreas Gohr authored
darcs-hash:20060506215440-7ad00-a04d6ebb428816b534b7b3636f050885bc02f266.gz
-
- May 04, 2006
- Apr 30, 2006
-
-
Andreas Gohr authored
darcs-hash:20060430221451-7ad00-9729246270f67bcc955a42727595925e6f53a331.gz
-
Andreas Gohr authored
darcs-hash:20060430182156-7ad00-1548636dbfaa9fc0b25c26e4121f763a485c2f9c.gz
-
Andreas Gohr authored
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
-
chris authored
- style correction, change second occurrence of textarea.default to textarea.protected - comment spelling correction darcs-hash:20060430160900-9b6ab-5d2ba348ba00880f79d0874e3128234e0cb696c0.gz
-
chris authored
darcs-hash:20060430153000-9b6ab-0918d41e77e897d3b14c91de822567f8a3007779.gz
-
chris authored
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
-
- Apr 27, 2006
-
-
Anika Henke authored
darcs-hash:20060427224105-d5083-505d1230b7d13dfbf1eb6ae1144b7b72313574dc.gz
-
- Apr 28, 2006
-
-
Andreas Gohr authored
darcs-hash:20060428213851-7ad00-2aebcece3effc9315645cf3164c83f2631a7f2a2.gz
-
- Apr 20, 2006
-
-
Ben Coburn authored
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
-
Ben Coburn authored
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
-
- Apr 27, 2006
-
-
Ben Coburn authored
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
-
- Apr 24, 2006
-
-
chris authored
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
-
- Apr 16, 2006
-
-
mtbrains authored
darcs-hash:20060417003153-a90f0-4792fd7b946f62d3696b979f8debfa73587d353a.gz
-
- Apr 14, 2006
-
-
chris authored
This patch adds events and a third plugin type, "action" plugins, to DokuWiki. The patch doesn't include any event signalling, that will be added in later patches. Action plugins are loaded before most Dokuwiki processing takes place and at the same time are given the opportunity to register handlers (or hooks) to receive specific dokuwiki events. Other parts of Dokuwiki (e.g. templates and syntax plugins) can also register handlers to receive events. Any part of Dokuwiki can create and signal events, including templates and plugins. This patch also revises the admin plugin class by making it an extension of a new class, DokuWiki_Plugin. The DokuWiki_Plugin_Action class also extends this new class. Further details of events, their signalling and handling, and of action plugins will be added to wiki.splitbrain.org in due course :-) darcs-hash:20060414193737-9b6ab-f23d3d9b93e4c50a3ad97ced03eabc6c0363650b.gz
-
- Apr 12, 2006
-
-
Andreas Gohr authored
Now all filetype icons have the same style and work on light and dark backgrounds. A test file was added to lib/images/fileicons/index.php darcs-hash:20060412195703-7ad00-4d31a65788e8da0255ea6e064382595e8ae183ff.gz
-
- Apr 10, 2006
-
-
Ben Coburn authored
Uses the first heading as the page name in the default template if $conf['useheading'] is set. Updates tpl_pagetitle() so that it can return this value. darcs-hash:20060410234311-05dcb-b4636f7c0d8f98658a6097ea9ee4dff1ee2de8b4.gz
-
Andreas Gohr authored
darcs-hash:20060410192459-7ad00-4212125ec31532656030b4d80984f6b45b5cf293.gz
-
- Apr 09, 2006
-
-
chris authored
Update default plugins to ensure they exit immediately if not called from within Dokuwiki darcs-hash:20060409233841-9b6ab-555e4fced756849a5d7b9de6e4aaaea24c6da3ae.gz
-
chris authored
darcs-hash:20060409232533-9b6ab-13b2065c81b857a73b8e1175c9371978f8f76ab5.gz
-
Ben Coburn authored
Tells standards compliant browsers that conditional requests for CSS and JS need only be made once an hour. This should reduce page display latency on some browsers. Originated from the comment in this thread: http://www.freelists.org/archives/dokuwiki/03-2006/msg00590.html darcs-hash:20060410012723-05dcb-eccb42aefe85c9dbb4f35fdf03a9635561cf5710.gz
-
Andreas Gohr authored
darcs-hash:20060409115740-7ad00-dd6cb62ccd4e0947ccb7566b0c0010eb807585e3.gz
-
- Mar 27, 2006
-
-
Ben Coburn authored
The old pattern (left as a comment) allowed many PHP syntax errors to be inserted into local.php for numeric values. This was breaking the wiki... see bug #769. This patch should eliminate the syntax errors by using a more restrictive definition of numeric settings. darcs-hash:20060327200700-05dcb-ccb8d532e5c123965fc6c8e79fb49c93170d827e.gz
-