| 1415e8b5 | 11-Jan-2011 |
Tobias Sarnowski <sarnowski@new-thoughts.org> |
keep http connections application wide alive
Using a static context for the connection pool allows connection reuse throughout the whole application without additional changes in other places. |
| 4481b2a0 | 11-Jan-2011 |
Tobias Sarnowski <sarnowski@new-thoughts.org> |
added keep-alive capabilities to the http client
The DokuHTTPClient is now able to keep connections alive. This feature is enabled by default. It can be disabled with $client->setKeepAlive(false
added keep-alive capabilities to the http client
The DokuHTTPClient is now able to keep connections alive. This feature is enabled by default. It can be disabled with $client->setKeepAlive(false); and asked with $client->isKeepAlive();.
show more ...
|
| ba0267b3 | 12-Jan-2011 |
Michael Hamann <michael@content-space.de> |
Fix metaFiles for ids that require utf-8 escaping
Before this change metaFiles didn't return anything for ids where the part without the namespace needs (utf-8) filename escaping. |
| 01032c33 | 09-Jan-2011 |
Michael Hamann <michael@content-space.de> |
Fix FS#2131 - metaFiles returning unrelated files |
| 283c7183 | 12-Jan-2011 |
Usama Akkad <uahello@gmail.com> |
Arabic language update |
| 9063ec14 | 12-Jan-2011 |
Adrian Lang <lang@cosmocode.de> |
Remove trailing whitespace in buildAttributes output |
| ff725173 | 10-Jan-2011 |
Michael Hamann <michael@content-space.de> |
Add define for metadata usage limit in p_get_first_heading
This commit introduces a new define P_GET_FIRST_HEADING_METADATA_LIMIT that can be set in preload.php in order to change the limit for how
Add define for metadata usage limit in p_get_first_heading
This commit introduces a new define P_GET_FIRST_HEADING_METADATA_LIMIT that can be set in preload.php in order to change the limit for how many pages the first heading shall be loaded from metadata in p_get_first_heading. Changing this is probably most interesting for Wikis with a lot of pages where loading the title index costs a significant amount of time and memory.
show more ...
|
| 517a47ec | 10-Jan-2011 |
Michael Hamann <michael@content-space.de> |
Call the indexer for hidden pages
This makes sure that the indexer is also called for hidden pages so they aren't missing in the title index and digest subscriptions work for them, too. Hidden pages
Call the indexer for hidden pages
This makes sure that the indexer is also called for hidden pages so they aren't missing in the title index and digest subscriptions work for them, too. Hidden pages are already filtered from the search results.
show more ...
|
| cc58224c | 10-Jan-2011 |
Michael Hamann <michael@content-space.de> |
Fix msg() calls when messages have already been printed
This commit fixes two bugs that occurred when msg() was called after html_msgarea() had already been called. - the $MSG array is now cleared w
Fix msg() calls when messages have already been printed
This commit fixes two bugs that occurred when msg() was called after html_msgarea() had already been called. - the $MSG array is now cleared when it has been printed (otherwise $MSG has been printed again when another msg() call was done) - headers_sent() didn't work for me, it always reported false although html_msgarea() had already been called which might be explainable with output buffering. This makes msg() now depend on the first call of html_msgarea() or headers_sent() in order to not to break msg() in ajax requests etc.
show more ...
|
| bf0c93c2 | 10-Jan-2011 |
Michael Hamann <michael@content-space.de> |
Use title index for more than 11 p_first_heading calls
This change makes p_get_first_heading load the title index when more than 11 requests that caused a call to p_get_metadata have already been do
Use title index for more than 11 p_first_heading calls
This change makes p_get_first_heading load the title index when more than 11 requests that caused a call to p_get_metadata have already been done. This means that small pages and the breadcrums won't trigger the loading of the title index but for larger pages or the sitemap the title index will be used. This is necessary because every call to p_get_metadata can trigger the parsing and rendering of a whole page and there can be many calls when useheading is activated and e.g. the index/sitemap page is displayed.
Additionally this adds a small title cache that caches titles requested from p_get_metadata.
Further tests should be done how this affects memory usage and how often the index loading is triggered in order to see if that parameter should be adjusted.
show more ...
|
| 4a819402 | 10-Jan-2011 |
Michael Hamann <michael@content-space.de> |
Activate the render parameter of p_get_metadata
p_get_metadata has a $render parameter that has been disabled by the restructuring of metadata rendering. This change reactivates it so rendering meta
Activate the render parameter of p_get_metadata
p_get_metadata has a $render parameter that has been disabled by the restructuring of metadata rendering. This change reactivates it so rendering metadata can be prevented. This is e.g. used in the search and in some plugins like indexmenu that use p_get_first_heading. The default of the parameter has been changed to true as otherwise the new caching structure won't work as almost all calls to p_get_metadata don't set the $render parameter. The indexer call to p_get_first_heading has been changed to set $render to true as in the indexer only one page will be rendered and the title in the index should really be the current one. This does not fix the problem that rendering pages with lots of links or displaying the index can cause the parsing/rendering of a lot of pages.
show more ...
|
| d6a4a040 | 10-Jan-2011 |
Michael Hamann <michael@content-space.de> |
Use md5 of the id in the subscription lockdir. FS#2112
Filenames can't contain ":" on windows and the lock directory contained the unescaped page id. The lock function tries in an endless loop to cr
Use md5 of the id in the subscription lockdir. FS#2112
Filenames can't contain ":" on windows and the lock directory contained the unescaped page id. The lock function tries in an endless loop to create the lock directory when it fails and the directory doesn't exist. Just escaping the directory name won't work as then the filename length limit will be quickly hit when using deep namespace structures with utf8 names. Thus using the md5sum seems to be the best solution. Perhaps the lock function could also be changed to create a file with that name that contains the id so the id can be retrieved for debugging purposes.
show more ...
|
| 73f799f0 | 09-Jan-2011 |
Niels Lange <niels@boldencursief.nl> |
German language update |
| 178c8be8 | 09-Jan-2011 |
Massimiliano Vassalli <vassalli.max@gmail.com> |
Latin language update
- better use of Latin terminology for DokuWiki - ACL is not translated as AAA (Aditus Administrationis Aditus) but with ICA (Index Custodiae Aditus), which is a more literal
Latin language update
- better use of Latin terminology for DokuWiki - ACL is not translated as AAA (Aditus Administrationis Aditus) but with ICA (Index Custodiae Aditus), which is a more literal translation - minor corrections of grammar and logic - The word "namespace" is more literally translated "spatium nominis", but according to other translations (like the Italian one), I preferred to use "genus".
show more ...
|
| 26fe3366 | 04-Jan-2011 |
lupo49 <post@lupo49.de> |
de / de-informal: update for mail subscriptions |
| 3e47436a | 04-Jan-2011 |
lupo49 <post@lupo49.de> |
updated russian translation (core) |
| be96545c | 03-Jan-2011 |
Anika Henke <anika@selfthinker.org> |
removed obsolete references to 'JSnocheck' class |
| 4c36bf82 | 03-Jan-2011 |
Guillaume Turri <guillaume.turri@gmail.com> |
Change sitemap filename to sitemap.xml(.gz). Closes FS#2127 |
| ddcde000 | 02-Jan-2011 |
Anika Henke <anika@selfthinker.org> |
added space between license text and link |
| 73ab87de | 02-Jan-2011 |
Gabriel Birke <birke@d-scribe.de> |
If cookiedir is configured, use it.
If $conf['cookiedir'] is set, use this setting instead of DOKU_REL. |
| e013f48d | 02-Jan-2011 |
Anika Henke <anika@selfthinker.org> |
adjusted tpl_youarehere to use tpl_pagelink (and fixed bugs with missing first headings) |
| 5526795c | 31-Dec-2010 |
Guy Brand <gb@unistra.fr> |
Allow a prefix for subject of sent mails (Close FS#2021) |
| e6cecb08 | 26-Dec-2010 |
Michael Hamann <michael@content-space.de> |
Language files can now be customized in the conf/ directory
As suggested by Robin Getz locale .txt files can now be duplicated and changed in the conf/lang/ directory and conf/plugin_lang/$plugin/ d
Language files can now be customized in the conf/ directory
As suggested by Robin Getz locale .txt files can now be duplicated and changed in the conf/lang/ directory and conf/plugin_lang/$plugin/ directory for plugins.
show more ...
|
| 9b41be24 | 29-Dec-2010 |
Tom N Harris <tnharris@whoopdedo.org> |
Indexer v3 Rewrite part two, update uses of indexer |
| 00803e56 | 28-Dec-2010 |
Tom N Harris <tnharris@whoopdedo.org> |
Indexer v3 Rewrite part one (unstable)
The indexer functions have been converted to a class interface. Use the Doku_Indexer class to access the indexer with these public methods: addPageWords ad
Indexer v3 Rewrite part one (unstable)
The indexer functions have been converted to a class interface. Use the Doku_Indexer class to access the indexer with these public methods: addPageWords addMetaKeys deletePage tokenizer lookup lookupKey getPages histogram These functions are provided for general use: idx_get_version idx_get_indexer idx_get_stopwords idx_addPage idx_lookup idx_tokenizer These functions are still available, but are deprecated: idx_getIndex idx_indexLengths All other old idx_ functions are unsupported and have been removed.
show more ...
|