| Commit message (Expand) | Author | Age |
* | Add add_literal_underlay and use it for the transient underlay•••This means we don't need to import Cwd and use abs_path.
| Simon McVittie | 2011-01-07 |
* | use cgitemplate, remove misctemplate | Joey Hess | 2011-01-05 |
* | make urlabs a noop if base url is not provided•••This allows urlabs($foo, $config{url}) to be used safely, even if
no url is configured.
| Joey Hess | 2011-01-05 |
* | factored out an urlabs from aggregate and cgi | Joey Hess | 2011-01-05 |
* | oops | Joey Hess | 2011-01-05 |
* | Temporarily revert one part of the multiple url support in the last release. ... | Joey Hess | 2011-01-05 |
* | Add a second parameter to the rcs_diff hook, and avoid bloating memory readin... | Joey Hess | 2010-12-29 |
* | urlto: simplify the to='' special case to allow it to be made absolute | Simon McVittie | 2010-12-25 |
* | checkconfig: don't warn if $config{url} is undef•••The warning was "Use of uninitialized value $IkiWiki::config{"url"} in
length" when running a modified t/tag.t.
| Simon McVittie | 2010-12-25 |
* | Enable HTML::Template's parent_global_vars option.•••Else setting parameters that do not appear in the template (such as
title_overridden) fails horribly.
| intrigeri | 2010-12-22 |
* | second parameter of urlto is optional | Joey Hess | 2010-11-29 |
* | Merge remote branch 'smcv/ready/localurl' | Joey Hess | 2010-11-29 |
|\ |
|
| * | If cgiurl is set, but url isn't, use an absolute $local_cgiurl | Simon McVittie | 2010-11-23 |
| * | urlto(): if $from is undef, return a local path, not an absolute URL | Simon McVittie | 2010-11-22 |
| * | baseurl(): return local path, not absolute URL, if the argument is undef | Simon McVittie | 2010-11-22 |
| * | cgiurl(): return a locally-valid path by default•••To get an absolute version you can use cgiurl(cgiurl => $config{cgiurl}).
The only place in IkiWiki that seems to actually need an absolute URL
is the openid plugin, and that already uses the named parameter.
| Simon McVittie | 2010-11-22 |
| * | cgiurl: don't append "?" if there are no parameters•••This means we can use cgiurl() instead of $config{cgiurl} if an absolute
URL isn't desired.
| Simon McVittie | 2010-11-22 |
| * | Compute local paths to the top of the wiki•••"local" here is short for "locally valid" - the idea is that we can use
URLs that are relative in the sense of only having the path part, but
absolute in the sense that they start from '/', such as
'/~smcv/ikiwiki.cgi'. There's no particularly good name that I can find
for these between-relative-and-absolute URLs.
They're useful because in the common case where the pages and the CGI
script have the same scheme and authority component, each page is
identified by the same locally-valid URL when linking from any page or
from the CGI, without hard-coding a choice between HTTP and HTTPS, or
between multiple virtual hostnames with the same path layout. As such,
we can use them in many situations that previously used an absolute URL.
If there's no suitable semi-absolute value for local_url (for instance,
if your pages and your CGI reside on different servers), we can just fall
back to using the absolute URL. I append '/' because $config{url} doesn't
end with '/', but the common case for local_url (on all branchable.com
sites, for instance) is that it's just '/'.
| Simon McVittie | 2010-11-22 |
* | | Merge remote branch 'blipvert/fixes' | Joey Hess | 2010-11-28 |
|\ \
| |/
|/| |
|
| * | check that user is defined before regexp compare | Craig Lennox | 2010-11-28 |
* | | avoid an unnecessary hash lookup | Joey Hess | 2010-11-20 |
* | | make use of precompiled regex objects | Simon McVittie | 2010-11-20 |
* | | glob2re: return a precompiled, anchored case-insensitive regex•••In practice every use of glob2re uses it like that.
| Simon McVittie | 2010-11-19 |
* | | match_glob: streamline glob cache slightly | Simon McVittie | 2010-11-19 |
* | | Improve the speed of match_glob | Kathryn Andersen | 2010-11-19 |
|/ |
|
* | bugfix | Joey Hess | 2010-10-23 |
* | add a hint that creation_month takes a number, not a month name | Joey Hess | 2010-10-20 |
* | avoid perl warning when passed bad non-numeric year/month/day | Joey Hess | 2010-10-20 |
* | refactor check_canchange into IkiWiki library | Joey Hess | 2010-10-08 |
* | make revert hooks optional•••I removed the IkiWiki::rcs_ stubs for the revert hooks. Instead
recentchanges tests to see if the hooks are available and calls
them directly.
| Joey Hess | 2010-10-08 |
* | convert rcs_revert to only stage the reversion | Joey Hess | 2010-10-06 |
* | remove rcs_showpatch | Joey Hess | 2010-10-06 |
* | indentation | Joey Hess | 2010-10-04 |
* | Complete rcs_preprevert and lightly test. | Peter Gammie | 2010-10-01 |
* | First cut at the revert plugin. | Peter Gammie | 2010-09-29 |
* | template_depends: throw nice error message when template cannot be found•••plovs reported a crash when templates were not installed properly,
with a non-useful error about the template object not being defined.
I've audited all uses of template_depends(), and template(), and it makes
sense for them to throw an error if the template cannot be found. All code
with a user-supplied template catches errors already, to handle template
parse failures.
It did not make sense for template_file to throw errors, as some code uses
it to probe if a template file is available.
| Joey Hess | 2010-09-27 |
* | revert check_canedit nosubs thing•••Abstraction violation. I now think the problem should be treated as a bug
in httpauth.
| Joey Hess | 2010-08-30 |
* | Receive: avoid hiding check_canedit error messages•••Avoid the generic "you are not allowed to change" message,
and instead allow check_canedit to propigate out useful error messages.
Went back to calling check_canedit in fatal mode, but added a parameter to
avoid calling the troublesome subs that might cause a login attempt.
| Joey Hess | 2010-08-30 |
* | optimise single dot detection•••Since it already looks for things starting with a dot, I was able to avoid
matching against the string twice.
This also fixes a minor bug; $from may not be defined. Avoid uninitialized
value warnings in this case.
| Joey Hess | 2010-08-30 |
* | Single dot in pagespec translates to 'current page' | Giuseppe Bilotta | 2010-08-30 |
* | Fixes a bug that prevented matching deleted pages when using the page() PageS... | Joey Hess | 2010-08-04 |
* | Add new disable hook, allowing plugins to perform cleanup after they have bee... | Joey Hess | 2010-07-26 |
* | template: Fix dependency tracking. Broken in version 3.20100427.•••template_depends was adding a dependency on the source filename,
instead of on the page name when a template is a page. Such a
dependency doesn't work.
| Joey Hess | 2010-07-23 |
* | Merge remote branch 'intrigeri/po' | Joey Hess | 2010-07-18 |
|\ |
|
| * | Make the rationale clearer. | intrigeri | 2010-07-11 |
| * | Revert po vs. template kludges.•••This reverts commits dcd57dd5c9f3265bb7a78a5696b90976698c43aa,
d4136aea8aa8968d2cd87b40e8d85301a3549323 and
d877b9644bcfbbfc5eaf3f7fc13cb96ecda946c9.
| intrigeri | 2010-07-11 |
| * | Merge remote branch 'upstream/master' into prv/po•••Conflicts:
IkiWiki/Plugin/po.pm
doc/plugins/po.mdwn
| intrigeri | 2010-07-11 |
| |\ |
|
| * | | Add a fullpage arg to filter.•••Set it to true every time IkiWiki::filter is called on a full page's content.
This is a much nicer solution, for the po plugin, than previous whitelisting
using caller().
| intrigeri | 2010-06-29 |
| * | | Merge remote branch 'upstream/master' into prv/po•••Conflicts:
IkiWiki/Plugin/po.pm
| intrigeri | 2010-06-25 |
| |\ \ |
|
| * | | | moved selflink test to its own isselflink (overridable) sub | intrigeri | 2010-01-09 |