summaryrefslogtreecommitdiff
path: root/inc/search.php
Commit message (Collapse)AuthorAge
...
* more flexible page listing method in search.phpAndreas Gohr2009-02-19
| | | | darcs-hash:20090219214345-7ad00-2597a205c5dfae869defebe5f57d34a5f2fa3baf.gz
* removed some illogical path setupsAndreas Gohr2008-12-13
| | | | darcs-hash:20081213090400-7ad00-4e21cd75978bb07513f32f5d750658e8d777c59e.gz
* Implementation of FS#872Gina Haeussge2008-10-12
| | | | darcs-hash:20081012140306-2b4f5-3fd4006f178e358be3d19be5c4244e56facd1b9a.gz
* Added option to make media search recursiveGina Haeussge2008-08-23
| | | | | | By providing a key 'recursive' in the opts array of the media search, the search recurses into namespaces. darcs-hash:20080823100126-2b4f5-62a051fc901d61158347a2e87181e21fda87471d.gz
* skip invalid filenames in media directory list (related to FS#1312 FS#1306)Andreas Gohr2008-01-18
| | | | | | | Invalid media files (like uppercase names) are no longer listed in the media manager. Instead a warning is shown. darcs-hash:20080118205511-7ad00-01625475e055be71628fd68aaaad786959420dce.gz
* don't use realpath() anymore (FS#1261 and others)Andreas Gohr2007-09-30
| | | | | | | | | | | 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
* moved lockfile check out of search() to callback functionsMichael Klier2007-08-28
| | | | darcs-hash:20070828194406-23886-832f4a1222633b686cd8895eba00f1c895c5a992.gz
* FS#744 (template developers, heed the changes)Anika Henke2007-05-15
| | | | darcs-hash:20070514222527-d5083-53ed619daf07d0a84c52161465d163abf1400529.gz
* add sneaky_index optionAndreas Gohr2007-05-11
| | | | | | This disables the last patch and adds an option to enable it on demand. darcs-hash:20070511200235-7ad00-a3ea769bc4965710b7fd261d31e2c9f8a3d9d7f5.gz
* hide namespaces from index when no read permissions are available FS#427Andreas Gohr2007-05-11
| | | | | | | Note this wil also hide all namespaces below even if they have more relaxed permissions. darcs-hash:20070511192116-7ad00-90103a756a6f3011cfb60817ecc1906f639ce342.gz
* show lastmod datetime in mediamanager FS#964Andreas Gohr2007-01-06
| | | | darcs-hash:20070106125603-7ad00-a10d366e8a3c7d58aacbffbe333b4fccba340f4a.gz
* don't show .txt files as medianamespaces #963Andreas Gohr2006-11-03
| | | | darcs-hash:20061103150850-7ad00-9b6936efb8dd47eb366e5cd34a3149f4d81caa14.gz
* new mediamanagerAndreas Gohr2006-05-19
| | | | | | | | | | | | | | | This patch adds a completely rewritten media popup. The following noteworthy changes were made: - media manager uses a collapsible namespace tree - media manager uses AJAX if available - media manager popup can be kept open when selecting a media file - only one template is used for the media manager :!: Template - Editable image metadata is configured in conf/mediameta.php now - The JS cookie mechanism was enhanced to store key/value pairs - Language strings can be exported to JS in js.php darcs-hash:20060519165023-7ad00-4932b4553fc919aa4a8b8187958b823acf4f8cee.gz
* Search index skips over hidden namespacesMartin Tschofen2006-04-29
| | | | darcs-hash:20060428233035-a265a-5b124304e8250f0c97bff5ce8fdc839170cc7f95.gz
* better callback handling in search() functionAndreas Gohr2006-04-28
| | | | | | | The search() function now accepts an array in $func for giving object methods as callback. darcs-hash:20060428184554-7ad00-2d1726d078683ea41c72f6ca67ded3e1eccfdf17.gz
* file cleanupsAndreas Gohr2006-02-17
| | | | | | | | | | This patch cleans up the source code to satisfy the coding guidelines (see http://wiki.splitbrain.org/wiki:development#coding_style) It converts files to UNIX lineendings and removes tabs and trailing whitespace. Not all files were cleaned yet. darcs-hash:20060217222040-7ad00-bba3d2bee3b5aa7cbb5184258abd50805cd071bf.gz
* hidepages configoptionAndreas Gohr2005-11-03
| | | | | | | | | | | | | This new option accepts a RegExp to filter certain pages from all automatic listings (RSS, recent changes, search results, index). This is useful to exclude certain pages like the ones used in the sitebar templates. The regexp is matched against the full page ID with a leading colon. If it matches the page is assumed to be a hidden one. IMPORTANT: this is not related to ACL. A hidden page is still visible to all users (if not restricted by ACL) when linked or called directly. darcs-hash:20051103101726-6e07b-8d45912a1b4f6cfc9e3fce147c15f84a58ea7ca2.gz
* backlinks now use the new index based searchAndreas Gohr2005-09-12
| | | | darcs-hash:20050912141042-7ad00-5ef43525c9fd7ba44206720c54bb566450f93250.gz
* minor fixes needed for searchindex pluginAndreas Gohr2005-09-04
| | | | darcs-hash:20050904203437-7ad00-e0856739efaff3eb63b6ef0821ac318b4f84af9e.gz
* the search now uses the indexAndreas Gohr2005-09-04
| | | | darcs-hash:20050903220229-7ad00-5d95f905eaeb3f6b867aa3ee43c2a8bccc533c00.gz
* optimized Image metadata handlingAndreas Gohr2005-07-31
| | | | darcs-hash:20050731115030-7ad00-2a1a423985864f0daae57545c2f3945abfc10257.gz
* redefine reference check optionsmatthiasgrimm2005-06-26
| | | | | | | | | | | | | | | | This patch correct the meaning of the reference check configuration options. They become more logical. refcheck boolean Enable/Disable the reference checker. If set to '0' the existence of references is not checked and vica versa. recshow int defines how many references should be displayed If set to '0' no references are shown at all. This meaning is more logical. The first parameter switches the checker on/off and the second would be set, if the user wanted to see where the references are and how many should be displayed. darcs-hash:20050626153207-7ef76-0800eb2e394bf1b9f4233e7698b4d894f4b58e5b.gz
* option merge of refcheck and refcountmatthiasgrimm2005-06-17
| | | | | | | The options refcheck and refcount were merged to refcheck. This reduces configuration options and make the function more robust. darcs-hash:20050617201556-7ef76-47841e0b8713a26b6fb7eacffa9e89752f65ae50.gz
* search fix FS#395matthiasgrimm2005-06-17
| | | | | | | This patch fixes FS#395 and another bug in the fulltext search which accepts single '+' and '-' signs as search input. darcs-hash:20050617113855-7ef76-368041107843f805c9ab539253ddc17eb617be61.gz
* media reference check part 2matthiasgrimm2005-06-16
| | | | | | | | | | | Part 1 only checks for the existance of references. Part 2 will show where this references are so that the user could easily find them. Both parts are configurable: refcheck darcs-hash:20050616163425-7ef76-a7fce6cd1ef5d2cc2e4ac3b869969a65c671770a.gz
* media reference checkmatthiasgrimm2005-06-05
| | | | | | | | | This patch implements the first step of a media file reference checker. Every time the user wanted to delete a media file it would be ckecked for still existing references to this media file. File deletion is denied if this media file is still in use. darcs-hash:20050605185038-7ef76-475e5990609587e1b8cee0e155fa6002f1c5b27c.gz
* extended search fix no. 2matthiasgrimm2005-06-05
| | | | | | | The last patches confused darcs so we get a mixed up code. This patch corrected the mess hopefully. darcs-hash:20050605085854-7ef76-83d86fd24ce667f7cb506466ef2aef39ccc38cea.gz
* extended search fixmatthiasgrimm2005-06-04
| | | | | | | | | This patch fixes a bug in the search code and did some optimizations. Furtheron queries with only excluded words will be rejected because they won't produce usable output and waste only time. darcs-hash:20050604212026-7ef76-7a096791875407859eae390290165e4b6e7ef082.gz
* UNDO: extended search fixmatthiasgrimm2005-06-04
| | | | | | | | | | | | This patch fixes a bug in the search code and did some small optimizations. The possibility to start a search with _only_ excluded words (only words start with a minus sign) was disabled because this seem to crash PHP 4.3.10 (at least the ppc version :-() darcs-hash:20050604194621-7ef76-c240e1089df10645f5ea959a7ccb664a50afde7a.gz
* extended search fixmatthiasgrimm2005-06-04
| | | | | | | | | | | | This patch fixes a bug in the search code and did some small optimizations. The possibility to start a search with _only_ excluded words (only words start with a minus sign) was disabled because this seem to crash PHP 4.3.10 (at least the ppc version :-() darcs-hash:20050604194621-7ef76-10a5bb6a5b2804bcadcbffcdf2ea500db7ceeb91.gz
* extended search functionmatthiasgrimm2005-06-03
| | | | | | | | | | | | | | | | | | | | The DokuWiki search function uses 'OR' to combine multiple search words. This behaviour is unusual and not very helpful to narrow the search results. This patch changed the behaviour to 'AND'. Multiple search words will reduce the count of search results. It uses assertions now. This has the big advantage that only one regular expression have to be processed for each file and the behaviour can be changed easily. The functionallity has been extended: Words with a preceding minus sign (-) will be excluded from and words with a preceding plus sign (+) will be included in the search results. Is a preceding sign is missing (+) is assumed. darcs-hash:20050603182746-7ef76-03b18a3707c91e8c5cbb99253b603d090b679c1a.gz
* keep txt extension on uploaded txt files #360andi2005-05-30
| | | | darcs-hash:20050530181055-9977f-9a771ac829c8fe48557f6932cc99fd4318579a9e.gz
* make search skip .lock filesandi2005-05-19
| | | | darcs-hash:20050519161353-9977f-3ea310a2dd433c8bc3ff634bde962d6a9adce549.gz
* experimental AJAX quicksearchandi2005-05-15
| | | | | | | This isn't perfect yet, but it works. It's tested in Mozilla Firefox only. Patches welcome! darcs-hash:20050515131507-9977f-5ad6c4483faec67f7ce7c980b5a2bd6d9e81012a.gz
* backlink with camelcase support (untested)andi2005-04-22
| | | | darcs-hash:20050422164153-9977f-443f332fa6e591dfa352448ceb5dd24811d227a2.gz
* removed closing php tag for includesandi2005-04-13
| | | | darcs-hash:20050413175338-9977f-c969db6f86df5df175db9a39b4fabb9f072f8f67.gz
* fixed index to not include the cache dir (#230)andi2005-03-31
| | | | darcs-hash:20050331155416-9977f-32ef07e8c97584c9d16b4f43504767bdbd217138.gz
* added init.php - may have broken something! (related to #153)andi2005-02-19
| | | | darcs-hash:20050219102055-9977f-575d654e742934c911ffab855d82aa91f198b5cf.gz
* utf8 compatible fulltext searchandi2005-01-23
| | | | darcs-hash:20050123165100-9977f-697d62ef2daa33eaf167e59754bb6f9444a06135.gz
* Unicode filenames with URL encodingandi2005-01-23
| | | | darcs-hash:20050123102905-9977f-1065a1112bfd47caed0f198b94e5226c81351b64.gz
* fancy indexandi2005-01-15
| | | | darcs-hash:20050115205741-9977f-75c87471f0c801a8b623e2a0af53896331f80975.gz
* phpdoc commentsandi2005-01-14
| | | | darcs-hash:20050114164057-9977f-e4936fde9037c65c3f32c30b31b2b7df35732f3a.gz
* Initial revision.andi2005-01-12
darcs-hash:20050112202454-9977f-60936f24fe2092a30223627e0683de2df61d0c4a.gz