Commit Graph

20227 Commits (d58b25eb93beb84b30475546804066a15578d115)

Author SHA1 Message Date
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
Simon McVittie aa02f160cc t/wellformed: Rebuild the docwiki, not everything 2018-01-29 22:35:29 +00:00
Simon McVittie efcbeaa09a build: Use if/then instead of `||` so that the `-e` flag works 2018-01-29 22:35:29 +00:00
Simon McVittie 3aacac3b46 build: `set -e` before each `for` loop, so that errors are reliably trapped 2018-01-29 22:35:29 +00:00
Simon McVittie 4126840f8d t: Accept optional file:// prefix on W3m-control 2018-01-29 22:35:29 +00:00
Simon McVittie f46e429d96 mdwn: Restore historical behaviour
The Discount package in Debian historically enabled fenced code blocks,
PHP Markdown Extra-style definition lists, and an expanded character
set for tag names. Since Discount 2.2.0 those are runtime settings, so
enable them. Unfortunately Text::Markdown::Discount doesn't yet expose
the necessary constants:
https://rt.cpan.org/Public/Bug/Display.html?id=124188

The IDANCHOR option was historically also enabled in Debian, but is not
enabled here because ikiwiki does not enable the TOC option, and
IDANCHOR does nothing without TOC.

Closes: #888055
2018-01-29 22:35:29 +00:00
svetlana 400f37967c Auto-remove tag pages? 2018-01-28 01:08:19 -04:00
svetlana 6f70580389 2018-01-25 20:34:43 -04:00
svetlana 59b4785155 2018-01-25 20:15:28 -04:00
test419 63ecbc18d6 okay, sorry about that
This reverts commit b7263302c7
2018-01-21 18:05:21 -04:00
test419 b7263302c7 Testing if this is really so easily editable by the public? (my ikiwiki 'instance' is) How is it not constantly being riddled with spam? 2018-01-21 18:03:23 -04:00
svetlana 1653a74475 404, no 'wmd' 2018-01-20 20:23:09 -04:00
anarcat 5f8ce5b1bd move main documentation to converter's README file 2018-01-11 15:16:05 -04:00
anarcat 47329d8aa6 repository was moved 2018-01-11 14:59:13 -04:00
vegardv@75ae889e836bda8ce69bc038d8335c398a2f6f40 cb7aa6cf3d Added a comment: Todo already exists for `basename` 2018-01-10 04:54:28 -04:00