summaryrefslogtreecommitdiff
path: root/lib/plugins
Commit message (Collapse)AuthorAge
* german language updateAndreas Gohr2006-09-03
| | | | darcs-hash:20060903081832-7ad00-9ea6aaaf2fb84fa543d3606e634e973711591597.gz
* scalable changelog redesignBen Coburn2006-08-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch provides a rewritten changelog system that is designed to run efficiently on both small and large wikis. The patch includes a plugin to convert changelogs from the current format. The conversion is non-destructive and happens automatically. For more information on the new changelog format see "http://wiki.splitbrain.org/wiki:changelog". Structure In short the changelog is now stored in per-page changelog files, with a recent changes cache. The recent changes cache is kept in "/data/meta/_dokuwiki.changes" and trimmed daily. The per-page changelogs are kept in "/data/meta/<ns>/<page_id>.changes" files. To preserve revision information for revisions stored in the attic, the "*.changes" files are not removed when their page is deleted. This allows the full life-cycle of page creation, deletion, and reversion to be tracked. Format The changelog line format now uses a general "line type" field in place of the special "minor" change syntax. There is also an extra field that can be used to store arbitrary data associated with special line types. The reverted line type (R) is a good example. There the extra field holds the revision date used as the source for reverting the page. See the wiki for the complete syntax description. Code Notes The changelog functions have been rewritten to load the whole file only if it is small. For larger files, the function loads only the relevant chunk(s). Parsed changelog lines are cached in memory to speed future function calls. getRevisionInfo A binary search is used to locate the chunk expected to contain the requested revision. The whole chunk is parsed, and adjacent lines are optimistically cached to speed consecutive calls. getRevisions Reads the changelog file backwards (newest first) in chunks until the requested number of lines have been read. Parsed changelog lines are cached for subsequent calls to getRevisionInfo. Because revisions are read from the changelog they are no longer guaranteed to exist in the attic. (Note: Even with lines of arbitrary length getRevisionInfo and getRevisions never split changelog lines while reading. This is done by sliding the "file pointer" forward to the end of a line after each blind seek.) isMinor Removed. To detect a minor edit check the type as follows: $parsed_logline['type'] darcs-hash:20060830182753-05dcb-1c5ea17f581197a33732a8d11da223d809c03506.gz
* update config pluginchris2006-08-26
| | | | | | | | | - add $conf['compression'] meta data and en lang strings - remove $conf['usegzip'] meta data and en lang strings Other language strings will need to be updated. darcs-hash:20060825223047-9b6ab-b0c8c6af57847690a6d398d0bd98af9a51911c21.gz
* user manager updatechris2006-08-23
| | | | | | | | | | | | | | | | - add capability to send notification emails to users on creation and password modification (bug#640) - add success and fail messages for new user addition - fix bug when modification of username wasn't allowed, 'Edit user' fields weren't populated - fix (php5 only?) bug where default group wasn't given to a new user if no groups were specified - added explanatory notes concerning default group and password notification emails This patch adds several new strings to the plugin's lang.php darcs-hash:20060823115626-9b6ab-ea98ef630c79b28b52141957deb3efc307a9291d.gz
* slovak language updateAndreas Gohr2006-08-18
| | | | darcs-hash:20060818142400-7ad00-b90e76acbfc37f99d4317fea26d063f67ffb4488.gz
* plugin manager update - another fix for php5chris2006-08-08
| | | | darcs-hash:20060808131143-9b6ab-1bf57f66c6d1b10305f1bf190c7d507130f84eaa.gz
* japanese language updateAndreas Gohr2006-08-07
| | | | darcs-hash:20060807200813-7ad00-ca46ec6eca59cc368fbace6f7de337e4d1e997a5.gz
* plugin manager updatechris2006-08-07
| | | | | | fix ordering of plugins for php5 darcs-hash:20060807132242-9b6ab-2dc8e4508dc721908ec6453fc09acec1de23687d.gz
* various language fixesAndreas Gohr2006-08-06
| | | | | | | This patch makes sure all languages files have UNIX style line endings and use correct UTF-8 encoding darcs-hash:20060806143836-7ad00-2d9c48c5be303565ce461ec977c8792df61fbdd1.gz
* IT-20060806-patchpolinnia2006-08-06
| | | | | | completed IT translation for new release of Dokuwiki darcs-hash:20060806094947-57bea-f82fb29ada061db880bbab84d7cee79711f3e49b.gz
* semantic css placeholders - part 1Anika Henke2006-08-05
| | | | darcs-hash:20060805141743-d5083-35b1edef7cd407f93b593e0a1cbbf1f548e86add.gz
* Missing Spanish translationsmiguel.pagano2006-08-01
| | | | darcs-hash:20060731224944-072b4-a965cc88f22614bde7d57fa2d714c749933d66f8.gz
* polish lang updateGrzegorz Zur2006-08-02
| | | | darcs-hash:20060802132121-e561a-20e7882da3fe22eb06598a52d4e80fe64af441f0.gz
* ukrainian translation additions and correctionsOleksiy Voronin2006-08-01
| | | | | | Added missing files and strings for ukrainian translation. darcs-hash:20060801083018-71672-0eccf6e76ae33374b964666e753b5f7a40710789.gz
* config plugin updatechris2006-07-31
| | | | | | | - improvements in handling of default values for multi-checkbox settings (e.g. defaultactions) - minor style tweaks to cater for IE/Win darcs-hash:20060731105910-9b6ab-2e78b4f545b9d8a9f98accc22eeba5701049a037.gz
* rest of Danish lang minus installerlarsch82006-07-30
| | | | darcs-hash:20060729232120-a08f5-76f30344ee4b77b2dff6cfc010ab30a3bff1948e.gz
* French lang updateGuy Brand2006-07-29
| | | | darcs-hash:20060729182720-19e2d-9adbc9aaf5bcb637a8765e4658a216b7fcc375eb.gz
* Danish lang updatelarsch82006-07-29
| | | | darcs-hash:20060729003543-a08f5-e3ee3d4f5a21e36655b52edd8ee30421cfc4aa34.gz
* config mgr: labels wrapped in span, not in aAnika Henke2006-07-28
| | | | darcs-hash:20060728212333-d5083-cbad284f32a6b01eb3609fe1aa960156b9ae42a3.gz
* ukrainian_translationOleksiy Voronin2006-07-28
| | | | darcs-hash:20060728201449-71672-da3bb0b702f89ad1f24526e592755f0f43c89850.gz
* german language updateAndreas Gohr2006-07-28
| | | | darcs-hash:20060728103450-7ad00-02001d13abc3808272ebe0ca5090f77ec8a831bb.gz
* add missing closing parenthesis from yesterday's patchchris2006-07-25
| | | | darcs-hash:20060725123522-9b6ab-d4351e484bbd0d23d0b2d8b23c51368e1b64cbcb.gz
* minor fix in plugin managerchris2006-07-24
| | | | darcs-hash:20060724193727-9b6ab-e1e9368fc18d674bd027bbfd03245e7b52944e67.gz
* Danish lang update 3larsch82006-07-23
| | | | darcs-hash:20060723030705-a08f5-7de42a43c8edb35592faaa60bc2c66223db93db3.gz
* greek language updateAndreas Gohr2006-07-13
| | | | darcs-hash:20060713204609-7ad00-541e0203b571ee94a735938affeeb408fde7deb7.gz
* cleanup undefined constant noticesBen Coburn2006-07-10
| | | | | | | 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
* More Danish lang updatelarsch82006-07-09
| | | | darcs-hash:20060709214043-a08f5-b57b818851c3c406f04efa573d8888f6e39c6526.gz
* Danish lang updatelarsch82006-07-08
| | | | darcs-hash:20060708164549-a08f5-e8fad040f51440e516590c2db3afe781d49fc809.gz
* disabled actions addition to config pluginchris2006-07-05
| | | | | | | | | | | | | This patch adds a new generic settings class, setting_multicheckbox. The class displays each of a list of possible choices as a checkbox and an additional text input field for "other" values. The final result is saved in the config file as a comma separated list. It also supports an additional, optional, parameter, "_combine" which can be used to group complimentary values, allowing them to be set or unset together with one checkbox. darcs-hash:20060705012142-9b6ab-b92daddd1393bfc5e9b650a57348237726957c71.gz
* pluginmgr independent from tpl style.iniAnika Henke2006-06-18
| | | | darcs-hash:20060618173540-d5083-6dc05adbf702b2a9ba0fc1ea9421d8450fe2e013.gz
* 2006-06-12-plugins-zh-tw.patchchinsan.tw2006-06-12
| | | | darcs-hash:20060612032435-8864c-7bf33120aa36b8bff737bae3b1913c8f50e04397.gz
* greek language updatesThanos Massias2006-06-16
| | | | darcs-hash:20060616125101-3b7d2-ba5934430fb3253834c5bb71eadf7de2d1b87934.gz
* added missing settings to config pluginAndreas Gohr2006-06-16
| | | | darcs-hash:20060616124539-7ad00-22cc3417b2a3b8e183d272f6c132ce88a27c4fac.gz
* Czech lang update, added czech to configBohumir Zamecnik2006-06-08
| | | | darcs-hash:20060608085236-9be09-3142ff6fd2a13cd03205a6703b3fd22bddf5e078.gz
* updated_localisation_sk_SKovegh2006-04-18
| | | | darcs-hash:20060418090713-95fcd-c869a93f84e3399ccfe2f3ce9e3e4e7a5b359a1c.gz
* Lithuanian updateAndreas Gohr2006-05-22
| | | | darcs-hash:20060522181314-7ad00-7830b7819a770628c6e63f9d294292a876575ac7.gz
* russian translation updateDenis Simakov2006-05-22
| | | | darcs-hash:20060522115828-3c565-1145b34530614474f56494f57b41e9304f902cc7.gz
* config plugin ui update 20060520Ben Coburn2006-05-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* gzip content-encoding optionBen Coburn2006-05-16
| | | | | | | | - 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
* jpg quality optionBen Coburn2006-05-16
| | | | | | | | | | - 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
* add config plugin support for plugin defined setting classeschris2006-05-11
| | | | darcs-hash:20060511083209-9b6ab-418fb83530be356bb40307c4a95a9c03954fc725.gz
* config plugin ui organizationBen Coburn2006-05-10
| | | | | | | | | | | | | | | | | - 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
* plugins.lang.itpolinnia2006-05-07
| | | | | | | added all missing translations for plugins acl, config, plugin, usermanager darcs-hash:20060507160954-57bea-73636f302bdf9ae5ec48242732b6051dea461784.gz
* changed all occurances of rename() to io_rename()Andreas Gohr2006-05-07
| | | | darcs-hash:20060507101333-7ad00-e687d797fbee26e0b0bc7741ff8a1af496c101bf.gz
* admin plugin: fix menu option when auth module doesn't getUserschris2006-05-05
| | | | darcs-hash:20060505000630-9b6ab-eb1add597db261d8d2843435bcfa22ac8f35a6f5.gz
* fix more ';' in config valueschris2006-05-05
| | | | | | a more robust fix is needed, but this should resolve 99.9% of potential problems darcs-hash:20060505000432-9b6ab-273277892e7b7dc978f7622174de38212155f104.gz
* config plugin updatechris2006-04-30
| | | | | | | - style correction, change second occurrence of textarea.default to textarea.protected - comment spelling correction darcs-hash:20060430160900-9b6ab-5d2ba348ba00880f79d0874e3128234e0cb696c0.gz
* plugin manager fix, add error suppression operator to touch call.chris2006-04-30
| | | | darcs-hash:20060430153000-9b6ab-0918d41e77e897d3b14c91de822567f8a3007779.gz
* improvements to common plugin i/fchris2006-04-30
| | | | | | | | | | | | 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
* danish lang.php of configmanager fixed (caused broken admin page)Anika Henke2006-04-28
| | | | darcs-hash:20060427224105-d5083-505d1230b7d13dfbf1eb6ae1144b7b72313574dc.gz