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
smcv [Sun, 23 Jul 2017 17:52:11 +0000 (13:52 -0400)]
Added a comment
smcv [Sun, 23 Jul 2017 17:47:55 +0000 (13:47 -0400)]
Added a comment
smcv [Sun, 23 Jul 2017 17:46:37 +0000 (13:46 -0400)]
Added a comment
Simon McVittie [Sun, 23 Jul 2017 14:56:24 +0000 (15:56 +0100)]
core: Don't decode the result of strftime if already tagged as UTF-8
It wasn't in old Perls, but might be in Perl >= 5.21.1 due to commit
https://perl5.git.perl.org/perl.git/commit/
9717af6 (Closes: #869240)
azzamsa [Fri, 21 Jul 2017 08:07:39 +0000 (04:07 -0400)]
Added a comment: I have the same issue
ankit [Tue, 18 Jul 2017 13:07:48 +0000 (09:07 -0400)]
Q. How to truncate blog posts?
Joey Hess [Tue, 11 Jul 2017 19:51:44 +0000 (15:51 -0400)]
htmlscrubber: Add support for the video tag's loop and muted attributes.
Those were not in the original html5 spec, but have been added in the
whatwg html living standard and have wide browser support.
This commit was sponsored by John Peloquin on Patreon.
DavidCary [Wed, 5 Jul 2017 17:51:19 +0000 (13:51 -0400)]
answer question, with reference.
openmedi [Sun, 25 Jun 2017 16:12:20 +0000 (12:12 -0400)]
Added a comment
smcv [Fri, 23 Jun 2017 14:28:02 +0000 (10:28 -0400)]
removed
test [Thu, 22 Jun 2017 18:01:30 +0000 (14:01 -0400)]
Simon McVittie [Thu, 22 Jun 2017 14:37:19 +0000 (15:37 +0100)]
request more information
Simon McVittie [Thu, 22 Jun 2017 14:15:41 +0000 (15:15 +0100)]
t/img.t: Give better diagnostics if we can't load an image
Joey Hess [Thu, 22 Jun 2017 13:55:27 +0000 (09:55 -0400)]
add bug report originally emailed to me by Peter Simons
Simon McVittie [Thu, 22 Jun 2017 09:53:23 +0000 (10:53 +0100)]
Simon McVittie [Thu, 22 Jun 2017 09:53:17 +0000 (10:53 +0100)]
debian/changelog: Add missing credit for toc fix
Simon McVittie [Thu, 22 Jun 2017 08:25:25 +0000 (09:25 +0100)]
Simon McVittie [Thu, 22 Jun 2017 08:24:48 +0000 (09:24 +0100)]
debian: Declare compliance with Debian Policy 4.0.0
Simon McVittie [Thu, 22 Jun 2017 08:24:22 +0000 (09:24 +0100)]
debian: Use preferred https URL for Format of debian/copyright
Simon McVittie [Thu, 22 Jun 2017 08:19:53 +0000 (09:19 +0100)]
debian: Document more past changes