Commit Graph

19276 Commits (7a2117bf8c2cf5372e64ab7b368803eec7e6f5d7)

Author SHA1 Message Date
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
https://launchpad.net/~beaufils 8f1d511051 new questions (sharing settings easily) 2015-06-12 09:39:49 -04:00
fr33domlover 8376046bdb new todo: hebrew l10n 2015-06-12 14:46:34 +03:00
Simon McVittie 5304b20c55 announce 3.20150610 2015-06-11 08:29:17 +01:00
Simon McVittie 412f9ea2bb 3.20150610 2015-06-10 21:59:11 +01:00
kjs 8c9646add3 Templates render bugfix appear to be working. 2015-06-10 06:39:29 -04: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 fd7ab8a040 Exclude the sandbox from the docwiki
It isn't documentation.
2015-06-09 22:30:43 +01:00
Simon McVittie 2d9a630996 Force a deterministic sort order for more pages 2015-06-09 22:30:43 +01:00
Simon McVittie 9979cbb999 Close the openid vs. password poll
The result has pretty clearly been: we're keeping both.
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 ea493f18ec disable another gitorious repository in ./gitremotes 2015-06-09 08:04:42 +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 020a9c8b40 follow up: optimization partially restored 2015-06-09 00:21:24 +01:00
Simon McVittie f00ccd0bf6 In rebuilds, assume that every page has been scanned by the time the scan phase ends
This doesn't prevent memory from being used to track what we have
and haven't scanned, but it does make it temporary.

This only applies to rebuilds, as a way to avoid breaking the
templatebody plugin, unlike the earlier version of this optimization.
2015-06-09 00:14:57 +01:00
smcv 971dfdd686 de-optimized to fix a bug 2015-06-08 19:07:46 -04:00
smcv 9d20373c25 hopefully fixed in master 2015-06-08 18:58:28 -04:00
smcv d89014d956 respond to various things 2015-06-08 18:54:02 -04:00
Simon McVittie 5fd863b5b0 Revert "Assume that every page has been scanned by the time the scan phase ends"
This reverts commit c04a26f3e7, which
turns out to break the templatebody directive: readtemplate() relies
on scan() populating %templates, but if scan() is a no-op after
leaving the scan phase, we can't rely on that.

The assumption made by skipping scan() after the end of the render phase
is that everything that comes from a scan is already in the index.
However, we don't really want to put template bodies in the index:
that would force us to load and save them on every refresh, and
redundantly persist them to disk.

Test-case:

% make clean
% ./Makefile.PL
% make
% grep -E '<div class="notebox">|Use this template to' html/sandbox.html
% touch doc/sandbox/New_blog_entry.mdwn          # sandbox inlines this
% make
% grep -E '<div class="notebox">|Use this template to' html/sandbox.html

Good result: html/sandbox.html contains <div class="notebox"> both times

Bad result: html/sandbox.html contains "Use this template to..." the
second time
2015-06-08 23:47:14 +01:00
kjs 983d6b0976 2015-06-07 17:55:32 -04: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 761d9f1605 Revert "removed"
We like our pages and we would prefer to keep them.

This reverts commit 508bda2059.
2015-06-07 14:51:13 +01:00
kjs 5bfbab2f63 Templates not found when pushing from remote computer 2015-06-06 18:20:11 -04:00
guilhem f99850b5d3 2015-06-06 12:51:08 -04:00
Chrisrogeri 508bda2059 removed 2015-06-05 14:03:02 -04:00
alexjj@97b75209148c043997fe05b4341a629090820035 b3061006c4 Added a comment: Cheap VPS 2015-06-05 13:51:54 -04:00
https://launchpad.net/~beaufils e1e3116b6a mutiple setup not possible 2015-06-01 08:34:45 -04:00
https://launchpad.net/~beaufils 91765ab416 Question about multiple setup file use 2015-06-01 06:05:51 -04:00
https://social.hi.ato.br/desci e30648d483 added opengraph plugin 2015-06-01 02:54:36 -04:00
https://social.hi.ato.br/desci d1e01a6a0c removed old sites and added new 2015-06-01 02:50:24 -04:00
https://social.hi.ato.br/desci 5c177cb125 added limitation 2015-06-01 02:37:23 -04:00
https://social.hi.ato.br/desci 456f2fec53 fixed disclaimer 2015-06-01 02:35:20 -04:00
https://social.hi.ato.br/desci 274b508bc4 2015-06-01 02:28:35 -04:00
https://social.hi.ato.br/desci dba79ef28b 2015-06-01 02:26:14 -04:00
sajolida dc6357d9c6 Add bug about default behaviour of meta plugin for style sheets 2015-05-29 14:22:36 +00:00
https://social.hi.ato.br/desci a0ec06a90b 2015-05-28 02:36:56 -04:00
https://social.hi.ato.br/desci aedbad18ff 2015-05-28 02:36:31 -04:00
https://social.hi.ato.br/desci 6625dbfadf 2015-05-28 02:35:35 -04:00
Simon McVittie 2f6f51cd66 rename icon instead of changing the Javascript
That can take effect on Branchable without rebuilding ikiwiki.deb, and
the shorter name is perhaps nicer anyway.
2015-05-27 09:03:34 +01:00
Simon McVittie f99a4b3545 correct name of emailauth icon 2015-05-27 08:58:21 +01:00