Amitai Schlair [Mon, 15 Jun 2015 01:35:51 +0000 (21:35 -0400)]
Squelch regex deprecation warnings from Perl 5.22.
Specifically:
"Unescaped left brace in regex is deprecated, passed through in regex"
Simon McVittie [Sun, 14 Jun 2015 17:45:31 +0000 (18:45 +0100)]
Simon McVittie [Sun, 14 Jun 2015 17:15:35 +0000 (18:15 +0100)]
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.
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.
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
https://launchpad.net/~beaufils [Fri, 12 Jun 2015 13:39:49 +0000 (09:39 -0400)]
new questions (sharing settings easily)
fr33domlover [Fri, 12 Jun 2015 11:46:34 +0000 (14:46 +0300)]
new todo: hebrew l10n
Simon McVittie [Thu, 11 Jun 2015 07:29:17 +0000 (08:29 +0100)]
Simon McVittie [Wed, 10 Jun 2015 20:59:11 +0000 (21:59 +0100)]
kjs [Wed, 10 Jun 2015 10:39:29 +0000 (06:39 -0400)]
Templates render bugfix appear to be working.
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
Simon McVittie [Tue, 9 Jun 2015 10:28:04 +0000 (11:28 +0100)]
haiku: if deterministic build is requested, return a hard-coded haiku
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.
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
Simon McVittie [Tue, 9 Jun 2015 10:00:21 +0000 (11:00 +0100)]
Exclude the sandbox from the docwiki
It isn't documentation.
Simon McVittie [Tue, 9 Jun 2015 09:59:11 +0000 (10:59 +0100)]
Force a deterministic sort order for more pages
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.
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.
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
Simon McVittie [Tue, 9 Jun 2015 08:05:10 +0000 (09:05 +0100)]
debian/copyright: turn comments on provenance into Comment
Simon McVittie [Tue, 9 Jun 2015 21:28:28 +0000 (22:28 +0100)]
debian/copyright: consolidate permissive licenses
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
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.
Simon McVittie [Tue, 9 Jun 2015 21:22:10 +0000 (22:22 +0100)]
changelog
Simon McVittie [Tue, 9 Jun 2015 07:04:42 +0000 (08:04 +0100)]
disable another gitorious repository in ./gitremotes
Simon McVittie [Mon, 8 Jun 2015 23:44:31 +0000 (00:44 +0100)]
Replace email authentication icon with one that is more instantly recognizable
Simon McVittie [Mon, 8 Jun 2015 23:21:24 +0000 (00:21 +0100)]
follow up: optimization partially restored
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.
smcv [Mon, 8 Jun 2015 23:07:46 +0000 (19:07 -0400)]
de-optimized to fix a bug
smcv [Mon, 8 Jun 2015 22:58:28 +0000 (18:58 -0400)]
hopefully fixed in master
smcv [Mon, 8 Jun 2015 22:54:02 +0000 (18:54 -0400)]
respond to various things
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
kjs [Sun, 7 Jun 2015 21:55:32 +0000 (17:55 -0400)]
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)
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.
kjs [Sat, 6 Jun 2015 22:20:11 +0000 (18:20 -0400)]
Templates not found when pushing from remote computer
guilhem [Sat, 6 Jun 2015 16:51:08 +0000 (12:51 -0400)]
Chrisrogeri [Fri, 5 Jun 2015 18:03:02 +0000 (14:03 -0400)]
removed
alexjj@97b75209148c043997fe05b4341a629090820035 [Fri, 5 Jun 2015 17:51:54 +0000 (13:51 -0400)]
Added a comment: Cheap VPS
https://launchpad.net/~beaufils [Mon, 1 Jun 2015 12:34:45 +0000 (08:34 -0400)]
mutiple setup not possible
https://launchpad.net/~beaufils [Mon, 1 Jun 2015 10:05:51 +0000 (06:05 -0400)]
Question about multiple setup file use
https://social.hi.ato.br/desci [Mon, 1 Jun 2015 06:54:36 +0000 (02:54 -0400)]
added opengraph plugin
https://social.hi.ato.br/desci [Mon, 1 Jun 2015 06:50:24 +0000 (02:50 -0400)]
removed old sites and added new
https://social.hi.ato.br/desci [Mon, 1 Jun 2015 06:37:23 +0000 (02:37 -0400)]
added limitation
https://social.hi.ato.br/desci [Mon, 1 Jun 2015 06:35:20 +0000 (02:35 -0400)]
fixed disclaimer
https://social.hi.ato.br/desci [Mon, 1 Jun 2015 06:28:35 +0000 (02:28 -0400)]
https://social.hi.ato.br/desci [Mon, 1 Jun 2015 06:26:14 +0000 (02:26 -0400)]
sajolida [Thu, 28 May 2015 18:30:13 +0000 (18:30 +0000)]
Add bug about default behaviour of meta plugin for style sheets
https://social.hi.ato.br/desci [Thu, 28 May 2015 06:36:56 +0000 (02:36 -0400)]
https://social.hi.ato.br/desci [Thu, 28 May 2015 06:36:31 +0000 (02:36 -0400)]
https://social.hi.ato.br/desci [Thu, 28 May 2015 06:35:35 +0000 (02:35 -0400)]
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.
Simon McVittie [Wed, 27 May 2015 07:58:21 +0000 (08:58 +0100)]
correct name of emailauth icon
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.
Simon McVittie [Wed, 27 May 2015 07:16:08 +0000 (08:16 +0100)]
stop ./gitremotes from processing some broken links
usgv@7608a70b09743e47fbf6b7bcd937121e03e4e244 [Tue, 26 May 2015 14:07:14 +0000 (10:07 -0400)]
https://id.koumbit.net/anarcat [Mon, 25 May 2015 17:26:03 +0000 (13:26 -0400)]
openid spam happens, as it turns out
Antoine Beaupré [Mon, 25 May 2015 17:19:29 +0000 (13:19 -0400)]
identified (partly) last spammer
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.
WU trf, train tickets, ship shop, cvv, complete fullz, dumps
spalax [Thu, 21 May 2015 16:29:21 +0000 (12:29 -0400)]
typo
spalax [Thu, 21 May 2015 16:28:33 +0000 (12:28 -0400)]
Question about python path for external plugins.
Jake1 [Tue, 19 May 2015 22:27:41 +0000 (18:27 -0400)]
http://i.imgur.com/0yo0VjC.png?1
Joey Hess [Tue, 19 May 2015 21:44:20 +0000 (17:44 -0400)]
sohrten url in subject
Joey Hess [Tue, 19 May 2015 21:41:14 +0000 (17:41 -0400)]
nicer layout of subject
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.
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
Joey Hess [Tue, 19 May 2015 19:35:25 +0000 (15:35 -0400)]
changelog
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.
Amitai Schlair [Sun, 17 May 2015 22:44:30 +0000 (18:44 -0400)]
Idea: embedded podcast A/V player.
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
Joey Hess [Thu, 14 May 2015 15:02:57 +0000 (11:02 -0400)]
comments
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.
Joey Hess [Thu, 14 May 2015 14:46:59 +0000 (10:46 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info
Joey Hess [Thu, 14 May 2015 14:44:09 +0000 (10:44 -0400)]
crufty po updates
Joey Hess [Thu, 14 May 2015 14:41:07 +0000 (10:41 -0400)]
update re passwordauth @
Joey Hess [Thu, 14 May 2015 14:40:52 +0000 (10:40 -0400)]
sanitize nickname derived from email address
https://id.koumbit.net/anarcat [Thu, 14 May 2015 12:22:29 +0000 (08:22 -0400)]
acls and expectations
kjs [Thu, 14 May 2015 12:14:37 +0000 (08:14 -0400)]
Critical of automatic merging of stylesheets
kjs [Thu, 14 May 2015 11:06:43 +0000 (07:06 -0400)]
smcv [Thu, 14 May 2015 10:05:58 +0000 (06:05 -0400)]
please do cloak email addresses, the principle of least astonishment applies
smcv [Thu, 14 May 2015 09:49:45 +0000 (05:49 -0400)]
proposal for making emailauth not force username == email address
Joey Hess [Thu, 14 May 2015 03:44:23 +0000 (23:44 -0400)]
note about email visibility in git commits
Joey Hess [Thu, 14 May 2015 03:43:16 +0000 (23:43 -0400)]
fix page extension
Joey Hess [Thu, 14 May 2015 03:42:34 +0000 (23:42 -0400)]
close
Joey Hess [Thu, 14 May 2015 03:38:56 +0000 (23:38 -0400)]
Merge branch 'emailauth'
Joey Hess [Thu, 14 May 2015 03:38:46 +0000 (23:38 -0400)]
changelog
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.
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.
Joey Hess [Thu, 14 May 2015 03:23:53 +0000 (23:23 -0400)]
avoid showing password prefs for emailauth user
Joey Hess [Thu, 14 May 2015 03:07:29 +0000 (23:07 -0400)]
allow adminuser to be an email address
Joey Hess [Thu, 14 May 2015 03:07:07 +0000 (23:07 -0400)]
tweak wording
Joey Hess [Thu, 14 May 2015 03:06:52 +0000 (23:06 -0400)]
fix up session cookie
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.
Joey Hess [Thu, 14 May 2015 01:15:08 +0000 (21:15 -0400)]
add emailauth.tmpl
Joey Hess [Wed, 13 May 2015 22:52:47 +0000 (18:52 -0400)]
move stub auth hook to loginselector
Joey Hess [Wed, 13 May 2015 22:50:40 +0000 (18:50 -0400)]
email auth plugin now works through email address entry
Joey Hess [Wed, 13 May 2015 22:37:24 +0000 (18:37 -0400)]
Converted openid-selector into a more generic loginselector helper plugin.
Joey Hess [Wed, 13 May 2015 21:56:36 +0000 (17:56 -0400)]
rename openid selector files to login-selector