| Commit message (Expand) | Author | Age |
* | Allow dots in parameter key names•••This allows e.g. the meta command to be used to introduce DublinCore
metadata.
| Giuseppe Bilotta | 2013-02-15 |
* | add cgi_overload_message | Joey Hess | 2012-10-11 |
* | add cgi_overload_delay tunable•••Try to avoid a situation in which so many ikiwiki cgi wrapper programs are
running, all waiting on some long-running thing like a site rebuild, that
it prevents the web server from doing anything else. The current approach
only avoids this problem for GET requests; if multiple cgi's run GETs on a
site at the same time, one will display a "please wait" page for a
configurable number of seconds, which then redirects to retry. To enable
this protection, set cgi_overload_delay to the number of seconds to wait.
This is not enabled by default.
| Joey Hess | 2012-10-09 |
* | passwordauth: Fix url in password recovery email to be absolute.•••This got broken when cgiurl began often returning a relative url.
Added a cgiurl_abs for the things that need a guaranteed absolute cgiurl.
| Joey Hess | 2012-04-02 |
* | fix typo in LC_TIME locale lookup | Joey Hess | 2012-02-01 |
* | calendar, prettydate: Fix strftime encoding bug•••strftime is a C function, it does not return decoded utf8.
Several places in ikiwiki manually decoded it, but at least two
forgot to.
Also, strftime might not return even encoded utf8, if LC_TIME is set
to a non-utf8 value. Went ahead and supported decoding whatever encoding
it uses.
The remaining direct calls to strftime() are all ones that first set
LC_TIME=C, in order to get times that are not for human display.
| Joey Hess | 2012-01-30 |
* | backlink(.) should behave like backlink(<current page>)•••Since commit c4d4cad3befbbd444d094cbeb0b6ebba3910a025, the single dot in
a pagespec can be used to mean the current page. While this worked
correctly in link() it didn't work in backlink(). Fix this by explicitly
checking the testpage in backlink against . and replacing it with the
current location if necessary.
| Giuseppe Bilotta | 2012-01-13 |
* | Add path and path_natural sort orders•••(cherry picked from commit 272e0b2f17c33c625b494b07f581da400066a216)
| Simon McVittie | 2011-12-06 |
* | Support private, group, public as values for umask•••These are equivalent to octal 077, 027 and 022, but easier to get from
YAML.
Signed-off-by: Simon McVittie <smcv@debian.org>
| Simon McVittie | 2011-11-27 |
* | Avoid using named capture groups in heredoc code for oldperl compatability.•••Also reordered heredoc part of regexp for consistency.
| Joey Hess | 2011-07-30 |
* | Preserve mixed case in page creation links, and when creating a page whose ti... | Joey Hess | 2011-06-29 |
* | Support svg as a inlinable image type•••svg images can be included on a page by simply linking to them, or by using
the img directive. Note that sanitizing svg files is still not addressed.
| Joey Hess | 2011-06-29 |
* | html5 is not experimental anymore. But not the default either, quite yet. | Joey Hess | 2011-06-23 |
* | added support for here-docs and ''' in parameters. | Timo Paulssen | 2011-05-13 |
* | Yaml formatted setup files are now produced by default•••This has been a while coming. It turns out that non-excutable setup files
have a number of benefits. Also, I find YAML setup files easier to edit
myself, and I suspect many users will prefer not needing to deal with
perl syntax.
| Joey Hess | 2011-03-24 |
* | Add timezone setting in setup file. This alows time zone to be configured via... | Joey Hess | 2011-03-24 |
* | avoid uninitlized value when urlto is called with 1 parameter and no url is c...•••This brings back the old behavior before urlto changes for this case.
It will generate a path like "/foo", which is not right, but is
the same as is generated by urlto($page, "", 1) -- which is what
the code that now uses 1-parameter urlto used to use.
| Joey Hess | 2011-02-27 |
* | 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 |