ikiwiki
8 years ago3.20150614
Simon McVittie [Sun, 14 Jun 2015 17:15:35 +0000 (18:15 +0100)] 
3.20150614

8 years agoimg test: set old timestamp on source file that will change
Simon McVittie [Sun, 14 Jun 2015 17:13:17 +0000 (18:13 +0100)] 
img test: set old timestamp on source file that will change

This is so that the test will pass even if it takes less than 1 second.

8 years agoimg: stop ImageMagick trying to be clever if filenames contain a colon
Simon McVittie [Sat, 13 Jun 2015 19:00:08 +0000 (20:00 +0100)] 
img: stop ImageMagick trying to be clever if filenames contain a colon

$im->Read() takes a filename-like argument with several sets of special
syntax. Most of the possible metacharacters are escaped by the
default `wiki_file_chars` (and in any case not particularly disruptive),
but the colon ":" is not.

It seems the way to force ImageMagick to treat colons within the
filename as literal is to prepend a colon, so do that.

8 years agoinline: change default sort order from age to "age title" for determinism
Simon McVittie [Thu, 11 Jun 2015 07:33:04 +0000 (08:33 +0100)] 
inline: change default sort order from age to "age title" for determinism

8 years agonew questions (sharing settings easily)
https://launchpad.net/~beaufils [Fri, 12 Jun 2015 13:39:49 +0000 (09:39 -0400)] 
new questions (sharing settings easily)

8 years agonew todo: hebrew l10n
fr33domlover [Fri, 12 Jun 2015 11:46:34 +0000 (14:46 +0300)] 
new todo: hebrew l10n

8 years agoannounce 3.20150610
Simon McVittie [Thu, 11 Jun 2015 07:29:17 +0000 (08:29 +0100)] 
announce 3.20150610

8 years ago3.20150610
Simon McVittie [Wed, 10 Jun 2015 20:59:11 +0000 (21:59 +0100)] 
3.20150610

8 years agoTemplates render bugfix appear to be working.
kjs [Wed, 10 Jun 2015 10:39:29 +0000 (06:39 -0400)] 
Templates render bugfix appear to be working.

8 years agopolygen: if deterministic build is requested, use a well-known random seed
Simon McVittie [Tue, 9 Jun 2015 10:40:14 +0000 (11:40 +0100)] 
polygen: if deterministic build is requested, use a well-known random seed

8 years agohaiku: if deterministic build is requested, return a hard-coded haiku
Simon McVittie [Tue, 9 Jun 2015 10:28:04 +0000 (11:28 +0100)] 
haiku: if deterministic build is requested, return a hard-coded haiku

8 years agoAdd deterministic option and use it for the docwiki
Simon McVittie [Tue, 9 Jun 2015 10:38:55 +0000 (11:38 +0100)] 
Add deterministic option and use it for the docwiki

It doesn't do anything yet.

8 years agoSort backlinks deterministically, by falling back to sorting by href if the link...
Simon McVittie [Tue, 9 Jun 2015 10:18:50 +0000 (11:18 +0100)] 
Sort backlinks deterministically, by falling back to sorting by href if the link text is identical

8 years agoExclude the sandbox from the docwiki
Simon McVittie [Tue, 9 Jun 2015 10:00:21 +0000 (11:00 +0100)] 
Exclude the sandbox from the docwiki

It isn't documentation.

8 years agoForce a deterministic sort order for more pages
Simon McVittie [Tue, 9 Jun 2015 09:59:11 +0000 (10:59 +0100)] 
Force a deterministic sort order for more pages

8 years agoClose the openid vs. password poll
Simon McVittie [Tue, 9 Jun 2015 09:50:21 +0000 (10:50 +0100)] 
Close the openid vs. password poll

The result has pretty clearly been: we're keeping both.

8 years agoAdd [[!meta date]] to news items and tips
Simon McVittie [Tue, 9 Jun 2015 09:50:00 +0000 (10:50 +0100)] 
Add [[!meta date]] to news items and tips

The git checkout and build process can leave the checkout
date in the tarball release, leading to unstable sorting.
I tried to use `git restore-mtime`, but that doesn't work for
ikiwiki, because dgit interferes with it.

8 years agobrokenlinks: sort the pages that link to the missing page, for better reproducibility
Simon McVittie [Tue, 9 Jun 2015 08:47:40 +0000 (09:47 +0100)] 
brokenlinks: sort the pages that link to the missing page, for better reproducibility

8 years agodebian/copyright: turn comments on provenance into Comment
Simon McVittie [Tue, 9 Jun 2015 08:05:10 +0000 (09:05 +0100)] 
debian/copyright: turn comments on provenance into Comment

8 years agodebian/copyright: consolidate permissive licenses
Simon McVittie [Tue, 9 Jun 2015 21:28:28 +0000 (22:28 +0100)] 
debian/copyright: consolidate permissive licenses

8 years agodebian: build the docwiki with LC_ALL=C.UTF-8 and TZ=UTC for a more reproducible...
Simon McVittie [Tue, 9 Jun 2015 21:25:26 +0000 (22:25 +0100)] 
debian: build the docwiki with LC_ALL=C.UTF-8 and TZ=UTC for a more reproducible build

8 years agoPopulate pagectime from mtime or inode change time, whichever is older
Simon McVittie [Tue, 9 Jun 2015 21:22:54 +0000 (22:22 +0100)] 
Populate pagectime from mtime or inode change time, whichever is older

When building ikiwiki from a tarball, the mtime (conceptually, the
last modification date of the file) is preserved by tar, but the inode
change time (creation/metadata-change date of *this copy* of the file)
is not. This seems to lead to unstable sort ordering and
unreproducible builds.

The page can't possibly have been modified before it was created, so
we can assume that the modification date is an upper bound for the
creation date.

8 years agochangelog
Simon McVittie [Tue, 9 Jun 2015 21:22:10 +0000 (22:22 +0100)] 
changelog

8 years agodisable another gitorious repository in ./gitremotes
Simon McVittie [Tue, 9 Jun 2015 07:04:42 +0000 (08:04 +0100)] 
disable another gitorious repository in ./gitremotes

8 years agoReplace email authentication icon with one that is more instantly recognizable
Simon McVittie [Mon, 8 Jun 2015 23:44:31 +0000 (00:44 +0100)] 
Replace email authentication icon with one that is more instantly recognizable

8 years agofollow up: optimization partially restored
Simon McVittie [Mon, 8 Jun 2015 23:21:24 +0000 (00:21 +0100)] 
follow up: optimization partially restored

8 years agoIn rebuilds, assume that every page has been scanned by the time the scan phase ends
Simon McVittie [Mon, 8 Jun 2015 23:14:57 +0000 (00:14 +0100)] 
In rebuilds, assume that every page has been scanned by the time the scan phase ends

This doesn't prevent memory from being used to track what we have
and haven't scanned, but it does make it temporary.

This only applies to rebuilds, as a way to avoid breaking the
templatebody plugin, unlike the earlier version of this optimization.

8 years agode-optimized to fix a bug
smcv [Mon, 8 Jun 2015 23:07:46 +0000 (19:07 -0400)] 
de-optimized to fix a bug

8 years agohopefully fixed in master
smcv [Mon, 8 Jun 2015 22:58:28 +0000 (18:58 -0400)] 
hopefully fixed in master

8 years agorespond to various things
smcv [Mon, 8 Jun 2015 22:54:02 +0000 (18:54 -0400)] 
respond to various things

8 years agoRevert "Assume that every page has been scanned by the time the scan phase ends"
Simon McVittie [Mon, 8 Jun 2015 22:20:22 +0000 (23:20 +0100)] 
Revert "Assume that every page has been scanned by the time the scan phase ends"

This reverts commit c04a26f3e70d654ccec5542daf8425e44cb5bac8, which
turns out to break the templatebody directive: readtemplate() relies
on scan() populating %templates, but if scan() is a no-op after
leaving the scan phase, we can't rely on that.

The assumption made by skipping scan() after the end of the render phase
is that everything that comes from a scan is already in the index.
However, we don't really want to put template bodies in the index:
that would force us to load and save them on every refresh, and
redundantly persist them to disk.

Test-case:

% make clean
% ./Makefile.PL
% make
% grep -E '<div class="notebox">|Use this template to' html/sandbox.html
% touch doc/sandbox/New_blog_entry.mdwn          # sandbox inlines this
% make
% grep -E '<div class="notebox">|Use this template to' html/sandbox.html

Good result: html/sandbox.html contains <div class="notebox"> both times

Bad result: html/sandbox.html contains "Use this template to..." the
second time

8 years ago(no commit message)
kjs [Sun, 7 Jun 2015 21:55:32 +0000 (17:55 -0400)] 

8 years agoMake the attachment plugin work with CGI.pm 4.x (Closes: #786586; workaround for...
Simon McVittie [Sun, 7 Jun 2015 13:49:31 +0000 (14:49 +0100)] 
Make the attachment plugin work with CGI.pm 4.x (Closes: #786586; workaround for #786587 in libcgi-pm-perl)

8 years agoRevert "removed"
Simon McVittie [Sun, 7 Jun 2015 13:50:39 +0000 (14:50 +0100)] 
Revert "removed"

We like our pages and we would prefer to keep them.

This reverts commit 508bda205911058377f36fd4924b1e3f33914c71.

8 years agoTemplates not found when pushing from remote computer
kjs [Sat, 6 Jun 2015 22:20:11 +0000 (18:20 -0400)] 
Templates not found when pushing from remote computer

8 years ago(no commit message)
guilhem [Sat, 6 Jun 2015 16:51:08 +0000 (12:51 -0400)] 

8 years agoremoved
Chrisrogeri [Fri, 5 Jun 2015 18:03:02 +0000 (14:03 -0400)] 
removed

8 years agoAdded a comment: Cheap VPS
alexjj@97b75209148c043997fe05b4341a629090820035 [Fri, 5 Jun 2015 17:51:54 +0000 (13:51 -0400)] 
Added a comment: Cheap VPS

8 years agomutiple setup not possible
https://launchpad.net/~beaufils [Mon, 1 Jun 2015 12:34:45 +0000 (08:34 -0400)] 
mutiple setup not possible

8 years agoQuestion about multiple setup file use
https://launchpad.net/~beaufils [Mon, 1 Jun 2015 10:05:51 +0000 (06:05 -0400)] 
Question about multiple setup file use

8 years agoadded opengraph plugin
https://social.hi.ato.br/desci [Mon, 1 Jun 2015 06:54:36 +0000 (02:54 -0400)] 
added opengraph plugin

8 years agoremoved old sites and added new
https://social.hi.ato.br/desci [Mon, 1 Jun 2015 06:50:24 +0000 (02:50 -0400)] 
removed old sites and added new

8 years agoadded limitation
https://social.hi.ato.br/desci [Mon, 1 Jun 2015 06:37:23 +0000 (02:37 -0400)] 
added limitation

8 years agofixed disclaimer
https://social.hi.ato.br/desci [Mon, 1 Jun 2015 06:35:20 +0000 (02:35 -0400)] 
fixed disclaimer

8 years ago(no commit message)
https://social.hi.ato.br/desci [Mon, 1 Jun 2015 06:28:35 +0000 (02:28 -0400)] 

8 years ago(no commit message)
https://social.hi.ato.br/desci [Mon, 1 Jun 2015 06:26:14 +0000 (02:26 -0400)] 

8 years agoAdd bug about default behaviour of meta plugin for style sheets
sajolida [Thu, 28 May 2015 18:30:13 +0000 (18:30 +0000)] 
Add bug about default behaviour of meta plugin for style sheets

8 years ago(no commit message)
https://social.hi.ato.br/desci [Thu, 28 May 2015 06:36:56 +0000 (02:36 -0400)] 

8 years ago(no commit message)
https://social.hi.ato.br/desci [Thu, 28 May 2015 06:36:31 +0000 (02:36 -0400)] 

8 years ago(no commit message)
https://social.hi.ato.br/desci [Thu, 28 May 2015 06:35:35 +0000 (02:35 -0400)] 

8 years agorename icon instead of changing the Javascript
Simon McVittie [Wed, 27 May 2015 08:03:34 +0000 (09:03 +0100)] 
rename icon instead of changing the Javascript

That can take effect on Branchable without rebuilding ikiwiki.deb, and
the shorter name is perhaps nicer anyway.

8 years agocorrect name of emailauth icon
Simon McVittie [Wed, 27 May 2015 07:58:21 +0000 (08:58 +0100)] 
correct name of emailauth icon

8 years agoDo not directly enable emailauth by default, only indirectly via openid
Simon McVittie [Wed, 27 May 2015 07:52:01 +0000 (08:52 +0100)] 
Do not directly enable emailauth by default, only indirectly via openid

This avoids nasty surprises on upgrade if a site is using httpauth,
or passwordauth with an account_creation_password, and relying on
only a select group of users being able to edit the site. We can revisit
this for ikiwiki 4.

8 years agostop ./gitremotes from processing some broken links
Simon McVittie [Wed, 27 May 2015 07:16:08 +0000 (08:16 +0100)] 
stop ./gitremotes from processing some broken links

8 years ago(no commit message)
usgv@7608a70b09743e47fbf6b7bcd937121e03e4e244 [Tue, 26 May 2015 14:07:14 +0000 (10:07 -0400)] 

8 years agoopenid spam happens, as it turns out
https://id.koumbit.net/anarcat [Mon, 25 May 2015 17:26:03 +0000 (13:26 -0400)] 
openid spam happens, as it turns out

8 years agoidentified (partly) last spammer
Antoine Beaupré [Mon, 25 May 2015 17:19:29 +0000 (13:19 -0400)] 
identified (partly) last spammer

8 years agoRevert "WU trf, train tickets, ship shop, cvv, complete fullz, dumps"
Antoine Beaupré [Mon, 25 May 2015 17:17:56 +0000 (13:17 -0400)] 
Revert "WU trf, train tickets, ship shop, cvv, complete fullz, dumps"

This reverts commit 1d05cf33fb5f4fc9e1a3d6e76b4973282f3a724c.

8 years agoWU trf, train tickets, ship shop, cvv, complete fullz, dumps
https://me.yahoo.com/a/NyYLSvhuu9XQ3TQ79dx8Peg5GY1VfiNezVI-#df77b [Mon, 25 May 2015 13:06:26 +0000 (09:06 -0400)] 
WU trf, train tickets, ship shop, cvv, complete fullz, dumps

8 years agotypo
spalax [Thu, 21 May 2015 16:29:21 +0000 (12:29 -0400)] 
typo

8 years agoQuestion about python path for external plugins.
spalax [Thu, 21 May 2015 16:28:33 +0000 (12:28 -0400)] 
Question about python path for external plugins.

8 years agohttp://i.imgur.com/0yo0VjC.png?1
Jake1 [Tue, 19 May 2015 22:27:41 +0000 (18:27 -0400)] 
http://i.imgur.com/0yo0VjC.png?1

8 years agosohrten url in subject
Joey Hess [Tue, 19 May 2015 21:44:20 +0000 (17:44 -0400)] 
sohrten url in subject

8 years agonicer layout of subject
Joey Hess [Tue, 19 May 2015 21:41:14 +0000 (17:41 -0400)] 
nicer layout of subject

8 years agoadd url to subject of email
Joey Hess [Tue, 19 May 2015 21:38:15 +0000 (17:38 -0400)] 
add url to subject of email

The wikiname can be pretty un-helpful, the user will probably regognise the
url since they were just at it.

8 years agoallow emailuser to be called when there is no %config set
Joey Hess [Tue, 19 May 2015 21:06:25 +0000 (17:06 -0400)] 
allow emailuser to be called when there is no %config set

ikiwiki-hosting needs to do this

8 years agochangelog
Joey Hess [Tue, 19 May 2015 19:35:25 +0000 (15:35 -0400)] 
changelog

8 years agomake cgiurl output deterministic
Daniel Kahn Gillmor [Tue, 19 May 2015 18:09:38 +0000 (14:09 -0400)] 
make cgiurl output deterministic

IkiWiki::cgiurl() currently produces non-deterministic output, because
the params hash can be sorted different ways.

Sorting keys to params before crafting the string should make the
output deterministic.

8 years agoIdea: embedded podcast A/V player.
Amitai Schlair [Sun, 17 May 2015 22:44:30 +0000 (18:44 -0400)] 
Idea: embedded podcast A/V player.

8 years agocloak user PII when making commits etc, and let cloaked PII be used in banned_users
Joey Hess [Thu, 14 May 2015 15:37:47 +0000 (11:37 -0400)] 
cloak user PII when making commits etc, and let cloaked PII be used in banned_users

This was needed due to emailauth, but I've also wrapped all IP address
exposure in cloak(), although the function doesn't yet cloak IP addresses.

(One IP address I didn't cloak is the one that appears on the password
reset email template. That is expected to be the user's own IP address,
so ok to show it to them.)

Thanks to smcv for the pointer to
http://xmlns.com/foaf/spec/#term_mbox_sha1sum

8 years agocomments
Joey Hess [Thu, 14 May 2015 15:02:57 +0000 (11:02 -0400)] 
comments

8 years agopasswordauth: Don't allow registering accounts that look like openids.
Joey Hess [Thu, 14 May 2015 14:57:56 +0000 (10:57 -0400)] 
passwordauth: Don't allow registering accounts that look like openids.

Also prohibit @ in account names, in case the file regexp was relaxed to
allow it.

8 years agoMerge branch 'master' of ssh://git.ikiwiki.info
Joey Hess [Thu, 14 May 2015 14:46:59 +0000 (10:46 -0400)] 
Merge branch 'master' of ssh://git.ikiwiki.info

8 years agocrufty po updates
Joey Hess [Thu, 14 May 2015 14:44:09 +0000 (10:44 -0400)] 
crufty po updates

8 years agoupdate re passwordauth @
Joey Hess [Thu, 14 May 2015 14:41:07 +0000 (10:41 -0400)] 
update re passwordauth @

8 years agosanitize nickname derived from email address
Joey Hess [Thu, 14 May 2015 14:40:52 +0000 (10:40 -0400)] 
sanitize nickname derived from email address

8 years agoacls and expectations
https://id.koumbit.net/anarcat [Thu, 14 May 2015 12:22:29 +0000 (08:22 -0400)] 
acls and expectations

8 years agoCritical of automatic merging of stylesheets
kjs [Thu, 14 May 2015 12:14:37 +0000 (08:14 -0400)] 
Critical of automatic merging of stylesheets

8 years ago(no commit message)
kjs [Thu, 14 May 2015 11:06:43 +0000 (07:06 -0400)] 

8 years agoplease do cloak email addresses, the principle of least astonishment applies
smcv [Thu, 14 May 2015 10:05:58 +0000 (06:05 -0400)] 
please do cloak email addresses, the principle of least astonishment applies

8 years agoproposal for making emailauth not force username == email address
smcv [Thu, 14 May 2015 09:49:45 +0000 (05:49 -0400)] 
proposal for making emailauth not force username == email address

8 years agonote about email visibility in git commits
Joey Hess [Thu, 14 May 2015 03:44:23 +0000 (23:44 -0400)] 
note about email visibility in git commits

8 years agofix page extension
Joey Hess [Thu, 14 May 2015 03:43:16 +0000 (23:43 -0400)] 
fix page extension

8 years agoclose
Joey Hess [Thu, 14 May 2015 03:42:34 +0000 (23:42 -0400)] 
close

8 years agoMerge branch 'emailauth'
Joey Hess [Thu, 14 May 2015 03:38:56 +0000 (23:38 -0400)] 
Merge branch 'emailauth'

8 years agochangelog
Joey Hess [Thu, 14 May 2015 03:38:46 +0000 (23:38 -0400)] 
changelog

8 years agodon't let emailauth user's email address be changed on preferences page
Joey Hess [Thu, 14 May 2015 03:32:29 +0000 (23:32 -0400)] 
don't let emailauth user's email address be changed on preferences page

There's no real problem if they do change it, except they may get confused
and expect to be able to log in with the changed email and get the same
user account.

8 years agowhen an emailauth user posts a comment, use the username only, not the full email...
Joey Hess [Thu, 14 May 2015 03:24:27 +0000 (23:24 -0400)] 
when an emailauth user posts a comment, use the username only, not the full email address

This makes the email not be displayed on the wiki, so spammers won't find
it there.

Note that the full email address is still put into the comment template.
The email is also used as the username of the git commit message
(when posting comments or page edits). May want to revisit this later.

8 years agoavoid showing password prefs for emailauth user
Joey Hess [Thu, 14 May 2015 03:23:53 +0000 (23:23 -0400)] 
avoid showing password prefs for emailauth user

8 years agoallow adminuser to be an email address
Joey Hess [Thu, 14 May 2015 03:07:29 +0000 (23:07 -0400)] 
allow adminuser to be an email address

8 years agotweak wording
Joey Hess [Thu, 14 May 2015 03:07:07 +0000 (23:07 -0400)] 
tweak wording

8 years agofix up session cookie
Joey Hess [Thu, 14 May 2015 03:06:52 +0000 (23:06 -0400)] 
fix up session cookie

8 years agoemailauth link sent and verified; user login works
Joey Hess [Thu, 14 May 2015 02:27:03 +0000 (22:27 -0400)] 
emailauth link sent and verified; user login works

Still some work to do since the user name is an email address and should
not be leaked.

8 years agoadd emailauth.tmpl
Joey Hess [Thu, 14 May 2015 01:15:08 +0000 (21:15 -0400)] 
add emailauth.tmpl

8 years agomove stub auth hook to loginselector
Joey Hess [Wed, 13 May 2015 22:52:47 +0000 (18:52 -0400)] 
move stub auth hook to loginselector

8 years agoemail auth plugin now works through email address entry
Joey Hess [Wed, 13 May 2015 22:50:40 +0000 (18:50 -0400)] 
email auth plugin now works through email address entry

8 years agoConverted openid-selector into a more generic loginselector helper plugin.
Joey Hess [Wed, 13 May 2015 22:37:24 +0000 (18:37 -0400)] 
Converted openid-selector into a more generic loginselector helper plugin.

8 years agorename openid selector files to login-selector
Joey Hess [Wed, 13 May 2015 21:56:36 +0000 (17:56 -0400)] 
rename openid selector files to login-selector

8 years agofurther generalization of openid selector
Joey Hess [Wed, 13 May 2015 21:51:29 +0000 (17:51 -0400)] 
further generalization of openid selector

Now template variables can be set to control which login methods are shown

8 years agogeneralized the openid selector to a login selector
Joey Hess [Wed, 13 May 2015 20:44:43 +0000 (16:44 -0400)] 
generalized the openid selector to a login selector

This includes some CSS changes to names of elements.

Also, added Email login button (doesn't work yet of course),
and brought back the small openid login buttons. Demoted yahoo and verison
to small buttons. This makes the big buttons be the main login types, and
the small buttons be provider-specific helpers.