Commit Graph

1966 Commits (778e4f744542ac4fbd26c5f1af59a8c4ed7ef710)

Author SHA1 Message Date
http://smcv.pseudorandom.co.uk/ 5faf0c08ff recommend 2-argument urlto whenever possible 2010-12-26 14:22:54 +00:00
Joey Hess 06f4532f38 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2010-12-16 14:14:00 -04:00
Joey Hess 075d48c5f2 response 2010-12-16 14:13:25 -04:00
Giuseppe Bilotta d0fdc973d3 reply to KA about fieldsets and field types 2010-12-16 18:47:38 +01:00
Joey Hess 99d74b3d6a add themes page and remove actiontabs.css from css_market since it is a
theme
2010-12-11 14:48:52 -04:00
http://kerravonsen.dreamwidth.org/ 5d6c604bdc namespaces are othogonal to the issue of security 2010-12-08 03:12:35 +00:00
Giuseppe Bilotta 20df2ee6fe Some comments on fields namespacing 2010-12-06 14:07:02 +01:00
http://kerravonsen.dreamwidth.org/ 3f4ec334df updating the docs in keeping with latest version - multi-page reports 2010-12-06 02:02:30 +00:00
https://www.google.com/accounts/o8/id?id=AItOawlcaGfdn9Kye1Gc8aGb67PDVQW4mKbQD7E b297f76f14 ping for review 2010-12-05 17:26:45 +00:00
Joey Hess 7c2252137a more tweaks to urlto documentation 2010-11-29 15:09:38 -04:00
Joey Hess 53d466a07f second parameter of urlto is optional 2010-11-29 14:59:48 -04:00
Joey Hess f60f15704e tweak urlto description 2010-11-29 14:59:15 -04:00
Joey Hess 0ae1e4cc0e Merge remote branch 'smcv/ready/localurl' 2010-11-29 14:43:57 -04:00
Joey Hess 3c2d9e1038 2010-11-27 23:29:27 +00:00
Simon McVittie 4c224ae143 urlto(): if $from is undef, return a local path, not an absolute URL 2010-11-22 23:47:05 +00:00
Joey Hess d5056fb61e add example of skipping blog posts while scrubbing comments 2010-11-12 00:24:33 -04:00
http://smcv.pseudorandom.co.uk/ 9c42f57866 put the problematic patch in a toggleable to make discussion more visible 2010-11-08 12:17:07 +00:00
http://smcv.pseudorandom.co.uk/ 2c17255b66 cross-references 2010-11-08 12:14:26 +00:00
http://smcv.pseudorandom.co.uk/ 93e15cc84f 2010-11-08 12:02:36 +00:00
JoeRayhawk 408af2bb9e A wish for a noninvasive autoindex. 2010-11-07 04:37:14 +00:00
http://smcv.pseudorandom.co.uk/ e68f29eebb ugh, now with better syntax 2010-11-01 18:24:46 +00:00
http://smcv.pseudorandom.co.uk/ fa71b0e6aa added to git 2010-11-01 18:23:43 +00:00
http://kerravonsen.dreamwidth.org/ f2f41d680a new version of ymlfront finally documented 2010-10-28 00:21:47 +00:00
http://kerravonsen.dreamwidth.org/ 9ffa876710 tweaking docs 2010-10-28 00:19:43 +00:00
Thomas Schwinge a12dd235ea Fix some more links.
DynDNS (which was resolving *.schwinge.homeip.net to my server at home) stopped
supporting wildcard CNAMEs *.schwinge.homeip.net, so I now always have to use
the canonical name (or pay for getting this back, or go looking for another
service provider)...
2010-10-27 14:49:21 +02:00
tschwinge 6167671917 Fix links. DynDNS (which was resolving *.schwinge.homeip.net to my server at home) stopped supporting wildcard CNAMEs *.schwinge.homeip.net, so I now always have to use the canonical name (or pay for getting this back, or go looking for another service provider)... 2010-10-27 12:39:34 +00:00
Anonymous c2f01e320d Merge remote branch 'remotes/origin/master' 2010-10-26 17:57:58 +02:00
Anonymous 577e185b63 signal dead link to 'default content for *copyright* and *license*' plugin 2010-10-26 17:43:54 +02:00
https://www.google.com/accounts/o8/id?id=AItOawmZMunnF2szppZKh59QntrdlZDr6BPipiM 91a3b74711 2010-10-23 02:16:00 +00:00
https://www.google.com/accounts/o8/id?id=AItOawlcaGfdn9Kye1Gc8aGb67PDVQW4mKbQD7E a0b55ac3cd setting cookies before aggregating 2010-10-19 15:13:29 +00:00
Joey Hess 2d99fe0d34 note that recentchanges plugin handles reversions 2010-10-08 19:27:28 -04:00
Joey Hess 84111d96c4 make revert hooks optional
I removed the IkiWiki::rcs_ stubs for the revert hooks. Instead
recentchanges tests to see if the hooks are available and calls
them directly.
2010-10-08 17:54:12 -04:00
Joey Hess 238e8b95a5 convert rcs_revert to only stage the reversion 2010-10-06 15:08:12 -04:00
Joey Hess 237ea79d71 remove rcs_showpatch 2010-10-06 14:39:10 -04:00
Joey Hess 3f3aab3793 document new rcs reversion support functions 2010-10-04 16:22:50 -04:00
https://www.google.com/accounts/o8/id?id=AItOawnZyXrBJHCbhjyf69drmoWxbsEex_bQhEk b0483974f5 2010-09-29 10:15:04 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnZyXrBJHCbhjyf69drmoWxbsEex_bQhEk 64c3c0d0de 2010-09-29 10:12:52 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnZyXrBJHCbhjyf69drmoWxbsEex_bQhEk 219f057e58 better tags 2010-09-28 19:24:07 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnZyXrBJHCbhjyf69drmoWxbsEex_bQhEk 9a0d1862f4 initial page 2010-09-28 19:01:50 +00:00
Joey Hess e22b18aabc template_depends: throw nice error message when template cannot be found
plovs reported a crash when templates were not installed properly,
with a non-useful error about the template object not being defined.
I've audited all uses of template_depends(), and template(), and it makes
sense for them to throw an error if the template cannot be found. All code
with a user-supplied template catches errors already, to handle template
parse failures.

It did not make sense for template_file to throw errors, as some code uses
it to probe if a template file is available.
2010-09-27 15:58:01 -04:00
Joey Hess ea487472ed document settings needed to fix bug 2010-09-18 18:48:46 -04:00
Joey Hess 0b59b14007 remove obsolete docs about DefaultLanguage
I think this may have made sense when the master language was rendered to
index.html, but with it at index.en.html, DefaultLanguage is not needed.
2010-09-18 12:24:33 -04:00
Joey Hess 57d0ef239b update 2010-09-14 15:39:30 -04:00
Joey Hess c4ebdd6f46 Pass array of names of files that have been deleted to needsbuild hook as second parameter, to allow for plugins that needs access to this information earlier than the delete hook. 2010-09-10 17:17:08 -04:00
Joey Hess fbfda5ccfc po: Make the po_master_language use a langpair like "en|English", so it can be configured via the web. 2010-09-10 13:13:00 -04:00
Joey Hess 8a6f4a7e50 needsbuild hook interface changed; the hooks should now return the modified array of things that need built. (Backwards compatability code keeps plugins using the old interface working.) 2010-09-07 12:08:59 -04:00
Changaco edb256d2d8 added a patch to make it more like MediaWiki 2010-09-04 14:04:51 +00:00
http://kerravonsen.dreamwidth.org/ 2a1077f886 YAML is YAML 2010-09-01 10:09:44 +00:00
Giuseppe Bilotta 3e7605d146 more on ymlfront vs MMD 2010-08-31 19:39:03 +02:00
http://kerravonsen.dreamwidth.org/ 2eb04d8b41 keeping triple-dash as default, but making it configurable 2010-08-31 12:36:50 +00:00
http://oblomov.myopenid.com/ d085d1ac5d ymlfront vs MMD 2010-08-30 19:29:31 +00:00
Joey Hess 827710bb59 split out bug report and close 2010-08-30 15:00:31 -04:00
Joey Hess 801c59b535 response 2010-08-30 14:25:49 -04:00
https://www.google.com/accounts/o8/id?id=AItOawndltpDNFSfEZBR_TIcjeDQRkuuyT1e_3o 949a1edac7 2010-08-15 21:39:27 +00:00
Joey Hess 52e3f698bc respond, open wishlist todo item with design 2010-08-14 20:17:12 -04:00
https://www.google.com/accounts/o8/id?id=AItOawndltpDNFSfEZBR_TIcjeDQRkuuyT1e_3o 8591fa4863 2010-08-14 22:41:57 +00:00
http://weakish.myopenid.com/ 8a0b2d07d3 possible to use place holders? 2010-08-13 16:13:06 +00:00
Joey Hess 80102c042d flattr: New plugin.
Thanks to jaywalk for the initial implementation at a flattr plugin!

This one is less configurable, but simpler.
2010-08-12 16:53:55 -04:00
Joey Hess 292e820974 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2010-08-09 13:19:17 -04:00
Joey Hess 51d5e54697 filecheck: Fall back to using the file command if the freedesktop magic file cannot identify a file. 2010-08-09 13:18:59 -04:00
http://kerravonsen.dreamwidth.org/ d2b50c37b4 formatting 2010-08-06 08:19:39 +00:00
http://kerravonsen.dreamwidth.org/ 0497b63792 Should I remove the old ymlfront format now that it recognises directives? 2010-08-06 08:19:06 +00:00
http://kerravonsen.dreamwidth.org/ f78357348a ymlfront now provides a ymlfront directive 2010-08-06 08:13:48 +00:00
http://kerravonsen.dreamwidth.org/ 5bbbdbecbb update docs for new version 2010-08-06 08:12:11 +00:00
intrigeri 97a706f73c both are now fixed in my po branch. 2010-08-02 15:14:33 +02:00
intrigeri e083e4caa8 ack² 2010-08-02 03:23:30 +02:00
Joey Hess 2ab89b4462 response 2010-08-01 12:25:35 -04:00
Joey Hess b766ff0044 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2010-07-31 15:55:31 -04:00
Joey Hess fee00fdb7a Use Digest::SHA built into perl rather than external Digest::SHA1 to simplify dependencies. Closes: #591040 2010-07-31 15:54:25 -04:00
intrigeri 543bc7af8b eventually got rid of the double rebuild issue. please have a look. 2010-07-30 16:23:02 +02:00
intrigeri ad2722399e fixed broken link 2010-07-29 16:34:57 +02:00
intrigeri d3fc6d797b remove spurious map directive 2010-07-29 16:33:57 +02:00
intrigeri 6c4caf8211 Move po todo/bugs to dedicated pages. 2010-07-29 16:32:56 +02:00
intrigeri 927558ee44 found the root cause of the "bug" 2010-07-29 16:18:59 +02:00
intrigeri ccf80cfa8a todo++ (?) 2010-07-28 20:07:44 +02:00
intrigeri 0ceac714d5 researched a bit the next po bug 2010-07-28 19:48:40 +02:00
intrigeri d1733089d0 currently unreproducible 2010-07-28 19:23:24 +02:00
intrigeri 6d9026bf28 reply 2010-07-28 19:13:57 +02:00
intrigeri 1a3e6bf3e2 po todo update: this has been fixed already. 2010-07-28 19:08:47 +02:00
Joey Hess c401b6958a Add new disable hook, allowing plugins to perform cleanup after they have been disabled. 2010-07-26 16:33:42 -04:00
Joey Hess cab8a79568 response 2010-07-24 05:23:52 -04:00
intrigeri 11bd781a9d answering joey 2010-07-24 11:18:57 +02:00
Joey Hess d2f56f7dea merged; notes 2010-07-23 14:29:17 -04:00
Joey Hess e5f67d3c8b Merge commit '862fc7c1ab1f7d709561bcb02fc8ede57b90a51b' 2010-07-23 14:24:48 -04:00
intrigeri 081b43a8ae Implemented, please merge. 2010-07-23 19:30:31 +02:00
intrigeri 8ee3297b50 todo update 2010-07-23 19:30:31 +02:00
intrigeri 862fc7c1ab Support ordered po_slave_languages as discussed previously.
Backward compatibility is still supported.
2010-07-20 02:25:17 +02:00
http://jeremiahfoster.com/ e50df5ea76 2010-07-19 09:16:32 +00:00
http://jeremiahfoster.com/ 011fb0b2e5 2010-07-19 09:16:09 +00:00
http://jeremiahfoster.com/ c4d22bdb75 Added example 2010-07-19 09:15:30 +00:00
http://jeremiahfoster.com/ 1e01ec26fe Added second question. 2010-07-19 09:12:39 +00:00
http://weakish.myopenid.com/ e71850f92d remove lighttpd doc: lighttpd send 200 to dynamic error pages. Thus this plugin doesn't work with it w/o modification. 2010-07-19 04:28:55 +00:00
Joey Hess 35c9956df0 Revert "po_slave_languages can now be a hash, if order matters."
This reverts commit 4cf185e781.

That commit broke t/po.t (probably the test case only is testing too
close the the old implementation and needs correcting).

Also, we have not decided how to want to represent it yet, so I'm not
ready for this change.

Conflicts:

	IkiWiki/Plugin/po.pm
	doc/plugins/po.mdwn
2010-07-18 20:04:39 -04:00
Joey Hess 839fae0b2b response on po_slave_languages structure 2010-07-18 19:42:06 -04:00
Joey Hess b45688e34e Merge remote branch 'intrigeri/po' 2010-07-18 19:35:16 -04:00
Joey Hess 4bcd6cc4ff noticed a bug in the po plugin
(I should probably put this in bugs/, but I am not sure if intregriti
watches there..)
2010-07-18 19:33:10 -04:00
http://weakish.myopenid.com/ 9ea48dd49b this plugin is different from the [[html]] plugin and it is safe in most cases. 2010-07-18 14:07:06 +00:00
Joey Hess dac8da27f3 more detail on manual moderation 2010-07-14 14:32:16 -04:00
http://hendry.iki.fi/ 231886e851 2010-07-14 14:25:10 +00:00
http://hendry.iki.fi/ 37859c390f finding unmoderated comments 2010-07-14 14:23:18 +00:00
Joey Hess fd2b2f386f Merge branch 'filter-full' 2010-07-12 15:35:40 -04:00
intrigeri 51ac511369 reply, proposed a few possible solutions. 2010-07-11 12:52:22 +02:00
intrigeri d6f9d77431 Merge remote branch 'upstream/filter-full' into prv/po 2010-07-11 11:04:59 +02:00
intrigeri 4a1cb092ba Revert po vs. template kludges.
This reverts commits dcd57dd5c9,
d4136aea8a and
d877b9644b.
2010-07-11 11:03:41 +02:00
intrigeri c99d26030e Merge remote branch 'upstream/master' into prv/po
Conflicts:
	IkiWiki/Plugin/po.pm
	doc/plugins/po.mdwn
2010-07-11 10:46:18 +02:00
http://weakish.myopenid.com/ 293e12bc0e link to repolist plugin 2010-07-10 09:20:36 +00:00
http://weakish.myopenid.com/ 99f4056b98 minor markup syntax 2010-07-09 11:44:59 +00:00
http://jeremiahfoster.com/ 4e9d62a2d7 2010-07-08 16:09:32 +00:00
Joey Hess 2dd0c177a6 aggregate: Write timestamp next aggregation can happen to .ikiwiki/aggregatetime, to allow for more sophisticated cron jobs. 2010-07-06 13:57:17 -04:00
Joey Hess 472d3fba7d comment 2010-07-04 16:08:54 -04:00
intrigeri cd03bd0b80 po: added support for html pagetype
... after having audited the po4a Xml and Xhtml modules for security issues.

Signed-off-by: intrigeri <intrigeri@boum.org>
(cherry picked from commit a128c256a5)
2010-07-04 15:27:02 -04:00
intrigeri 8fe277c2ab typo fix.
(cherry picked from commit 924f559e50)
2010-07-04 15:25:27 -04:00
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 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
http://kerravonsen.dreamwidth.org/ 91fde37f13 response to Microdata question 2010-07-01 00:30:58 +00:00
intrigeri 1786b106a9 Merge remote branch 'upstream/master' into prv/po
Conflicts:
	doc/plugins/po.mdwn
2010-06-29 15:53:51 +02:00
intrigeri dcd57dd5c9 Add a fullpage arg to filter.
Set it to true every time IkiWiki::filter is called on a full page's content.

This is a much nicer solution, for the po plugin, than previous whitelisting
using caller().
2010-06-29 15:17:56 +02:00
https://www.google.com/accounts/o8/id?id=AItOawnbe6oB_ecFtNYII1JN3zSggwUPUdOb8jI a39c6b6eac Add Microdata suggestion 2010-06-26 22:12:24 +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
intrigeri 924f559e50 typo fix. 2010-06-26 00:59:20 +02:00
intrigeri 4cf185e781 po_slave_languages can now be a hash, if order matters. 2010-06-26 00:56:06 +02:00
intrigeri a128c256a5 po: added support for html pagetype
... after having audited the po4a Xml and Xhtml modules for security issues.

Signed-off-by: intrigeri <intrigeri@boum.org>
2010-06-25 23:18:57 +02: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 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
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 44e286de2e response 2010-06-23 12:51:50 -04:00
PaulePanter 397f1cbc76 What license for themes for distribution in ikiwiki? 2010-06-19 10:47:30 +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
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 062ed44f47 add theme plugin 2010-06-16 15:43:42 -04:00
Joey Hess dccd764871 edittemplate: Look for template pages under templates/ like everything else (still looks in old location for backwards compatability). 2010-06-12 22:43:34 -04:00
Joey Hess d5181a1977 realm is an url pattern 2010-06-11 14:14:20 -04:00
Joey Hess 475b4199e1 openid: Add openid_realm and openid_cgiurl configuration options, useful in a few edge case setups. 2010-06-11 13:53:56 -04:00
Joey Hess 3fbcd2c8d2 move contrib plugin directives out of ikiwiki/directive
Problem is that ikiwiki/directive is turned into an underlay and added to
all wikis. And the test suite checks it for broken links and turns some up.
So it's not appropriate for contrib plugin's directives to be documented
in there.
2010-06-09 14:58:39 -04:00
http://kerravonsen.dreamwidth.org/ c1f68a8cff reply 2010-05-19 11:30:35 +00:00
http://kerravonsen.dreamwidth.org/ 2f7a909bbc new version to go with new version of field 2010-05-19 11:29:45 +00:00
http://kerravonsen.dreamwidth.org/ cc84a2dacd new version; splitting docs between plugin and directive pages 2010-05-19 11:25:43 +00:00
http://kerravonsen.dreamwidth.org/ 9b45264c1c new version 2010-05-19 11:20:44 +00:00
http://kerravonsen.dreamwidth.org/ f463cde12e new version 2010-05-19 11:18:35 +00:00
Joey Hess 92fa3f63d4 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2010-05-17 13:13:43 -04:00
http://jmtd.livejournal.com/ 4518fbe1c1 link CC0 (I'd never heard of it) 2010-05-17 17:13:17 +00:00
Joey Hess 4de7cdf2aa fix location 2010-05-17 13:13:11 -04:00
http://jmtd.livejournal.com/ b7777931e2 fix link 2010-05-17 17:12:22 +00:00
jwalck ddb4f24104 2010-05-17 04:56:44 +00:00
jwalck 744919eba0 2010-05-17 04:52:27 +00:00
Joey Hess 7cae295124 on javascript, plugins, and htmlscrubber 2010-05-17 00:42:52 -04:00
jwalck f2304367f6 2010-05-17 04:04:50 +00:00
jwalck 2451d39278 2010-05-17 04:03:03 +00:00
BerndZeimetz 1805bfbb5d ... choose the right name.... 2010-05-12 09:21:40 +00:00
BerndZeimetz 72d7b8dc54 Add short page about contrib / tracking plugin 2010-05-12 09:20:31 +00:00
http://smcv.pseudorandom.co.uk/ 3f7ef01ca2 respond with better design 2010-05-09 18:27:58 +00:00
http://smcv.pseudorandom.co.uk/ 0594ea04a8 clarify 2010-05-09 18:13:05 +00:00
http://smcv.pseudorandom.co.uk/ 27cb77cd19 updated branch, using add_autopage to spawn viewer pages 2010-05-09 18:11:51 +00:00
Joey Hess 0f778849c6 calendar: Allow negative month to be specified. -1 is last month, etc. (And also negaitve years.) 2010-05-08 12:45:21 -04:00
Joey Hess 937b24e0cf Merge branch 'master' into commentreorg 2010-05-07 22:30:42 -04:00
Joey Hess 8f6cfbfade Removed the openidsignup option. 2010-05-07 21:33:27 -04:00
Joey Hess 3adb47ec4f Merge branch 'master' into commentreorg
Conflicts:
	debian/changelog
2010-05-07 12:42:38 -04:00
Joey Hess ea4967f184 inline: Call indexhtml when inlining internal pages, so their text can be indexed for searching. 2010-05-06 23:20:48 -04:00
Joey Hess 121e2ffc2f Renamed postscan hook to indexhtml, to reflect its changed position.
Probably only the search plugin uses it, so this seemed safe.
2010-05-06 23:14:36 -04:00
Joey Hess d9d910f676 moved comments pending moderation
* comments: Comments pending moderation are now stored in the srcdir
  alongside accepted comments, but with a `._comment_pending` extension.
* This allows easier byhand moderation, as the "_pending" need
  only be stripped off and the comment be committed to version control.
* The `comment_pending()` pagespec can be used to match such unmoderated
  comments, which makes it easy to add a feed of them, or a counter
  indicating how many there are.
* Belatedly added a `comment()` pagespec.
2010-05-06 20:05:53 -04:00
Joey Hess 7f64ff2ae0 url to myopenid affiliate program has changed 2010-05-06 17:32:19 -04:00
Joey Hess 9699f16b51 websetup: Only display Setup button on admins' preferences page.
Renamed it from "Wiki Setup" to just "Setup" for good measure.
2010-05-03 13:59:43 -04:00
Joey Hess 2f22ee85e5 Add ACTIONS variable to page.tmpl, which allows plugins to add arbitrary links to the action bar without modifying the template further.
(COMMENTSLINK and DISCUSSIONLINK could be folded into this, but are kept
separate for now to avoid breaking modified templates.)
2010-05-03 12:46:52 -04:00
Joey Hess 970373548f Add parameter to displaytime to specify that it is a pubdate, and in html5 mode, use time tag. 2010-05-02 13:44:13 -04:00
Joey Hess c2656f08f3 template() - return params in list context
I forgot CGI::Formbuilder's horrible interface that needs template
parameters instead of a constructed object.
2010-04-24 16:15:47 -04:00
Joey Hess 7e79da7633 template docu reorg
Remove wikitemplates page; fold its contents into templates page.
Update all backlinks. Document new ability to put templates inside srcdir.
2010-04-23 16:14:33 -04:00
Joey Hess 78fd3b35a2 allow template pages to not be under templates/ 2010-04-23 15:02:07 -04:00
Joey Hess 54898d16d4 allow a bare page name to be specified as a template 2010-04-23 14:44:37 -04:00
Joey Hess abd2339312 look for templates in srcdir and underlays, first
This entailed changing template_params; it no longer takes the template
filename as its first parameter.

Add template_depends to api and replace calls to template() with
template_depends() in appropriate places, where a dependency should be
added on the template.

Other plugins don't use template(), so will need further work.

Also, includes are disabled for security. Enabling includes only when using
templates from the templatedir would be nice, but would add a lot of
complexity to the implementation.
2010-04-22 15:55:58 -04:00
Joey Hess 23d62f42bd remove add_templates option
Templates are moving into the srcdir, and will also be searched for in
configured underlays, so this is redundant.
2010-04-22 14:35:00 -04:00
Joey Hess 584391aedd clarify 2010-04-22 14:07:45 -04:00
Joey Hess 17a89d3d19 update 2010-04-21 21:57:12 -04:00
Joey Hess d048e9c64a turn on tag_autocreate by default if tagbase is set 2010-04-21 20:39:20 -04:00
Joey Hess 204c0a63f3 document tag_autocreate 2010-04-21 15:22:52 -04:00
Joey Hess 9c8761ba49 add_autofile filename should be relative to srcdir 2010-04-21 14:37:03 -04:00
Joey Hess 59ceeb5621 improve docs 2010-04-17 17:15:07 -04:00
Joey Hess ca02c57ee4 document add_autofile 2010-04-17 14:07:12 -04:00
Joey Hess dee2940c0b automatically run --gettime, and optimise it for git
* Automatically run --gettime the first time ikiwiki is run on
  a given srcdir.
* Optimise --gettime for git, so it's appropriatly screamingly
  fast. (This could be done for other backends too.)
* However, --gettime for git no longer follows renames.
* Use above to fix up timestamps on docwiki, as well as ensure that
  timestamps on basewiki files shipped in the deb are sane.
2010-04-16 18:30:56 -04:00
Joey Hess b14f84c4ac --gettime revamp
* Rename --getctime to --gettime. (The old name still works for
  backwards compatability.)
* --gettime now also looks up last modification time.
* Add rcs_getmtime to plugin API; currently only implemented
  for git.
2010-04-16 17:02:29 -04:00
Joey Hess 142e025ae4 calendar: Improved display of arrows. 2010-04-15 20:12:03 -04:00
Joey Hess 1f7175e891 sidebar: Add global_sidebars setting. 2010-04-15 17:31:50 -04:00
Joey Hess 358fa953e1 sidebar: Now a sidebar directive can be used to override the sidebar shown on a page. 2010-04-15 16:51:27 -04:00
http://kerravonsen.dreamwidth.org/ ce9cf967d0 formatting 2010-04-07 23:33:04 +00:00
http://kerravonsen.dreamwidth.org/ 15a65ffae6 further response to smcv on pagetemplates 2010-04-07 23:29:25 +00:00
http://smcv.pseudorandom.co.uk/ e46a3b7534 "safe" and "unsafe" too simplistic, I suspect 2010-04-07 17:39:04 +00:00
http://kerravonsen.dreamwidth.org/ 2e9fae5c11 response about XSS, meta and pagetemplates 2010-04-07 15:12:39 +00:00
Joey Hess d58444a3e9 note about sort and dependency types
There's a gotcha where pagespec_match_list is used with a dependency type
that is not a full content dependency, and so ikiwiki does not know that
a content change to a page that sorted too low to match needs to trigger
a rebuild, since its sort order may have changed.

Inline is mostly ok re this, as it does use content dependencies. Except
for in the case of raw mode. But then, page metadata is documented to not
be loaded, so it doesn't make sense to use sortspecs that depend on
metadata. I hope. :)
2010-04-07 00:09:22 -04:00
Joey Hess be2af2e5c1 add cpan link 2010-04-06 23:19:00 -04:00
Joey Hess bab8fec524 Merge remote branch 'smcv/ready/sort-package'
Conflicts:
	debian/NEWS
2010-04-06 23:15:33 -04:00
http://smcv.pseudorandom.co.uk/ e12cd5f293 update fieldsort plugin again; remove obsolete bug + fix note (thanks!) 2010-04-07 03:03:40 +00:00
Joey Hess f2a87addc6 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2010-04-06 22:59:57 -04:00
Joey Hess 3b1dd03c7e improve wording to not encourage explicitly passing undef 2010-04-06 22:57:02 -04:00
http://smcv.pseudorandom.co.uk/ 1158fe8f44 further discussion, point out potential XSS 2010-04-07 02:55:50 +00:00
Joey Hess f6fd7639da Merge remote branch 'smcv/ready/link-types' 2010-04-06 22:50:19 -04:00
http://kerravonsen.dreamwidth.org/ 121405e8aa response to Joey and smcv 2010-04-06 23:09:59 +00:00
Joey Hess 6fd59908ba comment 2010-04-06 14:06:29 -04:00
Joey Hess 089a7faff8 first question 2010-04-06 13:25:26 -04:00
http://smcv.pseudorandom.co.uk/ 2efec70c7e oops, branch returned now 2010-04-06 10:47:28 +00:00
http://kerravonsen.dreamwidth.org/ 06f58b1b88 response 2010-04-06 04:00:47 +00:00
http://kerravonsen.dreamwidth.org/ 5f8df58288 2010-04-06 03:59:09 +00:00
Simon McVittie cb8b2f80b2 Use $a and $b for SortSpec cmp callbacks 2010-04-05 22:50:51 +01:00
Joey Hess a01028ae81 txt: Add a special case for robots.txt. 2010-04-05 17:02:10 -04:00
http://smcv.pseudorandom.co.uk/ f6dde92957 advertise some bugfixes 2010-04-04 14:05:42 +00:00
http://smcv.pseudorandom.co.uk/ 834936a408 bug report + patch: unnecessary YAML::Any dependency 2010-04-04 14:03:51 +00:00
http://smcv.pseudorandom.co.uk/ 20040772ce update fieldsort plugin to be compatible with the latest version of my branch 2010-04-04 00:27:20 +00:00
Simon McVittie ef63441440 Remove tagged_is_strict option, and just behave as though it was enabled
Jon was worried about the backwards-compatibility break involved in making
tagged() not match non-tag links, but Joey seems less concerned about it.
2010-04-04 00:43:58 +01:00
Simon McVittie c1a42e76bc implement typed links; add tagged_is_strict config option 2010-04-04 00:43:48 +01:00
Simon McVittie 04a59b3c65 Move sort hooks to the IkiWiki::SortSpec namespace
Also rename cmpspec_translate (internal function) to sortspec_translate
for consistency.
2010-04-03 14:28:21 +01:00
Simon McVittie 75fd080465 Remove support for check_cmp_foo (pre-sort checks) 2010-04-03 14:28:21 +01:00
Simon McVittie a875ee8be7 Split out sortnaturally into a plugin 2010-04-03 14:28:21 +01:00
http://smcv.pseudorandom.co.uk/ 0dad28b353 reduced difference 2010-04-03 00:45:16 +00:00
http://kerravonsen.dreamwidth.org/ a682df9a1f considering tags and fields 2010-04-01 07:22:37 +00:00
http://smcv.pseudorandom.co.uk/ 63bc057690 2010-04-01 01:35:35 +00:00
http://kerravonsen.dreamwidth.org/ 4eed0abc8c response; thoughts about inline and tags 2010-04-01 00:23:31 +00:00
http://kerravonsen.dreamwidth.org/ fc5445b906 response 2010-03-31 03:01:41 +00:00
http://smcv.pseudorandom.co.uk/ bb8b941bfc respond; correct license of fieldsort plugin to match IkiWiki 2010-03-30 12:48:03 +00:00
http://smcv.pseudorandom.co.uk/ edcea2b981 respond 2010-03-30 12:27:18 +00:00
http://smcv.pseudorandom.co.uk/ 0503bf7c88 2010-03-30 12:10:40 +00:00
http://smcv.pseudorandom.co.uk/ 026355cfa2 respond and attempt to invoke Joey :-) 2010-03-30 12:09:59 +00:00
http://kerravonsen.dreamwidth.org/ 90c444d9f1 response 2010-03-30 06:44:04 +00:00
http://kerravonsen.dreamwidth.org/ 2d1e4cce45 response 2010-03-30 05:38:31 +00:00
http://kerravonsen.dreamwidth.org/ 386e464188 quick response 2010-03-30 05:31:10 +00:00
http://oneingray.myopenid.com/ ba05b907e3 More wishlist items for the `xslt` plugin. 2010-03-28 15:58:37 +00:00
http://smcv.pseudorandom.co.uk/ 3c98cf653f fix link 2010-03-26 15:09:11 +00:00
http://smcv.pseudorandom.co.uk/ b9958fe3cf brief review of report 2010-03-26 14:09:04 +00:00
http://smcv.pseudorandom.co.uk/ fffd7e7e02 oh, my mistake... this *is* necessary, but could perhaps be done better? 2010-03-26 13:43:37 +00:00
http://smcv.pseudorandom.co.uk/ bea828a2f6 doesn't field+template already cover this? 2010-03-26 13:30:52 +00:00
http://smcv.pseudorandom.co.uk/ d88af43011 brief review of field; fieldsort plugin 2010-03-26 13:20:33 +00:00
http://kerravonsen.dreamwidth.org/ 3cea3eb5da response 2010-03-26 04:30:43 +00:00
Joey Hess 0f28f31047 security? 2010-03-26 00:12:22 -04:00
Simon McVittie b86276ffed Reimplement extensible sorting mechanisms, in the same way as pagespecs 2010-03-25 23:31:53 +00:00
Simon McVittie 60edd2dc31 Allow sorting to be combined and/or reversed 2010-03-24 23:51:48 +00:00
http://smcv.pseudorandom.co.uk/ 3b08b19b4e use `` to avoid markdown eating example pagespecs 2010-03-24 21:33:03 +00:00
Simon McVittie e67a9382f6 Allow hooks to add sorting functions to pagespec_match_list 2010-03-24 00:29:10 +00:00
http://smcv.pseudorandom.co.uk/ 0f433ed01c link to highlight 2010-03-17 00:42:38 +00:00
Joey Hess e56ec7a96c websetup: Add websetup_unsafe to allow marking other settings as unsafe. 2010-03-13 15:08:00 -05:00
Joey Hess 02d9445684 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2010-03-11 15:44:16 -05:00
Joey Hess ac3aac560f moderatedcomments: Added moderate_pagespec
* moderatedcomments: Added moderate_pagespec that can be used
  to control which users or comment locations are moderated.
  This can be used, just for example, to moderate http://myopenid.com/*
  if you're getting a lot of spammers from one particular openid
  provider (who should perhaps answer your emails about them),
  while not moderating other users.
* moderatedcomments: The moderate_users setting is deprecated. Instead,
  set moderate_pagespec to "!admin()" or "user(*)" instead.
2010-03-11 15:44:10 -05:00
http://adam.shand.net/ 03c2cf94e2 2010-03-11 05:32:00 +00:00
Thiana 20635d3610 Clarification request 2010-03-09 03:55:28 +00:00
Joey Hess 376d0dc9b7 response 2010-03-08 20:27:30 -05:00