| Commit message (Collapse) | Author | Age |
... | |
|
|
|
| |
darcs-hash:20061031211100-7ad00-a5fc8f2cb6a00943a043b8c8dbd8ccc860e6e77f.gz
|
|
|
|
|
|
|
| |
- add $conf['fmode'] support, fixes bug #939
- fix problem with plugin list not being updated after download
darcs-hash:20061027013208-9b6ab-1a7640b40b5448a7afad42064fd00c2ccf743af0.gz
|
|
|
|
| |
darcs-hash:20061026205002-7ad00-70f2acf8203e01d1df93e77ce7d8bdb1f4ddac7b.gz
|
|
|
|
|
|
|
|
|
|
|
| |
- 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 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
darcs-hash:20060818142400-7ad00-b90e76acbfc37f99d4317fea26d063f67ffb4488.gz
|
|
|
|
| |
darcs-hash:20060808131143-9b6ab-1bf57f66c6d1b10305f1bf190c7d507130f84eaa.gz
|
|
|
|
| |
darcs-hash:20060807200813-7ad00-ca46ec6eca59cc368fbace6f7de337e4d1e997a5.gz
|
|
|
|
|
|
| |
fix ordering of plugins for php5
darcs-hash:20060807132242-9b6ab-2dc8e4508dc721908ec6453fc09acec1de23687d.gz
|
|
|
|
|
|
|
| |
This patch makes sure all languages files have UNIX style line endings
and use correct UTF-8 encoding
darcs-hash:20060806143836-7ad00-2d9c48c5be303565ce461ec977c8792df61fbdd1.gz
|
|
|
|
| |
darcs-hash:20060731224944-072b4-a965cc88f22614bde7d57fa2d714c749933d66f8.gz
|
|
|
|
| |
darcs-hash:20060802132121-e561a-20e7882da3fe22eb06598a52d4e80fe64af441f0.gz
|
|
|
|
|
|
| |
Added missing files and strings for ukrainian translation.
darcs-hash:20060801083018-71672-0eccf6e76ae33374b964666e753b5f7a40710789.gz
|
|
|
|
| |
darcs-hash:20060729182720-19e2d-9adbc9aaf5bcb637a8765e4658a216b7fcc375eb.gz
|
|
|
|
| |
darcs-hash:20060728201449-71672-da3bb0b702f89ad1f24526e592755f0f43c89850.gz
|
|
|
|
| |
darcs-hash:20060728103450-7ad00-02001d13abc3808272ebe0ca5090f77ec8a831bb.gz
|
|
|
|
| |
darcs-hash:20060725123522-9b6ab-d4351e484bbd0d23d0b2d8b23c51368e1b64cbcb.gz
|
|
|
|
| |
darcs-hash:20060724193727-9b6ab-e1e9368fc18d674bd027bbfd03245e7b52944e67.gz
|
|
|
|
| |
darcs-hash:20060713204609-7ad00-541e0203b571ee94a735938affeeb408fde7deb7.gz
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
darcs-hash:20060618173540-d5083-6dc05adbf702b2a9ba0fc1ea9421d8450fe2e013.gz
|
|
|
|
| |
darcs-hash:20060608085236-9be09-3142ff6fd2a13cd03205a6703b3fd22bddf5e078.gz
|
|
|
|
| |
darcs-hash:20060522181314-7ad00-7830b7819a770628c6e63f9d294292a876575ac7.gz
|
|
|
|
|
|
|
| |
added all missing translations for plugins acl,
config, plugin, usermanager
darcs-hash:20060507160954-57bea-73636f302bdf9ae5ec48242732b6051dea461784.gz
|
|
|
|
| |
darcs-hash:20060430153000-9b6ab-0918d41e77e897d3b14c91de822567f8a3007779.gz
|
|
|
|
|
|
|
| |
Update default plugins to ensure they exit immediately
if not called from within Dokuwiki
darcs-hash:20060409233841-9b6ab-555e4fced756849a5d7b9de6e4aaaea24c6da3ae.gz
|
|
|
|
| |
darcs-hash:20060409232533-9b6ab-13b2065c81b857a73b8e1175c9371978f8f76ab5.gz
|
|
|
|
| |
darcs-hash:20060409115740-7ad00-dd6cb62ccd4e0947ccb7566b0c0010eb807585e3.gz
|
|
|
|
|
|
| |
change
darcs-hash:20060326122952-9b6ab-f6aef3c5b2f9e936d2f32ed148d19bbd8a9da2da.gz
|
|
|
|
| |
darcs-hash:20060312214049-a08f5-181fb8115f702521bab9f2e95700f8bd9ab7316d.gz
|
|
|
|
| |
darcs-hash:20060311192655-9b6ab-c54d280d35b121730e2f8d50b15fe647d986574c.gz
|
|
|
|
| |
darcs-hash:20060307104925-a08f5-02519a166e99d5545ace1f519688a526b018a911.gz
|
|
|
|
| |
darcs-hash:20060307003942-1ee1a-d34fdd63c768d0f71cd3a545e09390bc14a1ed2a.gz
|
|
|
|
| |
darcs-hash:20060303170956-d5083-8c31aee7c077b7aa4bf49f4449e40cb5f522f357.gz
|
|
|
|
| |
darcs-hash:20060303005940-3c565-feb6ff910d556d9fe3e71fc059f97b538828483f.gz
|
|
|
|
| |
darcs-hash:20060302105617-e561a-b29d3fcfb7765125ab22ee293c5d4bf8a3b2e969.gz
|
|
|
|
| |
darcs-hash:20060302161308-a08f5-673e78a5ae45bde4208a1f348b8dd48fd165b510.gz
|
|
|
|
|
|
| |
complete it right now...
darcs-hash:20060301003307-a08f5-68dde44c8a9be592d8823a1a5e24538f813e1133.gz
|
|
|
|
| |
darcs-hash:20060226172332-7ad00-f073117ba2f027935f87cf23106bf6a4316a5790.gz
|
|
|
|
|
|
|
|
|
|
|
| |
permissions, this should also fix problems with dokuwiki making setuid files on some umasks.
* Don't set the umask() anymore, this is not good form and we don't really know what is it in the old code anyway as it was not done properly.
* Retire the dmask config option introduce 2 new ones called fmode and dmode, this is more in line with posix and should make more sense.
* Use chmod for setting the correct permissions but only if it's needed.
* Set changing of permissions off by default as i should work properly in most Apache setups without and it does not make sense on windows anyway.
darcs-hash:20060224211655-ee6b9-68f7bb59417d6f0033cfd3764146923daa4dcf1b.gz
|
|
|
|
| |
darcs-hash:20060218183753-ee6b9-1a3dab069a868e3f5e10e9dd6af14fefd0d8b730.gz
|
|
|
|
| |
darcs-hash:20060202232249-9b6ab-714f97dd150f2e0e7bef5458ab74f5336a1e5f8c.gz
|
|
|
|
| |
darcs-hash:20060202022424-9b6ab-36275dd4c71c272d332de76dd39cc45024c6cc18.gz
|
|
|
|
| |
darcs-hash:20060131211639-7ad00-910dc1d06c7375284fc351376c4a6af49dc41c27.gz
|
|
|
|
| |
darcs-hash:20060130222720-9b6ab-2c71b10602e0052050c5813f5b7b6c02d386b229.gz
|
|
|
|
| |
darcs-hash:20060130214840-7ad00-ef1974692b64d4e4f7420d5c68f70f113630957b.gz
|
|
|
|
| |
darcs-hash:20060129001120-2060e-aca189a18e75d422619f8c4e66d0abceaaf76593.gz
|
|
|
|
| |
darcs-hash:20060126011342-9b6ab-40d04573bef34fa4012edac74186355b9a7ff0d9.gz
|