Commit Graph

2409 Commits (2c2934138c6acb8d1b327169484e513f5f1a1ce2)

Author SHA1 Message Date
Simon McVittie 8ab2005ec9 3.20150614 2015-06-14 18:15:35 +01:00
Simon McVittie 841a86a4f3 img test: set old timestamp on source file that will change
This is so that the test will pass even if it takes less than 1 second.
2015-06-14 18:13:17 +01:00
Simon McVittie 7a2117bf8c img: stop ImageMagick trying to be clever if filenames contain a colon
$im->Read() takes a filename-like argument with several sets of special
syntax. Most of the possible metacharacters are escaped by the
default `wiki_file_chars` (and in any case not particularly disruptive),
but the colon ":" is not.

It seems the way to force ImageMagick to treat colons within the
filename as literal is to prepend a colon, so do that.
2015-06-13 20:00:08 +01:00
Simon McVittie f2365c3e66 inline: change default sort order from age to "age title" for determinism 2015-06-13 19:58:37 +01:00
Simon McVittie 412f9ea2bb 3.20150610 2015-06-10 21:59:11 +01:00
Simon McVittie 014b9eb1b7 polygen: if deterministic build is requested, use a well-known random seed 2015-06-09 22:30:44 +01:00
Simon McVittie 361076e55d haiku: if deterministic build is requested, return a hard-coded haiku 2015-06-09 22:30:43 +01:00
Simon McVittie 15939a2528 Add deterministic option and use it for the docwiki
It doesn't do anything yet.
2015-06-09 22:30:43 +01:00
Simon McVittie 6add4fd4fc Sort backlinks deterministically, by falling back to sorting by href if the link text is identical 2015-06-09 22:30:43 +01:00
Simon McVittie d18b77c107 Add [[!meta date]] to news items and tips
The git checkout and build process can leave the checkout
date in the tarball release, leading to unstable sorting.
I tried to use `git restore-mtime`, but that doesn't work for
ikiwiki, because dgit interferes with it.
2015-06-09 22:29:38 +01:00
Simon McVittie 8e007666d4 brokenlinks: sort the pages that link to the missing page, for better reproducibility 2015-06-09 22:28:31 +01:00
Simon McVittie 7a96363c6d debian/copyright: turn comments on provenance into Comment 2015-06-09 22:28:30 +01:00
Simon McVittie bde823191e debian/copyright: consolidate permissive licenses 2015-06-09 22:28:28 +01:00
Simon McVittie de38423a59 debian: build the docwiki with LC_ALL=C.UTF-8 and TZ=UTC for a more reproducible build 2015-06-09 22:25:26 +01:00
Simon McVittie 2fe003dac4 Populate pagectime from mtime or inode change time, whichever is older
When building ikiwiki from a tarball, the mtime (conceptually, the
last modification date of the file) is preserved by tar, but the inode
change time (creation/metadata-change date of *this copy* of the file)
is not. This seems to lead to unstable sort ordering and
unreproducible builds.

The page can't possibly have been modified before it was created, so
we can assume that the modification date is an upper bound for the
creation date.
2015-06-09 22:22:54 +01:00
Simon McVittie b6388d6fbd changelog 2015-06-09 22:22:10 +01:00
Simon McVittie 2cf7b1fc64 Replace email authentication icon with one that is more instantly recognizable 2015-06-09 00:44:31 +01:00
Simon McVittie 7a52c87a8c Make the attachment plugin work with CGI.pm 4.x (Closes: #786586; workaround for #786587 in libcgi-pm-perl) 2015-06-07 14:51:13 +01:00
Simon McVittie 2afb0dd663 Do not directly enable emailauth by default, only indirectly via openid
This avoids nasty surprises on upgrade if a site is using httpauth,
or passwordauth with an account_creation_password, and relying on
only a select group of users being able to edit the site. We can revisit
this for ikiwiki 4.
2015-05-27 08:52:01 +01:00
Joey Hess fecfa53988 changelog 2015-05-19 15:35:25 -04:00
Joey Hess 85a529db3d passwordauth: Don't allow registering accounts that look like openids.
Also prohibit @ in account names, in case the file regexp was relaxed to
allow it.
2015-05-14 10:57:56 -04:00
Joey Hess bf8b7fe2d1 changelog 2015-05-13 23:38:46 -04:00
Joey Hess 5b459737a5 Converted openid-selector into a more generic loginselector helper plugin. 2015-05-13 18:50:29 -04:00
Joey Hess f8add0adb3 rename openid selector files to login-selector 2015-05-13 17:58:59 -04:00
Joey Hess ec72b4c95b When openid and passwordauth are the only enabled auth plugins, make the openid selector display "Password" instead of "Other", so users are more likely to click on it when they don't have an openid. 2015-05-13 12:18:22 -04:00
Joey Hess aefb780eee Re-remove google from openid selector; their openid provider is gone for good. 2015-04-28 12:24:32 -04:00
Simon McVittie d8a550e7de release 3.20150329 2015-03-29 22:11:38 +01:00
Joey Hess 18dfba868f Fix XSS in openid selector. Thanks, Raghav Bisht. 2015-03-27 12:17:39 -04:00
Joey Hess 6ff7d4bba6 remove announcedir target
only I use this, and I moved it to my mrconfig
2015-03-14 15:56:52 -04:00
Simon McVittie 9497fc1b6c t/inline.t: accept translations of "Add a new post titled:" (Closes: #779365) 2015-03-01 17:15:13 +00:00
Simon McVittie a1fda0b516 Standardize on --long-option instead of -long-option
[[forum/refresh_and_setup]] indicates some confusion between --setup
and -setup. Both work, but it's clearer if we stick to one in
documentation and code.

A 2012 commit to [[plugins/theme]] claims that "-setup" is required
and "--setup" won't work, but I cannot find any evidence in ikiwiki's
source code that this has ever been the case.
2015-03-01 16:15:01 +00:00
Simon McVittie 943ec015da If neither timezone nor TZ is set, set both to :/etc/localtime if we're on a GNU system and that file exists, or GMT otherwise 2015-03-01 15:01:05 +00:00
Simon McVittie bd3eb42b02 changelog 2015-03-01 12:46:49 +00:00
Joey Hess b0861d8162 heh, MOM wants you 2015-01-25 00:03:43 -04:00
Joey Hess fe0eaf1870 Fix NULL ptr deref on ENOMOM in wrapper. (Thanks, igli)
Probably not exploitable, but who knows..
2015-01-25 00:00:40 -04:00
Simon McVittie c34b86f12e release 2015-01-07 09:14:47 +00:00
Joey Hess 0048442831 close debian bug I opened about blogspam 2015-01-02 16:45:26 -04:00
Amitai Schlair 0451dc4133 Update blogspam to the 2.0 API. 2015-01-02 13:55:10 -05:00
Joey Hess f88e109bec po: If msgmerge falls over on a problem po file, print a warning message, but don't let this problem crash ikiwiki entirely. 2014-12-30 15:51:50 -04:00
Amitai Schlair c668c2c7e2 Changelog the $(MAKE) patch. 2014-12-27 17:32:20 -05:00
Simon McVittie 5c30886dbf changelog, close bug 2014-12-09 22:19:15 +00:00
Simon McVittie 44e320c1d5 changelog and NEWS entry for responsive layout 2014-12-01 21:29:46 +00:00
Simon McVittie c01f53d74e core: generate HTML5 by default, but keep avoiding new elements like <section> that require specific browser support unless html5 is set to 1. 2014-11-26 12:00:31 +00:00
Simon McVittie 6c51b764bc Merge branch 'ready/html5' 2014-11-26 11:58:05 +00:00
Simon McVittie dc0744a423 search: add more classes as a hook for CSS. Thanks, sajolida 2014-11-26 11:57:58 +00:00
Simon McVittie 1ff99b19ca calendar: add calendar_autocreate option, with which "ikiwiki --refresh" can mostly supersede the ikiwiki-calendar command. Thanks, Louis Paternault 2014-11-26 09:28:18 +00:00
Joey Hess 33ca02581b Set Debian package maintainer to Simon McVittie as I'm retiring from Debian. 2014-11-08 00:08:33 -04:00
Joey Hess ea8c7a7e02 openid: Stop suppressing the email field on the Preferences page.
This is needed for notifyemail, and not all openid providers report an
email address, or necessarily the one the user wants to get email.
2014-11-06 15:00:09 -04:00
Joey Hess d858ce3e93 Add missing build-depends on libcgi-formbuilder-perl, needed for t/relativity.t 2014-10-20 12:28:54 -04:00
Joey Hess 82a4fb49ae add ikiwiki-comment program 2014-10-20 12:08:07 -04:00
Amitai Schlair 7a2446f798 Disambiguate myself a bit (like that's needed). 2014-10-16 21:51:18 -04:00
Simon McVittie a89dbd9892 release 2014-10-16 23:28:35 +01:00
Simon McVittie 44e05edaf4 debian: fix some wrong paths in the copyright file 2014-10-16 23:28:23 +01:00
Simon McVittie 0e783e915b debian: rename debian/link to debian/links so the intended symlinks appear 2014-10-16 23:04:11 +01:00
Simon McVittie 37296bcb5a close a bug 2014-10-16 23:03:48 +01:00
Simon McVittie 0c73a825d1 Drop unused python-support dependency 2014-10-16 22:48:09 +01:00
Simon McVittie 3429e81596 changelog so far 2014-10-16 22:44:29 +01:00
Simon McVittie e1deb28e08 build-depend on libcgi-pm-perl too, for tests 2014-10-16 22:40:52 +01:00
Simon McVittie edbc54ec6e Explicitly depend on CGI.pm, which is no longer in Perl core
I was going to depend on the version that has CGI->param_fetch,
but that has been supported since 2.37, which is older than oldstable.
2014-10-16 22:24:48 +01:00
Simon McVittie 490a1eca7b Always produce HTML5 doctype and new attributes, but not new elements
According to caniuse.com, a significant fraction of Web users are
still using Internet Explorer versions that do not support HTML5
sectioning elements. However, claiming we're XHTML 1.0 Strict
means we can't use features invented in the last 12 years, even if
they degrade gracefully in older browsers (like the role and placeholder
attributes).

This means our output is no longer valid according to any particular
DTD. Real browsers and other non-validator user-agents have never
cared about DTD compliance anyway, so I don't think this is a real loss.
2014-10-16 11:04:53 +01:00
Simon McVittie 1561fbb365 Replace PayPal and Flattr buttons with text links
In particular, this avoids loading third-party resources from the
offline documentation (see
<https://lintian.debian.org/tags/privacy-breach-donation.html>).
2014-10-16 09:47:07 +01:00
Joey Hess 6294894f31 Fix crash that can occur when only_committed_changes is set and a file is deleted from the underlay.
srcfile_stat got called on a file from the underlay that no longer existed.

I am not 100% sure of the circumstances of that; I was able to reproduce
the bug but neglected to snapshot the tree, and then accidentially
got it to stop crashing. I know that a transient tag page got deleted using
the web interface to trigger the crash.

It seems that process_changed_files must have returned the file, despite it
being deleted. And since the file was not checked into git, it seems it
must have not been included in @IkiWiki::underlayfiles, which would have
caused process_changed_files to not return it.

I do not know why a transient tag page would not be in
@IkiWiki::underlayfiles. There is a bug here that I don't understand.

This is just a workaround -- run srcfile_stat such that it won't crash,
and if it is unable to stat a file, find_changed knows it's not changed,
so it's ok to skip it.

Also made find_new_files run srcfile_stat such that it won't crash, just
because I was there.
2014-09-26 18:55:09 -04:00
Simon McVittie 84993495f3 Build-depend on libmagickcore-6.q16-2-extra | libmagickcore-extra so we can thumbnail SVGs in the docwiki 2014-09-16 11:22:05 +01:00
Simon McVittie 9d08f18a13 Add myself to Uploaders and release to Debian 2014-09-16 10:03:24 +01:00
Simon McVittie 30c23b5e72 Add package dependencies for scalable img support
- suggest ghostscript (required for PDF-to-PNG thumbnailing)
  and libmagickcore-extra (required for SVG-to-PNG thumbnailing)
- build-depend on ghostscript so the test for scalable images can be run
2014-09-16 10:00:40 +01:00
Simon McVittie 5ff68d5171 changelog, close bugs 2014-09-15 22:12:45 +01:00
Simon McVittie 7660979f74 changelog, close bug 2014-09-15 21:49:48 +01:00
Simon McVittie 3d1de970f1 changelog, close bug 2014-09-15 21:11:17 +01:00
Simon McVittie 303f183d45 write changelog, close bug 2014-09-15 09:53:52 +01:00
Simon McVittie fdfd5ffac7 more bug-closing 2014-09-12 22:02:54 +01:00
Simon McVittie 70a4857624 more changelog and bug-closing 2014-09-12 21:50:20 +01:00
Simon McVittie a5536103e7 changelog/close bugs 2014-09-12 21:32:13 +01:00
Joey Hess 230749ad15 prep release 2014-08-31 14:17:49 -07:00
Joey Hess 40d6ccbadb Make --no-gettime work in initial build. Closes: #755075 2014-08-28 19:08:09 -07:00
Joey Hess 174efbfa9c typo 2014-08-15 13:05:59 -04:00
Joey Hess 29f9c2b5ba add build deps needed by some tests in the test suite 2014-08-15 13:02:14 -04:00
Joey Hess 9ade0db518 prep release 2014-08-15 12:58:36 -04:00
Joey Hess e1c686467f close 2014-08-15 12:58:07 -04:00
Joey Hess 6660fd643b Add google back to openid selector. Apparently this has gotten a stay of execution until April 2015. (It may continue to work until 2017.) 2014-07-03 16:21:47 -04:00
Joey Hess 61dfde7c07 prep release 2014-06-13 10:09:38 -04:00
Joey Hess 7faffaa968 Remove google from openid selector, per http://xkcd.com/1361/
Replace with Verisign's openid provider.
2014-04-29 16:27:46 -04:00
Joey Hess 59cfb9b6d0 only_committed_changes could fail in a git repository merged with git merge -s ours. 2014-04-05 19:09:05 -04:00
Joey Hess 9e1ad9037f prep release 2014-02-27 11:58:54 -04:00
Joey Hess 9a1c60c9c6 python proxy: Avoid utf-8 related crash. Thanks, Antoine Beaupré 2014-02-25 00:16:14 -04:00
Joey Hess decb7051f6 Improve templates testing. Thanks, smcv 2014-02-23 14:32:18 -04:00
Joey Hess f414cc17af patchmeister 2014-02-23 14:29:27 -04:00
Joey Hess 6c584a00de Cleanup of the openid login widget, including replacing of hotlinked images from openid providers with embedded, freely licensed artwork. Thanks, smcv 2014-02-23 14:28:22 -04:00
Joey Hess c4cb6e3c34 Merge remote-tracking branch 'remotes/smcv/ready/openid' 2014-02-23 14:24:15 -04:00
Joey Hess e14ae160de Deal with nasty issue with gettext clobbering $@ while printing error message containing it. Thanks, smcv 2014-02-23 14:21:44 -04:00
Joey Hess 876a1cf41c git: Explicity push master branch, as will be needed by git 2.0's change to push.default=matching by default. Thanks, smcv 2014-02-23 14:20:27 -04:00
Joey Hess b5b8c5cecc git diffurl: Do not escape / in paths to changed files, in order to interoperate with cgit (gitweb works either way) Thanks, intrigeri. 2014-02-23 14:15:49 -04:00
Joey Hess e0d1c264d9 Allow up to 8 levels of nested directives, rather than previous 3 in directive infinite loop guard. 2014-02-23 14:11:54 -04:00
Joey Hess 7e1b8c4f9c po: Add html_lang_code and html_lang_dir template variables for the language code and direction of text. Thanks, Mesar Hameed 2014-02-23 14:08:22 -04:00
Simon McVittie 1d3b2674c8 Replace Verisign logo with one done in Inkscape
Basically just U+2714 HEAVY CHECK MARK on a circle.
2014-02-14 12:27:18 +00:00
Simon McVittie d233fd8a3d replace AOL logo with one done in Inkscape
Their new logotype is really, really easy to imitate.
2014-02-14 12:26:15 +00:00
Simon McVittie cb24ba61e2 Replace Livejournal icon with something vaguely similar
Drawn in Inkscape and released under the IkiWiki basewiki license.
2014-02-14 12:06:16 +00:00
Simon McVittie 0ce8222190 Replace Wordpress icon with one taken from its Debian package
I was unable to determine a specific author or copyright holder
for this icon, and listing every potential Wordpress copyright holder
in debian/copyright seems ridiculous.
2014-02-14 11:33:10 +00:00
Simon McVittie b0b3bebff6 Replace Google, Yahoo, Flickr icons with versions by Jakub Steiner
Taken from gnome-online-accounts under LGPL-2.1+.
2014-02-14 11:31:07 +00:00
Joey Hess 809a276546 changelog 2014-02-01 16:54:24 -04:00
Joey Hess 274fbca2ce prep release 2014-01-25 16:41:10 -04:00
Joey Hess a8d7a99979 osm: Escape name parameter. Closes: #731797 2014-01-15 15:53:51 -04:00
Joey Hess fe1a69e11a inline: Allow overriding the title of the feed. Closes: #735123 Thanks, Christophe Rhodes 2014-01-13 17:06:29 -04:00
Joey Hess 65c70ebc05 lintian 2014-01-02 12:45:45 -04:00
Joey Hess 9cf117613d prep release 2014-01-02 12:24:35 -04:00
Joey Hess a2fb23286f aggregrate: Fix several bugs in handling of empty and colliding titles when generating filenames. 2013-12-28 20:02:22 -04:00
Joey Hess b24235c153 style.css: Add compatability definitions for more block-level html5 elements. Closes: #731199 2013-12-03 12:44:11 -04:00
Joey Hess bfc13b9070 osm: Remove invalid use of charset on embedded javascript tags. Closes: #731197 2013-12-03 12:42:04 -04:00
Joey Hess b48f616b7d typo 2013-11-17 16:39:50 -04:00
Joey Hess 002a97ffcd search: Added googlesearch option, which makes it search google rather than using the internal xapain database. (googlesearch plugin is too hard to turn on when xapain databases corrupt themselves, which happens all too frequently). 2013-11-17 16:37:18 -04:00
Joey Hess 81aa58e7ca comments: Write pending moderation comments to the transient underlay to avoid conflict with only_committed_changes. 2013-11-17 13:07:00 -04:00
Joey Hess 654530fa8b Added only_committed_changes config setting, which speeds up wiki refresh by querying git to find the files that were changed, rather than looking at the work tree. Not enabled by default as it can break some setups where not all files get committed to git. 2013-11-16 17:26:20 -04:00
Joey Hess 3aaa33064c Optmised loadindex by caching the page name in the index.
I have benchmarked the pagename() call this avoids taking up to 2 seconds
for a loadindex in a large wiki. The total loadindex for that wiki was
6.46s, so this is a significant improvment.
Even on a smaller site, this reduces the refresh time from 1.69 to 1.52
seconds.

The only breakage risk here is that pagename() can change the page name
it calculates due to setup changes. But in the case of a setup change, the
whole site is rebuilt. So the cached page name is not used in that
case.
2013-11-16 12:48:11 -04:00
Joey Hess 992d4f52ff Fixed unncessary tight loop hash copy in saveindex where a pointer can be used instead. Can speed up refreshes by nearly 50% in some circumstances.
I *think* this is ok, at least it results in close to the same index being
saved as before. The difference is that plugins that have a pagestate of {}
have that recorded this way, while with the tight loop, the key for the
plugin in not copied in that case. I cannot see how this could matter.
2013-11-16 12:28:01 -04:00
Joey Hess 2f8bafb709 poll: Fix behavior of poll buttons when inlined. 2013-11-13 22:06:02 -04:00
Joey Hess 395ca7ae56 aggregate: Improve display of post author.
The recent move of the post author to the author field is good, but with
it coming after the name of the feed, it is unlikely to be visible when
viewed in eg mutt. Move it to before the feed name.
2013-09-05 10:04:38 -04:00
Joey Hess cca084b8ad releasing package ikiwiki version 3.20130904.1 2013-09-04 10:19:37 -04:00
Joey Hess df09eba2fd Fix cookiejar default setting. 2013-09-04 10:15:35 -04:00
Joey Hess 1a100512fb releasing package ikiwiki version 3.20130904 2013-09-04 09:39:00 -04:00
Joey Hess 8833cfe30d Fix test suite to work with perl 5.18. Closes: #719969 2013-08-30 22:43:02 -04:00
Joey Hess 407db22787 Consistently configure LWP::UserAgent to allow use of http_proxy and no_proxy environment variables, as well as ~/.ikiwiki/cookies (schmonz) 2013-08-03 10:06:40 -04:00
Joey Hess 0db80d453f merge schmonz/fancypodcast 2013-07-21 13:51:57 -04:00
Joey Hess 7d938559cb calendar: Display the popup mouseover when there is only 1 page for a given day, for better UI consistency. 2013-07-19 18:54:32 -04:00
Joey Hess 946af13ae6 Pass --no-edit when used with git 1.7.8 and newer.
Not sure if this is needed to avoid it trying to run an editor. Probably
there is never a controlling terminal and probably git notices and does
nothing. But I'm just copying what I have in git-annex assistant here.

(Although with a much worse git version comparion, that only really works due
to luck.)
2013-07-10 21:52:49 -04:00
Joey Hess b162563dc1 Deal with git behavior change in 1.7.8 and newer that broke support for commits with an empty commit message. 2013-07-10 21:50:18 -04:00
Joey Hess 24a57423b8 releasing version 3.20130710 2013-07-10 18:39:18 -04:00
Joey Hess acb07ef416 Fix crash that could occur when a needsbuild hook returned a file that does not exist.
I saw this happen with calendar, when it wanted to update a page, that
had a calendar on it, but the page had just been deleted. This caused
srcfile_stat to crash.
2013-07-10 17:02:24 -04:00
Joey Hess 533793ee46 The ip() pagespec can now contain glob characters to match eg, a subnet full of spammers. 2013-07-08 11:49:38 -04:00
Joey Hess c849a9f409 openid: Automatically upgrade openid_realm to https when accessed via https. 2013-06-29 13:31:47 -04:00
Joey Hess a5f81918c8 page.tmpl: omit searchform, trails, sidebar and most metadata in CGI (smcv) 2013-06-26 11:25:40 -04:00
Joey Hess c5f9b01662 osm: Remove trailing slash from KML maps icon. 2013-06-23 14:14:52 -04:00
Joey Hess b8d65da266 calendar: When there are multiple pages for a given day, they're displayed in a popup on mouseover. Thanks, Louis 2013-06-23 14:11:39 -04:00
Joey Hess c037714b77 comments: The formats allowed to be used in comments can be configured using comments_allowformats. Thanks, Michal Sojka 2013-06-23 14:05:32 -04:00
Joey Hess c204de3ca2 blogspam: Fix encoding issue in RPC::XML call. Thanks, Changaco 2013-06-23 14:03:07 -04:00
Joey Hess 07d39ce5bf bzr: bzr rm no longer has a --force option, remove 2013-05-18 16:33:32 -04:00
Joey Hess 9e4f0efe44 notifyemail: Fix bug that caused duplicate emails to be sent when site was rebuilt. 2013-05-18 16:26:48 -04:00
Joey Hess 67ebaf15d7 theme: Now <TMPL_IF THEME_$NAME> can be used in all templates when a theme is enabled. 2013-05-16 22:20:56 -04:00
Joey Hess af05240cad Fix test suite to not fail when XML::Twig is not installed. Closes: #707436 2013-05-09 10:47:45 -04:00
Joey Hess 82650b74f4 releasing version 3.20130504 2013-05-05 00:04:18 -04:00
Joey Hess 6c09c3e646 meta: Fix anchors used to link to the page's license and copyright. Closes: #706437 2013-04-30 13:35:04 -04:00
Joey Hess 29e10f0f8f changelog 2013-03-30 13:44:34 -04:00
Joey Hess 00d23a23eb map: Correct reversion introduced in version 3.20110225 that could generate invalid html. (smcv) 2013-03-04 18:30:27 -04:00
Joey Hess 8c8aa3fe47 Detect plugins with a broken getsetup and warn. 2013-03-04 13:19:05 -04:00
Joey Hess 1d6eb13e2b Add missing plugin section, and deal with missing sections with a warning. 2013-03-04 13:03:34 -04:00
Joey Hess e2405005e6 changelog 2013-02-15 17:24:34 -04:00
Joey Hess 02d855a393 releasing version 3.20130212 2013-02-12 23:58:51 -04:00
Joey Hess 480d6f93c1 highlight: Now adds a span with class highlight-<extension> around highlighted content, allowing for language-specific css styling. 2013-02-12 11:27:29 -04:00
Joey Hess ba3494978b cvs: Various fixes. 2013-02-03 10:40:34 +11:00
Joey Hess 82114f4451 Deal with empty diffurl in configuration. 2013-01-29 08:12:56 +11:00
Joey Hess e5d82ef868 trail: Avoid massive slowdown caused by pagetemplate hook when displaying dynamic cgi pages, which cannot use trail anyway.
This seemed to be due to the pagetemplate hook calling prerender. I've
observed this making it take *minutes* for the signin page to be displayed.
ltracing ikiwiki showed it was matching pagespecs a lot.

It may be that this is still a speed pain point when rendering pages, not
just for CGI. So more work may be needed here.
2013-01-24 10:40:35 +11:00
Joey Hess 37cf511f06 poll: Add expandable option to allow users to easily add new choices to a poll. 2013-01-10 12:43:27 -04:00