summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* cache.php fixeschris2006-09-17
| | | | | | | - add code to ensure page metadata is refreshed along with cache - bug fix for missing global $conf darcs-hash:20060917193934-9b6ab-c53c8b6e4764d4c63014ecbaadf0797eb959224f.gz
* disable debugging by defaultAndreas Gohr2006-09-17
| | | | darcs-hash:20060917183150-7ad00-1672f8ef23dc49b6cdfd43d29338dab6a14a928c.gz
* install script update IIchris2006-09-17
| | | | | | - alter acl configuration to use @admin group as superuser darcs-hash:20060917154659-9b6ab-37145ebda1f04ad29ae430b463f7305eaccad9fd.gz
* install script update Ichris2006-09-17
| | | | | | | | - update hash for devel dokuwiki.php - remove changes.log creation, its no longer required - add allowdebug darcs-hash:20060917154208-9b6ab-612815c241dbff1c2c1c99f0ca1da8bce6c9538e.gz
* infoutils updatechris2006-09-17
| | | | | | minor modifications to avoid php warnings if msg file is missing. darcs-hash:20060917153009-9b6ab-4b6ee49d728e89c3427130c617b532cd23c680bb.gz
* update for updatecheck functionAndreas Gohr2006-09-17
| | | | | | | Messages are now displayed to all users if ACL is not enabled. The update-URL changed to http://update.dokuwiki.org/check/ darcs-hash:20060917145025-7ad00-1d64b90e51c1a49567a28b132caf79ae0f124c8e.gz
* 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
* event names renamedAndreas Gohr2006-09-17
| | | | | | | HTML_EDIT_PAGETEMPLATE becomes HTML_PAGE_FROMTEMPLATE TPL_METAHEADER_PRINT becomes TPL_METAHEADER_OUTPUT darcs-hash:20060917103450-7ad00-405f3533915b54ee4d4050cfccbf27d43ff7435f.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
* cleanID on passforgot action #861Andreas Gohr2006-09-16
| | | | darcs-hash:20060916194626-7ad00-2eeb07a509c95359a9bd1b164db4af7279b7f330.gz
* minor update to cache.phpchris2006-09-15
| | | | | | | | | | | this update changes the processing sequence slightly to make the cache item's dependencies ($this->depends) available before _useCache is called. ie. the dependencies will be available to and modifiable by handlers of the PARSER_USE_CACHE event. darcs-hash:20060915144735-9b6ab-b0db479f9ef305aed21ca291ea909002baae4e21.gz
* better getVersion when working on a darcs treeAndreas Gohr2006-09-16
| | | | | | | | getVersion tries to find the date of the latest applied patch from _darcs/inventory - this patch makes it only read the last 2000 byte of the file instead of loading the whole file. darcs-hash:20060916182955-7ad00-5a38de1ae4f1a206a8f62cc88551d4f0bc35340e.gz
* TPL_METAHEADER_PRINT event hook addedAndreas Gohr2006-09-16
| | | | | | | | | | This patch changes the tpl_metaheaders function to emit an event to intercept the creation of HTML metadata. The usually generated meta headers are passed in an array structure for easy modification and enhancement. darcs-hash:20060916154722-7ad00-b22ab79803d1abad4ca579b84b6a3fa466403619.gz
* permission setting in io_rename fixed #912Andreas Gohr2006-09-16
| | | | darcs-hash:20060916145350-7ad00-cb78b531006e1f1875b2d8e8bc648740e5021736.gz
* japanese language updateAndreas Gohr2006-09-16
| | | | darcs-hash:20060916145219-7ad00-2ca985138204b2547ef9e24d780c226af8073fcb.gz
* fix for previous pagetemplate event patchAndreas Gohr2006-09-16
| | | | | | Sorry, did mess up in testing the last patch. darcs-hash:20060916000515-7ad00-3874991f9121ac80b2b3b66d4f5ac166702df1d1.gz
* HTML_EDIT_PAGETEMPLATE event addedAndreas Gohr2006-09-15
| | | | darcs-hash:20060915202321-7ad00-2f3440a36d7a41604c1cbfbc9633c898c7b9ff0e.gz
* script fix for IEAndreas Gohr2006-09-15
| | | | darcs-hash:20060915150152-7ad00-9ee841597a011119b96964a1468b1f517fab857a.gz
* fix for missing quotation mark in tpl_metaheadersAndreas Gohr2006-09-13
| | | | darcs-hash:20060913185921-7ad00-8ee85b4a39944484d660c8a1d710bd548feac26b.gz
* slovak language updateOndrej vegh2006-09-13
| | | | darcs-hash:20060913185616-f4aa4-49a3cfe651bdea99eab453b911a2ef49bf7d400a.gz
* reorganize changelog codeBen Coburn2006-09-11
| | | | | | | Moves changelog code to 'inc/changelog.php' and includes it from 'inc/common.php'. darcs-hash:20060911023822-05dcb-e727737011163cbf04f0a4c682cb9fd8a985e597.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
* add sapi check to scripts in bin directorychris2006-09-09
| | | | darcs-hash:20060909093314-9b6ab-af4fea49bf71b416150132d44534579d751f144b.gz
* clientIP() update + additional unit testchris2006-09-08
| | | | darcs-hash:20060908124315-9b6ab-7e4146e1068ab08d5539a7c573502d8373a0e524.gz
* clientIP() update, data cleaning improvementschris2006-09-08
| | | | | | | | | as per recent security warning, clientIP() could return other arbitrary data along with an IP address. This fix ensures only IP addresses can be returned by this function. darcs-hash:20060908122744-9b6ab-8c90ca361b038a47b65f3f3dbf7228ae569f8c08.gz
* .htaccess added to bin directoryAndreas Gohr2006-09-08
| | | | darcs-hash:20060908071356-7ad00-4bfc1e6e6a485582cafe4f2045180c69d9d7b739.gz
* change non-breaking space encoding to utf-8chris2006-09-06
| | | | darcs-hash:20060906191207-9b6ab-2b1e3e4948f6c3e4c3b3857440ff790aa66e4614.gz
* move AUTH defines higher upAndreas Gohr2006-09-06
| | | | | | | | | This moves the defines for the different AUTH levels higher up in inc/auth.php to set them before including any auth modules. This fixes a problem with the phpBB auth module posted at http://wiki.splitbrain.org/wiki:tips:integrate_with_phpbb#another_phpbb.class.php darcs-hash:20060906184814-7ad00-679bd636730e21dca45b9baaf721fb3b34a8695a.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
* keyword meta headerAndreas Gohr2006-09-03
| | | | | | The <meta name darcs-hash:20060903161204-7ad00-61c823d3806e6fdc2ffa3d4978a90dc9953ef9ce.gz
* other languages for FS#876 (only languages are missing that miss ↵Anika Henke2006-09-03
| | | | | | registermail anyway) darcs-hash:20060903101323-d5083-8e25477a9c22364b4e086bade217ef7efd4b8f03.gz
* german language updateAndreas Gohr2006-09-03
| | | | darcs-hash:20060903081832-7ad00-9ea6aaaf2fb84fa543d3606e634e973711591597.gz
* update backlink search to use metadatachris2006-09-01
| | | | darcs-hash:20060901002016-9b6ab-716518138edf541a869510d7c2934b9474547fc3.gz
* add unittests for bug#891chris2006-08-31
| | | | darcs-hash:20060831092146-9b6ab-b00aa29c982ab18117f476b3d01d5111915c9d4b.gz
* search improvementschris2006-08-31
| | | | | | | | | | | | | | | | | | | ft_snippet() - make utf8 algorithm default - add workaround for utf8_substr() limitations, bug #891 - fix some indexes which missed out on conversion to utf8 character counts - minor improvements idx_lookup() - minor changes to wildcard matching code to improve performance (changes based on profiling results) utf8 - specifically set mb_internal_coding to utf-8 when mb_string functions will be used. darcs-hash:20060831003413-9b6ab-712021eda3c959ffe79d8d3fe91d2c9a8acf2b58.gz
* conflict resolution for memory cache initAndreas Gohr2006-08-30
| | | | darcs-hash:20060830210459-7ad00-8f7a2ae826d5f893d3e48f41c8ae868987ec0dd2.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
* further update to global memory cache arrayschris2006-08-29
| | | | | | | | | | | | | - remove initialisation of caches in inc/pageutils.php - add global declaration to init.php to support init.php being included from within a function, e.g. unit testing ;-) - minor change to utf8_substr, remove non-essential brackets added as part of an earlier patch darcs-hash:20060829134806-9b6ab-ab15191344a83be664c412403dc84a24fa2253a2.gz
* bug #876, additional data for new user notification emailchris2006-08-22
| | | | | | | This patch updates only the english version of the localised "registermail.txt" file. Other versions need to be updated also. darcs-hash:20060822072444-9b6ab-ff6cb5bc78277c383e82c3986eeb16168e86c27b.gz
* GeSHi update to 1.0.7.13Andreas Gohr2006-08-28
| | | | darcs-hash:20060828190614-7ad00-d52a526cee9329caeed5861d797d278a82936d11.gz
* init global memory cache arraysBen Coburn2006-08-28
| | | | | | | | Update to 'add function result caching for cleanID and wikiFN'. Makes certain that arrays exist for the caches, without checking on each function call. Properly create multidimensional arrays in wikiFN(). darcs-hash:20060828071205-05dcb-7c8dbdb5ea4e7b73808ec3bd9222df1b837d3a1f.gz
* utf8_substr() fix, it wasn't using mb_substr results when availablechris2006-08-28
| | | | darcs-hash:20060828092029-9b6ab-f76c94b76ce1ada49e2fefde11af824bb98b99c7.gz
* update cleanID and wikiFN result caches to support unit testingchris2006-08-27
| | | | | | | - move caches into global scope (they were static in function scope) - add teardown() method to clean_id unit test - to clear its cache darcs-hash:20060827183327-9b6ab-cf9beb2ca6c47142dfaad3117d7c86748a54312c.gz
* add function result caching for cleanID and wikiFNchris2006-08-27
| | | | darcs-hash:20060827153352-9b6ab-651decb2566f16334218c6782edc6c7d47b41e13.gz