Commit Graph

20241 Commits (10dc1fa7b2a88be59fb04a0041636aaf325f6307)

Author SHA1 Message Date
Simon McVittie 10dc1fa7b2 meta: Error if we can't parse dates because Date::Parse is missing
You can still use [[!meta name="date" content="..."]] to generate
<meta> tags that are not interpreted, but the common case for
[[!meta date="..."]] is that you want to change the ctime, and that
won't work without Date::Parse.

Signed-off-by: Simon McVittie <smcv@debian.org>
2018-03-21 09:33:04 +00:00
Simon McVittie 88c66d3758 meta: Make syntactically invalid dates an error
If for some reason you want to create <meta name="date" content="12345">,
this now requires [[!meta name="date" content="12345"]].

Signed-off-by: Simon McVittie <smcv@debian.org>
2018-03-21 09:33:04 +00:00
Simon McVittie 3a640455cc meta test: Use syntactically valid dates
I'm about to make invalid dates like 12345 be an error.

Signed-off-by: Simon McVittie <smcv@debian.org>
2018-03-21 09:33:04 +00:00
Simon McVittie f2b248cdfd preprocess: Don't encode digit zero as an entity in errors
I'm not sure what happened here, but it seems to have been the wrong
thing. Whitelist what we want to *not* encode instead.

Signed-off-by: Simon McVittie <smcv@debian.org>
2018-03-21 09:33:04 +00:00
smcv 03ee1c15fa Added a comment 2018-03-21 05:30:41 -04:00
smcv 3989b04772 clarify 2018-03-21 05:16:25 -04:00
smcv 4293e5bd6b convert from forum to bug, mark as done 2018-03-21 05:15:09 -04:00
smcv 1c5b2bda69 rename forum/problems_with_ctime__47__date__47__updated__47__mtime__47__etc.mdwn to bugs/invalid_meta_date_or_updated_not_diagnosed.mdwn 2018-03-21 05:08:22 -04:00
anarcat b2ff303947 Added a comment: tried and tried and failed 2018-03-19 11:53:02 -04:00
anarcat a186e0c354 trying to figure out a stupid mistake takes a long time, how about we shortcircuit that with errors or warnings? 2018-03-19 11:39:54 -04:00
Simon McVittie f65162781d Announce 3.20180311 2018-03-11 16:37:51 +00:00
Simon McVittie 9c23006d31 3.20180311 2018-03-11 15:54:34 +00:00
Simon McVittie f17ed8b1be not-truncated.t: Work correctly as an installed-test
Signed-off-by: Simon McVittie <smcv@debian.org>
2018-03-09 11:24:41 +00:00
Simon McVittie 7edeed1f1a build: Add `make git-dist` target
Signed-off-by: Simon McVittie <smcv@debian.org>
2018-03-09 10:33:19 +00:00
Simon McVittie d58b25eb93 Update changelog 2018-03-09 09:18:24 +00:00
Simon McVittie 352d34fb2e Add a test asserting that no plugin is an empty file
I'm still not completely sure how it happened, and I can't reproduce
it myself, but in the Debian build of ikiwiki 3.20180105, wikitext.pm
ended up empty. The build fixes in commits 3aacac3b, efcbeaa0,
b32480f0 hopefully fixed this.

Signed-off-by: Simon McVittie <smcv@debian.org>
2018-03-09 09:12:19 +00:00
Simon McVittie e3279c8b50 mdwn: Automatically detect which libdiscount flags to use
Unconditionally passing arbitrary numbers as flags turns out to be a
bad idea, because some of the "unused" values have historically had
side-effects internal to libdiscount. Detect whether the known flags
work by rendering short Markdown snippets the first time we htmlize,
checking whether each known flag is both necessary and sufficient.

Signed-off-by: Simon McVittie <smcv@debian.org>
2018-03-08 23:36:31 +00:00
smcv 06953a196a in progress 2018-03-08 16:54:17 -04:00
Amitai Schleier 04222ffc96 Report bug. 2018-03-08 12:36:21 -05:00
Simon McVittie 8914e6698b close 2018-03-04 10:57:28 +00:00
http://thm.id.fedoraproject.org/ 7253137b31 rst test: Probe for docutils Python 3 module, not Python 2 2018-03-04 10:56:18 +00:00
http://thm.id.fedoraproject.org/ 2b754d446c 2018-03-03 13:21:46 -04:00
Amitai Schleier 5051e1ae81 Avoid unexpected full paths from find(1). 2018-03-02 14:13:05 -05:00
Frohdo 5ee60968b9 Frohdo - new personal website added 2018-02-28 18:46:57 -04:00
Simon McVittie 55c1022e5c Announce 3.20180228
Signed-off-by: Simon McVittie <smcv@debian.org>
2018-02-28 11:47:43 +00:00
Simon McVittie 4b0b5f9cfb 3.20180228
Signed-off-by: Simon McVittie <smcv@debian.org>
2018-02-28 10:41:06 +00:00
Simon McVittie 53a67d0503 changelog: Mention packaging changes imported from Debian
Signed-off-by: Simon McVittie <smcv@debian.org>
2018-02-28 10:40:42 +00:00
Simon McVittie 54f6ca83c5 rst: Use Python 3 instead of Python 2
Signed-off-by: Simon McVittie <smcv@debian.org>
2018-02-28 10:40:41 +00:00
Simon McVittie 8cc7a0902a Close bug
Signed-off-by: Simon McVittie <smcv@debian.org>
2018-02-28 10:09:54 +00:00
Simon McVittie fa7e766168 Update changelog
Signed-off-by: Simon McVittie <smcv@debian.org>
2018-02-28 10:04:26 +00:00
Simon McVittie 379d763a21 img test: Exercise a format that is uncommon on the web (BMP)
Signed-off-by: Simon McVittie <smcv@debian.org>
2018-02-28 09:56:08 +00:00
Simon McVittie 54095ea655 img: Explicitly detect format if needed
An empty coder name used to detect the format implicitly, but has been
interpreted as a literal part of the filename since ImageMagick 6.9.8-3.
In newer versions, there does not seem to be any way to indicate that
a filename containing ':' is to be taken literally without first
knowing the decoder to use.

Signed-off-by: Simon McVittie <smcv@debian.org>
2018-02-28 09:56:08 +00:00
Simon McVittie f446e7ca5f img test: Don't rely on using an empty ImageMagick coder name
This used to work, but has been interpreted as a literal part of
the filename since ImageMagick 6.9.8-3. In newer versions, there does
not seem to be any way to indicate that a filename containing ':' is
to be taken literally without first knowing the decoder to use.

Signed-off-by: Simon McVittie <smcv@debian.org>
2018-02-28 09:56:07 +00:00
Simon McVittie 0e5c8ae806 preprocess: Escape most ASCII punctuation in error messages
This is a minimal version of what we should in principle do here,
which is to escape the error message in whatever way is correct for
embedding plain text in the surrounding wiki markup language.
This implementation approximates that by assuming that HTML entities,
alphanumerics and common punctuation characters are passed through the
markup language unaltered, but punctuation characters might be
misinterpreted.

Signed-off-by: Simon McVittie <smcv@debian.org>
2018-02-28 09:55:53 +00:00
jon+ikiwiki@663db4cb26e845748f3e7e6d51eeb26c6014f1c3 4d355918f0 Added a comment 2018-02-22 12:30:42 -04:00
spalax 8389b154b8 Some thoughts about Ikiwiki 2018-02-18 19:03:45 -04:00
Joey Hess 1a9c54454e
remove template that does not belong here
Finnish translation of another template, this is not the place to put
it. The ikiwiki-l10n can iirc manage such translations.
2018-02-15 12:57:13 -04:00
https://launchpad.net/~hingo 9018b0c1ca parametrien dokumentointi 2018-02-10 06:01:57 -04:00
https://launchpad.net/~hingo 1108348923 First post 2018-02-10 04:16:01 -04:00
https://social.mayfirst.org/mjray 3a9db1aabe improve reply wording with a crosslink 2018-02-05 06:53:06 -04:00
https://social.mayfirst.org/mjray 36bb1f6dc7 Try to explain editor loophole to viewing restrictions 2018-02-05 06:51:48 -04:00
svetlana c4042853b3 typo fixed 2018-02-02 20:44:51 -04:00
svetlana 725a1fc011 2018-02-02 20:44:23 -04:00
svetlana@192500fb6a2e2ef8e78d1a08cca64b1bca9833b9 ce0662b0a0 more details 2018-02-02 04:04:14 -04:00
svetlana@192500fb6a2e2ef8e78d1a08cca64b1bca9833b9 3b85018937 NYTProf: Profile data incomplete, inflate error -5 ((null)) 2018-02-02 03:36:07 -04:00
http://thm.id.fedoraproject.org/ 1a51b1cba3 2018-01-31 10:35:34 -04:00
svetlana@192500fb6a2e2ef8e78d1a08cca64b1bca9833b9 f95b1c7fd7 urlfix 2018-01-30 15:38:23 -04:00
svetlana@192500fb6a2e2ef8e78d1a08cca64b1bca9833b9 5e621730bb update 2018-01-30 15:37:58 -04:00
svetlana@192500fb6a2e2ef8e78d1a08cca64b1bca9833b9 7c82d6fd6c %? 2018-01-30 15:37:25 -04:00
Simon McVittie b32480f0f9 build: Ensure that pm_to_blib finishes before rewriting shebang lines
Otherwise, rewriting shebang lines can race with pm_to_blib,
potentially resulting in files being corrupt or empty.
2018-01-29 22:35:29 +00:00