| Commit message (Collapse) | Author | Age |
| |
|
|\
| |
| | |
Cosmetic changes in tpl_getFavicon()
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Attention: $lang['register'] has been renamed to $lang['btn_register'],
anyone using that in any plugin or template should adjust it.
|
|
|
|
|
| |
A search equivalent to a new ID so it should show up in the bread
crumbs.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Not sure if this sympol is the best to use. I'm open for different
suggestions.
Template auhtors still can overwrite the symbol of course.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
first headings)
|
|
|
|
|
|
|
| |
This reverts commit 4871414204799044c31aa2764c4b4ca020e2331d.
Additionally there is a new fix for FS#2107 that doesn't introduce a lot
of checks but instead ensures that the configuration option can't be set
to negative values when the configuration manager is used.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
This fixes an infinite loop in breadcrumbs() and makes the behaviors in
all places where breadcrumbs are used consistent so that non-numeric
values, values < 0 and 0 are treated the same way.
|
| |
|
| |
|
| |
|
|
|
|
| |
This avoids breaking old templates
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
See http://adrianlang.de/ada/html-script-charset
|
|
|
|
| |
admins and manager in do=check. Also protected meta files README, VERSION and COPYING additionally to .ht*
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch implements what Adrian's patch "Hide logout button if auth
backend cannot logout" intended to do.
The 'logoff' capability was used to decide if a special method called
$auth->logOff() should be called when the user logs out, not if the
backend supports logouts at all. This was a superflous capability since
an empty logOff() method is implemented in the base class anyway - it
doesn't hurt to always call the method.
The 'logoff' capability is now deprecated. Backends who want to do
actions on logout simply need to overwrite logOff().
A new capability 'logout' was added which defaults to true. Backends
that can't logoff the user (eg. because they use some automatic
login/logoff mechanism) can set this to false.
Probably makes sense to add a 'login' capability as well...
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Behavioural changes:
* buttons
* no 'do=show' but clean URLs (show and back buttons)
* the alias 'subscription' for subscribe buttons is now available
* links
* draft link has class 'draft', not 'edit'
* revisions link has class 'revs', not 'revisions'
* both
* 'revision' is added as an alias for 'history'
These changes were mainly introduced to reduce the differences between
links and buttons.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This introduces a new function called tpl_flush() which should be used
by template authors in favor of the PHP flush() method.
|
|\
| |
| |
| |
| | |
Conflicts:
inc/fulltext.php
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It looks like when there is no "do=" parameter to doku.php, "show" is
assumed. When clean URLs are used (via mod_rewrite), regular
page-to-page links hence just link to "pagename". However, if you "Show
pagesource", then "Show page", the browser is sent back to
"pagename?do=show" instead of just "pagename". This seems like a "less
clean" URL to me.
So, the attached patch removes "do=show" from URLs in this case, so
cleaner URLs are used.
|
|/ |
|
| |
|
|
|
|
|
|
| |
Ignore-this: e1b3b815b5ebb0da320bff997c4fed4b
darcs-hash:20091130130311-6e07b-03ccfc52abb3dcc0764eed5784d81f8416841328.gz
|
|
|
|
|
|
| |
Ignore-this: 35c31736664920607a8a78769f560d82
darcs-hash:20091123153204-6e07b-e4637bd20c6e703885f3c3c5fd3de8ee37fc3693.gz
|