History log of /dokuwiki/inc/ (Results 3676 – 3700 of 6440)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
0f74786308-May-2011 lupo49 <post@lupo49.de>

Cosmetic changes in tpl_getFavicon()

65aa849008-May-2011 Michael Hamann <michael@content-space.de>

Add more render/cache logic to the metadata code

This adds a new rendering limit of currently 5 pages to the
p_get_metadata function. This means that in one request not more than 3
pages will be par

Add more render/cache logic to the metadata code

This adds a new rendering limit of currently 5 pages to the
p_get_metadata function. This means that in one request not more than 3
pages will be parsed/rendered. Pages for which the cache can be used
aren't counted. This should make the new cache modes safe to use and
should provide backwards compatibility while keeping the advantage of
rendering metadata on demand (i.e. imagine one included page out of 10
is updated, then the metadata for that page can be rendered, but when
you request a purge of the cache not 10 pages are rendered).

In this commit most of the changes to the p_get_first_heading function
are reverted and the title index is no longer used. This makes the first
heading functionality no longer depends on the search index of DokuWiki.
Maybe it can be added again later when the indexer provides a proper API
for getting metadata values for all or selected pages. The performance
of the p_get_first_heading function should be almost back to the
performance in Anteater as the simple cache of p_get_metadata is used
and also the limit of p_get_metadata is of course applied.

show more ...

67c15ece07-May-2011 Michael Hamann <michael@content-space.de>

Change when metadata is rendered - only when really needed

This changes the cache logic for metadata. It introduces a new mode that
tries to avoid rendering the page again for simple requests but st

Change when metadata is rendered - only when really needed

This changes the cache logic for metadata. It introduces a new mode that
tries to avoid rendering the page again for simple requests but still
updates the metadata when the page has been changed (but not when the
cache timeout has been reached or purge is used). It simply compares the
time of the last rendering with the last modified time of the page.

The old boolean $render parameter has been changed into an int with
three possible values. Compatibility for the old parameter is provided
using a check with is_numeric using the following mapping:
- false is still don't render (0 is the new value for that)
- true is using that new render logic which means that many plugins will
still work unchanged even if they request a lot of data using
$render=true (1 is the new value for that providing full compatibility
in the case 1 has been used instead of true)

The default value for p_get_first_heading is now that new simple cache
logic, the default value for getting metadata is the cache logic which
should be used with care but is the only way to request (rendered)
metadata that can change because of plugin installations or upgrades.

show more ...

defb7d5707-May-2011 Anika Henke <anika@selfthinker.org>

fixed some missing config_cascade occurrences (FS#2235)

783bf91203-May-2011 Marcelo Zunino <marcelo.zunino@gmail.com>

Spanish language update

3d94d9ed02-May-2011 Michael Hamann <michael@content-space.de>

Fix the wording of the search index check messages

26f7dbf502-May-2011 Michael Hamann <michael@content-space.de>

Add a test to do=check that should detect search index corruption

With this test it should be possible to detect if the search index has
been corrupted by using Rincewind RC or a git version of the

Add a test to do=check that should detect search index corruption

With this test it should be possible to detect if the search index has
been corrupted by using Rincewind RC or a git version of the weeks
before the RC release.

show more ...

d041f8db02-May-2011 Michael Hamann <michael@content-space.de>

Add a force option to idx_addPage()

2e1018bc02-May-2011 Michael Hamann <michael@content-space.de>

Add line endings at the end of the file

The bug that is fixed here may have corrupted your search index in a way
that it produces wrong or missing results and won't be fixed
automatically. This occu

Add line endings at the end of the file

The bug that is fixed here may have corrupted your search index in a way
that it produces wrong or missing results and won't be fixed
automatically. This occurs when you have deleted the last occurrence of
a word that has been on the last line of one of the word indexes. A
functionality for checking for a broken search index will be added.

The index can be fixed by deleting it completely (remove all .idx files
in data/index/) and recreating it using bin/indexer.php -c. The
searchindex plugin will be updated to be able to do the same, soon.

show more ...

e20ddf0302-May-2011 Andreas Gohr <andi@splitbrain.org>

change indexer webbug dimension FS#2237

c828a5d602-May-2011 Andreas Gohr <andi@splitbrain.org>

execute edit action when draft was specified but no draft exists FS#2240

f93f616802-May-2011 Frederico Goncalves Guimaraes <frederico@teia.bio.br>

Brazilian Portuguese language update

952ab26002-May-2011 Michael Hamann <michael@content-space.de>

Fix a warning in the indexer when words exist without corresponding index FS#2242

4f5cb4d501-May-2011 Choicky Chou <zhoucaiqi@gmail.com>

Chinese language update

d6f9b0b301-May-2011 Andreas Gohr <andi@splitbrain.org>

fixed typo in PassHash class

The pure PHP implementation for smd5 failed.


PassHash.class.php
/dokuwiki/lib/plugins/config/lang/ar/lang.php
/dokuwiki/lib/plugins/config/lang/bg/lang.php
/dokuwiki/lib/plugins/config/lang/ca-valencia/lang.php
/dokuwiki/lib/plugins/config/lang/ca/lang.php
/dokuwiki/lib/plugins/config/lang/cs/lang.php
/dokuwiki/lib/plugins/config/lang/da/lang.php
/dokuwiki/lib/plugins/config/lang/de-informal/lang.php
/dokuwiki/lib/plugins/config/lang/de/lang.php
/dokuwiki/lib/plugins/config/lang/el/lang.php
/dokuwiki/lib/plugins/config/lang/en/lang.php
/dokuwiki/lib/plugins/config/lang/eo/lang.php
/dokuwiki/lib/plugins/config/lang/es/lang.php
/dokuwiki/lib/plugins/config/lang/eu/lang.php
/dokuwiki/lib/plugins/config/lang/fa/lang.php
/dokuwiki/lib/plugins/config/lang/fi/lang.php
/dokuwiki/lib/plugins/config/lang/fr/lang.php
/dokuwiki/lib/plugins/config/lang/gl/lang.php
/dokuwiki/lib/plugins/config/lang/he/lang.php
/dokuwiki/lib/plugins/config/lang/hu/lang.php
/dokuwiki/lib/plugins/config/lang/ia/lang.php
/dokuwiki/lib/plugins/config/lang/it/lang.php
/dokuwiki/lib/plugins/config/lang/ja/lang.php
/dokuwiki/lib/plugins/config/lang/ko/lang.php
/dokuwiki/lib/plugins/config/lang/la/lang.php
/dokuwiki/lib/plugins/config/lang/lv/lang.php
/dokuwiki/lib/plugins/config/lang/mr/lang.php
/dokuwiki/lib/plugins/config/lang/nl/lang.php
/dokuwiki/lib/plugins/config/lang/no/lang.php
/dokuwiki/lib/plugins/config/lang/pl/lang.php
/dokuwiki/lib/plugins/config/lang/ro/lang.php
/dokuwiki/lib/plugins/config/lang/sk/lang.php
/dokuwiki/lib/plugins/config/lang/sq/lang.php
/dokuwiki/lib/plugins/config/lang/sr/lang.php
/dokuwiki/lib/plugins/config/lang/sv/lang.php
/dokuwiki/lib/plugins/config/lang/uk/lang.php
/dokuwiki/lib/plugins/config/lang/zh-tw/lang.php
/dokuwiki/lib/plugins/config/lang/zh/lang.php
8eafbfcb27-Apr-2011 Vojta Beran <xmamut@email.cz>

Czech language update

f340134027-Apr-2011 Erial Krale <erial2@gmail.com>

Korean language update

cf800b3827-Apr-2011 Kiril Velikov <neohidra@gmail.com>

Bulgarian language update

a1bbd05b27-Apr-2011 Michael Hamann <michael@content-space.de>

Remove deprecated call-time pass-by-reference in inc/common.php

The value is still passed by reference as the parameter of the called
function is declared as reference.

8e702eb427-Apr-2011 Matthias Schulte <post@lupo49.de>

eu: language updates

65f4051326-Apr-2011 Michael Hamann <michael@content-space.de>

Fix p_get_first_heading for when the search index is empty

When the search index is empty, there was a warning and no headings were
displayed. Now the headings are displayed and there is no warning

Fix p_get_first_heading for when the search index is empty

When the search index is empty, there was a warning and no headings were
displayed. Now the headings are displayed and there is no warning
anymore.

show more ...

a7e5f74c26-Apr-2011 lupo49 <post@lupo49.de>

allow tpl_getFavicon() returning the absolute path to the icon file

c66f16a322-Apr-2011 Michael Hamann <michael@content-space.de>

Make the page lookup by title case insensitive again

The page lookup by title has been case insensitive before the indexer
rewrite, since then it has been case sensitive, this makes it case
insensit

Make the page lookup by title case insensitive again

The page lookup by title has been case insensitive before the indexer
rewrite, since then it has been case sensitive, this makes it case
insensitive again.

show more ...

0c074a5222-Apr-2011 Michael Hamann <michael@content-space.de>

Make ft_pageLookup respect the namespace restriction again

Before this change all pages of the given namespace have been included
in the result, now the search is restricted to the namespace again a

Make ft_pageLookup respect the namespace restriction again

Before this change all pages of the given namespace have been included
in the result, now the search is restricted to the namespace again as it
was before the new indexer has been implemented.

show more ...

30d5f02320-Apr-2011 José Carlos Campos <zecapistolas@googlemail.com>

Portuguese language update

1...<<141142143144145146147148149150>>...258