]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/log
git.ikiwiki.info.git
9 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.

9 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

9 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

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

9 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

9 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.

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

9 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

9 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

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

9 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.

9 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

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

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

9 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

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

9 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)

9 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.

9 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

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

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

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

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

9 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

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

9 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

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

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

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

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

9 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

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

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

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

9 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.

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

9 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.

9 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

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

9 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

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

9 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.

9 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

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

9 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.

9 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

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

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

9 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.

9 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

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

9 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.

9 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.

9 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

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

9 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.

9 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

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

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

9 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

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

9 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

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

9 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

9 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

9 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

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

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

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

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

9 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.

9 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.

9 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

9 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

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

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

9 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.

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

9 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

9 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

9 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.

9 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

9 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

9 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.

9 years agocomments
Joey Hess [Wed, 13 May 2015 20:49:12 +0000 (16:49 -0400)]
comments

9 years agolink to indieauth and mention existing problems with this approach
https://id.koumbit.net/anarcat [Wed, 13 May 2015 19:49:18 +0000 (15:49 -0400)]
link to indieauth and mention existing problems with this approach

9 years agothoughts
Joey Hess [Wed, 13 May 2015 18:31:08 +0000 (14:31 -0400)]
thoughts

9 years agotyo
Joey Hess [Wed, 13 May 2015 18:23:10 +0000 (14:23 -0400)]
tyo

9 years agoupdate
Joey Hess [Wed, 13 May 2015 18:22:08 +0000 (14:22 -0400)]
update

9 years agoupdate
Joey Hess [Wed, 13 May 2015 18:19:38 +0000 (14:19 -0400)]
update

9 years agoproposal
Joey Hess [Wed, 13 May 2015 18:16:16 +0000 (14:16 -0400)]
proposal

9 years agoclose
Joey Hess [Wed, 13 May 2015 17:41:16 +0000 (13:41 -0400)]
close

9 years agoremove the small buttons for livejournal/flickr/wordpress/aol
Joey Hess [Wed, 13 May 2015 16:38:48 +0000 (12:38 -0400)]
remove the small buttons for livejournal/flickr/wordpress/aol

None of these are commonly used openid providers, and the openid button
can be used to log in with any such openid provider.

9 years agopromote the other/password item to a large button
Joey Hess [Wed, 13 May 2015 16:36:38 +0000 (12:36 -0400)]
promote the other/password item to a large button

9 years agoWhen openid and passwordauth are the only enabled auth plugins, make the openid selec...
Joey Hess [Wed, 13 May 2015 16:18:22 +0000 (12:18 -0400)]
When openid and passwordauth are the only enabled auth plugins, make the openid selector display "Password" instead of "Other", so users are more likely to click on it when they don't have an openid.

9 years agobranch link fix
kjs [Mon, 11 May 2015 11:55:41 +0000 (07:55 -0400)]
branch link fix

9 years agolocal.css also blocking
kjs [Mon, 11 May 2015 11:51:54 +0000 (07:51 -0400)]
local.css also blocking

9 years agocan't work this out
http://hendry.iki.fi/ [Mon, 11 May 2015 05:18:34 +0000 (01:18 -0400)]
can't work this out

9 years agoAdd "Aloodo Blog"
dmarti [Sun, 10 May 2015 18:35:28 +0000 (14:35 -0400)]
Add "Aloodo Blog"

9 years agoAdded a comment: You are right
http://hendry.iki.fi/ [Sun, 10 May 2015 02:22:28 +0000 (22:22 -0400)]
Added a comment: You are right