summaryrefslogtreecommitdiff
path: root/lib/exe/indexer.php
Commit message (Collapse)AuthorAge
* Speed up indexer on lighttpd by using tpl_flush()Christoph Dwertmann2015-03-17
|
* Add ob_flush() to sendGIFChristoph Dwertmann2015-02-05
| | | | | | | I'm running this dokuwiki docker container: https://registry.hub.docker.com/u/mprasil/dokuwiki/ It uses lighttpd and fastcgi. For some reason, the ignore_user_abort() feature where the browser should close the connection after the GIF has been received is not working on lighty. The browser keeps loading the page until the indexer run is complete, which leads to extremely slow load times with a larger page index. Adding ob_flush() to sendGIF fixes the issue.
* Remove error supression for file_exists()Andreas Gohr2015-01-07
| | | | | | | In an older version of PHP a file_exists() call would issue a warning when the file did not exist. This was fixed in later PHP releases. Since we require PHP 5.3 now, there's no need to supress any error here anymore. This might even give a minor performance boost.
* more scrutinizer issue improvementsGerrit Uitslag2014-09-29
|
* scrutinizer documentations issuesGerrit Uitslag2014-09-29
|
* Fix CodeSniffer violationsMatt Perry2013-08-27
| | | | | Fix violations for the following sniff DokuWiki.WhiteSpace.ScopeIndent
* indexer.php: disable the GIF output only with debug parameter and allowdebugMichael Hamann2013-04-08
| | | | | | | Before this fix the debug parameter always prevent the GIF from being sent even though no actual debug information was returned unless the allowdebug configuration option was set. Now the GIF is only disabled if debugging is actually allowed.
* Merge branch 'subscription' Pull Request #125Andreas Gohr2013-01-26
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * subscription: (25 commits) link directly to subscription management in mails only use mailfromnobody for bulk mails added missing context for list mails readded mailfromnobody to subscription sending correctly escape diffs in HTML mails fixed lists in HTML mails simplified subscription->add() code a bit comment adjusted removed unused vars removed data parameter in subscription_handle_post() fixed tests some reformatting added compatibility function moved registration notification to subscription class fixed merge error in inc/auth.php consolidate more notification code in subscription class minor cleanup initialize new subscriptions with current time fixed subscription management correctly check if subscriptions are enabled ...
| * correctly check if subscriptions are enabledAndreas Gohr2012-08-12
| |
| * more subscription refactoring BROKENAndreas Gohr2012-08-12
| | | | | | | | | | | | | | now the actual sending of bulk messages (digest, list) is reimplemented and partially tested. Still not complete
* | lib/exe/indexer.php: Fix sending of the GIF when it is deferred FS#2646Michael Hamann2012-12-03
| | | | | | | | | | | | Before this change the GIF wasn't sent at all when the PHP settings indicate that sending of the GIF needs to be deferred and it was sent when the debug output was on.
* | correct return in sendDigest()Andreas Gohr2012-11-27
| | | | | | | | | | the function always returned true, even if no action was taken. This resulted in no further indexer tasks being run.
* | Correct and add some PHPDoc comments, initialize some variablesMichael Hamann2012-09-07
|/
* Input wrapper for exe scriptsTom N Harris2012-06-28
|
* some more debug output in the indexer webbugAndreas Gohr2012-04-19
|
* Merge branch 'master' into indexer_improvementsMichael Hamann2011-01-23
|\ | | | | | | | | | | | | Conflicts: inc/fulltext.php inc/indexer.php lib/exe/indexer.php
| * increase indexer version to reforce rebuild for the new title indexAndreas Gohr2011-01-16
| |
| * Remove enc=utf-8 in VIM modeline as it is not allowed in VIM 7.3Michael Hamann2010-11-29
| | | | | | | | | | | | As of VIM 7.3 it is no longer possible to specify the encoding in the modeline. This gives an error message whenever such a file is opened, thus this commit removes the enc setting from the modeline.
| * Render metadata when neededMichael Hamann2010-11-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changes fundamentally when metadata is rendered. This commit introduces a new cache file for every page that just contains a timestamp and is updated whenever the metadata of that page is rendered. Metadata is rendered when p_get_metadata is called and the last rendering has been before a page, metadata, configuration or renderer update or purge is set like in the xhtml renderer cache. Metadata is no longer automatically rendered when the xhtml renderer cache isn't used but will still be rendered when needed as p_get_metadata is called in the cache. Metadata is also no longer rendered in the indexer script when missing as that is already done by pageinfo() before anything else is done so the indexer script won't be called when there is no metadata file.
* | Indexer v3 Rewrite part two, update uses of indexerTom N Harris2010-12-29
| |
* | Use a different indexer version when external tokenizer is enabledTom N Harris2010-11-17
| |
* | Do not assume that index files will be backward compatibleTom N Harris2010-11-14
|/
* Introduce metadata write wrapper p_save_metadataAdrian Lang2010-11-13
| | | | p_purge_metadata now updates the metadata cache and the INFO array like the other metadata writing functions
* Merge branch 'master', remote branch 'sitemap/master'Michael Hamann2010-11-02
|\
| * Transformed the sitemapper into a classMichael Hamann2010-09-22
| | | | | | | | This makes it possible to autoload the sitemapper when needed.
| * Sitemap rewriteMichael Hamann2010-09-22
| |
* | Honor allowdebug setting in lib/exe/indexerAdrian Lang2010-10-25
| |
* | removed deprecated index update functionAndreas Gohr2010-10-18
|/
* Ignore small & own changes in digest & list mailsAdrian Lang2010-08-10
|
* Add title index to the indexer files, improve indexer callsAdrian Lang2010-06-16
|
* Remove temp indexer upgrade stuff from 579b0f7eAdrian Lang2010-06-16
|
* Add locking for indexer-based notificationsAdrian Lang2010-05-05
|
* Merge branch 'requireall'Andreas Gohr2010-03-12
|\ | | | | | | | | Conflicts: inc/fulltext.php
| * removed require's in lib/exe/*Andreas Gohr2010-02-01
| |
* | Correct subscribe config parameter nameAdrian Lang2010-02-08
| |
* | Fix documentation for subscribe_timeAdrian Lang2010-02-08
|/
* Fix $info var reference in digest sendAdrian Lang2010-01-20
| | | | darcs-hash:20091130135040-e4919-40b6614fe28ea07dc5796661ddda6d005264ddbc.gz
* wrong function name fixedAndreas Gohr2010-01-20
| | | | | | Ignore-this: b74163181c2e41d3be022a6185f3e1c1 darcs-hash:20091124115805-6e07b-e808cf44a00a65ff8c70cc7e8de4dfedadf96cbd.gz
* correctly handle permissions in digest mailerAndreas Gohr2010-01-20
| | | | | | Ignore-this: c34455078907459a846cf7f00e2b586b darcs-hash:20091123161603-6e07b-927477d6ca50e665228487eb0d3ce9787dbe455b.gz
* Add events to subscription.Adrian Lang2010-01-20
|
* New mail subscription with digestAdrian Lang2010-01-20
|
* Emit less E_NOTICEs and E_STRICTsAdrian Lang2009-11-04
| | | | | | | | | | | | | Changes of behaviour are: * Allow the user name, title & description \e2\80\9c0\e2\80\9d * Default to Port 443 if using HTTPS * Set $INFO['isadmin'] and $INFO['ismanager'] to \e2\80\9cfalse\e2\80\9d even if no user is logged in * Do not pass empty fragment field in the event data for event ACTION_SHOW_REDIRECT * Handle chunked encoding in HTTPClient darcs-hash:20091104100115-e4919-5cf6397d4a457e3f98a8ca49fbdab03f2147721d.gz
* Updated Microsoft sitemap ping URL for bingAndreas Gohr2009-10-14
| | | | | | Ignore-this: bab31d8f21840cf36b3e6fbe9c0b1b63 darcs-hash:20091014112449-6e07b-c298b41cfee8940c01f515b399fcf1a2da0fb237.gz
* Prevent unnecessary updates of the changelog (FS#1758)Mykola Ostrovskyy2009-09-20
| | | | | | Ignore-this: 5653cc47ce2ee6412ba82c82eb2b45fe darcs-hash:20090920171954-40dc4-0c4249b424314a930cdcbe710796db2820330aef.gz
* removed importoldchangelog and importoldindex pluginsAndreas Gohr2009-01-25
| | | | | | | | | | Ignore-this: fb48b24cecb52541a728ba9c17597d8f These one-shot plugins where used for upgrading older DokuWiki versions and are no longer needed. If you upgrade from a really old version you might want upgrade to intermediate versions instead. darcs-hash:20090125143050-7ad00-5ff7b2cd5f61c392e9e02e13eab947d045d60b04.gz
* Media changelog addedmichael2009-01-18
| | | | | | | | There is a new media changelog now, with the flag RECENTS_MEDIA_CHANGES media changes can be requested from the getRecents()-function or the new getRecentsSince()-function, that returns all changes since a given timestamp and optionally before a given timestamp. The media upload and the XML-RPC-server have been changed to use these functions. Additionally, the event MEDIA_UPLOAD_FINISH has been extended, it has a new $data-attribute (the 5th), that contains a boolean if the file does already exist and will be overwritten. darcs-hash:20090118154345-074e0-5d9a90d269e86d8c6a156ecce5cf63115c827433.gz
* fixed the sitemap submission URL for MS Live SearchAndreas Gohr2008-06-23
| | | | darcs-hash:20080623175256-7ad00-4e6ec21196db228d47dbfede6294613567dbb762.gz
* INDEXER_TASKS_RUN event for index-time hooksTom N Harris2008-02-26
| | | | | | | | 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
* Fix border condition on recent change updateTom N Harris2007-10-16
| | | | darcs-hash:20071015225711-6942e-4d540e23e3c2ab62e378b0b9bc3cb80041c79350.gz
* don't use fullpath() before initializedAndreas Gohr2007-09-30
| | | | darcs-hash:20070930201133-7ad00-a35a6c40f880116009efd9e50cb002bd75733369.gz