Commit Graph

12955 Commits (8e77dc1c9cda0777158b12025d6123452e090765)

Author SHA1 Message Date
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 4c320176c0 simplify formbuilder stylesheet specification
Since all forms are wrapped in a template that defines the actual
stylesheets, formbuilder just has to be told to turn on stylesheet mode,
not what file is the style sheet.
2010-05-06 22:27:12 -04:00
Joey Hess d3aaf6e01f fix pagediff to not display as "preview"
I think originally, the page preview header was not displayed,
so diff was hacked in using it.
2010-05-06 22:19:14 -04:00
Joey Hess a47e835f3a reordered some sections 2010-05-06 21:58:04 -04:00
Joey Hess 931045301a Gave comment and page editing forms some CSS and accessability love.
In particular, added <label> tags.

(However, could not find a good way to add a label tag for the main
page edit textarea.)
2010-05-06 21:45:17 -04:00
Joey Hess 2e86b8df98 fix param passing to match_glob 2010-05-06 20:46:58 -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 71b8d2ad41 move meat of type checking to match_page where it belongs 2010-05-06 19:04:56 -04:00
Joey Hess 7f64ff2ae0 url to myopenid affiliate program has changed 2010-05-06 17:32:19 -04:00
Joey Hess 3f925ac735 new todo 2010-05-06 17:28:47 -04:00
Joey Hess f0b83af9aa add 2010-05-06 17:18:08 -04:00
Joey Hess f69026667b typo 2010-05-06 13:55:37 -04:00
http://ptecza.myopenid.com/ 511b9c8508 * Typo 2010-05-06 10:51:32 +00:00
Joey Hess 81948abda7 remove bogus test for empty page 2010-05-05 22:47:37 -04:00
Joey Hess f8880cb670 bugfix 2010-05-05 22:44:12 -04:00
Joey Hess cb2025af45 refactor 2010-05-05 22:41:23 -04:00
Joey Hess ee9a4e06fc rename ispage variable 2010-05-05 22:36:50 -04:00
Joey Hess 57405061f4 add test 2010-05-05 22:12:31 -04:00
Joey Hess fa2918f13f add NEWS about template change 2010-05-05 21:51:03 -04:00
Joey Hess f52f395437 consistently drop NAME= in templates
also add template syntax smoke test
2010-05-05 21:10:40 -04:00
Joey Hess 1193759568 remove unused indexlink function and template variable 2010-05-05 20:42:56 -04:00
Joey Hess 66c787658e remove unused 2010-05-05 18:53:03 -04:00
Joey Hess 83b907c35e remove misc.tmpl checking
Turns out that users with a modified page.tmpl need to modify it on
upgrade, at least to add the FORCEBASEURL (so edit preview works),
so there is no point in trying to retain compatability.
2010-05-05 18:46:35 -04:00
Joey Hess 5971a731e9 allow search form visibility to be controlled on the template
hide extrafooter from misctemplate display per default
2010-05-05 18:42:18 -04:00
Joey Hess 9257381e8d fix test count 2010-05-05 18:32:48 -04:00
Joey Hess 58a07f9e54 on second thought, remove FOOTER variable
We always want a footer, just not a pagefooter when doing misctemplate.
2010-05-05 18:27:09 -04:00
Joey Hess 66cc23a591 no more misc.tmpl
* Removed misc.tmpl. Now to theme ikiwiki, you only need to customise
  a single template, page.tmpl.
* misc.tmpl will, however, still be read if a locally modified version
  exists. This is to avoid forcing users to update page.tmpl right now.
2010-05-05 18:22:47 -04:00
Joey Hess 2a2976f7ff add the <base> setting as in misc.tmpl; only ever do it if not ispage
Also, add FOOTER, to allow disabling the footer.
2010-05-05 18:21:02 -04:00
Joey Hess 8aa5f2d23e add ISPAGE variable to page.tmpl
Plugins will also be able to use this to tell if the template
is being used to generate a wiki page, when misctemplate starts
also using page.tmpl.
2010-05-05 18:17:25 -04:00
Joey Hess 34afaf1015 add test suite for find_src_files 2010-05-04 23:20:47 -04:00
Joey Hess 3ebd04a33b add news item for ikiwiki 3.20100504 2010-05-04 20:37:11 -04:00
Joey Hess e44ccca13c Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2010-05-04 20:36:21 -04:00
Joey Hess 953c28a702 releasing version 3.20100504 2010-05-04 20:35:34 -04:00
Joey Hess d0a5945000 Fixes a bug in skipping of illegal source files introduced in 3.20100427. 2010-05-04 20:26:17 -04:00
Joey Hess 76a5dbe7cb note that tcc workaround is for bug fixed in tcc now 2010-05-04 18:41:55 -04:00
http://mcfrisk.myopenid.com/ 93f8000d58 solved 2010-05-04 21:17:54 +00:00
http://joey.kitenet.net/ 73ebf2a9f2 2010-05-04 20:56:38 +00:00
Joey Hess ab575a4b69 graphviz: Fix display of preexisting images in preview mode. 2010-05-04 16:54:58 -04:00
Joey Hess ddd7a766e2 response 2010-05-04 16:46:18 -04:00
Joey Hess 59ff5cf553 version IkIWiki use, to help prevent wacky mismatch errors 2010-05-04 16:37:20 -04:00
Joey Hess 74e0c83a95 response 2010-05-04 16:36:22 -04:00
Joey Hess ac2cc8f87d response 2010-05-04 16:22:27 -04:00
http://zwol.livejournal.com/ 35bd43aea3 2010-05-04 17:09:27 +00:00
blipvert 28db9e38f7 2010-05-04 15:47:42 +00:00
blipvert a43bc68eb3 2010-05-04 15:46:40 +00:00
Jon Dowland 4cb9f77570 Merge branch 'master' of git://git.ikiwiki.info 2010-05-04 16:44:31 +01:00
blipvert 821a8aba2f 2010-05-04 15:43:23 +00:00
Jon Dowland 7060a818c1 un-escape escaped chevrons 2010-05-04 16:43:22 +01:00
blipvert bd5c5f1f48 2010-05-04 15:42:21 +00:00