]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/log
git.ikiwiki.info.git
6 years agoclarify what date fields do, following [[bugs/invalid_meta_date_or_updated_not_diagno...
anarcat [Wed, 21 Mar 2018 13:26:12 +0000 (09:26 -0400)]
clarify what date fields do, following [[bugs/invalid_meta_date_or_updated_not_diagnosed]]

6 years agometa test: Assert that malformed dates are rejected
Simon McVittie [Wed, 21 Mar 2018 09:02:35 +0000 (09:02 +0000)]
meta test: Assert that malformed dates are rejected

Signed-off-by: Simon McVittie <smcv@debian.org>
6 years agometa: Error if we can't parse dates because Date::Parse is missing
Simon McVittie [Wed, 21 Mar 2018 09:02:21 +0000 (09:02 +0000)]
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>
6 years agometa: Make syntactically invalid dates an error
Simon McVittie [Wed, 21 Mar 2018 09:00:41 +0000 (09:00 +0000)]
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>
6 years agometa test: Use syntactically valid dates
Simon McVittie [Wed, 21 Mar 2018 08:59:02 +0000 (08:59 +0000)]
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>
6 years agopreprocess: Don't encode digit zero as an entity in errors
Simon McVittie [Wed, 21 Mar 2018 08:58:19 +0000 (08:58 +0000)]
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>
6 years agoAdded a comment
smcv [Wed, 21 Mar 2018 09:30:41 +0000 (05:30 -0400)]
Added a comment

6 years agoclarify
smcv [Wed, 21 Mar 2018 09:16:25 +0000 (05:16 -0400)]
clarify

6 years agoconvert from forum to bug, mark as done
smcv [Wed, 21 Mar 2018 09:15:09 +0000 (05:15 -0400)]
convert from forum to bug, mark as done

6 years agorename forum/problems_with_ctime__47__date__47__updated__47__mtime__47__etc.mdwn...
smcv [Wed, 21 Mar 2018 09:08:22 +0000 (05:08 -0400)]
rename forum/problems_with_ctime__47__date__47__updated__47__mtime__47__etc.mdwn to bugs/invalid_meta_date_or_updated_not_diagnosed.mdwn

6 years agoAdded a comment: tried and tried and failed
anarcat [Mon, 19 Mar 2018 15:53:02 +0000 (11:53 -0400)]
Added a comment: tried and tried and failed

6 years agotrying to figure out a stupid mistake takes a long time, how about we shortcircuit...
anarcat [Mon, 19 Mar 2018 15:39:54 +0000 (11:39 -0400)]
trying to figure out a stupid mistake takes a long time, how about we shortcircuit that with errors or warnings?

6 years agoAnnounce 3.20180311
Simon McVittie [Sun, 11 Mar 2018 16:37:51 +0000 (16:37 +0000)]
Announce 3.20180311

6 years ago3.20180311 3.20180311
Simon McVittie [Sun, 11 Mar 2018 15:54:34 +0000 (15:54 +0000)]
3.20180311

6 years agonot-truncated.t: Work correctly as an installed-test
Simon McVittie [Fri, 9 Mar 2018 11:24:41 +0000 (11:24 +0000)]
not-truncated.t: Work correctly as an installed-test

Signed-off-by: Simon McVittie <smcv@debian.org>
6 years agobuild: Add `make git-dist` target
Simon McVittie [Fri, 9 Mar 2018 10:33:19 +0000 (10:33 +0000)]
build: Add `make git-dist` target

Signed-off-by: Simon McVittie <smcv@debian.org>
6 years agoUpdate changelog
Simon McVittie [Fri, 9 Mar 2018 09:18:24 +0000 (09:18 +0000)]
Update changelog

6 years agoAdd a test asserting that no plugin is an empty file
Simon McVittie [Fri, 9 Mar 2018 09:12:19 +0000 (09:12 +0000)]
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 3aacac3befcbeaa0,
b32480f0 hopefully fixed this.

Signed-off-by: Simon McVittie <smcv@debian.org>
6 years agomdwn: Automatically detect which libdiscount flags to use
Simon McVittie [Thu, 8 Mar 2018 23:36:31 +0000 (23:36 +0000)]
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>
6 years agoin progress
smcv [Thu, 8 Mar 2018 20:54:17 +0000 (16:54 -0400)]
in progress

6 years agoReport bug.
Amitai Schleier [Thu, 8 Mar 2018 17:36:21 +0000 (12:36 -0500)]
Report bug.

6 years agoclose
Simon McVittie [Sun, 4 Mar 2018 10:57:28 +0000 (10:57 +0000)]
close

6 years agorst test: Probe for docutils Python 3 module, not Python 2
http://thm.id.fedoraproject.org/ [Sun, 4 Mar 2018 10:56:18 +0000 (10:56 +0000)]
rst test: Probe for docutils Python 3 module, not Python 2

6 years ago(no commit message)
http://thm.id.fedoraproject.org/ [Sat, 3 Mar 2018 17:21:46 +0000 (13:21 -0400)]

6 years agoAvoid unexpected full paths from find(1).
Amitai Schleier [Fri, 2 Mar 2018 19:13:05 +0000 (14:13 -0500)]
Avoid unexpected full paths from find(1).

6 years agoFrohdo - new personal website added
Frohdo [Wed, 28 Feb 2018 22:46:57 +0000 (18:46 -0400)]
Frohdo - new personal website added

6 years agoAnnounce 3.20180228
Simon McVittie [Wed, 28 Feb 2018 11:47:43 +0000 (11:47 +0000)]
Announce 3.20180228

Signed-off-by: Simon McVittie <smcv@debian.org>
6 years ago3.20180228 3.20180228
Simon McVittie [Wed, 28 Feb 2018 10:41:06 +0000 (10:41 +0000)]
3.20180228

Signed-off-by: Simon McVittie <smcv@debian.org>
6 years agochangelog: Mention packaging changes imported from Debian
Simon McVittie [Sat, 6 Jan 2018 21:55:49 +0000 (21:55 +0000)]
changelog: Mention packaging changes imported from Debian

Signed-off-by: Simon McVittie <smcv@debian.org>
6 years agorst: Use Python 3 instead of Python 2
Simon McVittie [Wed, 28 Feb 2018 10:18:30 +0000 (10:18 +0000)]
rst: Use Python 3 instead of Python 2

Signed-off-by: Simon McVittie <smcv@debian.org>
6 years agoClose bug
Simon McVittie [Wed, 28 Feb 2018 10:09:46 +0000 (10:09 +0000)]
Close bug

Signed-off-by: Simon McVittie <smcv@debian.org>
6 years agoUpdate changelog
Simon McVittie [Wed, 28 Feb 2018 10:04:26 +0000 (10:04 +0000)]
Update changelog

Signed-off-by: Simon McVittie <smcv@debian.org>
6 years agoimg test: Exercise a format that is uncommon on the web (BMP)
Simon McVittie [Wed, 28 Feb 2018 09:52:37 +0000 (09:52 +0000)]
img test: Exercise a format that is uncommon on the web (BMP)

Signed-off-by: Simon McVittie <smcv@debian.org>
6 years agoimg: Explicitly detect format if needed
Simon McVittie [Wed, 28 Feb 2018 09:51:13 +0000 (09:51 +0000)]
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>
6 years agoimg test: Don't rely on using an empty ImageMagick coder name
Simon McVittie [Wed, 28 Feb 2018 09:49:46 +0000 (09:49 +0000)]
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>
6 years agopreprocess: Escape most ASCII punctuation in error messages
Simon McVittie [Wed, 28 Feb 2018 09:40:45 +0000 (09:40 +0000)]
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>
6 years agoAdded a comment
jon+ikiwiki@663db4cb26e845748f3e7e6d51eeb26c6014f1c3 [Thu, 22 Feb 2018 16:30:42 +0000 (12:30 -0400)]
Added a comment

6 years agoSome thoughts about Ikiwiki
spalax [Sun, 18 Feb 2018 23:03:45 +0000 (19:03 -0400)]
Some thoughts about Ikiwiki

6 years agoremove template that does not belong here
Joey Hess [Thu, 15 Feb 2018 16:57:13 +0000 (12:57 -0400)]
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.

6 years agoparametrien dokumentointi
https://launchpad.net/~hingo [Sat, 10 Feb 2018 10:01:57 +0000 (06:01 -0400)]
parametrien dokumentointi

6 years agoFirst post
https://launchpad.net/~hingo [Sat, 10 Feb 2018 08:16:01 +0000 (04:16 -0400)]
First post

6 years agoimprove reply wording with a crosslink
https://social.mayfirst.org/mjray [Mon, 5 Feb 2018 10:53:06 +0000 (06:53 -0400)]
improve reply wording with a crosslink

6 years agoTry to explain editor loophole to viewing restrictions
https://social.mayfirst.org/mjray [Mon, 5 Feb 2018 10:51:48 +0000 (06:51 -0400)]
Try to explain editor loophole to viewing restrictions

6 years agotypo fixed
svetlana [Sat, 3 Feb 2018 00:44:51 +0000 (20:44 -0400)]
typo fixed

6 years ago(no commit message)
svetlana [Sat, 3 Feb 2018 00:44:23 +0000 (20:44 -0400)]

6 years agomore details
svetlana@192500fb6a2e2ef8e78d1a08cca64b1bca9833b9 [Fri, 2 Feb 2018 08:04:14 +0000 (04:04 -0400)]
more details

6 years agoNYTProf: Profile data incomplete, inflate error -5 ((null))
svetlana@192500fb6a2e2ef8e78d1a08cca64b1bca9833b9 [Fri, 2 Feb 2018 07:36:07 +0000 (03:36 -0400)]
NYTProf: Profile data incomplete, inflate error -5 ((null))

6 years ago(no commit message)
http://thm.id.fedoraproject.org/ [Wed, 31 Jan 2018 14:35:34 +0000 (10:35 -0400)]

6 years agourlfix
svetlana@192500fb6a2e2ef8e78d1a08cca64b1bca9833b9 [Tue, 30 Jan 2018 19:38:23 +0000 (15:38 -0400)]
urlfix

6 years agoupdate
svetlana@192500fb6a2e2ef8e78d1a08cca64b1bca9833b9 [Tue, 30 Jan 2018 19:37:58 +0000 (15:37 -0400)]
update

6 years ago%?
svetlana@192500fb6a2e2ef8e78d1a08cca64b1bca9833b9 [Tue, 30 Jan 2018 19:37:25 +0000 (15:37 -0400)]
%?

6 years agobuild: Ensure that pm_to_blib finishes before rewriting shebang lines
Simon McVittie [Tue, 23 Jan 2018 10:49:37 +0000 (10:49 +0000)]
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.

6 years agot/wellformed: Rebuild the docwiki, not everything
Simon McVittie [Tue, 23 Jan 2018 10:44:36 +0000 (10:44 +0000)]
t/wellformed: Rebuild the docwiki, not everything

6 years agobuild: Use if/then instead of `||` so that the `-e` flag works
Simon McVittie [Tue, 23 Jan 2018 10:37:57 +0000 (10:37 +0000)]
build: Use if/then instead of `||` so that the `-e` flag works

6 years agobuild: `set -e` before each `for` loop, so that errors are reliably trapped
Simon McVittie [Tue, 23 Jan 2018 10:36:19 +0000 (10:36 +0000)]
build: `set -e` before each `for` loop, so that errors are reliably trapped

6 years agot: Accept optional file:// prefix on W3m-control
Simon McVittie [Tue, 23 Jan 2018 10:18:44 +0000 (10:18 +0000)]
t: Accept optional file:// prefix on W3m-control

6 years agomdwn: Restore historical behaviour
Simon McVittie [Tue, 23 Jan 2018 09:39:05 +0000 (09:39 +0000)]
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
6 years agoAuto-remove tag pages?
svetlana [Sun, 28 Jan 2018 05:08:19 +0000 (01:08 -0400)]
Auto-remove tag pages?

6 years ago(no commit message)
svetlana [Fri, 26 Jan 2018 00:34:43 +0000 (20:34 -0400)]

6 years ago(no commit message)
svetlana [Fri, 26 Jan 2018 00:15:28 +0000 (20:15 -0400)]

6 years agookay, sorry about that
test419 [Sun, 21 Jan 2018 22:05:21 +0000 (18:05 -0400)]
okay, sorry about that

This reverts commit b7263302c7d74d25b15f87359a633fc3cca857a3

6 years agoTesting if this is really so easily editable by the public? (my ikiwiki 'instance...
test419 [Sun, 21 Jan 2018 22:03:23 +0000 (18:03 -0400)]
Testing if this is really so easily editable by the public? (my ikiwiki 'instance' is) How is it not constantly being riddled with spam?

6 years ago404, no 'wmd'
svetlana [Sun, 21 Jan 2018 00:23:09 +0000 (20:23 -0400)]
404, no 'wmd'

6 years agomove main documentation to converter's README file
anarcat [Thu, 11 Jan 2018 19:16:05 +0000 (15:16 -0400)]
move main documentation to converter's README file

6 years agorepository was moved
anarcat [Thu, 11 Jan 2018 18:59:13 +0000 (14:59 -0400)]
repository was moved

6 years agoAdded a comment: Todo already exists for `basename`
vegardv@75ae889e836bda8ce69bc038d8335c398a2f6f40 [Wed, 10 Jan 2018 08:54:28 +0000 (04:54 -0400)]
Added a comment: Todo already exists for `basename`

6 years agoco-maintainer opinion
Amitai Schleier [Mon, 8 Jan 2018 13:15:53 +0000 (08:15 -0500)]
co-maintainer opinion

6 years agoDon't send relative redirect URLs when behind a reverse proxy
Simon McVittie [Mon, 8 Jan 2018 10:53:32 +0000 (10:53 +0000)]
Don't send relative redirect URLs when behind a reverse proxy

6 years agopoint to previous TODO entry
smcv [Mon, 8 Jan 2018 10:33:57 +0000 (06:33 -0400)]
point to previous TODO entry

6 years agothis is a web server configuration issue rather than a bug in the ikiwiki code
smcv [Mon, 8 Jan 2018 10:29:59 +0000 (06:29 -0400)]
this is a web server configuration issue rather than a bug in the ikiwiki code

6 years agofailing test (marked TODO) now present
smcv [Mon, 8 Jan 2018 10:14:10 +0000 (06:14 -0400)]
failing test (marked TODO) now present

6 years agot/relativity.t: Add tests for IkiWiki::redirect behaviour
Simon McVittie [Mon, 8 Jan 2018 10:08:03 +0000 (10:08 +0000)]
t/relativity.t: Add tests for IkiWiki::redirect behaviour

This reproduces [[bugs/cgi_redirecting_to_non-https_URL]].

6 years ago(no commit message)
smcv [Mon, 8 Jan 2018 10:05:58 +0000 (06:05 -0400)]

6 years agotest case potentially in progress
smcv [Mon, 8 Jan 2018 10:05:36 +0000 (06:05 -0400)]
test case potentially in progress

6 years agoI'm not sure this can be solved without web server configuration
smcv [Mon, 8 Jan 2018 09:26:50 +0000 (05:26 -0400)]
I'm not sure this can be solved without web server configuration

6 years agoMerge branch 'master' of ssh://git.ikiwiki.info
Joey Hess [Sun, 7 Jan 2018 17:39:55 +0000 (13:39 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info

6 years agobug
Joey Hess [Sun, 7 Jan 2018 17:39:26 +0000 (13:39 -0400)]
bug

6 years agoopen
smcv [Sun, 7 Jan 2018 00:39:21 +0000 (20:39 -0400)]
open

6 years agoDeclare compliance with Debian Policy 4.1.3
Simon McVittie [Sat, 6 Jan 2018 21:57:37 +0000 (21:57 +0000)]
Declare compliance with Debian Policy 4.1.3

6 years agoRemove unused Lintian overrides for duplicate word false positives
Simon McVittie [Sat, 6 Jan 2018 21:55:49 +0000 (21:55 +0000)]
Remove unused Lintian overrides for duplicate word false positives

6 years agod/copyright: Drop stanzas for files no longer shipped
Simon McVittie [Sat, 6 Jan 2018 21:47:01 +0000 (21:47 +0000)]
d/copyright: Drop stanzas for files no longer shipped

6 years agod/copyright: Set Source to https://ikiwiki.info/git/
Simon McVittie [Sat, 6 Jan 2018 21:45:41 +0000 (21:45 +0000)]
d/copyright: Set Source to https://ikiwiki.info/git/

6 years agoReinstate links on front page, removed by spam edits
Simon McVittie [Sat, 6 Jan 2018 21:06:30 +0000 (21:06 +0000)]
Reinstate links on front page, removed by spam edits

6 years agoadd news item for ikiwiki 3.20180105
Joey Hess [Fri, 5 Jan 2018 17:42:52 +0000 (13:42 -0400)]
add news item for ikiwiki 3.20180105

6 years agoreleasing package ikiwiki version 3.20180105 3.20180105
Joey Hess [Fri, 5 Jan 2018 17:42:29 +0000 (13:42 -0400)]
releasing package ikiwiki version 3.20180105

6 years agoset last release's distribution to upstream; dch -r will copy that value
Joey Hess [Fri, 5 Jan 2018 17:39:03 +0000 (13:39 -0400)]
set last release's distribution to upstream; dch -r will copy that value

to not imply that this changelog has anything to do with debian unstable

6 years agoflip changelog symlink
Joey Hess [Fri, 5 Jan 2018 17:38:40 +0000 (13:38 -0400)]
flip changelog symlink

6 years agoRemove openid provider icons from login selector
Joey Hess [Fri, 5 Jan 2018 16:27:46 +0000 (12:27 -0400)]
Remove openid provider icons from login selector

Remove openid provider icons from login selector, since openid providers
are increasingly not working. Verisign retired theirs, and aol and
yahoo/flickr are not commonly used for openid. Any users who still  clicked
those icons to login will need to instead enter their openid url.

This commit was sponsored by andrea rota.

6 years agoadd and use cgiurl_abs_samescheme
Joey Hess [Fri, 5 Jan 2018 15:40:18 +0000 (11:40 -0400)]
add and use cgiurl_abs_samescheme

 * emailauth: Fix cookie problem when user is on https and the cgiurl
   uses http, by making the emailed login link use https.
 * passwordauth: Use https for emailed password reset link when user
   is on https.

Not entirely happy with this approach, but I don't currently see a
better one.

I have not verified that the passwordauth change fixes any problem,
other than the user getting a http link when they were using https.
The emailauth problem is verified fixed by this commit.

This commit was sponsored by Michael Magin.

6 years agohow to fix?
Joey Hess [Fri, 5 Jan 2018 15:17:11 +0000 (11:17 -0400)]
how to fix?

6 years agothink I cracked it
Joey Hess [Fri, 5 Jan 2018 15:09:43 +0000 (11:09 -0400)]
think I cracked it

6 years agoupdate
Joey Hess [Fri, 5 Jan 2018 13:58:01 +0000 (09:58 -0400)]
update

6 years agoimprove error message when postsignin is not set
Joey Hess [Thu, 4 Jan 2018 23:21:51 +0000 (19:21 -0400)]
improve error message when postsignin is not set

This can happen if the user goes directly to /ikiwiki.cgi?do=login and
logs in, since nothing redirected them to there, there's no postsignin
value set. It can also happen when cookies are disabled, or perhaps
other problems.

6 years agocorrection; I did not reproduce this
Joey Hess [Thu, 4 Jan 2018 23:17:45 +0000 (19:17 -0400)]
correction; I did not reproduce this

I was manually reloading /ikiwiki.cgi?do=login, and postsignin is not
set when that's done, which is a bug, but not the bug I was after.

6 years agobug report
Joey Hess [Thu, 4 Jan 2018 23:00:33 +0000 (19:00 -0400)]
bug report

6 years agoIs it still Joey's opinion that ikiwiki.info should remain using the anti-theme?
jon+ikiwiki@663db4cb26e845748f3e7e6d51eeb26c6014f1c3 [Thu, 28 Dec 2017 22:52:25 +0000 (18:52 -0400)]
Is it still Joey's opinion that ikiwiki.info should remain using the anti-theme?

6 years agoUpdated German basewiki and directives translation from Sebastian Kuhnert.
Joey Hess [Mon, 25 Dec 2017 18:58:15 +0000 (14:58 -0400)]
Updated German basewiki and directives translation from Sebastian Kuhnert.

6 years agoSerialist doesn't use Ikiwiki any more, and also isn't called Serialist any more...
jamey@90d19ce4e4c32214a97c10f9d98b7c313e236fb4 [Sun, 10 Dec 2017 22:16:43 +0000 (18:16 -0400)]
Serialist doesn't use Ikiwiki any more, and also isn't called Serialist any more, whoops

6 years ago(no commit message)
jon+ikiwiki@663db4cb26e845748f3e7e6d51eeb26c6014f1c3 [Fri, 8 Dec 2017 21:56:58 +0000 (17:56 -0400)]

6 years agopossible explanation
jon+ikiwiki@663db4cb26e845748f3e7e6d51eeb26c6014f1c3 [Fri, 8 Dec 2017 21:56:04 +0000 (17:56 -0400)]
possible explanation