Commit Graph

1916 Commits (82124cc8dd3b8dd2d43144795f319bbe2f4506a7)

Author SHA1 Message Date
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
Thiana 9d6a755d39 2010-03-09 00:50:45 +00:00
http://www.google.com/profiles/schmonz 159471c923 response 2010-03-01 21:23:00 +00:00
Thiana 837b04759c 2010-03-01 21:17:09 +00:00
http://liw.fi/ fe571e9590 2010-03-01 21:12:48 +00:00
http://kerravonsen.dreamwidth.org/ 0284ccf5eb fixed typo 2010-03-01 14:43:55 +00:00
Jon Dowland 4be426ab1a wl from report to field plugin pages 2010-03-01 10:28:59 +00:00
Joey Hess f1183cbf0c add ngettext support & optimize gettext handling
As I was adding ngettext support, I realized I could optimize the gettext
functions by memoizing the creation of the gettext object. Note that
the object creation is still deferred until a gettext function is called,
to avoid unnecessary startup penalties on code paths that do not need
gettext.

A side benefit is that separate stub functions are no longer needed to
handle the C language case.
2010-02-14 18:09:12 -05:00
Joey Hess f4c517110e formatting 2010-02-12 15:53:50 -05:00
Joey Hess 7b07286a6f layout 2010-02-12 15:41:19 -05:00
Joey Hess 4a7558539c add highlevel view of when hooks are called during compile and cgi phases 2010-02-12 15:38:07 -05:00
Joey Hess 60410369da add variable value examples 2010-02-12 14:48:22 -05:00
Joey Hess ba19f940bd move note to sidebox 2010-02-12 14:44:26 -05:00
Joey Hess b1c47b4065 heading tweaks 2010-02-12 14:41:28 -05:00
Joey Hess 5d566d8b32 reorg and expand docs of some variables 2010-02-12 14:38:43 -05:00
Joey Hess 20ba12802b add section information 2010-02-12 04:22:15 -05:00
Joey Hess a7eb434afd another (last?) tag change 2010-02-12 04:10:11 -05:00
Joey Hess 1db0dd855a one more 2010-02-12 03:56:56 -05:00
Joey Hess 21b4f11cbb more tag reorg 2010-02-12 03:51:47 -05:00
Joey Hess 3ce8030daf more tag reorg 2010-02-12 03:43:01 -05:00
Joey Hess 04a99c8440 plugin tag reorg 2010-02-12 03:38:00 -05:00
Joey Hess 9cee2962e0 format plugin categorization 2010-02-12 01:10:36 -05:00
Joey Hess a63929f6cc Group related plugins into sections in the setup file, and drop unused rcs plugins from the setup file. 2010-02-11 22:24:15 -05:00
Joey Hess e11876b700 httpauth: Add httpauth_pagespec setting that can be used to limit pages to only being edited via users authed with httpauth. 2010-02-11 18:25:10 -05:00
Joey Hess 046095552a httpauth: When cgiauthurl is configured, httpauth can now be used alongside other authentication methods (like openid or anonok). Rather than always redirect to the cgiauthurl for authentication, there is now a button on the login form to use it. 2010-02-11 17:26:09 -05:00
Joey Hess b384af237d opendiscussion: This plugin will also now allow posting comments
to otherwise locked-down sites.
2010-02-06 16:19:17 -05:00
Joey Hess 1e0b724bac document that state variables are not available in the checkconfig hook 2010-01-31 14:03:19 -05:00
http://kerravonsen.dreamwidth.org/ e9ee3d7d85 note new version of getfield 2010-01-24 09:41:44 +00:00
http://kerravonsen.dreamwidth.org/ f6b2edef64 new release of getfield; can now get values from other pages as well as current page 2010-01-24 09:38:40 +00:00
http://kerravonsen.dreamwidth.org/ 27d2d7115d note that report is now released 2010-01-24 02:59:11 +00:00
http://kerravonsen.dreamwidth.org/ bcde9b7412 new report plugin 2010-01-24 02:52:57 +00:00
simonraven 9c0c8b57fb 2010-01-17 17:27:51 +00:00
http://oblomov.myopenid.com/ fa0bbaab21 Suggest # as page-field separator 2010-01-17 09:56:26 +00:00
simonraven 2137d1f68c 2010-01-17 09:31:07 +00:00
simonraven b3363aa89f 2010-01-17 09:28:07 +00:00
http://kerravonsen.dreamwidth.org/ 354468d280 respond: markup, not internals 2010-01-17 00:10:55 +00:00
simonraven e3a09318a0 2010-01-16 08:42:56 +00:00
http://kerravonsen.dreamwidth.org/ 3b2772967f responded to discussion 2010-01-16 08:08:46 +00:00
simonraven 353f722dc4 2010-01-16 05:29:53 +00:00
simonraven a1138ae820 the pod bold thingy didn't work, making it a markdown one 2010-01-16 05:19:42 +00:00
Spida 65db2f47ac 2010-01-15 00:15:33 +00:00
Joey Hess 4f25d90ebc mention that lighttpd does support this. Example needed. 2010-01-14 18:56:05 -05:00
http://kerravonsen.dreamwidth.org/ f90827f29b this is sort of format too 2010-01-13 02:47:59 +00:00
http://kerravonsen.dreamwidth.org/ 2cbf60a431 correcting link 2010-01-13 02:38:33 +00:00
http://kerravonsen.dreamwidth.org/ a352767276 fixed title 2010-01-13 02:37:27 +00:00
http://kerravonsen.dreamwidth.org/ 7d997f1007 ftemplate: field-aware structured template plugin 2010-01-13 02:36:28 +00:00
http://kerravonsen.dreamwidth.org/ ccc8e88682 getfield: query field (meta-data) values 2010-01-13 02:27:59 +00:00
http://kerravonsen.dreamwidth.org/ 9ccd1ba41b ymlfront: backend for structured data 2010-01-13 02:20:34 +00:00
http://kerravonsen.dreamwidth.org/ 0c89eabcf5 more options for field configuration, additional pagespec test 2010-01-13 00:37:56 +00:00
Joey Hess d35bf0be67 correction 2009-12-25 15:08:22 -05:00
http://weakish.pigro.net/ cf26aa6bc7 question: "still domain specific or not?" 2009-12-24 08:46:40 +00:00
http://kerravonsen.dreamwidth.org/ c4a2d93115 added tag 2009-12-23 15:14:57 +00:00
http://kerravonsen.dreamwidth.org/ c7e822a496 added tag 2009-12-23 15:13:04 +00:00
http://kerravonsen.dreamwidth.org/ 01e744af0f third time lucky? 2009-12-23 15:09:59 +00:00
http://kerravonsen.dreamwidth.org/ 85eab3e9ff try again with tag 2009-12-23 15:08:14 +00:00
http://kerravonsen.dreamwidth.org/ 407a94c6a6 added tag 2009-12-23 15:07:11 +00:00
http://www.google.com/profiles/kari.pahula 5b48f1412e Getting OpenID verified identity externally 2009-12-12 06:33:21 -05:00
http://www.google.com/profiles/schmonz a3803f3cd8 on my unixauth branch now 2009-12-11 21:59:08 -05:00
http://kerravonsen.dreamwidth.org/ 2a4f37b462 oops, fixed name 2009-12-04 04:11:12 -05:00
http://kerravonsen.dreamwidth.org/ 658da70f6a added field plugin 2009-12-04 04:09:44 -05:00
http://lj.rossia.org/users/imz/ 917b8e5ba1 minor: a link to describe the mentioned format 2009-12-02 13:20:43 -05:00
http://lj.rossia.org/users/imz/ c4b7d04669 minor: a link to describe the format 2009-12-02 13:08:42 -05:00
http://kerravonsen.dreamwidth.org/ 11a6112b56 added the proper template thingie 2009-12-02 00:45:23 -05:00
http://kerravonsen.dreamwidth.org/ 5d68ee9e4e here be a plugin for processing POD! 2009-12-02 00:43:47 -05:00
http://kerravonsen.dreamwidth.org/ 6eb35262d5 clearing up a bit of confusion about who I am 2009-12-01 20:55:25 -05:00
http://kerravonsen.dreamwidth.org/ 18840f67e9 now have fixed xslt plugin 2009-12-01 18:51:48 -05:00
http://kerravonsen.dreamwidth.org/ cbdd0d8507 bug fix; now checks extensions. 2009-12-01 18:51:10 -05:00
http://kerravonsen.dreamwidth.org/ 3ca05b15d6 reply to comment 2009-12-01 18:30:25 -05:00
Joey Hess db746519eb security and comments 2009-12-01 16:08:21 -05:00
http://jmtd.livejournal.com/ d57ec1c6a4 add plugin template 2009-12-01 11:30:03 -05:00
http://kerravonsen.dreamwidth.org/ 9f30da3e1c xslt plugin 2009-11-30 21:55:06 -05:00
Joey Hess 268a2dd54c htmllink: allow a title attribute to be specified 2009-11-26 14:10:21 -05:00
Joey Hess f4cb6edd0f remove info about how to manually add relativedates
The date directive is a better approach.
2009-11-25 01:31:44 -05:00
Joey Hess df75c5b93a date: New plugin that allows inserting date directives that expand to pretty-printed dates, using the same formatting as used for page modification date display, etc. 2009-11-25 01:18:43 -05:00
Joey Hess 92a6f2e5e8 httpauth: Add cgiauthurl setting that can be used to do http basic auth only when ikiwiki needs authentication, rather than for any access to the cgi/wiki. 2009-11-10 00:50:59 -05:00
Joey Hess 9f0931ce21 localstyle: New plugin, allows overrding the toplevel local.css with one that is closer to a page.
I chose not to have it override style.css, because style.css is not really
intended to be edited; the one from the underlay is intended to be used as
a base that local.css overrides.

I chose to use a plugin rather than changing the default behavior, both
because I didn't want to have to worry about possibly breaking backwards
compatability (though this seems unlikely), and because it seemed cleaner
to not include style template parameters in the main page template code.

I suppose someone might want a way to not override the toplevel
local.css, but instead include it as well as foo/local.css. Probably the
best way to do that would be to have foo/local.css @import ../local.css
(modulo browser compatability issues). Alternatively, edit page.tmpl
to always include the toplevel local.css, or swap out this plugin for
another one.
2009-11-09 13:39:05 -05:00
Joey Hess 66b46576ec Moved the postscan hook to run on the raw html of a page, before the template is filled out. This improves the search plugin's indexing, since it will not include navigational elements from the page template or sidebar. 2009-11-08 13:48:07 -05:00
Jon Dowland 2faf2d706b rm empty discussion page 2009-11-05 09:26:57 +00:00
http://mcfrisk.myopenid.com/ b37bca1dff move forum 2009-11-05 03:46:13 -05:00
http://mcfrisk.myopenid.com/ 06293fc92e from html to ikiwiki with url compatibility 2009-11-04 17:51:10 -05:00
Joey Hess c29957e017 google: Pass the whole wiki url to google, not just the domain, so that search works correctly for wikis that are located in subdirectories of domains. 2009-10-29 18:05:58 -04:00
Amitai Schlair 879f2f683e the setup file wants `rsync_command`, not `rsync` 2009-10-28 20:57:27 -04:00
Jon Dowland 4dd50ba1bc update URL to mediawiki plugin 2009-10-28 13:52:05 +00:00
Amitai Schlair 57213fa0db Google will take a full URL, request that the plugin send it 2009-10-27 22:22:11 -04:00
Jogo 11fc28970b 403 response may be a "not found" too 2009-10-27 17:44:06 -04:00
Joey Hess 8dfd5289a9 moderatedcomments: New plugin to allow comment moderation w/o relying on blogspam.net. 2009-10-26 13:24:27 -04:00
tschwinge 002b6d2c41 shortcuts: local file. 2009-10-16 03:19:55 -04:00
http://smcv.pseudorandom.co.uk/ bc4b8e4e23 not another hidden requirement... 2009-10-15 23:27:53 -04:00
http://smcv.pseudorandom.co.uk/ 969ce8c5f8 add a bit more attribution so it's clearer what Joey wrote 2009-10-15 23:22:18 -04:00
http://smcv.pseudorandom.co.uk/ cd5bf7eb7f comments after trying to implement joey's idea 2009-10-15 23:16:52 -04:00
Joey Hess 77b0454e0c Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2009-10-14 13:20:55 -04:00
http://schmonz.livejournal.com/ 7e25c2116c .htaccess hack 2009-10-13 20:51:43 -04:00
Joey Hess ef7bddbc36 Merge branch 'dependency-types'
Conflicts:
	doc/todo/dependency_types.mdwn
2009-10-13 15:15:54 -04:00
Jogo 7272938a11 2009-10-12 16:44:12 -04:00
Joey Hess 4cce292593 Merge branch 'master' into dependency-types 2009-10-11 23:38:41 -04:00
Joey Hess 6993d1f905 response 2009-10-11 22:58:17 -04:00
Joey Hess a7cb309090 Merge branch 'master' into dependency-types
Conflicts:
	debian/changelog
	doc/plugins/calendar.mdwn
2009-10-11 16:54:23 -04:00
Joey Hess 665da89c27 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2009-10-11 16:53:07 -04:00
Joey Hess e1939185d2 ikiwiki-calendar: New command automates creation of archive pages using the calendar plugin. 2009-10-11 16:52:54 -04:00
Joey Hess 5cddd8a0a3 typo 2009-10-11 16:04:03 -04:00
Joey Hess 5dba91cdc8 typo 2009-10-11 13:51:23 -04:00
Jogo 22ed3f388b 2009-10-11 04:34:17 -04:00
Jogo 800d165037 2009-10-10 04:22:41 -04:00
Joey Hess 74409f940d add_depends: optimise influence calculation
I made match_* functions whose influences can vary depending on the page
matched set a special "" influence to indicate this.

Then add_depends can try just one page, and if static influences are found,
stop there.
2009-10-09 17:15:40 -04:00
Joey Hess 6f2cc5ac8c pagespec_match_list: change limit to filter 2009-10-09 13:20:41 -04:00
Joey Hess 769b78df07 pagespec_match_list allow additional pagespec limit parameters again 2009-10-09 13:02:10 -04:00
Joey Hess 5e7b2dea84 rename use_pagespec to pagespec_match_list
To avoid breaking plugins, also support the old pagespec_match_list
calling convention, with a deprecation warning.
2009-10-08 23:51:06 -04:00
Joey Hess 32cd5f0b79 inline: switch to use_pagespec
Taking advantage of every single one of its features, of course.
Even had to add one more..
2009-10-08 18:30:50 -04:00
Joey Hess 5e236f5d25 add use_pagespec and deptype functions 2009-10-08 17:53:20 -04:00
Joey Hess 5f9860e65c add type info to influence information 2009-10-07 21:52:37 -04:00
Joey Hess 4002d7c1a4 add influence info to match_*
Also update docs, test suite.
2009-10-07 20:31:13 -04:00
Joey Hess 76746c5fe6 Merge branch 'master' into dependency-types 2009-10-07 20:02:43 -04:00
Joey Hess 4528b95d25 mention that pagespec_match returns an overloaded value 2009-10-07 18:06:49 -04:00
Joey Hess ff2aa982c3 Merge branch 'master' into dependency-types 2009-10-05 16:47:40 -04:00
Joey Hess 786dcf15c4 responses, questions, ideas 2009-10-05 16:47:12 -04:00
http://smcv.pseudorandom.co.uk/ 3a188c047b thoughts about renaming the actual images to .albumimage 2009-10-05 16:08:19 -04:00
Joey Hess f7d04d1067 switch plugins page to use a map instead of an inline
A map just seems a better fit for reference, since it deliniates the
contrib plugins better, and orders better.

It also has the advantage of being less expensive, since the plugins page
does not need to update when eg, the pagecount page changes.

Only downside is, no rss feed of new plugins. Which I know a few people
were subscribed to.
2009-10-05 15:26:15 -04:00
Joey Hess dc6fab3824 syntax 2009-10-05 15:17:36 -04:00
Joey Hess fc864515b8 omit forum and javascript from list 2009-10-05 15:16:14 -04:00
Joey Hess c6bf4228d5 make links dependencies fire if broken links change 2009-10-05 15:01:05 -04:00
Joey Hess be032a7b87 rework dependency types code
Simplify, change default content depends number to 1,
change interface to make more sense.
2009-10-04 20:30:21 -04:00
Joey Hess a8af271e5a document effect of contentless dependencies on sidebar efficiency 2009-10-04 16:28:14 -04:00
Joey Hess fd9d968024 document add_depends dependency type interface 2009-10-03 15:37:57 -04:00
Joey Hess 6e133959bc fix wording here too 2009-10-02 18:47:15 -04:00
Joey Hess 4f9c5896b2 add bug about transitive dependencies 2009-10-02 15:15:23 -04:00
martin f62de29638 documentation seems inaccurate 2009-10-01 08:12:49 -04:00
http://weakish.pigro.net/ 13940c5773 [patch] add an option to determine whether put autoindex pages in repo or not 2009-10-01 05:48:09 -04:00
Joey Hess caa3818eff thoughts 2009-09-30 15:17:03 -04:00
http://smcv.pseudorandom.co.uk/ be47e501c3 reply to potential album user 2009-09-25 14:19:49 -04:00
David Riebenbauer 0b0116cb98 create myself a user page
and link from my signatures so far
2009-09-25 06:37:15 +02:00
brush bac0174b78 installation attachments q's 2009-09-22 18:49:03 -04:00
http://kaizer.se/ 5946a54ec7 see Resolve native reStructuredText links to ikiwiki pages 2009-09-17 11:33:12 -04:00
http://kaizer.se/ 36094d7674 Resolving WikiLinks in rst -- WIP 2009-09-16 23:34:27 -04:00
Amitai Schlair dad25308d2 typo 2009-09-12 01:32:29 -04:00
Joey Hess f1999df705 remove cgi exclusion
Note that a typical use of this plugin is for a static site, w/o cgi
support enabled.
2009-09-12 00:24:57 -04:00
Joey Hess 9042a86f36 update 2009-09-11 18:37:42 -04:00
Joey Hess 5b818c9f2a doc update, add --exclude ikiwiki.cgi to examples 2009-09-11 18:28:35 -04:00
Joey Hess a7d7acc0f7 resp 2009-09-11 17:47:31 -04:00
Amitai Schlair 544cedaa19 response 2009-09-11 17:34:47 -04:00
Joey Hess 412a4dd62a review 2009-09-11 14:44:32 -04:00
Joey Hess e5d9d3cc52 add rcs/cvs 2009-09-10 16:31:58 -04:00
Amitai Schlair 5ee980d77a catch up to genwrapper 2009-09-10 15:17:28 -04:00
Joey Hess 525d4cd037 new hook 2009-09-10 14:06:30 -04:00
Joey Hess 3ebd4e0b45 Add genwrapper hook, that can be used to add code into the C wrapper. 2009-09-10 14:04:46 -04:00
Amitai Schlair d2b57ae20f File::chdir is needed now 2009-09-10 00:59:05 -04:00
Amitai Schlair 689106ad3a automated tests added (and they highlight that the plugin should
probably restore the caller's working directory)
2009-09-09 23:17:15 -04:00
Amitai Schlair b7415543c1 describe current state of wrapper modification 2009-09-09 22:42:47 -04:00
Amitai Schlair 1b4c3fb551 note refactored wrapper tweakulation 2009-09-09 22:36:23 -04:00
Joey Hess 2a99ebf276 underlay: Also allow configuring additional directories to search for template files in. 2009-09-08 17:27:37 -04:00
Joey Hess 1f828d280a update 2009-09-08 14:38:57 -04:00
Joey Hess 6d170066e9 Revert spam
This reverts commit c1c933ca65.
2009-09-08 14:27:51 -04:00
WikiJeanHawkins c1c933ca65 2009-09-08 14:21:49 -04:00
Joey Hess 3813632a8f comment 2009-09-07 13:47:34 -04:00
http://schmonz.livejournal.com/ ca32904720 move apt-get comment here 2009-09-07 12:54:24 -04:00
http://schmonz.livejournal.com/ e953865045 revert previous; with pkgsrc you'd need textproc/p5-Text-CSV, but let's not proliferate that sort of thing here 2009-09-07 12:51:56 -04:00
http://hendry.iki.fi/ 8691bc006e Can't markup [[!table Error: ]] 2009-09-07 05:53:50 -04:00
Amitai Schlair 127ed4d6c7 no more IPC::Cmd or String::ShellQuote, huzzah 2009-09-04 15:08:48 -05:00
bremner f582457ea0 2009-09-03 08:18:27 -04:00
Joey Hess 6fe3c6bb5f ruther review 2009-09-02 16:10:57 -04:00
Joey Hess 9e195018a2 remove ^P's 2009-08-31 19:30:31 -04:00
martin 9492bf3158 fixed link 2009-08-31 11:03:20 -04:00
Joey Hess a86de9b1f6 update for Text::MultiMarkdown split 2009-08-30 19:17:45 -04:00
Joey Hess d678147410 Revert "po: do not inject custom bestlink function when po_link_to eq default"
This reverts commit cdc3576c8d.

Conflicts:

	IkiWiki/Plugin/po.pm

This change broke the test suite and is not strictly necessary.
2009-08-30 14:50:43 -04:00
Amitai Schlair 58cef9c3cf describe the wrapper change 2009-08-30 02:35:38 -04:00
Amitai Schlair 558873131f also need File::ReadBackwards now 2009-08-30 01:31:15 -04:00
Amitai Schlair 0721363a7a bug fixed, to-dos done 2009-08-30 01:26:57 -04:00
Amitai Schlair 6962b34597 This is in my git branch now, no need for a copy of the code here. 2009-08-29 22:17:40 -04:00
intrigeri ef69cb34c3 doc/po(test suite failures): follow-up
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-08-29 17:25:51 +02:00
Joey Hess 94727e7fcf merged 2009-08-28 19:49:22 -04:00
Joey Hess 2ba54735ce po test suite failure 2009-08-28 18:34:44 -04:00
intrigeri 6be8746125 doc/po: report problem with link() + propose patch
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-08-28 16:38:13 +02:00
intrigeri e3b5d70137 doc/po: bug report + patch proposal wrt. inline's post form's rootpage
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-08-28 15:08:02 +02:00
Joey Hess cc6000f0b9 both changes picked 2009-08-28 07:34:09 -04:00
intrigeri 8064acf87f doc/po: reported bug + patches wrt. created page type
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-08-28 13:20:33 +02:00
Joey Hess 18e4fa6539 fix merged 2009-08-27 15:54:44 -04:00
Joey Hess f8ad1bfec4 fix cherry-picked 2009-08-27 15:50:43 -04:00
Joey Hess ffcd97ce52 change cherry-picked; move to discussion 2009-08-27 15:49:12 -04:00
intrigeri eaa782a185 doc/po(self-links): follow-ups
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-08-27 20:38:36 +02:00
intrigeri 6bc3206af1 doc/po: follow-up 2009-08-27 20:21:16 +02:00
intrigeri 7d35d17f95 doc/po: follow-up
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-08-27 20:01:24 +02:00
Joey Hess 5e515b493c followups 2009-08-27 13:10:31 -04:00
Joey Hess e1acb707db cherry-picked fix for recentchanges links 2009-08-27 12:57:04 -04:00
Joey Hess 18fc71f033 unsure if this patch is enough 2009-08-27 12:56:24 -04:00
Joey Hess 4ce93af516 translation of directives 2009-08-26 13:09:43 -04:00
intrigeri d5a04b2de9 po: more TODO items comments and patches 2009-08-26 02:00:48 -04:00
intrigeri 7bd7e78e4a po: commenting some TODO items 2009-08-26 01:41:55 -04:00
intrigeri 145d89a6fc po: maybe fixed self links 2009-08-26 01:05:07 -04:00
Joey Hess 43db8269a0 response 2009-08-24 15:47:24 -04:00
http://schmonz.livejournal.com/ 8d504e6b3d response 2009-08-24 04:20:31 -04:00
http://www.cse.unsw.edu.au/~willu/ a27861c512 Comment on another possible solution to the use case. 2009-08-24 03:13:25 -04:00
Amitai Schlair 80ca685385 why I needed this, in case it's useful to someone else 2009-08-23 23:27:53 -04:00
Amitai Schlair 18a7b65094 response 2009-08-23 18:15:56 -04:00
Amitai Schlair 0d5a8bc3f0 new rsync plugin 2009-08-23 15:41:29 -04:00
Joey Hess 59527de767 uh oh 2009-08-22 14:29:18 -04:00
Amitai Schlair 2acc71849d no more wrapper wrapper 2009-08-22 03:52:45 -04:00
Amitai Schlair 7849d675a3 response 2009-08-22 02:02:34 -04:00
Joey Hess 73e562edc8 response 2009-08-21 16:09:26 -04:00
Amitai Schlair 24d43bea07 response 2009-08-20 16:10:56 -04:00
Joey Hess f712ffa66d another issue 2009-08-19 14:12:37 -04:00
Joey Hess db041b8854 minor problem 2009-08-16 13:53:44 -04:00
Amitai Schlair b5576b5560 Life is simpler on a git branch. 2009-08-16 11:58:28 -04:00
PaulePanter 216f5b5b20 Add sentence to clarify how to get feeds for the RecentChanges page. 2009-08-16 08:34:57 -04:00
Joey Hess 4ff3e2a540 po: Better fix for missing underlay translation problem.
If a page is taken from the underlay, and one of the specified languages
does not have po files in the underlay, it would create a broken link
to the translated version of the page for that language.

With this change, there's no broken link.
2009-08-15 22:18:05 -04:00
Joey Hess 0e4f67842a update 2009-08-15 21:00:27 -04:00
Joey Hess 7ea1f96926 apache config details 2009-08-15 19:39:51 -04:00
Joey Hess 7d901b9a54 another problem.. 2009-08-15 19:16:22 -04:00
Joey Hess 43e895ec78 another problem 2009-08-15 17:29:05 -04:00
Joey Hess 1b63a0e4fa another problem 2009-08-15 16:15:36 -04:00
Joey Hess d13c07dec1 noticed a problem 2009-08-15 15:20:46 -04:00
Joey Hess 3401dc6110 fix name 2009-08-13 18:12:28 -04:00
Joey Hess 8ba32abaf2 review: question 2009-08-13 17:55:01 -04:00
Joey Hess 7712bb662a Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2009-08-10 16:05:50 -04:00
Joey Hess 83480665c2 po: Fix copy of po file from underlay when editing
When first editing a page that was in the underlay, avoid losing
the translation by copying the po file over from the underlay.
2009-08-10 15:59:32 -04:00
http://schmonz.livejournal.com/ af29201c3c the post-commit wrapper wrapper also avoids cvs deadlock 2009-08-09 22:09:42 -04:00
http://schmonz.livejournal.com/ 792026fe97 add install and usage directions, to-do list 2009-08-09 22:06:02 -04:00
http://certifi.ca/lunix c430c5ebd0 add my response 2009-08-09 01:34:11 -04:00
http://certifi.ca/lunix 4e387bc6b6 reponse about highlight plugin 2009-08-08 21:11:03 -04:00
Joey Hess a0ace62664 point out where to get highlight perl bindings 2009-08-08 20:27:50 -04:00
http://certifi.ca/lunix c86842711f centos question 2009-08-08 19:19:32 -04:00
bremner 3c1ebd20f8 ok, thanks. I'll probably do the same. 2009-08-08 17:19:07 -04:00
Joey Hess eb5e6b2bb6 response 2009-08-08 17:01:10 -04:00
bremner 255835660b question (for joeyh?) about IkiWiki::refresh() 2009-08-08 16:48:00 -04:00
Joey Hess c0c1e05dab finish merging getsource 2009-08-08 12:32:39 -04:00
Joey Hess 79312b2754 Merge commit 'smcv/ready/getsource'
Conflicts:
	debian/changelog
2009-08-08 12:22:10 -04:00
http://bob-bernstein.myopenid.com/ 69d26eb573 2009-08-07 01:09:03 -04:00
http://bob-bernstein.myopenid.com/ c7ad7482f4 2009-08-06 22:20:15 -04:00
Jogo 4a331d8afc 2009-08-06 13:07:22 -04:00
Jogo 0b2100727b 2009-08-06 09:42:56 -04:00
Jogo 34e5f5eba3 2009-08-06 08:43:45 -04:00
http://schmonz.livejournal.com/ 9468c553e1 maybe prevent trying to create .../CVS/whatever.mdwn 2009-08-03 03:23:42 -04:00
http://schmonz.livejournal.com/ cf3ab205e8 note Perl module dependencies 2009-08-03 02:56:42 -04:00
http://smcv.pseudorandom.co.uk/ 9def21fcf7 remove reference to needing a branch which was merged already 2009-08-01 07:46:35 -04:00
Simon McVittie 3f39e69b13 Document the getsource plugin 2009-08-01 12:31:34 +01:00
http://schmonz.livejournal.com/ 216a349bb9 specify where in IkiWiki.pm CVS metadata is avoided (wiki_file_prune_regexps) 2009-07-31 18:37:58 -04:00
http://schmonz.livejournal.com/ faa29aaaf3 add working CVS plugin 2009-07-31 18:17:53 -04:00
http://smcv.pseudorandom.co.uk/ 612505d76b Self-review... 2009-07-31 17:18:20 -04:00
http://smcv.pseudorandom.co.uk/ ba1c355353 I now realise that one of trail's modes is a bit flawed... 2009-07-31 17:14:50 -04:00
http://schmonz.livejournal.com/ d9fa13504d add missing backquote 2009-07-29 22:38:51 -04:00
http://schmonz.livejournal.com/ 6f88e3631e fix typo 2009-07-26 05:40:58 -04:00
Simon McVittie f237ea1b9a Add [[!template id=gitbranch]] for things available from git, and use it
The uses are somewhat biased towards my own branches, because I know
where to find them and what they do :-) but I've tagged some other
people's as well.
2009-07-25 19:55:22 +01:00
Joey Hess 62dd02aa79 oddity 2009-07-21 13:21:16 +02:00
Joey Hess d1b316dc05 add a warning 2009-07-21 13:07:49 +02:00
Jon Dowland c28c7846b4 Merge branch 'master' of git://git.ikiwiki.info 2009-07-21 11:45:29 +01:00
Jon Dowland ddd55037d4 some thoughts in the wake of a spam attack 2009-07-21 11:44:52 +01:00
Joey Hess 8effd48854 one issue with basewiki translations 2009-07-21 12:43:48 +02:00
Joey Hess eca2dbe67f po: Add support for mo files in underlays
In order to support translated basewiki and other underlays, we need
support for mo files in underlays.

The code did not allow this before, because if a mo file was in an
underlay, then it might try to update it, and its pot, and write to the
underlay, which is guaranteed to either fail due to permissions, or be
undesirable.

To fix, my approach is to just detect if a mo or pot file that is about to
be updated is in an underlay, and skip updating it. This seems to work
well:

- If the mo is out of date in the underlay, it won't get updated, but this
  would probably be due to a problem in the underlay, or more likely,
  the wiki is being rebuilt and so it *thinks* the mo is out of date,
  but it's really not (and it would be a waste of time to rebuild it
  anyway).
- If a page from the basewiki is edited, it is saved to the srcdir,
  which causes generation of an updated mo and pot also in the srcdir;
  the underlay stops being used for that page, and everything seems
  to work.

Note that I am not including an underlay search directory for pot files.
They *seem* to be unnecessary for the underlay, since the mo files
in there never need to be updated.
2009-07-21 11:31:51 +02:00
harishcm 4954ffb558 2009-07-21 00:33:23 -04:00
http://smcv.pseudorandom.co.uk/ f900e84416 link to existing bug 2009-07-20 11:16:45 -04:00
harishcm 3fef1fbd0d Issue with ul and div tag closure when returning empty map 2009-07-20 10:40:29 -04:00
Joey Hess a7b813182d build translated underlays for use with non-English wikis 2009-07-20 07:20:13 +02:00
Joey Hess 741c33576e create translated underlays in mdwn format
These are for use by wikis where the primary language is not English.
On such a wiki, it makes sense to use an underlay has the source for pages
in the native language.
2009-07-20 06:23:33 +02:00