Commit Graph

20257 Commits (50b3516adce5c3d30ac901622f2c6cf84ac780c0)

Author SHA1 Message Date
SlodreDalk 50b3516adc update for rename of usage.mdwn to Pagina.html 2018-04-11 22:51:33 -04:00
SlodreDalk ba78a684b3 rename usage.mdwn to Pagina.html 2018-04-11 22:51:32 -04:00
arachni_name dc97a2f125 1
This reverts commit 5ee60968b9
2018-04-08 11:51:51 -04:00
Joey Hess 8796bf0a1d
libravatar shutdown 2018-04-03 16:57:16 -04:00
Simon McVittie deea1bed36 Portably and safely dropping privileges is far harder than it ought to be 2018-03-28 11:17:42 +01:00
spalax abc9b67540 Update URL of a website (using ikiwiki) 2018-03-25 11:19:55 -04:00
spalax 072020dab6 Update URL of a website (using ikiwiki) 2018-03-25 11:19:17 -04:00
spalax 98d2b712e4 Update URL of a website (using ikiwiki) 2018-03-25 11:16:20 -04:00
Amitai Schleier ee4992b234 Added my patch to pkgsrc ikiwiki for evaluation. 2018-03-22 11:13:26 -06:00
Marno007 7e39bb4dad 2018-03-22 06:12:40 -04:00
smcv 0b81eac00e Indent patch (fenced blocks don't work on this particular ikiwiki installation) 2018-03-21 19:07:17 -04:00
schmonz-web-ikiwiki@025fa2638101a6a9c91816b42707c4dc6ea8ff53 ff2a4792a5 Report portability bug, partway to a fix 2018-03-21 14:02:25 -04:00
anarcat eef51ab593 Added a comment: some clarifications 2018-03-21 09:41:19 -04:00
anarcat 282dd87f2e thanks + extra docs done 2018-03-21 09:34:59 -04:00
anarcat 19d7981824 clarify what date fields do, following [[bugs/invalid_meta_date_or_updated_not_diagnosed]] 2018-03-21 09:26:12 -04:00
Simon McVittie 55cf1f9d9d meta test: Assert that malformed dates are rejected
Signed-off-by: Simon McVittie <smcv@debian.org>
2018-03-21 09:33:04 +00:00
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