Amitai Schleier [Mon, 27 May 2019 03:45:10 +0000 (23:45 -0400)]
Catch up to highlight 3.51 API change.
As of 3.51, searchFile() is no longer provided in highlight's Perl
bindings (at least on NetBSD and OS X, as built from pkgsrc). This
leaves us falling through to getConfDir(), which has been gone
rather longer.
From highlight git, it appears searchFile() and getFiletypesConfPath()
both originated in the 3.14 release. The latter is still available in
3.51, and returns the same result searchFile() used to. Switch to it.
canvon [Tue, 21 May 2019 13:19:34 +0000 (09:19 -0400)]
Add my ikiwiki/blog
jsewell@560d759be38e126eba7f1c40503adf786fa28229 [Fri, 10 May 2019 17:26:11 +0000 (13:26 -0400)]
Amitai Schleier [Mon, 6 May 2019 11:43:17 +0000 (07:43 -0400)]
Response to jsewell's bug report.
jsewell@560d759be38e126eba7f1c40503adf786fa28229 [Mon, 29 Apr 2019 14:19:12 +0000 (10:19 -0400)]
jmtd [Wed, 24 Apr 2019 19:19:32 +0000 (15:19 -0400)]
add gitbranch template, prompted by Integeri. Thanks
intrigeri [Wed, 10 Apr 2019 21:02:16 +0000 (17:02 -0400)]
Fix syntax.
intrigeri [Wed, 10 Apr 2019 21:01:07 +0000 (17:01 -0400)]
Submit branch for review.
jmtd [Sat, 30 Mar 2019 21:34:11 +0000 (17:34 -0400)]
update my comment to reflect new commits on that branch
jmtd [Fri, 29 Mar 2019 11:17:45 +0000 (07:17 -0400)]
initial implementation (I was unable to use untrusted git push to add this comment)
mike@8d1a742254a41aaff8dd19404183dce96fac24ba [Thu, 7 Mar 2019 00:05:56 +0000 (20:05 -0400)]
Simon McVittie [Thu, 28 Feb 2019 18:03:18 +0000 (18:03 +0000)]
Merge remote-tracking branch 'origin/master'
Simon McVittie [Thu, 28 Feb 2019 14:14:12 +0000 (14:14 +0000)]
Announce 3.
20190228 and 3.
20170111.1
Simon McVittie [Thu, 28 Feb 2019 14:11:20 +0000 (14:11 +0000)]
Add an anchor for /security/#cve-2019-9187
Simon McVittie [Tue, 26 Feb 2019 21:06:45 +0000 (21:06 +0000)]
Prepare 3.
20190228 for future release
Simon McVittie [Sun, 10 Feb 2019 16:56:41 +0000 (16:56 +0000)]
doc: Document security issues involving LWP::UserAgent
Recommend the LWPx::ParanoidAgent module where appropriate.
It is particularly important for openid, since unauthenticated users
can control which URLs that plugin will contact. Conversely, it is
non-critical for blogspam, since the URL to be contacted is under
the wiki administrator's control.
Signed-off-by: Simon McVittie <smcv@debian.org>
Simon McVittie [Sun, 10 Feb 2019 17:22:06 +0000 (17:22 +0000)]
useragent: Automatically choose whether to use LWPx::ParanoidAgent
The simple implementation of this, which I'd prefer to use, would be:
if we can import LWPx::ParanoidAgent, use it; otherwise, use
LWP::UserAgent.
However, aggregate has historically worked with proxies, and
LWPx::ParanoidAgent quite reasonably refuses to work with proxies
(because it can't know whether those proxies are going to do the same
filtering that LWPx::ParanoidAgent would).
Signed-off-by: Simon McVittie <smcv@debian.org>
Simon McVittie [Sun, 10 Feb 2019 16:30:07 +0000 (16:30 +0000)]
useragent: Don't allow non-HTTP protocols to be used
This prevents the aggregate plugin from being used to read the contents
of local files via file:/// URLs.
Signed-off-by: Simon McVittie <smcv@debian.org>
anarcat [Tue, 26 Feb 2019 05:35:32 +0000 (01:35 -0400)]
machine_brain [Tue, 26 Feb 2019 00:01:58 +0000 (20:01 -0400)]
Simon McVittie [Sun, 10 Feb 2019 16:29:19 +0000 (16:29 +0000)]
useragent: Raise an exception if the LWP module can't be loaded
Signed-off-by: Simon McVittie <smcv@debian.org>
Simon McVittie [Sat, 1 Dec 2018 21:18:23 +0000 (21:18 +0000)]
po: Always filter .po files
The input to filter hooks is meant to be the content of a source file
on disk. If we only filter once per (page, destpage) pair, and a page
is inlined into the same destpage more than once, then the second
occurrence will render as the result of htmlizing .po source as if
it was Markdown (or whatever the type of the corresponding master page
is), which is never going to end well.
The alreadyfiltered mechanism was added in commit
1e874b3f to avoid
preprocessing loops, but I'm not sure where it could lead to a loop:
filter hooks are only called from IkiWiki::filter, which is only called
on page content from disk or on proposed content being previewed.
According to <https://bugs.debian.org/911356#41>, deleting the
alreadyfiltered mechanism resolves the problem, as well as simplifying
the code.
Closes: #911356
Tested-by: intrigeri
Amitai Schleier [Thu, 14 Feb 2019 04:59:32 +0000 (23:59 -0500)]
Recommend against cvsps3 (haven't tried it).
Simon McVittie [Thu, 7 Feb 2019 11:32:21 +0000 (11:32 +0000)]
Announce v3.
20190207
Signed-off-by: Simon McVittie <smcv@debian.org>
Simon McVittie [Thu, 7 Feb 2019 11:08:02 +0000 (11:08 +0000)]
Prepare new release
Signed-off-by: Simon McVittie <smcv@debian.org>
Simon McVittie [Sun, 3 Feb 2019 19:22:07 +0000 (19:22 +0000)]
review
Simon McVittie [Sun, 3 Feb 2019 18:53:23 +0000 (18:53 +0000)]
comment
smcv [Sun, 3 Feb 2019 18:40:29 +0000 (14:40 -0400)]
tag as reviewed
smcv [Sun, 3 Feb 2019 18:39:51 +0000 (14:39 -0400)]
respond
smcv [Sun, 3 Feb 2019 18:28:21 +0000 (14:28 -0400)]
Exclude reviewed patches from this list
Simon McVittie [Sun, 3 Feb 2019 17:10:45 +0000 (17:10 +0000)]
close
Antoine Beaupré [Mon, 6 Nov 2017 19:15:22 +0000 (14:15 -0500)]
append javascript after CSS
Javascript resources should be presented to browsers after CSS, and
"after the fold" (ATF) according to the best practices:
https://developers.google.com/speed/docs/insights/mobile#PutStylesBeforeScripts
This change allows the browser to download Javascript files in
parallel, by including Javascript on the *closing* </body> tag instead
of the opening tag.
We also improve the regex to tolerate spaces before the body tag, as
some templates have (proper) indentation for the tag.
Simon McVittie [Sun, 2 Sep 2018 11:49:16 +0000 (12:49 +0100)]
Remove unreachable git repositories
Signed-off-by: Simon McVittie <smcv@debian.org>
Simon McVittie [Sun, 3 Feb 2019 16:54:20 +0000 (16:54 +0000)]
Mark as applied
Signed-off-by: Simon McVittie <smcv@debian.org>
Antoine Beaupré [Thu, 11 Oct 2018 18:32:41 +0000 (14:32 -0400)]
remove the "add comment" button from printed media
Amitai Schleier [Sun, 3 Feb 2019 16:34:43 +0000 (10:34 -0600)]
Add a missing changelog entry.
Simon McVittie [Sun, 3 Feb 2019 16:27:38 +0000 (16:27 +0000)]
Update changelog
Signed-off-by: Simon McVittie <smcv@debian.org>
Jelmer Vernooij [Mon, 8 Oct 2018 06:52:28 +0000 (07:52 +0100)]
Allow Breezy as alternative to Bazaar.
(cherry picked from commit
a07f048d9fc99928ebbb74b34f5d1932ff3d7884)
Simon McVittie [Sun, 3 Feb 2019 16:06:36 +0000 (16:06 +0000)]
comments.t: Assert that comments get permalink metadata
Signed-off-by: Simon McVittie <smcv@debian.org>
Simon McVittie [Sun, 3 Feb 2019 16:05:13 +0000 (16:05 +0000)]
comments.t: Exercise post-2009 comment naming
Since commit
6af6c89d, comments are in files whose names contain a hash.
Signed-off-by: Simon McVittie <smcv@debian.org>
smcv [Sun, 3 Feb 2019 15:55:34 +0000 (11:55 -0400)]
old regexp would have failed for old comment page names
Simon McVittie [Sun, 3 Feb 2019 13:19:57 +0000 (13:19 +0000)]
git-cgi.t: Exercise an alphanumeric, but non-ASCII, root page
My previous attempt to reproduce this bug used a non-alphanumeric
ASCII character. This is not currently considered to be a valid
value for rootpage, although for a "do what I mean" approach, perhaps
we should accept it and pass it through titlepage() or linkpage().
Using Chinese characters (which are considered to match [[:alnum:]]
even though the Chinese script is not, strictly speaking, an alphabet),
as in the original bug report, reproduces the bug.
Signed-off-by: Simon McVittie <smcv@debian.org>
Feng Shu [Sun, 2 Dec 2018 00:38:34 +0000 (08:38 +0800)]
Fix inline plugin for non-ASCII rootpage
Simon McVittie [Sun, 3 Feb 2019 13:07:01 +0000 (13:07 +0000)]
t: Exercise Chinese and Cyrillic page titles
Signed-off-by: Simon McVittie <smcv@debian.org>
Simon McVittie [Sun, 3 Feb 2019 12:52:42 +0000 (12:52 +0000)]
trail: Allow unescaped punctuation in pagenames
By processing the pagenames through linkpage, we let users specify
page names that contain non-alphanumerics in a more natural way.
Signed-off-by: Simon McVittie <smcv@debian.org>
Simon McVittie [Sun, 3 Feb 2019 11:58:25 +0000 (11:58 +0000)]
trail.t: Exercise numeric escapes in pagenames parameter
Signed-off-by: Simon McVittie <smcv@debian.org>
Simon McVittie [Sun, 3 Feb 2019 12:48:40 +0000 (12:48 +0000)]
linkpage.t: Assert we can link to pages with literal underscore
Signed-off-by: Simon McVittie <smcv@debian.org>
Simon McVittie [Sun, 3 Feb 2019 12:25:20 +0000 (12:25 +0000)]
t: Consistently remove temp directory before testing, not after
When a test fails, it's useful to be able to inspect the output.
Signed-off-by: Simon McVittie <smcv@debian.org>
Simon McVittie [Sun, 3 Feb 2019 12:34:34 +0000 (12:34 +0000)]
build: Add `make reset-generated`
Signed-off-by: Simon McVittie <smcv@debian.org>
Simon McVittie [Sun, 3 Feb 2019 11:48:43 +0000 (11:48 +0000)]
pagetitle.t, linkpage.t, titlepage.t: Exercise Unicode more
Signed-off-by: Simon McVittie <smcv@debian.org>
smcv [Thu, 31 Jan 2019 20:41:17 +0000 (16:41 -0400)]
link to recently-added tests
smcv [Thu, 31 Jan 2019 20:38:04 +0000 (16:38 -0400)]
I'm confused about what the bug is, and what's being fixed. Can you give a complete test or example?
Simon McVittie [Thu, 31 Jan 2019 20:30:41 +0000 (20:30 +0000)]
close bug
Simon McVittie [Thu, 31 Jan 2019 20:29:48 +0000 (20:29 +0000)]
Update changelog
Simon McVittie [Thu, 31 Jan 2019 20:14:51 +0000 (20:14 +0000)]
Add a simple test for non-ASCII in tables
Signed-off-by: Simon McVittie <smcv@debian.org>
Feng Shu [Sun, 2 Dec 2018 00:41:39 +0000 (08:41 +0800)]
Fix table plugin can handle UTF-8 csv format
Simon McVittie [Thu, 31 Jan 2019 19:58:30 +0000 (19:58 +0000)]
respond
Simon McVittie [Thu, 31 Jan 2019 19:52:17 +0000 (19:52 +0000)]
Fix syntax and escaping
Simon McVittie [Thu, 31 Jan 2019 19:50:14 +0000 (19:50 +0000)]
git-cgi.t: Add a failing test for a blog with a non-ASCII rootpage
This is one of several possible bug reports on
"doc/bugs/About %2F problem" (I'm not sure what the actual bug being
reported is).
Signed-off-by: Simon McVittie <smcv@debian.org>
Simon McVittie [Thu, 31 Jan 2019 19:49:10 +0000 (19:49 +0000)]
git-cgi.t: Add a simple test for blog posts from a root page
This is the working base case for "doc/bugs/About %2F problem".
Signed-off-by: Simon McVittie <smcv@debian.org>
Simon McVittie [Thu, 31 Jan 2019 19:48:08 +0000 (19:48 +0000)]
git-cgi.t: Print query string as a TAP diagnostic
Signed-off-by: Simon McVittie <smcv@debian.org>
smcv [Thu, 31 Jan 2019 19:32:03 +0000 (15:32 -0400)]
anarcat [Wed, 30 Jan 2019 16:33:15 +0000 (12:33 -0400)]
inline is another option of course
anarcat [Wed, 30 Jan 2019 16:32:47 +0000 (12:32 -0400)]
show tagging example
anarcat [Wed, 30 Jan 2019 16:29:49 +0000 (12:29 -0400)]
link to the map plugin, which i find more useful to show tagged pages
dorondd@5f188d26a5727578cbe5901372cc69f1664a852b [Wed, 23 Jan 2019 04:53:59 +0000 (00:53 -0400)]
Joey Hess [Mon, 21 Jan 2019 15:59:08 +0000 (11:59 -0400)]
followup
Joey Hess [Mon, 21 Jan 2019 15:57:23 +0000 (11:57 -0400)]
fix permalink to comments
This commit was sponsored by Thomas May.
Joey Hess [Mon, 21 Jan 2019 15:44:58 +0000 (11:44 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info
Joey Hess [Mon, 21 Jan 2019 15:44:29 +0000 (11:44 -0400)]
bug report
ntntnt [Mon, 21 Jan 2019 04:34:51 +0000 (00:34 -0400)]
Jens [Thu, 17 Jan 2019 18:02:56 +0000 (14:02 -0400)]
User link and description changed
https://sonata-green.dreamwidth.org/ [Mon, 24 Dec 2018 16:15:32 +0000 (12:15 -0400)]
markdown backquotes
ALEXEIDZ [Sun, 16 Dec 2018 20:21:52 +0000 (16:21 -0400)]
ALEXEIDZ [Sun, 16 Dec 2018 20:20:16 +0000 (16:20 -0400)]
Joey Hess [Wed, 12 Dec 2018 14:43:52 +0000 (10:43 -0400)]
followup
xuqi [Mon, 10 Dec 2018 09:44:33 +0000 (05:44 -0400)]
xuqi [Mon, 10 Dec 2018 09:43:58 +0000 (05:43 -0400)]
xuqi [Mon, 10 Dec 2018 09:27:58 +0000 (05:27 -0400)]
de-indenting
xuqi [Mon, 10 Dec 2018 09:27:16 +0000 (05:27 -0400)]
example for inlining only one level of subpages
tumashu1 [Sat, 8 Dec 2018 08:08:38 +0000 (04:08 -0400)]
fail to inject IkiWiki::showform
jmtd [Fri, 7 Dec 2018 10:11:12 +0000 (06:11 -0400)]
patch works for me
jmtd [Fri, 7 Dec 2018 10:05:34 +0000 (06:05 -0400)]
ack
tumashu1 [Wed, 5 Dec 2018 06:47:55 +0000 (02:47 -0400)]
rename and remove plug can not work well with gettext
tumashu1 [Sun, 2 Dec 2018 01:42:06 +0000 (21:42 -0400)]
tumashu1 [Sun, 2 Dec 2018 01:41:25 +0000 (21:41 -0400)]
Suggest let table plugin support a kind of longtable
tumashu1 [Sun, 2 Dec 2018 00:56:04 +0000 (20:56 -0400)]
tumashu1 [Sun, 2 Dec 2018 00:55:16 +0000 (20:55 -0400)]
Add a patch deal with UTF-8 csv table's problem
tumashu1 [Sun, 2 Dec 2018 00:50:04 +0000 (20:50 -0400)]
Add a patch decode_utf8 inline's root page
smcv [Sat, 1 Dec 2018 21:29:56 +0000 (17:29 -0400)]
add redirection
smcv [Sat, 1 Dec 2018 21:28:11 +0000 (17:28 -0400)]
update for rename of bugs/Re-use_translated_content_instead_of_skipping_if_previously_translated/
20180628-patch.txt to bugs/po:_second_or_subsequent_inline_of_translated_page_inlines_.po_file__44___not_translated_content/
20180628-patch.txt
smcv [Sat, 1 Dec 2018 21:28:11 +0000 (17:28 -0400)]
rename bugs/Re-use_translated_content_instead_of_skipping_if_previously_translated.mdwn to bugs/po:_second_or_subsequent_inline_of_translated_page_inlines_.po_file__44___not_translated_content.mdwn
smcv [Sat, 1 Dec 2018 21:26:49 +0000 (17:26 -0400)]
update for rename of todo/Re-use_translated_content_instead_of_skipping_if_previously_translated/
20180628-patch.txt to bugs/Re-use_translated_content_instead_of_skipping_if_previously_translated/
20180628-patch.txt
smcv [Sat, 1 Dec 2018 21:26:48 +0000 (17:26 -0400)]
rename todo/Re-use_translated_content_instead_of_skipping_if_previously_translated.mdwn to bugs/Re-use_translated_content_instead_of_skipping_if_previously_translated.mdwn
smcv [Sat, 1 Dec 2018 21:25:16 +0000 (17:25 -0400)]
refer to a branch
Simon McVittie [Sat, 1 Dec 2018 21:07:38 +0000 (21:07 +0000)]
ikiwiki.info doesn't have fenced code blocks yet