Commit Graph

12819 Commits (b01a2274c3f96541b8b48f9ebb883ee8b7451fa3)

Author SHA1 Message Date
Joey Hess b01a2274c3 fix undef warning when page() tests a deleted file 2010-05-07 13:25:32 -04:00
Joey Hess 888ac35e11 a bug? 2010-05-07 13:13:57 -04:00
Joey Hess 5dfcaf1f7f applied 2010-05-07 13:04:00 -04:00
Joey Hess ec2790b0ec Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2010-05-07 13:03:30 -04:00
http://smcv.pseudorandom.co.uk/ f9553a06ab patch 2010-05-07 16:56:45 +00:00
Simon McVittie c2c57f0cfb gitremotes: don't fetch tags, other than from ikiwiki.info
Getting this change in an existing git clone requires removing or
reconfiguring the remotes.
2010-05-07 17:46:21 +01:00
Joey Hess 25033d9114 Revert markd changes
spammer testing?
2010-05-07 12:18:43 -04:00
http://peter-simons.myopenid.com/ c9f8fef594 2010-05-07 13:34:29 +00:00
markd 43e27cc251 2010-05-07 10:50:55 +00:00
markd da366390cd 2010-05-07 10:48:39 +00:00
Joey Hess 915d9281db call delete hook even if only internal pages are deleted 2010-05-07 00:26:59 -04:00
Joey Hess 1678604fe3 avoid redir loop when going to an internal page that has no permalink 2010-05-07 00:22:05 -04:00
Joey Hess 300001184e done 2010-05-06 23:28:54 -04:00
Joey Hess 575080d6ef respect permalinks 2010-05-06 23:28:40 -04:00
Joey Hess 14826ad927 Delete hooks are passed deleted internal pages.
Necessary so search can remove its indexes for internal pages.
But also, it seems it was an omission not to pass the deleted
pages before.
2010-05-06 23:25:27 -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 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 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