summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAge
* no gzipping in indexer.phpAndreas Gohr2006-09-17
| | | | darcs-hash:20060917140718-7ad00-ab1b95974ad63966c770f787112bc7c2e285c394.gz
* Update french translationGuy Brand gb@isis.u-strasbg.fr2006-09-17
| | | | darcs-hash:20060917075103-c47a2-de10540e0be698e3aeeab00f085bd212891cd750.gz
* updatecheck featureAndreas Gohr2006-09-16
| | | | | | | | | | | | | | | | | This patch adds a feature to let DokuWiki automatically check if updates are available or any other important messages (like security warnings) and then display this info to the admin user. DokuWiki will contact the URL http://www.splitbrain.org/lib/exe/msg.php with a parameter telling it which messages it already know (read from conf/msg) - the server side script then will return all new messages. The messages will be displayed until DokuWiki was upgraded or conf/msg was updated manually. Messages are cached and only checked once a day. The messenger URL will probably change before the next release. darcs-hash:20060916210229-7ad00-7ac592650e171ae4144b0eb47a751a4ca480f031.gz
* japanese language updateAndreas Gohr2006-09-16
| | | | darcs-hash:20060916145219-7ad00-2ca985138204b2547ef9e24d780c226af8073fcb.gz
* script fix for IEAndreas Gohr2006-09-15
| | | | darcs-hash:20060915150152-7ad00-9ee841597a011119b96964a1468b1f517fab857a.gz
* changelog redesign updateBen Coburn2006-09-11
| | | | | | | | | | | - Improves handling of deleted revisions. - Import plugin disables after import. - Check act reports if plugin is still enabled after the import. - Import correctly handles summaries without the minor prefix. - Newlines and tabs are now striped out of type, sum, and extra in the changelog. darcs-hash:20060911014738-05dcb-2f6c9fdffb6346f7d3190610a72b290090b28097.gz
* suppress boring errorsBen Coburn2006-09-08
| | | | | | | | Suppress any errors from set_time_limit, unlink, and file_exists functions. see: http://www.freelists.org/archives/dokuwiki/09-2006/msg00004.html darcs-hash:20060908193433-05dcb-013617431870ab5bfb2ce8c6e99ba5af13493228.gz
* parser caching updatechris2006-09-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch primarily updates p_cached_xhtml() and p_cached_instructions() to allow their caching logic to be surrounded by an event trigger. p_cached_xhtml() has been rewritten as the more general p_cached_output() to support other render output formats besides 'xhtml'. All calls to p_cached_xhtml() have been changed to refer to the new function. New event: name: PARSER_CACHE_USE data: cache object (see below) action: determine if cache file can be used preventable: yes result: bool, true to use cache file, false otherwise Cache operations have been generalised in a new class, cache, extended to cache_parser, cache_renderer & cache_instructions. Details can be found in inc/cache.php For handling of above event, key properties are: - page, if present the wiki page id, may not always be present, e.g. when called for locale xhtml files - file, source file - mode, renderer mode (e.g. 'xhtml') or 'i' for instructions Other changes: - cache class counts cache hits against attempts, results are stored in {cache_dir}/cache_stats.txt - adds metadata dependency to renderer page cache - replaces purgefile dependency for renderer cache with metadata 'relation references' (internal link) dependency for wiki pages only darcs-hash:20060911021418-9b6ab-19601ed194b8c8e45236ab72c3e23d78bf777e6c.gz
* minor update to default templatechris2006-09-09
| | | | | | | - main.php & detail.php add check for being run by DokuWiki, die() if not. darcs-hash:20060909093603-9b6ab-0f8e31e246adba8adc888dbba1f924ff0e455d63.gz
* another update for the IE+HTTPS init event problemAndreas Gohr2006-09-04
| | | | darcs-hash:20060904182033-7ad00-c72dfa5fa9f5c44e0fdf09db922a4915935169f7.gz
* removed superfluous <br /> after inline tablesAnika Henke2006-09-03
| | | | darcs-hash:20060903193759-d5083-276d7cb9622d9a009de2aedca8bfba880c3ffbdd.gz
* https fix for window.onloadAndreas Gohr2006-09-03
| | | | | | | | | | | This should fix an issue with IE6 and https where the window.onload magic would raise a security warning. See http://dean.edwards.name/weblog/2006/06/again/#comment5776 http://dean.edwards.name/weblog/2006/06/again/#comment5788 needs testing darcs-hash:20060903162438-7ad00-b29cd50387d1fef95bb688910b41e6b64cfeebca.gz
* 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
* strip tags from title #883Andreas Gohr2006-08-26
| | | | | | | | This patch no longer uses htmlspecialchars on $conf['title'] when used in the page title - instead strip_tags is applied. This streamlines the use of $conf['title'] darcs-hash:20060826180943-7ad00-c8cc155c1e92fad05b85f77841834f782cbf6281.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
* Add AJAX_CALL_UNKNOWN eventBen Coburn2006-08-09
| | | | | | | | | | | | Allows action plugins to support custom ajax calls. The event data is the call name from $_POST['call']. When handling a custom ajax call, remember to use $event->preventDefault(); to avoid having the 'AJAX call <call> unknown!' message appended to the output. darcs-hash:20060809194501-05dcb-0082e4f2a83fc8657fc7cdcf32d44aac8d1a6b99.gz
* plugin manager update - another fix for php5chris2006-08-08
| | | | darcs-hash:20060808131143-9b6ab-1bf57f66c6d1b10305f1bf190c7d507130f84eaa.gz
* make image details indexableAndreas Gohr2006-08-07
| | | | darcs-hash:20060807205738-7ad00-5492ba5fe3e854f9dc233254535e4e897847353c.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 2Anika Henke2006-08-05
| | | | darcs-hash:20060805150015-d5083-4ac2de4b475c70d386745aefd606ffb396cf8f92.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
* fix in JS compressorAndreas Gohr2006-08-01
| | | | | | | This fixes a problem with escaped backslashes in single and double quote strings. darcs-hash:20060731223008-7ad00-ebae61a00115b7f32c12eb9355059a1ecf467cd3.gz
* spellchecker CSS changes #539 #824Andreas Gohr2006-07-31
| | | | | | | | This patch now assigns the needed proprietary CSS attributes for the spellchecker through JavaScript. This makes the CSS valid again (at least it appears to be ;-)) I also fixed a problem with leading single spaces in IE darcs-hash:20060731192807-7ad00-b82bdcae9a0c8cf063c3a1e985dbfd1dfdee7b06.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
* another try at the uploadformAndreas Gohr2006-07-31
| | | | darcs-hash:20060731175331-7ad00-7cfe2aa927bb837368c07e01a85ad9ffe697956d.gz
* rest of Danish lang minus installerlarsch82006-07-30
| | | | darcs-hash:20060729232120-a08f5-76f30344ee4b77b2dff6cfc010ab30a3bff1948e.gz
* mediamanager uploadform: adjusted html + cssAnika Henke2006-07-30
| | | | darcs-hash:20060730111004-d5083-ab7efbe958e77f5b7ff4500b91b8d43da657e9d4.gz
* French lang updateGuy Brand2006-07-29
| | | | darcs-hash:20060729182720-19e2d-9adbc9aaf5bcb637a8765e4658a216b7fcc375eb.gz
* inputshadowmatthiasgrimm2006-07-29
| | | | | | | | | | the existing text entry shadow is very dominant and makes it difficult to read the text (especcially if background colours other than white are used). This patch replaces the input shadow file with a less dominant one. darcs-hash:20060729095224-7ef76-e8519c7fca130647ff748d7b1a1f285431fdbbf2.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
* fixing undefined variablesBen Coburn2006-07-10
| | | | | | | Fixing undefined variable notices and sometimes the underlying error that produced them. darcs-hash:20060710114655-05dcb-073948171847f1f43f153e96c8382abd421da36a.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
* fix event.target in IEAndreas Gohr2006-07-11
| | | | | | Just a simple addition to fix the event.target property in IE's JavaScript darcs-hash:20060711181048-7ad00-ed9123f08d935584ab68b5c49b4b7a56ff87856d.gz