Commit Graph

10013 Commits (40b03990e0d637860872e4cd47e4ee435b23d613)

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
Joey Hess 44e286de2e response 2010-06-23 12:51:50 -04:00
ikiwikiweb 9372a40189 2010-06-22 20:46:57 +00:00
ikiwikiweb c0a99d24b1 testing 2010-06-22 20:45:40 +00:00
privat cfc1c4e933 ping 2010-06-22 15:10:59 +00:00
privat 22478de2cb 2010-06-22 13:30:50 +00:00
jeanm 03947e706a Added a comment 2010-06-19 13:35:37 +00:00
PaulePanter 397f1cbc76 What license for themes for distribution in ikiwiki? 2010-06-19 10:47:30 +00:00
PaulePanter 14e1cccf12 Match start page `/index` does not work. 2010-06-19 10:35:32 +00:00
PaulePanter 0287172195 Test PageSpec with root page `/index.mdwn`. 2010-06-19 10:27:28 +00:00
Bernd Zeimetz dd3274ce73 Enhance the link plugin to handle external links.
The following ways to create a link are supported now:
[[url]]
[[text|url]]
url can be one of the following:
- an internal wikilink: will be handled as before
- any other kind of URL, including mailto: proper links will be created:
  <a href="url">url</a>
  <a href="url">text</a>
- an email address:
  <a href="mailto:url">url</a>
  <a href="mailto:url">text</a>
2010-06-19 03:14:16 +02:00
bhobbit 99a4096397 forgotten signature 2010-06-19 00:20:50 +00:00
bhobbit 8b2b66655d reply to Joey 2010-06-19 00:20:01 +00:00
http://www.openid.albertlash.com/openid/ 4833f486b6 don't need to escape the inline tag if its in pre tag 2010-06-18 20:48:10 +00:00
http://www.openid.albertlash.com/openid/ b3e8115c95 2010-06-18 20:47:31 +00:00
Joey Hess 57e56828f5 store state to avoid needing to rebuild when changing theme 2010-06-18 16:40:47 -04:00
Joey Hess 99c9d8c34f also a problem for theme plugin 2010-06-18 14:39:08 -04:00
Joey Hess 2035881f55 response 2010-06-18 14:31:24 -04:00
Joey Hess 0aaaa9b3f9 response 2010-06-18 14:24:39 -04:00
Joey Hess 17675c18a8 avoid showing subpages of contrib plugins 2010-06-18 12:59:03 -04:00
Joey Hess fca54dc52a fix filename 2010-06-18 12:57:20 -04:00
PaulePanter c52d8d263e `themes.pm` instead of `themes.mdwn` 2010-06-18 09:08:28 +00:00
Joey Hess f70bc8184a Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2010-06-17 16:52:33 -04:00
demo 2e3f3ae89c yeay ! \\o \o/ o// 2010-06-17 15:00:59 +00:00
jhagg 79ffede4a7 2010-06-17 08:30:38 +00:00
jeanm 653a8179ca 2010-06-17 06:22:19 +00:00
Joey Hess e35d728a32 link to theme plugin 2010-06-16 19:23:08 -04:00
Joey Hess 062ed44f47 add theme plugin 2010-06-16 15:43:42 -04:00
Joey Hess 69c22fa1ea attachment: Support Windows paths when taking basename of client-supplied file name. 2010-06-16 13:23:32 -04:00
jhagg 96c7e31c34 2010-06-16 13:40:29 +00:00
Joey Hess 17be286cc3 note 2010-06-15 15:15:39 -04:00
Joey Hess ad858475e7 match only pages in calendar 2010-06-15 14:17:23 -04:00
Joey Hess 3adde7a38c clear floats before comments begin 2010-06-15 13:44:42 -04:00
privat b39630c16c Thanks 2010-06-15 13:33:16 +00:00
bhobbit b1a7972ea0 typo 2010-06-15 03:43:48 +00:00
bhobbit 696d54545a 2010-06-15 03:41:34 +00:00
Joey Hess 4e18d4415b fix links 2010-06-14 16:36:54 -04:00
Joey Hess ba00ff81c0 add links to mentioned directives
Using the !iki shortcut, since the directive pages may not be included in
the basewiki.
2010-06-14 16:35:12 -04:00
Joey Hess c0bc2d0839 editpage, comments: Fix broken links in sidebar (due to forcebaseurl). (Thanks, privat) 2010-06-14 14:34:52 -04:00
Joey Hess f9dc2bf859 good idea 2010-06-14 14:14:43 -04:00
Joey Hess 98ad266119 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2010-06-14 14:11:35 -04:00
Joey Hess 88b080f8a4 simplify, avoid confusing suggestions
Don't even talk about ACLs, and more strongly discourage directly
committing to ikiwiki's srcdir.
2010-06-14 14:10:59 -04:00
Joey Hess 5071a8eb73 limit blog inlines to pages
This way images attached to blog posts don't show up as enclosures in the
blog by default.
2010-06-14 12:35:21 -04:00
privat 8746480c25 Reopen the bug since it is not fixed 2010-06-14 13:54:43 +00:00
Joey Hess 89a970bd7d response 2010-06-13 09:11:59 -04:00
Joey Hess a0dbdcad77 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2010-06-13 08:49:32 -04:00
Joey Hess ec3cadb065 remove obsolete ol class=form for editpage and editcomment
The styling of labels on the form largely obsoleted the special styled ol,
so just a few br's sufficed. Using an ol like that was not too semantically
right (probably?) and could cause problems with customized local.css.
2010-06-13 08:47:21 -04:00
http://abhidg.wordpress.com/ c8e5552f84 2010-06-13 12:37:16 +00:00
Joey Hess 85546d570e wording 2010-06-13 01:21:32 -04:00
Joey Hess bbdc69b699 speling 2010-06-13 01:14:24 -04:00
Joey Hess ec06929316 typo 2010-06-13 01:12:04 -04:00