| Commit message (Expand) | Author | Age |
... | |
| * | | | | | Provide a UUID in edittemplate templates.•••I want to make GUIDs for my RSS feeds that don't change when I move
pages around. To that end, I've used UUID::Tiny to generate a
version 4 (random) UUID that is presented in a `uuid` variable in
the template.
At that point, you can do something like this:
[[!meta guid="urn:uuid:<TMPL_VAR uuid>"]]
| Jonathon Anderson | 2014-09-01 |
| | |_|/ /
| |/| | | |
|
* | | | | | Merge branch 'ready/postform-no' | Simon McVittie | 2014-09-12 |
|\ \ \ \ \ |
|
| * | | | | | inline: postform=no should take precedence over rootpage existing•••If someone has explicitly disabled the postform, it seems reasonable
from a least-astonishment point of view for that to take precedence
over rootpage, even though that makes rootpage useless.
Also add a regression test; so far, this is all it tests.
| Simon McVittie | 2014-07-04 |
| | |_|_|/
| |/| | | |
|
* | | | | | Merge branch 'ready/perf' | Simon McVittie | 2014-09-12 |
|\ \ \ \ \ |
|
| * | | | | | In all=no conditionals, depend on the influences, not the test pagespec•••Previously, if a page like `plugins/trail` contained a conditional like
[[!if test="backlink(plugins/goodstuff)" all=no]]
(which it gets via `templates/gitbranch`), then the
[[plugins/conditional]] plugin would give `plugins/trail` a dependency on
`(backlink(plugins/goodstuff)) and plugins/trail`. This dependency is
useless: that pagespec can never match any page other than
`plugins/trail`, but if `plugins/trail` has been modified or deleted,
then it's going to be rendered or deleted *anyway*, so there's no point
in spending time evaluating match_backlink for it.
Conversely, the influences from the result were not taken into account,
so `plugins/trail` did not have the
`{ "plugins/goodstuff" => $DEPEND_LINKS }` dependency that it should.
Invert that, depending on the influences but not on the test.
Bug: http://ikiwiki.info/bugs/editing_gitbranch_template_is_really_slow/
| Simon McVittie | 2014-03-03 |
| | |_|_|/
| |/| | | |
|
* | | | | | Merge branch 'ready/comments' | Simon McVittie | 2014-09-12 |
|\ \ \ \ \ |
|
| * | | | | | comments: use comments_pagespec for authorization, not just UI | Simon McVittie | 2014-07-04 |
| | |/ / /
| |/| | | |
|
* | | | | | Merge branch 'ready/trail-sort' | Simon McVittie | 2014-09-12 |
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
|
| * | | | | trail: don't generate a costly dependency when forcing sort order•••pagespec_match_list() makes the current page depend on the pagespec
being matched, so if you use [[!trailoptions sort="..."]] to force
a sort order, the trail ends up depending on internal(*) and is
rebuilt whenever anything changes. Add a new sort_pages() and use that
instead.
| Simon McVittie | 2014-07-11 |
| |/ / / |
|
* | | | | Plugins::highlight: replace use of langdefdir with searchFile•••In recent versions of highlight there can be more than one langdefdir.
This patch fixes the ensuing hilarity when the user adds a single
highlight lang definition and highlight.pm expects all definitions to
be in the same place.
| David Bremner | 2014-08-06 |
* | | | | cope with missing getConfDir in 3.18+ of highlight.•••Unfortunately we have to try a couple things since the API changed
between 3.9 and 3.18
| David Bremner | 2014-08-06 |
|/ / / |
|
* / / | only_committed_changes could fail in a git repository merged with git merge -... | Joey Hess | 2014-04-05 |
|/ / |
|
* | | Merge remote-tracking branch 'remotes/smcv/ready/careful-eval' | Joey Hess | 2014-02-23 |
|\ \ |
|
| * | | protect $@ whenever a block using $@ is non-trivial•••As noted in the Try::Tiny man page, eval/$@ can be quite awkward in
corner cases, because $@ has the same properties and problems as C's
errno. While writing a regression test for definetemplate
in which it couldn't find an appropriate template, I received
<span class="error">Error: failed to process template
<span class="createlink">deftmpl</span> </span>
instead of the intended
<span class="error">Error: failed to process template
<span class="createlink">deftmpl</span> template deftmpl not
found</span>
which turned out to be because the "catch"-analogous block called
gettext before it used $@, and gettext can call define_gettext,
which uses eval.
This commit alters all current "catch"-like blocks that use $@, except
those that just do trivial things with $@ (string interpolation, string
concatenation) and call a function (die, error, print, etc.)
| Simon McVittie | 2014-02-21 |
* | | | Merge remote-tracking branch 'remotes/smcv/ready/git-push-origin-master' | Joey Hess | 2014-02-23 |
|\| | |
|
| * | | git: explicitly specify the branch to push to origin•••git's behaviour when doing "git push origin" is configurable, and the
default is going to change in 2.0. In particular, if you've set
push.default to "nothing", the regression test will warn:
fatal: You didn't specify any refspecs to push, and push.default
is "nothing".
'git push origin' failed: at .../lib/IkiWiki/Plugin/git.pm line 220.
| Simon McVittie | 2014-02-21 |
* | | | Merge remote-tracking branch 'intrigeri/fix_diffurl_vs._cgit' | Joey Hess | 2014-02-23 |
|\ \ \ |
|
| * | | | Do not UTF8-escape "/" in Git's diffurl: cgit does not support this. | intrigeri | 2013-12-31 |
* | | | | Merge remote-tracking branch 'mhameed/html_lang_and_dir' | Joey Hess | 2014-02-23 |
|\ \ \ \ |
|
| * | | | | Add two template variables, expose html language code and language direction. | Mesar Hameed | 2013-10-14 |
* | | | | | Bug#737121: ikiwiki: [PATCH] Implement configuration option to set the user a...•••Package: ikiwiki
Version: 3.20140125
Severity: wishlist
By default, LWP::UserAgent used by IkiWiki to perform outbound HTTP
requests sends the string "libwww-perl/<version number>" as User-Agent
header in HTTP requests. Some blogging platforms have blacklisted the
user agent and won't serve any content for clients using this user agent
string. With IkiWiki configuration option "useragent" it's now possible
to define a custom string that is used for the value of the User-Agent
header.
| Tuomas Jormola | 2014-02-01 |
| |_|/ /
|/| | | |
|
* | | | | osm: Escape name parameter. Closes: #731797 | Joey Hess | 2014-01-15 |
* | | | | inline: Allow overriding the title of the feed. Closes: #735123 Thanks, Chris... | Joey Hess | 2014-01-13 |
* | | | | aggregrate: Fix several bugs in handling of empty and colliding titles when g... | Joey Hess | 2013-12-28 |
| |/ /
|/| | |
|
* | | | osm: Remove invalid use of charset on embedded javascript tags. Closes: #731197 | Joey Hess | 2013-12-03 |
* | | | typo | Joey Hess | 2013-11-18 |
* | | | search: Added googlesearch option, which makes it search google rather than u... | Joey Hess | 2013-11-17 |
* | | | comments: Write pending moderation comments to the transient underlay to avoi... | Joey Hess | 2013-11-17 |
* | | | autoindex and tag use transient underlay when not committing, so do not need ... | Joey Hess | 2013-11-17 |
* | | | disable only_committed_changes when uncommitted files are created by plugins | Joey Hess | 2013-11-17 |
* | | | deal with the case where oldrev is the same as newrev | Joey Hess | 2013-11-16 |
* | | | fix eq | Joey Hess | 2013-11-16 |
* | | | Added only_committed_changes config setting, which speeds up wiki refresh by ... | Joey Hess | 2013-11-16 |
* | | | poll: Fix behavior of poll buttons when inlined. | Joey Hess | 2013-11-13 |
|/ / |
|
* | | fix new perl warning | Joey Hess | 2013-08-30 |
* | | cookiejar is now a core config setting. | Amitai Schlair | 2013-08-03 |
* | | Honor proxy env vars and reliably honor cookiejar. | Amitai Schlair | 2013-07-27 |
* | | Merge remote-tracking branch 'schmonz/fancypodcast' | Joey Hess | 2013-07-21 |
|\ \ |
|
| * \ | Merge branch 'master' into fancypodcast•••Conflicts:
doc/todo/fancypodcast.mdwn
| Amitai Schlair | 2013-07-17 |
| |\ \ |
|
| * | | | Show author in addition to feedname, if different.•••While here, mollify http://validator.w3.org/feed/ and
s/dcterms:creator/dc:creator/g, which happens to make rss2email see
and do nice things with authors.
| Amitai Schlair | 2013-07-17 |
| * | | | Merge branch 'master' into fancypodcast | Amitai Schlair | 2013-06-27 |
| |\ \ \ |
|
| * | | | | Instead of hacking back to $link, just provide it. | Amitai Schlair | 2013-06-27 |
| * | | | | Merge branch 'master' into fancypodcast | Amitai Schlair | 2013-05-12 |
| |\ \ \ \ |
|
| * \ \ \ \ | Merge branch 'master' into fancypodcast•••Conflicts:
doc/todo/fancypodcast.mdwn
| Amitai Schlair | 2013-03-17 |
| |\ \ \ \ \ |
|
| * | | | | | | Catch up rsspage to atompage. Validates. | Amitai Schlair | 2013-02-22 |
| * | | | | | | Render fancy podcast enclosures.•••Simple podcast feeds didn't have content tags and I made sure to
keep it that way. This may be unnecessarily conservative. Changing
the behavior to include empty content tags might be fine, but I
don't want to think about it right now, I just want my tests to
keep passing!
The new fancy-podcast tests are copy-pasted-edited from the
simple-podcast tests. These tests shall be refactored.
| Amitai Schlair | 2013-02-20 |
| * | | | | | | Extract genenclosure(). No functional change intended. | Amitai Schlair | 2013-02-20 |
| * | | | | | | Make enclosures absolute (in feeds they have to be). | Amitai Schlair | 2013-02-20 |
| * | | | | | | Document that last enclosure wins. | Amitai Schlair | 2013-02-19 |
| * | | | | | | Make enclosure follow WikiLink LinkingRules. | Amitai Schlair | 2013-02-19 |