ikiwiki
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
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

6 years agoAdded a comment: Fixed... by upgrading!
STrRedWolf [Fri, 8 Dec 2017 16:06:00 +0000 (12:06 -0400)] 
Added a comment: Fixed... by upgrading!

6 years agoAdded a comment
STrRedWolf [Fri, 8 Dec 2017 15:11:11 +0000 (11:11 -0400)] 
Added a comment

6 years agoformatting
jon+ikiwiki@663db4cb26e845748f3e7e6d51eeb26c6014f1c3 [Fri, 8 Dec 2017 12:01:02 +0000 (08:01 -0400)] 
formatting

6 years ago(no commit message)
jon+ikiwiki@663db4cb26e845748f3e7e6d51eeb26c6014f1c3 [Fri, 8 Dec 2017 11:59:28 +0000 (07:59 -0400)] 

6 years agobug report re http redirect
jon+ikiwiki@663db4cb26e845748f3e7e6d51eeb26c6014f1c3 [Fri, 8 Dec 2017 11:58:24 +0000 (07:58 -0400)] 
bug report re http redirect

6 years ago(no commit message)
fixitdad [Sun, 12 Nov 2017 00:36:37 +0000 (20:36 -0400)] 

6 years agolink to the ordering patch
anarcat [Mon, 6 Nov 2017 19:43:27 +0000 (15:43 -0400)] 
link to the ordering patch

6 years agopropose a javascript optimization
anarcat [Mon, 6 Nov 2017 19:36:40 +0000 (15:36 -0400)] 
propose a javascript optimization

6 years agooptimization proposal
https://anarc.at/openid/ [Mon, 6 Nov 2017 14:36:19 +0000 (10:36 -0400)] 
optimization proposal

6 years ago(no commit message)
111 [Mon, 6 Nov 2017 04:39:29 +0000 (00:39 -0400)] 

6 years ago(no commit message)
111 [Mon, 6 Nov 2017 04:38:14 +0000 (00:38 -0400)] 

6 years agofile bug
Edward [Fri, 27 Oct 2017 08:34:03 +0000 (04:34 -0400)] 
file bug

6 years agoformatting
Edward [Fri, 27 Oct 2017 08:27:40 +0000 (04:27 -0400)] 
formatting

6 years agofile bug
Edward [Fri, 27 Oct 2017 08:23:52 +0000 (04:23 -0400)] 
file bug

6 years agofile bug
Edward [Fri, 27 Oct 2017 08:16:33 +0000 (04:16 -0400)] 
file bug

6 years agoRevert spam edits.
Amitai Schleier [Thu, 26 Oct 2017 16:28:20 +0000 (12:28 -0400)] 
Revert spam edits.

6 years ago(no commit message)
abilash [Thu, 26 Oct 2017 09:22:22 +0000 (05:22 -0400)] 

6 years ago(no commit message)
abilash [Thu, 26 Oct 2017 09:07:58 +0000 (05:07 -0400)] 

6 years ago(no commit message)
abilash [Thu, 26 Oct 2017 09:05:44 +0000 (05:05 -0400)] 

6 years agoAnnounce version 3.20171001
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>
6 years ago3.20171001
Simon McVittie [Sun, 1 Oct 2017 15:33:00 +0000 (16:33 +0100)] 
3.20171001

Signed-off-by: Simon McVittie <smcv@debian.org>
6 years agoUpdate l10n
Simon McVittie [Sun, 1 Oct 2017 15:32:51 +0000 (16:32 +0100)] 
Update l10n

Signed-off-by: Simon McVittie <smcv@debian.org>
6 years agot/git-untrusted.t: Fix redundant declaration
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>
6 years agodebian: Declare compliance with Debian Policy 4.1.1
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>
6 years agoUpdate changelog
Simon McVittie [Sun, 1 Oct 2017 12:23:04 +0000 (13:23 +0100)] 
Update changelog

Signed-off-by: Simon McVittie <smcv@debian.org>
6 years agot/git-untrusted.t: New test case for untrusted pushes
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>
6 years agoPass some git environment variables to the test-receive hook
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>
6 years agoIkiWiki::Receive: Avoid using asprintf
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>
6 years agoUpdate changelog and close bug
Simon McVittie [Thu, 28 Sep 2017 10:21:21 +0000 (11:21 +0100)] 
Update changelog and close bug

6 years agoMerge remote-tracking branch 'tails/img-determinism'
Simon McVittie [Thu, 28 Sep 2017 10:19:27 +0000 (11:19 +0100)] 
Merge remote-tracking branch 'tails/img-determinism'

6 years agoUpdate changelog
Simon McVittie [Thu, 28 Sep 2017 10:18:26 +0000 (11:18 +0100)] 
Update changelog

6 years agoFix build with po4a 0.52.
Amitai Schleier [Wed, 20 Sep 2017 02:48:06 +0000 (22:48 -0400)] 
Fix build with po4a 0.52.

6 years ago(no commit message)
fairusurped@12113b58e7c4c69149ded64c82f268e9fa14ad88 [Thu, 7 Sep 2017 13:55:41 +0000 (09:55 -0400)] 

6 years ago(no commit message)
azzamsa [Wed, 6 Sep 2017 07:13:24 +0000 (03:13 -0400)] 

6 years ago(no commit message)
azzamsa [Wed, 6 Sep 2017 07:13:07 +0000 (03:13 -0400)] 

6 years agoAdded a comment: my issue solved
azzamsa [Wed, 6 Sep 2017 07:09:23 +0000 (03:09 -0400)] 
Added a comment: my issue solved

6 years agoReport bug + merge request: image resize is not deterministic.
intrigeri [Fri, 1 Sep 2017 19:38:30 +0000 (15:38 -0400)] 
Report bug + merge request: image resize is not deterministic.

6 years agoimg: resize images in a deterministic manner.
intrigeri [Fri, 1 Sep 2017 19:26:26 +0000 (19:26 +0000)] 
img: resize images in a deterministic manner.

6 years agot/img.t: test determinism of PNG resizing.
intrigeri [Fri, 1 Sep 2017 19:16:27 +0000 (19:16 +0000)] 
t/img.t: test determinism of PNG resizing.

6 years agoAdded a comment: Reposted question on unix.sx
anna19 [Mon, 28 Aug 2017 15:49:19 +0000 (11:49 -0400)] 
Added a comment: Reposted question on unix.sx

6 years agoemailauth, passwordauth: Avoid leaving cgisess_* files in the system temp directory.
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.

6 years agoremoved
Keeh [Mon, 21 Aug 2017 20:02:23 +0000 (16:02 -0400)] 
removed

6 years ago(no commit message)
Keeh [Mon, 21 Aug 2017 14:28:51 +0000 (10:28 -0400)] 

6 years ago(no commit message)
Keeh [Mon, 21 Aug 2017 14:20:33 +0000 (10:20 -0400)] 

6 years agoClarify how to use sorting
tbm@179cf05cd1bd36f352bd555cee25923d4216668f [Sat, 19 Aug 2017 13:23:20 +0000 (09:23 -0400)] 
Clarify how to use sorting

6 years ago(no commit message)
dgsb [Wed, 9 Aug 2017 06:07:37 +0000 (02:07 -0400)] 

6 years ago(no commit message)
dgsb [Tue, 8 Aug 2017 20:37:01 +0000 (16:37 -0400)] 

6 years ago(no commit message)
vpelcak@b216e425210695d731d2673167c7dd45e5e9b1c9 [Mon, 7 Aug 2017 06:49:07 +0000 (02:49 -0400)] 

6 years agoAdded a comment
smcv [Sun, 23 Jul 2017 18:02:30 +0000 (14:02 -0400)] 
Added a comment

6 years agoAdded a comment
smcv [Sun, 23 Jul 2017 17:52:11 +0000 (13:52 -0400)] 
Added a comment

6 years agoAdded a comment
smcv [Sun, 23 Jul 2017 17:47:55 +0000 (13:47 -0400)] 
Added a comment

6 years agoAdded a comment
smcv [Sun, 23 Jul 2017 17:46:37 +0000 (13:46 -0400)] 
Added a comment

6 years agocore: Don't decode the result of strftime if already tagged as UTF-8
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)

6 years agoAdded a comment: I have the same issue
azzamsa [Fri, 21 Jul 2017 08:07:39 +0000 (04:07 -0400)] 
Added a comment: I have the same issue

6 years agoQ. How to truncate blog posts?
ankit [Tue, 18 Jul 2017 13:07:48 +0000 (09:07 -0400)] 
Q. How to truncate blog posts?

6 years agohtmlscrubber: Add support for the video tag's loop and muted attributes.
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.

6 years agoanswer question, with reference.
DavidCary [Wed, 5 Jul 2017 17:51:19 +0000 (13:51 -0400)] 
answer question, with reference.

6 years agoAdded a comment
openmedi [Sun, 25 Jun 2017 16:12:20 +0000 (12:12 -0400)] 
Added a comment

6 years agoremoved
smcv [Fri, 23 Jun 2017 14:28:02 +0000 (10:28 -0400)] 
removed

6 years ago(no commit message)
test [Thu, 22 Jun 2017 18:01:30 +0000 (14:01 -0400)] 

6 years agorequest more information
Simon McVittie [Thu, 22 Jun 2017 14:37:19 +0000 (15:37 +0100)] 
request more information

6 years agot/img.t: Give better diagnostics if we can't load an image
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

6 years agoadd bug report originally emailed to me by Peter Simons
Joey Hess [Thu, 22 Jun 2017 13:55:27 +0000 (09:55 -0400)] 
add bug report originally emailed to me by Peter Simons

6 years agoAnnounce 3.20170622
Simon McVittie [Thu, 22 Jun 2017 09:53:23 +0000 (10:53 +0100)] 
Announce 3.20170622

6 years agodebian/changelog: Add missing credit for toc fix
Simon McVittie [Thu, 22 Jun 2017 09:53:17 +0000 (10:53 +0100)] 
debian/changelog: Add missing credit for toc fix

6 years ago3.20170622
Simon McVittie [Thu, 22 Jun 2017 08:25:25 +0000 (09:25 +0100)] 
3.20170622

6 years agodebian: Declare compliance with Debian Policy 4.0.0
Simon McVittie [Thu, 22 Jun 2017 08:24:48 +0000 (09:24 +0100)] 
debian: Declare compliance with Debian Policy 4.0.0