| Commit message (Collapse) | Author | Age |
|
|
|
| |
darcs-hash:20080227213050-23886-e55353ab04f9d23675ec11a9e97ba6affec719fc.gz
|
|
|
|
|
|
|
|
| |
The event INDEXER_TASKS_RUN is fired by lib/exe/indexer.php when a page is viewed. Plugins should only hook BEFORE the event if it is important for the task to be run as often as possible. Otherwise, hook AFTER the even to be run only when other tasks have completed.
Plugin authors must call stopPropagation() and preventDefault() if any work is done. If your plugin does nothing, then you must allow the event to continue. Not following these rules may cause DokuWiki to exceed the PHP execution time limit.
darcs-hash:20080226011940-6942e-09291b73bab84a2c4445b1d1c4de8b3bba743243.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This changes how DokuWiki looks for reference toa media file which is
about to deleted. Instead of doing a full grep through all pages it now
uses the fulltext index first, then does an exact match on the found
pages.
This speeds up the search significantly on larger wikis. However the
fulltext search limits now apply: images with names shorter than 3 charcters
may not be found.
This needs extensive testing!
darcs-hash:20080223205254-7ad00-486de0a4125d51b4e7999827f710d1d9de8bc60d.gz
|
|
|
|
|
|
| |
This should help with diagnosing memory related problems
darcs-hash:20080223180701-7ad00-1308829c3d7432b1d0c23c3f1acc8228c0a41e1e.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch replaces the use of the date() function with the strftime()
function. The latter will respect a set locale and will use localized
strings for things like month names.
Because the format options for strftime differ from the ones used in date,
DokuWiki will rest the value of $conf['dformat'] if it contains an old
date format string (detected by missing % characters).
Plugins or templates using the $conf['dformat'] need to be updated.
darcs-hash:20080223124045-7ad00-6afb2b839afc58781463e25577e06adb675fff79.gz
|
|
|
|
| |
darcs-hash:20080215152132-7ad00-57dfd552c1fa5bc4421f64abf5552f4bb377040c.gz
|
|
|
|
| |
darcs-hash:20080215105251-7ad00-b7ac1bfc0e2d1eccf079f4ff2f0db8876896b79d.gz
|
|
|
|
| |
darcs-hash:20080125173529-23886-7f5470cb513b667a8c2acb526edb3df8812070d4.gz
|
|
|
|
| |
darcs-hash:20080125171834-23886-090763a4733f72b62c539a3ae2ff4835bd10a040.gz
|
|
|
|
| |
darcs-hash:20080118230312-23886-acd8758fc95eb64788533feca4afd5fbb207c290.gz
|
|
|
|
| |
darcs-hash:20071221181419-3d7ce-f05705a0357412a87e7984a041ac5812eea83048.gz
|
|
|
|
|
|
|
|
| |
With spell checkers available in all modern browsers, having a spell checker in
DokuWiki's core code is no longer necessary. This patch removes the spell
checking feature. It will be made available as optional plugin.
darcs-hash:20071123125840-7ad00-faf7aa4673421dbb3fad904ba5b46b4927a5176d.gz
|
|
|
|
| |
darcs-hash:20071109112720-23886-1ce97b5cc09630c55ef507144c53bbb8aae4f892.gz
|
|
|
|
| |
darcs-hash:20071027202616-19e2d-6477ab646496d10203875826e06d923cda32fde2.gz
|
|
|
|
|
|
|
|
|
|
| |
Strings to be used in plugin provided JavaScript can now be put into the plugin's
lang.php files. It has to be stored as subkeys of $lang['js']. Eg the following in
lib/plugins/blah/lang/en/lang.php
$lang['js']['foo']
darcs-hash:20071026131130-79ce3-75ab69b1ba527c823e0e5ef0fde031032aaa2548.gz
|
|
|
|
| |
darcs-hash:20071015225711-6942e-4d540e23e3c2ab62e378b0b9bc3cb80041c79350.gz
|
|
|
|
|
|
| |
Adds the putpage-method to the xmlrpc-server-code
darcs-hash:20071012135930-b8925-1d770de41b3e6aea4c612666194e915dda344647.gz
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch enables the use of the X-Sendfile extension offered by certain
webservers to deliver static files after running a dynamic script. This
combines the flexibility of a PHP file to check for authorization, caching
and resizing with the low memory footprint and high performance of static
file delivery of the webserver.
See http://blog.lighttpd.net/articles/2006/07/02/x-sendfile for details
darcs-hash:20071008185019-7ad00-1e6d4768fb60d58955e4253c7786eaf8cf13d0bb.gz
|
|
|
|
| |
darcs-hash:20070930201133-7ad00-a35a6c40f880116009efd9e50cb002bd75733369.gz
|
|
|
|
|
|
|
|
|
|
|
| |
The use of realpath() to clean up relative file names caused some
trouble in certain setups relying on symlinks or having restricitve
file structure setups.
This patch replaces all realpath() calls with a PHP only replacement
which should solve those problems.
darcs-hash:20070930184250-7ad00-512ff04c95f57fc9eaf104f80372237a3c94286f.gz
|
|
|
|
|
|
|
|
|
| |
Creates another index file 'pagewords.idx' for the words in each page.
Words that are deleted from a page can then be removed from the word index.
The indexer version is incremented to force rebuilding of the index.
Also, a minor flaw in the regexp for asian words is fixed.
darcs-hash:20070919194244-6942e-2e08157dcf4fdf166b35b36a0faf8a3dfb415ad9.gz
|
|
|
|
| |
darcs-hash:20070906125503-23886-5b5d7f1fb90eaa25e0ce08469a541cb2a760de1b.gz
|
|
|
|
| |
darcs-hash:20070809212154-7ad00-bde57d95f9b61840f1cdac4d60f89bcd0ae83c4a.gz
|
|
|
|
| |
darcs-hash:20070719122538-7ad00-6c49f72bc490f27718d25f105fd762982631bd7b.gz
|
|
|
|
|
|
|
|
|
|
| |
This makes the index view much more responsive by loading sub namespaces through AJAX
if JavaScript is available.
The used throbber image probably looks bad on dark backgrounds. If someone could provide
a better one it would be greatly appreciated.
darcs-hash:20070716184605-7ad00-adf298ee3303d50f2b4b6b66e5ea3ff8d8c2bf9a.gz
|
|
|
|
| |
darcs-hash:20070616214530-6942e-5a585a29404e40a7e86bbb4de0fba124f45e61a7.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The include syntax was changed and enhanced by a include_once statement.
Syntax:
/* DOKUWIKI:include somefile.js */
/* DOKUWIKI:include_once someotherfile.js */
Note: include_once uses the basename of the inlcuded file to determine if
it was previously loaded. You need to use something unique for it to
make sure it is correctly loaded.
Note: included files are not checked for updates by the cache logic. You
need to touch the master file for updating the cache
Note: includes are *not* supported inside included files to avoid any
circular references
darcs-hash:20070513222421-7ad00-d99d717ba8a428d0af2b3f7d593897e0467cb9c9.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds support for include calls in JavaScript files as discussed in [1]
The syntax looks like this:
/* !!include script.js */
All whitespaces are optional (except between !!include and script of course)
[1] http://www.freelists.org/archives/dokuwiki/01-2007/msg00121.html
darcs-hash:20070513123230-7ad00-71a1081aaef1e8f6bc909820927f17d0be71b74e.gz
|
|
|
|
| |
darcs-hash:20070504183227-8a46b-9fb829ff4b337dace67070e41afc6573c07a3312.gz
|
|
|
|
| |
darcs-hash:20070408144321-23886-266b4fec7c4d292f830689cced19798cd00d1422.gz
|
|
|
|
|
|
| |
A rtl.css file is loaded for plugins when the language direction is right to left.
darcs-hash:20070407165027-7ad00-1580a9d2af3f64f13780b4e243e53b44c7c5add2.gz
|
|
|
|
| |
darcs-hash:20070402043249-6942e-c69c700456d6feb5d275f3fab46bdba82505e30f.gz
|
|
|
|
|
|
| |
This may fix https://bugzilla.mozilla.org/show_bug.cgi?id16033
darcs-hash:20070308224331-7ad00-e5ef018706062baf6bec2bd11dfb318e0fe4b1f6.gz
|
|
|
|
|
|
|
| |
This ports the fixes from the original python code to DokuWiki's js_compress
functions. The unit tests now pass.
darcs-hash:20070308223644-7ad00-56ea99689a62e9752f4814b5dc7ada02eae59089.gz
|
|
|
|
| |
darcs-hash:20070303192836-7ad00-fe821c42ba7541f58ab52b9d8d11b3241bc90b65.gz
|
|
|
|
|
|
|
|
|
| |
This patch includes
- several helper functions - is* checks
- hasOwnProperty method emulator
- checks for .hasOwnProperty in all for..in loops
darcs-hash:20070111114236-00f02-50a71681e5d04faf086f1b8032a384648378b744.gz
|
|
|
|
| |
darcs-hash:20070211024110-7f317-c094764db4d4c9b7e1cad01fc016f354d91aa39e.gz
|
|
|
|
|
|
|
|
|
| |
On certain platforms the ignore_user_abort function does not work as expected, resulting
in a non working indexer webbug. Users with such a broken system (IIS+PHP as CGI) can
enable this option to work around the problem (resulting in longer load times for the
webbug).
darcs-hash:20070208195145-7ad00-8fc14f9da535a70fa837066773e15a3926b077c7.gz
|
|
|
|
| |
darcs-hash:20070124232113-23886-5fdea45dec232c6a94995d83439f1c05beb33c6e.gz
|
|
|
|
| |
darcs-hash:20061207165258-5224c-8b65b6bd08d123fae7e141fd1b1ff497a0e3c1ce.gz
|
|
|
|
| |
darcs-hash:20061206231114-6942e-bdfa008fde5fac8b437b26abc2583f38f8254c38.gz
|
|
|
|
| |
darcs-hash:20061207075815-05dcb-81fad7f4e40142e01f9f1aaa56f47fa51f978186.gz
|
|
|
|
|
|
|
|
|
|
|
| |
This adds experimental XMLRPC support to DokuWiki. A subset of the
Wiki XMLRPC API v2 [1] is implemented.
You need to remove the die() call in lib/exe/xmlrpc.php to use it.
[1] http://www.jspwiki.org/wiki/WikiRPCInterface2
darcs-hash:20061124232744-7ad00-fdaccc68787c3b0349b155a94a1a56003560c5d8.gz
|
|
|
|
|
|
|
| |
plugins can include styles with feed.css,
templates can use the media type feed in style.ini
darcs-hash:20061115101549-6942e-d1de56b343ce0cc11ca6b911c444197316f4a4eb.gz
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
darcs-hash:20061113122645-9b6ab-e5f5be2e88eea7eb00643e6a5210086f46191c30.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
adding ?purge
darcs-hash:20061112143440-7ad00-436a63c8ee0279a9aa0423c389967418f8528656.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|