| #
8451f4ad |
| 10-Jan-2013 |
Guillaume Turri <guillaume.turri@gmail.com> |
If depth option is set to 0, we should recurse forever
At least if we want to be consistent with search_universal
|
| #
c647387e |
| 09-Jan-2013 |
Guillaume Turri <guillaume.turri@gmail.com> |
Check search limit depth with an inequality
Otherwise, when we check for equality, the test fails if the search start beneath the max depth. Eg: if I have the page ns1:ns2:mypage in my wiki, and lau
Check search limit depth with an inequality
Otherwise, when we check for equality, the test fails if the search start beneath the max depth. Eg: if I have the page ns1:ns2:mypage in my wiki, and launch the xmlrpc query getPagelist("ns1", "depth => 1"), without this patch, it retrieves mypage
show more ...
|
| #
1c6c1c6c |
| 01-Oct-2012 |
Michael Hamann <michael@content-space.de> |
Escape filename in regex in search_index()
This problem was reported in https://forum.dokuwiki.org/thread/8143. Apart from warnings you could notice that when you have namespaces "foo" and "f.o" and
Escape filename in regex in search_index()
This problem was reported in https://forum.dokuwiki.org/thread/8143. Apart from warnings you could notice that when you have namespaces "foo" and "f.o" and you open the sitemap for "foo" that "f.o" is opened, too.
show more ...
|
| #
3009a773 |
| 28-Jul-2012 |
Andreas Gohr <andi@splitbrain.org> |
replaced use of basename() with utf8_basename() FS#2015
|
| #
9ea9cc52 |
| 05-Sep-2011 |
Kate Arzamastseva <pshns@ukr.net> |
Merge branch 'master' of git://github.com/splitbrain/dokuwiki into media-revisions
|
| #
1ffc211d |
| 04-Sep-2011 |
Adrian Lang <mail@adrianlang.de> |
Revert tmp commits
This reverts commit ba6c070edd92ca0fc8a6ee85d51769d64a19ee7c. This reverts commit 923510088dda99cb2790b15308593e47369d4f01.
|
| #
92351008 |
| 04-Sep-2011 |
Adrian Lang <mail@adrianlang.de> |
tmp: Introduce sneaky2
|
| #
783d2e49 |
| 04-Sep-2011 |
Adrian Lang <mail@adrianlang.de> |
Use search_universal in search_index
|
| #
d971ea8b |
| 30-Jul-2011 |
Kate Arzamastseva <pshns@ukr.net> |
issue #39 sort by date desc, saved in cookie
|
| #
abc306f4 |
| 25-Jul-2011 |
Kate Arzamastseva <pshns@ukr.net> |
mediamanager sort button
|
| #
67c15ece |
| 07-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 ...
|
| #
e3776c06 |
| 29-Nov-2010 |
Michael Hamann <michael@content-space.de> |
Remove enc=utf-8 in VIM modeline as it is not allowed in VIM 7.3
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 o
Remove enc=utf-8 in VIM modeline as it is not allowed in VIM 7.3
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.
show more ...
|
| #
709b1063 |
| 13-Nov-2010 |
Adrian Lang <dokuwiki@adrianlang.de> |
Simpler ID trimming
|
| #
e63d421b |
| 26-Oct-2010 |
Andreas Gohr <andi@splitbrain.org> |
do not strip .txt in namespaces in index
|
| #
de3eb1d7 |
| 28-Sep-2010 |
Adrian Lang <lang@cosmocode.de> |
Small fixes / cleanup
|
| #
27200028 |
| 29-Aug-2010 |
Andreas Gohr <andi@splitbrain.org> |
added missing keeptxt option to universal search FS#2014
|
| #
dfd343c4 |
| 22-Mar-2010 |
Andreas Gohr <andi@splitbrain.org> |
fixed hashing in mediaSearch()
The hash option did not hash the correct content for the found media files. This causes troubles in the sync plugin http://github.com/splitbrain/dokuwiki-plugin-sync/i
fixed hashing in mediaSearch()
The hash option did not hash the correct content for the found media files. This causes troubles in the sync plugin http://github.com/splitbrain/dokuwiki-plugin-sync/issues#issue/1
show more ...
|
| #
0af14a6e |
| 01-Feb-2010 |
Andreas Gohr <andi@splitbrain.org> |
removed more unneeded require_once() calls
|
| #
16905344 |
| 31-Jan-2010 |
Andreas Gohr <andi@splitbrain.org> |
first attempt to centralize all include loading
Classes are loaded throug PHP5's class autoloader, all other includes are just loaded by default. This skips a lot of require_once calls.
Parser and
first attempt to centralize all include loading
Classes are loaded throug PHP5's class autoloader, all other includes are just loaded by default. This skips a lot of require_once calls.
Parser and Plugin stuff isn't handled by the class loader yet.
show more ...
|
| #
32d6093d |
| 16-Dec-2009 |
Andreas Gohr <gohr@cosmocode.de> |
fixed level attribute in universal search
Ignore-this: 2b76ec324372c93371793344e0dbadde
darcs-hash:20091216152527-6e07b-7fc6fd3514cf42684d6dd95f419b709a9bdc0b94.gz
|
| #
8537abd1 |
| 24-Nov-2009 |
Adrian Lang <lang@cosmocode.de> |
Use correct variable name in search_universal
darcs-hash:20091124105300-e4919-ab8161782c535b7336794404b770caf652cd1a15.gz
|
| #
db959ae3 |
| 20-Oct-2009 |
Andreas Gohr <andi@splitbrain.org> |
Coding Standard Cleanup
Ignore-this: 259cb5773c3144c6c706d87298dcf674
darcs-hash:20091020212338-7ad00-6bf1c5c403491f136a1c02af5ecd9f84d7227107.gz
|
| #
8705cc81 |
| 28-Aug-2009 |
Andreas Gohr <andi@splitbrain.org> |
replaced two search_* funcs with calls to search_universal
Ignore-this: c22ff5dcffaf279b6c4397893d5e82af
darcs-hash:20090828080240-7ad00-e36eb4f517af14202eed8bc9d432f636343af50f.gz
|
| #
3abeade3 |
| 12-Aug-2009 |
Andreas Gohr <gohr@cosmocode.de> |
universal callback for search()
Ignore-this: 4d786345ea9bfb19fb6f8af9348f5248
This patch adds a callback for use with the search() function, that is flexible enough to replace many of the other spe
universal callback for search()
Ignore-this: 4d786345ea9bfb19fb6f8af9348f5248
This patch adds a callback for use with the search() function, that is flexible enough to replace many of the other specialized callbacks and opens up more possibilties to plugin authors without the need to write new callbacks.
Existing callbacks need to be reexamined and rewritten to wrap around this callback instead.
note: development was part of the ICKE 2.0 project see http://www.icke-projekt.de for info
darcs-hash:20090812101653-6e07b-d578baff97a0e8720e468e238aec06109048c8b8.gz
show more ...
|
| #
78315408 |
| 05-Jun-2009 |
Andreas Gohr <andi@splitbrain.org> |
another attempt to fix recursion depth in media search
Ignore-this: 7d58d0069959747b9e20eefaabb7e1d5
darcs-hash:20090605110519-7ad00-7f5c5e8e9fb342c4bad6bae87b5e4d6333b1dffb.gz
|