Commit Graph

9963 Commits (192ce7a238af9021b0fd6dd571f22409af81ebaf)

Author SHA1 Message Date
Joey Hess 192ce7a238 remove unnecessary and troublesome filter calls
This better defines what the filter hook is passed, to only be the raw,
complete text of a page. Not some snippet, or data read in from an
unrelated template.

Several plugins that filtered text that originates from an (already
filtered) page were modified not to do that. Note that this was not
done very consistently before; other plugins that receive text from a
page called preprocess on it w/o first calling filter.

The template plugin gets text from elsewhere, and was also changed not to
filter it. That leads to one known regression -- the embed plugin cannot
be used to embed stuff in templates now. But that plugin is deprecated
anyway.

Later we may want to increase the coverage of what is filtered. Perhaps
a good goal would be to allow writing a filter plugin that filters
out unwanted words, from any input. We're not there yet; not only
does the template plugin load unfiltered text from its templates now,
but so can the table plugin, and other plugins that use templates (like
inline!). I think we can cross that bridge when we come to it. If I wanted
such a censoring plugin, I'd probably make it use a sanitize hook instead,
for the better coverage.

For now I am concentrating on the needs of the two non-deprecated users
of filter. This should fix bugs/po_vs_templates, and it probably fixes
an obscure bug around txt's use of filter for robots.txt.
2010-07-04 15:06:48 -04:00
Joey Hess 1b14a849ff example 2010-07-04 14:27:57 -04:00
Joey Hess 8a8914151c review of needstranslation() pagespec
Minor wording fix; changelog; etc.
2010-07-04 14:22:19 -04:00
intrigeri be49679fe9 po: added a needstranslation() pagespec
(cherry picked from commit b225fdc44d)
2010-07-04 14:20:12 -04:00
http://joey.kitenet.net/ 92ee5386ac Added a comment 2010-07-04 18:16:27 +00:00
http://nicolas-schodet.myopenid.com/ 14fb28ab54 add own site using ikiwiki 2010-07-02 20:18:26 +00:00
Joey Hess 824ad84e2b add note about genwrapper code running before wrapper sanitizes environment
(That is needed for the receive test code.)
2010-07-01 15:52:03 -04:00
Joey Hess 29fd100e9f Use comment template on comments page of example blog. 2010-06-30 20:53:58 -04:00
http://kerravonsen.dreamwidth.org/ 91fde37f13 response to Microdata question 2010-07-01 00:30:58 +00:00
intrigeri e63ead1c13 please review new po pagespec: needstranlation() 2010-06-30 12:15:44 +02:00
intrigeri 1ffe0d9739 cleaner bugfix in now available 2010-06-30 12:15:44 +02:00
jeanm e694579d27 Added a comment: do parameter missing 2010-06-30 07:30:08 +00:00
https://www.google.com/accounts/o8/id?id=AItOawk3fIimitIcXPaVA5AHUW67Z9GVc-2wQJU 6e68a48b63 2010-06-27 17:22:41 +00:00
https://www.google.com/accounts/o8/id?id=AItOawk3fIimitIcXPaVA5AHUW67Z9GVc-2wQJU 72ee9c720f 2010-06-27 17:21:45 +00:00
https://mukund.startssl.com/ 52ad4a2876 Add my website 2010-06-26 22:13:33 +00:00
intrigeri 2c1c6ea488 Feature request, patch provided. 2010-06-27 00:12:57 +02:00
https://www.google.com/accounts/o8/id?id=AItOawnbe6oB_ecFtNYII1JN3zSggwUPUdOb8jI a39c6b6eac Add Microdata suggestion 2010-06-26 22:12:24 +00:00
https://www.google.com/accounts/o8/id?id=AItOawlcaGfdn9Kye1Gc8aGb67PDVQW4mKbQD7E 430a230813 another reason to use NetBSD's commit_prep and log_accum for CVS 2010-06-26 20:14:50 +00:00
https://www.google.com/accounts/o8/id?id=AItOawlcaGfdn9Kye1Gc8aGb67PDVQW4mKbQD7E e6bba3b3b5 s/the the/the/ 2010-06-26 18:13:08 +00:00
intrigeri 7e3672945f another po4a patch has been sent. 2010-06-26 16:28:06 +02:00
intrigeri 9b171de6db yet another bug on good way to be fixed 2010-06-26 16:28:06 +02:00
intrigeri e84287ec98 need more info to reproduce 2010-06-26 16:28:06 +02:00
intrigeri 9b66a0cf0a done in my branch, please review. 2010-06-26 16:28:05 +02:00
https://www.google.com/accounts/o8/id?id=AItOawlcaGfdn9Kye1Gc8aGb67PDVQW4mKbQD7E c27ed8737d windauth plugin exists (iPhone edit) 2010-06-26 01:48:53 +00:00
intrigeri 8f266d4d43 another bugreport with patch 2010-06-25 19:33:04 +02:00
intrigeri 47d1b3eac5 new bug report, patch provided 2010-06-25 19:32:29 +02:00
http://kerravonsen.dreamwidth.org/ 71950b2ae5 sidebars defined by pagespec perhaps? 2010-06-25 02:40:25 +00:00
http://kerravonsen.dreamwidth.org/ 11899a031c commenting on the link-text-from-title idea 2010-06-25 01:58:02 +00:00
https://www.google.com/accounts/o8/id?id=AItOawm0mAKbBvoYTeRz4lDv83cTfXsAns5CmDQ cf5b767777 test from google openid 2010-06-24 00:45:59 +00:00
Joey Hess bd7221ae54 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2010-06-23 20:30:47 -04:00
Joey Hess 9a2c56b748 openid nickname support finished; closing 2010-06-23 20:21:54 -04:00
Joey Hess 9a32451986 finializing openid nickname support
Renamed usershort => nickname.

Note that this means existing user login sessions will not have the nickname
recorded, and so it won't be used for those.
2010-06-23 20:16:01 -04:00
Joey Hess a4f381ace8 git: Record the username from openid in the git author email. (This avoids display of ugly google openids.) 2010-06-23 19:44:41 -04:00
Joey Hess ecdfd1b864 rcs_commit and rcs_commit_staged api changes
Using named parameters for these is overdue. Passing the session in a
parameter instead of passing username and IP separately will later allow
storing other session info, like username or part of the email.

Note that these functions are not part of the exported API,
and the prototype change will catch (most) skew, so I am not changing
API versions. Any third-party plugins that call them will need updated
though.
2010-06-23 19:04:36 -04:00
Joey Hess b4a43406f6 API: rcs_commit and rcs_commit_staged are passed a new parameter
that may contain the username component of the email address of
the user making the commit.
2010-06-23 16:05:49 -04:00
Joey Hess c46bcb425a Add new optional field usershort to rcs_recentchanges.
Now the git plugin supports commits with author fields that look like:
Author: http://my.openid/ <me@web>

Then in recentchanges, the short username will be displayed, linking
to the openid.

Particularly useful for the horrible google openids, of course.
2010-06-23 15:54:52 -04:00
BerndZeimetz e32bce4643 It is possible to use google-sitemapgen to create google sitemaps for ikiwiki. 2010-06-23 18:44:52 +00:00
Joey Hess 609367933f add news item for ikiwiki 3.20100623 2010-06-23 14:23:51 -04:00
Joey Hess 07a08122d9 document external links 2010-06-23 13:35:31 -04:00
Joey Hess 383ad93f77 add changelog for externalink
remove debian.org linkspam ;)
2010-06-23 13:33:14 -04:00
Joey Hess 851712cb0e Merge remote branch 'remotes/bzed/extendedlink' 2010-06-23 13:30:14 -04:00
Joey Hess 6235167962 response 2010-06-23 13:29:46 -04:00
Joey Hess 9b845ea813 one slash is enough to escape 2010-06-23 13:17:33 -04:00
Joey Hess 16ff593ab7 Revert "don't need to escape the inline tag if its in pre tag"
This reverts commit 4833f486b6.

Being in a pre does not stop an inline directive from working.
2010-06-23 13:16:31 -04:00
Joey Hess 0025798751 clarify indexdb is cached info, rebuildable 2010-06-23 13:15:10 -04:00
Joey Hess bbbbf04f76 thoughts 2010-06-23 13:12:43 -04:00
Joey Hess 0d1f736c65 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2010-06-23 13:05:02 -04:00
Joey Hess 4048988576 response 2010-06-23 13:04:56 -04:00
http://joey.kitenet.net/ 7d55ee1961 Added a comment: do parameter missing 2010-06-23 17:03:12 +00:00
Joey Hess c208ac5b28 despam
"ikiwikiweb" is banned
2010-06-23 12:53:01 -04:00