d5b23302 | 17-Nov-2006 |
Tom N Harris <tnharris@whoopdedo.org> |
Indexer asian language fixes and speed-ups
Make Chinese and Japanese work better with the new indexer. Some missing punctuation added to utf8_stripspecials. Misc. other changes to make indexing fast
Indexer asian language fixes and speed-ups
Make Chinese and Japanese work better with the new indexer. Some missing punctuation added to utf8_stripspecials. Misc. other changes to make indexing faster. The indexes will expire on backend upgrades, so you don't have to delete *.indexed
darcs-hash:20061117123032-6942e-774b38e08234928c49b37e40addba375acf67ac0.gz
show more ...
|
9046bb99 | 17-Nov-2006 |
Andreas Gohr <andi@splitbrain.org> |
sitemapper update
The Google sitemap protocol was recently adopted by Yahoo and Microsoft and made a common standard. This patch changes the XML namespace URL to the new sitmaps.org site and ups the
sitemapper update
The Google sitemap protocol was recently adopted by Yahoo and Microsoft and made a common standard. This patch changes the XML namespace URL to the new sitmaps.org site and ups the version to 0.9
Pinging of Yahoo and Microsoft was added to the existing Google ping. The microsoft ping currently fails with a "Bad format" error for unknown reason. This will hopefully change when either Microsoft fixes their URL or releases some documentation.
darcs-hash:20061117150030-7ad00-0fac1cba07926c3ffe687a8cbaf465e8de3abcd7.gz
show more ...
|
3fc667cf | 13-Nov-2006 |
chris <chris@jalakai.co.uk> |
fixes for stricter php5 typing (bug#978)
darcs-hash:20061113122645-9b6ab-e5f5be2e88eea7eb00643e6a5210086f46191c30.gz |
579b0f7e | 12-Nov-2006 |
TNHarris <telliamed@fastmail.us> |
Word-Length Indexer
A modification to the indexer that sorts words based on length. This should make searching a little bit more efficient. After the patch is applied, your old index will be automat
Word-Length Indexer
A modification to the indexer that sorts words based on length. This should make searching a little bit more efficient. After the patch is applied, your old index will be automatically converted to the new format (when you visit a page). The new index format is:
1. Index files are stored in savedir/index 2. Word lists are stored as wlen.idx. This used to be word.idx. 3. Word indexes are stored as ilen.idx. This used to be index.idx. 4. The page list, page.idx, is simply copied to the new location.
Any plugins you have, such as the blog plugin, that read the index files need to be updated.
darcs-hash:20061112194900-2b9f0-a975498ccf0a1d39c6df73b79bcd028d5e81c389.gz
show more ...
|
0df6f150 | 12-Nov-2006 |
Andreas Gohr <andi@splitbrain.org> |
purge option support for js.php and css.php
adding ?purge
darcs-hash:20061112143440-7ad00-436a63c8ee0279a9aa0423c389967418f8528656.gz |
6b379cbf | 10-Nov-2006 |
Andreas Gohr <andi@splitbrain.org> |
DOMlib removed
The DOMlib javascript library was removed. It was only used for footnote tooltips and access key fixup.
Removing the library creates a much smaller JavaScript footprint. The size of
DOMlib removed
The DOMlib javascript library was removed. It was only used for footnote tooltips and access key fixup.
Removing the library creates a much smaller JavaScript footprint. The size of the compacted non-edit Javascript output was reduces from 56110 bytes down to 29296 bytes.
The footnote tooltip was completely rewritten and tested in FireFox 2.0, IE 6 and Opera 9.02. Please test other browsers as well.
The acces key fixup might beahve different now on Mac platforms.
darcs-hash:20061110201541-7ad00-0dffad095193bc7e7c505796a99b0a0a010a6b0d.gz
show more ...
|
da96af35 | 10-Nov-2006 |
Andreas Gohr <andi@splitbrain.org> |
OpenSearch support
This adds support for the OpenSearch specification to autodetect DokuWiki's search engine. The patch was submitted by Mike Frysinger some time ago. Some changes were made to the o
OpenSearch support
This adds support for the OpenSearch specification to autodetect DokuWiki's search engine. The patch was submitted by Mike Frysinger some time ago. Some changes were made to the original patch. Only tested in FireFox 2.0
darcs-hash:20061110151453-7ad00-298ad77603854a604a642c0afd3975a997b8dc09.gz
show more ...
|
ee7b5a62 | 03-Nov-2006 |
Andreas Gohr <andi@splitbrain.org> |
don't show .txt files as medianamespaces #963
darcs-hash:20061103150850-7ad00-9b6936efb8dd47eb366e5cd34a3149f4d81caa14.gz |
d1ed0b61 | 18-Oct-2006 |
Andreas Gohr <andi@splitbrain.org> |
better check for images in fetch.php
This patch is an enhancement to yesterday's changes. The ability to download external content could be used for XSS attacks, when faking the sent MIME type. This
better check for images in fetch.php
This patch is an enhancement to yesterday's changes. The ability to download external content could be used for XSS attacks, when faking the sent MIME type. This patch adds a check on the received data for valid images.
darcs-hash:20061018124942-7ad00-4e8bca7d3877e6a10c348b5d45499cf8adf8b087.gz
show more ...
|
894a80cc | 17-Oct-2006 |
Andreas Gohr <andi@splitbrain.org> |
restrict fetch.php's download abilities
This patch changes fetch.php ability to download external files. It now checks for the returned MIME type and will only download images. For all other MIME ty
restrict fetch.php's download abilities
This patch changes fetch.php ability to download external files. It now checks for the returned MIME type and will only download images. For all other MIME types a redirect is sent back to the browser. This reduces the risc of being misused as open proxy.
Additionally the download facility is disabled completly by default by setting the fetchsize option to 0. Users who want the feature need to overwrite the option in their local.php.
Background: The ability to download external files is needed to resize external images on the server side. When disabled, a redirect is sent to the browser which will download the fullsize image and rescale it on the client side which is more bandwidth and CPU intensive.
darcs-hash:20061017175329-7ad00-cd1b1bfa043a04540c51ca8380d28deaa14147d1.gz
show more ...
|
02b0b681 | 08-Oct-2006 |
Andreas Gohr <andi@splitbrain.org> |
strip controlchars in fetch.php #935
Fixes a header injection/XSS vulnerability
darcs-hash:20061008100523-7ad00-be06a942badb6a2a9ed862be003ee0050504b4b0.gz |
10ffc9dd | 08-Oct-2006 |
Andreas Gohr <andi@splitbrain.org> |
remove unused code
This patch removes some commented code fragments and alternative snippet generators
darcs-hash:20061008090624-7ad00-14bfee2ded6c6c8ef43ad02a4c02a5d95ee9daf7.gz |
8fcc3410 | 26-Sep-2006 |
Andreas Gohr <andi@splitbrain.org> |
security fixes for fetch.php #924 #962
Fixes a shell injection and a DOS vulnerability
darcs-hash:20060926200551-7ad00-5ef27940dda6e48e7e2f8743fc90fa80b7b5cdff.gz |
27fbc761 | 24-Sep-2006 |
chris <chris@jalakai.co.uk> |
update to previous changes cache patch
- fix potential array key collisions - restore ability to keep a minimum number ($conf['recent']) of recent changes irregardless of date of change
darcs-has
update to previous changes cache patch
- fix potential array key collisions - restore ability to keep a minimum number ($conf['recent']) of recent changes irregardless of date of change
darcs-hash:20060924162105-9b6ab-06350f04f9d9ac4c362f13787b682ef70887a1fc.gz
show more ...
|
07cb64f8 | 24-Sep-2006 |
Andreas Gohr <andi@splitbrain.org> |
fix for sitemap creation with new compression option #919
darcs-hash:20060924100606-7ad00-7e0bc1fa7778669ac352f8d8994acbb7517323cd.gz |
40b33eff | 23-Sep-2006 |
chris <chris@jalakai.co.uk> |
fix recent changes cache ordering
This patch fixes a bug in indexer.php which resulted in the order of the recent changes cache being reversed each time it was trimmed.
It also adds sorting to both
fix recent changes cache ordering
This patch fixes a bug in indexer.php which resulted in the order of the recent changes cache being reversed each time it was trimmed.
It also adds sorting to both getRecents() and runTrimRecentChanges() as a defensive measure against the order of the file being corrupted.
darcs-hash:20060923235109-9b6ab-0f4062c1b02449cce9382426174cd22d71387e5a.gz
show more ...
|
847c2f3b | 17-Sep-2006 |
Andreas Gohr <andi@splitbrain.org> |
no gzipping in indexer.php
darcs-hash:20060917140718-7ad00-ab1b95974ad63966c770f787112bc7c2e285c394.gz |
d8186216 | 08-Sep-2006 |
Ben Coburn <btcoburn@silicodon.net> |
suppress boring errors
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-05
suppress boring errors
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
show more ...
|
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 ...
|
3cb4b39f | 09-Aug-2006 |
Ben Coburn <btcoburn@silicodon.net> |
Add AJAX_CALL_UNKNOWN event
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->prevent
Add AJAX_CALL_UNKNOWN event
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
show more ...
|
7a24876f | 07-Aug-2006 |
Andreas Gohr <andi@splitbrain.org> |
make image details indexable
darcs-hash:20060807205738-7ad00-5492ba5fe3e854f9dc233254535e4e897847353c.gz |
e5cafda0 | 31-Jul-2006 |
Andreas Gohr <andi@splitbrain.org> |
fix in JS compressor
This fixes a problem with escaped backslashes in single and double quote strings.
darcs-hash:20060731223008-7ad00-ebae61a00115b7f32c12eb9355059a1ecf467cd3.gz |
0d353189 | 31-Jul-2006 |
Andreas Gohr <andi@splitbrain.org> |
spellchecker CSS changes #539 #824
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 ;-)
spellchecker CSS changes #539 #824
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
show more ...
|
d98d4540 | 10-Jul-2006 |
Ben Coburn <btcoburn@silicodon.net> |
fixing undefined variables
Fixing undefined variable notices and sometimes the underlying error that produced them.
darcs-hash:20060710114655-05dcb-073948171847f1f43f153e96c8382abd421da36a.gz |
cc7d0c94 | 05-Jul-2006 |
Ben Coburn <btcoburn@silicodon.net> |
IO action events
Adds page and namespace events: IO_WIKIPAGE_READ IO_WIKIPAGE_WRITE IO_NAMESPACE_CREATED IO_NAMESPACE_DELETED
The namespace events are purely advisory, while the wikipage ev
IO action events
Adds page and namespace events: IO_WIKIPAGE_READ IO_WIKIPAGE_WRITE IO_NAMESPACE_CREATED IO_NAMESPACE_DELETED
The namespace events are purely advisory, while the wikipage events allow page content to be modified between DokuWiki and the disk.
These events are primarily intended to simplify keeping other tools in sync with the semantic structure of a DokuWiki site. As an added benefit, the events allow plugins to conduct automated processing of raw wiki page content.
The namespace events cover the separate namespace trees for both pages and media. The "name" of the tree that the event belongs to is included in the event data.
darcs-hash:20060705105652-05dcb-f44024e852a2adf1a14b8a7d69c46db067e72307.gz
show more ...
|