| 71726d78 | 30-Aug-2006 |
Ben Coburn <btcoburn@silicodon.net> |
scalable changelog redesign
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
scalable changelog redesign
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
show more ...
|
| fd49f8df | 25-Aug-2006 |
chris <chris@jalakai.co.uk> |
update config plugin
- 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:200
update config plugin
- 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
show more ...
|
| a6858c6a | 23-Aug-2006 |
chris <chris@jalakai.co.uk> |
user manager update
- 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 modif
user manager update
- 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
show more ...
|
| 350a8730 | 18-Aug-2006 |
Andreas Gohr <andi@splitbrain.org> |
slovak language update
darcs-hash:20060818142400-7ad00-b90e76acbfc37f99d4317fea26d063f67ffb4488.gz |
| 43e1f4d9 | 08-Aug-2006 |
chris <chris@jalakai.co.uk> |
plugin manager update - another fix for php5
darcs-hash:20060808131143-9b6ab-1bf57f66c6d1b10305f1bf190c7d507130f84eaa.gz |
| 346cbc55 | 07-Aug-2006 |
Andreas Gohr <andi@splitbrain.org> |
japanese language update
darcs-hash:20060807200813-7ad00-ca46ec6eca59cc368fbace6f7de337e4d1e997a5.gz |
| 62132d0d | 07-Aug-2006 |
chris <chris@jalakai.co.uk> |
plugin manager update
fix ordering of plugins for php5
darcs-hash:20060807132242-9b6ab-2dc8e4508dc721908ec6453fc09acec1de23687d.gz |
| 8dbc24f2 | 06-Aug-2006 |
Andreas Gohr <andi@splitbrain.org> |
various language fixes
This patch makes sure all languages files have UNIX style line endings and use correct UTF-8 encoding
darcs-hash:20060806143836-7ad00-2d9c48c5be303565ce461ec977c8792df61fbdd1
various language fixes
This patch makes sure all languages files have UNIX style line endings and use correct UTF-8 encoding
darcs-hash:20060806143836-7ad00-2d9c48c5be303565ce461ec977c8792df61fbdd1.gz
show more ...
|
| 7757c810 | 06-Aug-2006 |
polinnia <polinnia@tin.it> |
IT-20060806-patch
completed IT translation for new release of Dokuwiki
darcs-hash:20060806094947-57bea-f82fb29ada061db880bbab84d7cee79711f3e49b.gz |
| 47878d35 | 05-Aug-2006 |
Anika Henke <a.c.henke@arcor.de> |
semantic css placeholders - part 1
darcs-hash:20060805141743-d5083-35b1edef7cd407f93b593e0a1cbbf1f548e86add.gz |
| f255651b | 31-Jul-2006 |
miguel.pagano <miguel.pagano@gmail.com> |
Missing Spanish translations
darcs-hash:20060731224944-072b4-a965cc88f22614bde7d57fa2d714c749933d66f8.gz |
| b895ecb2 | 02-Aug-2006 |
Grzegorz Zur <grzegorz.zur@gmail.com> |
polish lang update
darcs-hash:20060802132121-e561a-20e7882da3fe22eb06598a52d4e80fe64af441f0.gz |
| 1395d5e1 | 01-Aug-2006 |
Oleksiy Voronin <raven@corax.org.ua> |
ukrainian translation additions and corrections
Added missing files and strings for ukrainian translation.
darcs-hash:20060801083018-71672-0eccf6e76ae33374b964666e753b5f7a40710789.gz |
| 7ff382a4 | 31-Jul-2006 |
chris <chris@jalakai.co.uk> |
config plugin update
- 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-2e78b4f5
config plugin update
- 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
show more ...
|
| 4632eafa | 29-Jul-2006 |
larsch8 <larsch8@m2.stud.ku.dk> |
rest of Danish lang minus installer
darcs-hash:20060729232120-a08f5-76f30344ee4b77b2dff6cfc010ab30a3bff1948e.gz |
| 341744ec | 29-Jul-2006 |
Guy Brand <gb@isis.u-strasbg.fr> |
French lang update
darcs-hash:20060729182720-19e2d-9adbc9aaf5bcb637a8765e4658a216b7fcc375eb.gz |
| a1a9ec2a | 29-Jul-2006 |
larsch8 <larsch8@m2.stud.ku.dk> |
Danish lang update
darcs-hash:20060729003543-a08f5-e3ee3d4f5a21e36655b52edd8ee30421cfc4aa34.gz |
| e87ec653 | 28-Jul-2006 |
Anika Henke <a.c.henke@arcor.de> |
config mgr: labels wrapped in span, not in a
darcs-hash:20060728212333-d5083-cbad284f32a6b01eb3609fe1aa960156b9ae42a3.gz |
| b4f284ac | 28-Jul-2006 |
Oleksiy Voronin <raven@corax.org.ua> |
ukrainian_translation
darcs-hash:20060728201449-71672-da3bb0b702f89ad1f24526e592755f0f43c89850.gz |
| 416326e7 | 28-Jul-2006 |
Andreas Gohr <andi@splitbrain.org> |
german language update
darcs-hash:20060728103450-7ad00-02001d13abc3808272ebe0ca5090f77ec8a831bb.gz |
| e61d3d86 | 25-Jul-2006 |
chris <chris@jalakai.co.uk> |
add missing closing parenthesis from yesterday's patch
darcs-hash:20060725123522-9b6ab-d4351e484bbd0d23d0b2d8b23c51368e1b64cbcb.gz |
| 225001d7 | 24-Jul-2006 |
chris <chris@jalakai.co.uk> |
minor fix in plugin manager
darcs-hash:20060724193727-9b6ab-e1e9368fc18d674bd027bbfd03245e7b52944e67.gz |
| f29dc969 | 23-Jul-2006 |
larsch8 <larsch8@m2.stud.ku.dk> |
Danish lang update 3
darcs-hash:20060723030705-a08f5-7de42a43c8edb35592faaa60bc2c66223db93db3.gz |
| b4df946b | 13-Jul-2006 |
Andreas Gohr <andi@splitbrain.org> |
greek language update
darcs-hash:20060713204609-7ad00-541e0203b571ee94a735938affeeb408fde7deb7.gz |
| 746855cf | 10-Jul-2006 |
Ben Coburn <btcoburn@silicodon.net> |
cleanup undefined constant notices
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-
cleanup undefined constant notices
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
show more ...
|