Commit Graph

19705 Commits (bfc5f0645106047e2fea23d2cafce889d63088a8)

Author SHA1 Message Date
smcv 971dfdd686 de-optimized to fix a bug 2015-06-08 19:07:46 -04:00
smcv 9d20373c25 hopefully fixed in master 2015-06-08 18:58:28 -04:00
smcv d89014d956 respond to various things 2015-06-08 18:54:02 -04:00
Simon McVittie 5fd863b5b0 Revert "Assume that every page has been scanned by the time the scan phase ends"
This reverts commit c04a26f3e7, 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
2015-06-08 23:47:14 +01:00
kjs 983d6b0976 2015-06-07 17:55:32 -04:00
Simon McVittie 7a52c87a8c Make the attachment plugin work with CGI.pm 4.x (Closes: #786586; workaround for #786587 in libcgi-pm-perl) 2015-06-07 14:51:13 +01:00
Simon McVittie 761d9f1605 Revert "removed"
We like our pages and we would prefer to keep them.

This reverts commit 508bda2059.
2015-06-07 14:51:13 +01:00
kjs 5bfbab2f63 Templates not found when pushing from remote computer 2015-06-06 18:20:11 -04:00
guilhem f99850b5d3 2015-06-06 12:51:08 -04:00
Chrisrogeri 508bda2059 removed 2015-06-05 14:03:02 -04:00
alexjj@97b75209148c043997fe05b4341a629090820035 b3061006c4 Added a comment: Cheap VPS 2015-06-05 13:51:54 -04:00
https://launchpad.net/~beaufils e1e3116b6a mutiple setup not possible 2015-06-01 08:34:45 -04:00
https://launchpad.net/~beaufils 91765ab416 Question about multiple setup file use 2015-06-01 06:05:51 -04:00
https://social.hi.ato.br/desci e30648d483 added opengraph plugin 2015-06-01 02:54:36 -04:00
https://social.hi.ato.br/desci d1e01a6a0c removed old sites and added new 2015-06-01 02:50:24 -04:00
https://social.hi.ato.br/desci 5c177cb125 added limitation 2015-06-01 02:37:23 -04:00
https://social.hi.ato.br/desci 456f2fec53 fixed disclaimer 2015-06-01 02:35:20 -04:00
https://social.hi.ato.br/desci 274b508bc4 2015-06-01 02:28:35 -04:00
https://social.hi.ato.br/desci dba79ef28b 2015-06-01 02:26:14 -04:00
sajolida dc6357d9c6 Add bug about default behaviour of meta plugin for style sheets 2015-05-29 14:22:36 +00:00
https://social.hi.ato.br/desci a0ec06a90b 2015-05-28 02:36:56 -04:00
https://social.hi.ato.br/desci aedbad18ff 2015-05-28 02:36:31 -04:00
https://social.hi.ato.br/desci 6625dbfadf 2015-05-28 02:35:35 -04:00
Simon McVittie 2f6f51cd66 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.
2015-05-27 09:03:34 +01:00
Simon McVittie f99a4b3545 correct name of emailauth icon 2015-05-27 08:58:21 +01:00
Simon McVittie 2afb0dd663 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.
2015-05-27 08:52:01 +01:00
Simon McVittie 9ab3d2a6be stop ./gitremotes from processing some broken links 2015-05-27 08:16:31 +01:00
usgv@7608a70b09743e47fbf6b7bcd937121e03e4e244 47d4aa4812 2015-05-26 10:07:14 -04:00
https://id.koumbit.net/anarcat 599e16aef2 openid spam happens, as it turns out 2015-05-25 13:26:03 -04:00
Antoine Beaupré 6dfba9b72e identified (partly) last spammer 2015-05-25 13:19:29 -04:00
Antoine Beaupré 66c21af8ba Revert "WU trf, train tickets, ship shop, cvv, complete fullz, dumps"
This reverts commit 1d05cf33fb.
2015-05-25 13:17:56 -04:00
https://me.yahoo.com/a/NyYLSvhuu9XQ3TQ79dx8Peg5GY1VfiNezVI-#df77b 1d05cf33fb WU trf, train tickets, ship shop, cvv, complete fullz, dumps 2015-05-25 09:06:26 -04:00
spalax 4268a63be5 typo 2015-05-21 12:29:21 -04:00
spalax 9ee5f1626e Question about python path for external plugins. 2015-05-21 12:28:33 -04:00
Jake1 b385373b69 http://i.imgur.com/0yo0VjC.png?1 2015-05-19 18:27:41 -04:00
Joey Hess 3676ab329d sohrten url in subject 2015-05-19 17:44:20 -04:00
Joey Hess ba02e7f33d nicer layout of subject 2015-05-19 17:41:14 -04:00
Joey Hess 73e32f7fa6 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.
2015-05-19 17:38:15 -04:00
Joey Hess 84efd3e00f allow emailuser to be called when there is no %config set
ikiwiki-hosting needs to do this
2015-05-19 17:06:25 -04:00
Joey Hess fecfa53988 changelog 2015-05-19 15:35:25 -04:00
Daniel Kahn Gillmor a5309078ec 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.
2015-05-19 15:34:46 -04:00
Amitai Schlair da0baca91b Idea: embedded podcast A/V player. 2015-05-17 18:44:30 -04:00
Joey Hess ab1bba9dab 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
2015-05-14 11:58:21 -04:00
Joey Hess 2a64eea0f5 comments 2015-05-14 11:02:57 -04:00
Joey Hess 85a529db3d 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.
2015-05-14 10:57:56 -04:00
Joey Hess 804144402b Merge branch 'master' of ssh://git.ikiwiki.info 2015-05-14 10:46:59 -04:00
Joey Hess dd762222fa crufty po updates 2015-05-14 10:44:09 -04:00
Joey Hess f1f3d4c6e7 update re passwordauth @ 2015-05-14 10:41:07 -04:00
Joey Hess 4fc4e78cd8 sanitize nickname derived from email address 2015-05-14 10:40:52 -04:00
https://id.koumbit.net/anarcat 7ef44d84d6 acls and expectations 2015-05-14 08:22:29 -04:00