update
%?
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.
Simon McVittie [Tue, 23 Jan 2018 10:44:36 +0000 (10:44 +0000)]
t/wellformed: Rebuild the docwiki, not everything
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
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
Simon McVittie [Tue, 23 Jan 2018 10:18:44 +0000 (10:18 +0000)]
t: Accept optional file:// prefix on W3m-control
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
svetlana [Sun, 28 Jan 2018 05:08:19 +0000 (01:08 -0400)]
Auto-remove tag pages?
svetlana [Fri, 26 Jan 2018 00:34:43 +0000 (20:34 -0400)]
svetlana [Fri, 26 Jan 2018 00:15:28 +0000 (20:15 -0400)]
test419 [Sun, 21 Jan 2018 22:05:21 +0000 (18:05 -0400)]
okay, sorry about that
This reverts commit
b7263302c7d74d25b15f87359a633fc3cca857a3
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?
svetlana [Sun, 21 Jan 2018 00:23:09 +0000 (20:23 -0400)]
404, no 'wmd'
anarcat [Thu, 11 Jan 2018 19:16:05 +0000 (15:16 -0400)]
move main documentation to converter's README file
anarcat [Thu, 11 Jan 2018 18:59:13 +0000 (14:59 -0400)]
repository was moved
vegardv@75ae889e836bda8ce69bc038d8335c398a2f6f40 [Wed, 10 Jan 2018 08:54:28 +0000 (04:54 -0400)]
Added a comment: Todo already exists for `basename`
Amitai Schleier [Mon, 8 Jan 2018 13:15:53 +0000 (08:15 -0500)]
co-maintainer opinion
Simon McVittie [Mon, 8 Jan 2018 10:53:32 +0000 (10:53 +0000)]
Don't send relative redirect URLs when behind a reverse proxy
smcv [Mon, 8 Jan 2018 10:33:57 +0000 (06:33 -0400)]
point to previous TODO entry
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
smcv [Mon, 8 Jan 2018 10:14:10 +0000 (06:14 -0400)]
failing test (marked TODO) now present
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]].
smcv [Mon, 8 Jan 2018 10:05:58 +0000 (06:05 -0400)]
smcv [Mon, 8 Jan 2018 10:05:36 +0000 (06:05 -0400)]
test case potentially in progress
smcv [Mon, 8 Jan 2018 09:26:50 +0000 (05:26 -0400)]
I'm not sure this can be solved without web server configuration
Joey Hess [Sun, 7 Jan 2018 17:39:55 +0000 (13:39 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info
Joey Hess [Sun, 7 Jan 2018 17:39:26 +0000 (13:39 -0400)]
bug
smcv [Sun, 7 Jan 2018 00:39:21 +0000 (20:39 -0400)]
open
Simon McVittie [Sat, 6 Jan 2018 21:57:37 +0000 (21:57 +0000)]
Declare compliance with Debian Policy 4.1.3
Simon McVittie [Sat, 6 Jan 2018 21:55:49 +0000 (21:55 +0000)]
Remove unused Lintian overrides for duplicate word false positives
Simon McVittie [Sat, 6 Jan 2018 21:47:01 +0000 (21:47 +0000)]
d/copyright: Drop stanzas for files no longer shipped
Simon McVittie [Sat, 6 Jan 2018 21:45:41 +0000 (21:45 +0000)]
d/copyright: Set Source to https://ikiwiki.info/git/
Simon McVittie [Sat, 6 Jan 2018 21:06:30 +0000 (21:06 +0000)]
Reinstate links on front page, removed by spam edits
Joey Hess [Fri, 5 Jan 2018 17:42:52 +0000 (13:42 -0400)]
add news item for ikiwiki 3.
20180105
Joey Hess [Fri, 5 Jan 2018 17:42:29 +0000 (13:42 -0400)]
releasing package ikiwiki version 3.
20180105
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
Joey Hess [Fri, 5 Jan 2018 17:38:40 +0000 (13:38 -0400)]
flip changelog symlink
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.
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.
Joey Hess [Fri, 5 Jan 2018 15:17:11 +0000 (11:17 -0400)]
how to fix?
Joey Hess [Fri, 5 Jan 2018 15:09:43 +0000 (11:09 -0400)]
think I cracked it
Joey Hess [Fri, 5 Jan 2018 13:58:01 +0000 (09:58 -0400)]
update
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.
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.
Joey Hess [Thu, 4 Jan 2018 23:00:33 +0000 (19:00 -0400)]
bug report
Is it still Joey's opinion that ikiwiki.info should remain using the anti-theme?
Joey Hess [Mon, 25 Dec 2017 18:58:15 +0000 (14:58 -0400)]
Updated German basewiki and directives translation from Sebastian Kuhnert.
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
possible explanation
STrRedWolf [Fri, 8 Dec 2017 16:06:00 +0000 (12:06 -0400)]
Added a comment: Fixed... by upgrading!
STrRedWolf [Fri, 8 Dec 2017 15:11:11 +0000 (11:11 -0400)]
Added a comment
formatting
bug report re http redirect
fixitdad [Sun, 12 Nov 2017 00:36:37 +0000 (20:36 -0400)]
anarcat [Mon, 6 Nov 2017 19:43:27 +0000 (15:43 -0400)]
link to the ordering patch
anarcat [Mon, 6 Nov 2017 19:36:40 +0000 (15:36 -0400)]
propose a javascript optimization
https://anarc.at/openid/ [Mon, 6 Nov 2017 14:36:19 +0000 (10:36 -0400)]
optimization proposal
111 [Mon, 6 Nov 2017 04:39:29 +0000 (00:39 -0400)]
111 [Mon, 6 Nov 2017 04:38:14 +0000 (00:38 -0400)]
Edward [Fri, 27 Oct 2017 08:34:03 +0000 (04:34 -0400)]
file bug
Edward [Fri, 27 Oct 2017 08:27:40 +0000 (04:27 -0400)]
formatting
Edward [Fri, 27 Oct 2017 08:23:52 +0000 (04:23 -0400)]
file bug
Edward [Fri, 27 Oct 2017 08:16:33 +0000 (04:16 -0400)]
file bug
Amitai Schleier [Thu, 26 Oct 2017 16:28:20 +0000 (12:28 -0400)]
Revert spam edits.
abilash [Thu, 26 Oct 2017 09:22:22 +0000 (05:22 -0400)]
abilash [Thu, 26 Oct 2017 09:07:58 +0000 (05:07 -0400)]
abilash [Thu, 26 Oct 2017 09:05:44 +0000 (05:05 -0400)]
Simon McVittie [Sun, 1 Oct 2017 16:16:28 +0000 (17:16 +0100)]
Announce version 3.
20171001
Signed-off-by: Simon McVittie <smcv@debian.org>
Simon McVittie [Sun, 1 Oct 2017 15:33:00 +0000 (16:33 +0100)]
3.
20171001
Signed-off-by: Simon McVittie <smcv@debian.org>
Simon McVittie [Sun, 1 Oct 2017 15:32:51 +0000 (16:32 +0100)]
Update l10n
Signed-off-by: Simon McVittie <smcv@debian.org>
Simon McVittie [Sun, 1 Oct 2017 15:24:48 +0000 (16:24 +0100)]
t/git-untrusted.t: Fix redundant declaration
Signed-off-by: Simon McVittie <smcv@debian.org>
Simon McVittie [Sun, 1 Oct 2017 12:55:48 +0000 (13:55 +0100)]
debian: Declare compliance with Debian Policy 4.1.1
Signed-off-by: Simon McVittie <smcv@debian.org>
Simon McVittie [Sun, 1 Oct 2017 12:23:04 +0000 (13:23 +0100)]
Update changelog
Signed-off-by: Simon McVittie <smcv@debian.org>
Simon McVittie [Sun, 1 Oct 2017 12:17:53 +0000 (13:17 +0100)]
t/git-untrusted.t: New test case for untrusted pushes
This also exercises the typical centralized git repository workflow,
where changes flow from a non-bare clone (for example on a laptop)
to a centralized bare repository, then from the centralized bare
repository to a non-bare clone that is ikiwiki's srcdir.
Signed-off-by: Simon McVittie <smcv@debian.org>
Simon McVittie [Sun, 1 Oct 2017 12:16:03 +0000 (13:16 +0100)]
Pass some git environment variables to the test-receive hook
Since git 2.11, git has stored the proposed push in a "quarantine
area" until it is accepted by the pre-receive hook, and passed
extra environment variables to the pre-receive hook so that it can
read objects from the quarantine area.
This fixes untrusted push on modern git versions.
Signed-off-by: Simon McVittie <smcv@debian.org>
Simon McVittie [Sat, 30 Sep 2017 16:14:34 +0000 (17:14 +0100)]
IkiWiki::Receive: Avoid using asprintf
On GNU/Linux, it isn't declared in stdio.h unless we define
_GNU_SOURCE, which we don't; using the implicit declaration risks
crashes on platforms where sizeof(pointer) != sizeof(int). On other
platforms it isn't guaranteed to exist at all.
Signed-off-by: Simon McVittie <smcv@debian.org>
Simon McVittie [Thu, 28 Sep 2017 10:21:21 +0000 (11:21 +0100)]
Update changelog and close bug
Simon McVittie [Thu, 28 Sep 2017 10:19:27 +0000 (11:19 +0100)]
Merge remote-tracking branch 'tails/img-determinism'
Simon McVittie [Thu, 28 Sep 2017 10:18:26 +0000 (11:18 +0100)]
Update changelog
Amitai Schleier [Wed, 20 Sep 2017 02:48:06 +0000 (22:48 -0400)]
Fix build with po4a 0.52.
azzamsa [Wed, 6 Sep 2017 07:13:24 +0000 (03:13 -0400)]
azzamsa [Wed, 6 Sep 2017 07:13:07 +0000 (03:13 -0400)]
azzamsa [Wed, 6 Sep 2017 07:09:23 +0000 (03:09 -0400)]
Added a comment: my issue solved
intrigeri [Fri, 1 Sep 2017 19:38:30 +0000 (15:38 -0400)]
Report bug + merge request: image resize is not deterministic.
intrigeri [Fri, 1 Sep 2017 19:26:26 +0000 (19:26 +0000)]
img: resize images in a deterministic manner.
intrigeri [Fri, 1 Sep 2017 19:16:27 +0000 (19:16 +0000)]
t/img.t: test determinism of PNG resizing.
anna19 [Mon, 28 Aug 2017 15:49:19 +0000 (11:49 -0400)]
Added a comment: Reposted question on unix.sx
Joey Hess [Wed, 23 Aug 2017 17:13:23 +0000 (13:13 -0400)]
emailauth, passwordauth: Avoid leaving cgisess_* files in the system temp directory.
Due to the use/abuse of CGI::Session to generate a token for the login
process, a new session database was created for each login, and left behind
afterwards. While each file is small, with many logings this could bloat
the size of /tmp significantly. Fixed by making CGI::Session write to
/dev/null, since there does not seem to be a way to entirely prevent the
writing.
This commit was sponsored by Henrik Riomar on Patreon.
Keeh [Mon, 21 Aug 2017 20:02:23 +0000 (16:02 -0400)]
removed
Keeh [Mon, 21 Aug 2017 14:28:51 +0000 (10:28 -0400)]
Keeh [Mon, 21 Aug 2017 14:20:33 +0000 (10:20 -0400)]
tbm@179cf05cd1bd36f352bd555cee25923d4216668f [Sat, 19 Aug 2017 13:23:20 +0000 (09:23 -0400)]
Clarify how to use sorting
dgsb [Wed, 9 Aug 2017 06:07:37 +0000 (02:07 -0400)]
dgsb [Tue, 8 Aug 2017 20:37:01 +0000 (16:37 -0400)]
smcv [Sun, 23 Jul 2017 18:02:30 +0000 (14:02 -0400)]
Added a comment