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
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
f69026667b
typo
2010-05-06 13:55:37 -04:00
Joey Hess
ee9a4e06fc
rename ispage variable
2010-05-05 22:36:50 -04:00
Joey Hess
fa2918f13f
add NEWS about template change
2010-05-05 21:51: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
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
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
ab575a4b69
graphviz: Fix display of preexisting images in preview mode.
2010-05-04 16:54:58 -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
d69f6057d1
use html5 semantic markup in page.tmpl
...
This is a first pass, it avoids needing to change style.css
except where it refers to tag types.
This goes a bit off the rails at the pageheader with its nested header.
Semantically, there should be an article around the whole page
header, content, and footer. Just as there will be an article around a
whole comment or inlined page header, content, and footer.
But that will mean changing the css that currently refers to pageheader to
refer to the enclosing article instead.
2010-05-02 15:09:33 -04:00
Joey Hess
b21df5029b
Add placeholder text in search form (in html5 mode only).
2010-05-02 13:49:56 -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
d9e22adb66
releasing version 3.20100501
2010-05-01 21:42:13 -04:00
Joey Hess
a547d26858
html5 option
...
* Ikiwiki can be configured to generate html5 instead of the default xhtml
1.0. The html5 output mode is experimental, not yet fully standards
compliant, and will be subject to rapid change.
2010-05-01 20:49:18 -04:00
Joey Hess
ccafb10007
enable hidden attribute
2010-05-01 19:59:16 -04:00
Joey Hess
790a339db1
htmlscrubber: Also allow some other html5 tags: canvas, progress, meter, ruby, rt, rp, details, summary.
2010-05-01 19:28:28 -04:00
Joey Hess
f1e2d0af12
more html5 attributes
2010-05-01 19:11:03 -04:00
Joey Hess
78cee5140a
add rest of html5 form attributes
...
It's easy to imagine pattern being used to freeze or crash browsers, if
they implement it stupidly. Let's hope not..
2010-05-01 18:44:37 -04:00
Joey Hess
80f9a2a087
add figure and figcaption
2010-05-01 18:31:33 -04:00
Joey Hess
0a139aba82
htmlscrubber: Allow the html5 form attributes: placeholder autofocus, min, max, step.
2010-05-01 18:27:53 -04:00
Joey Hess
442bc59a15
htmlscrubber: Allow the placeholder attribute.
2010-05-01 18:14:50 -04:00
Joey Hess
73c8209484
more html5
...
* htmlscrubber: Also allow html5 canvas tags.
* htmlscrubber: Round out html5 video support with the preload
attribute and the source tag.
2010-05-01 17:56:35 -04:00
Joey Hess
80f2042464
htmlscrubber: Allow html5 semantic tags: section nav article aside hgroup header footer time mark
2010-05-01 16:34:47 -04:00
Joey Hess
8ce5c77738
Version dependency on liburi-perl to >= 1.36; previous versions did not support building urls from utf-8 strings. Closes : #579713
2010-04-30 13:06:52 -04:00
Joey Hess
b61dc50dab
remove obsolete NEWS
2010-04-28 12:42:14 -04:00
Joey Hess
a6e6f604bd
TMPL_INCLUDE re-enabled for templates read from the templatedir. (But not in-wiki templates.)
2010-04-28 12:39:13 -04:00
Joey Hess
0e7a3640ae
template: Fix typo.
2010-04-27 12:10:58 -04:00
Joey Hess
a9cf5810a6
releasing version 3.20100427
2010-04-27 00:00:09 -04:00
Joey Hess
3ac2ae1f14
Add page() PageSpec, which is like glob() but matches only pages, not other files.
2010-04-26 18:47:17 -04:00
Joey Hess
97b0c6e455
Fix removal of rendered files in rebuild mode.
...
Needed to handle the move of the .js files into ikiwiki/, but also this is
a longstanding bug.
Old pagemtime is not remembered in rebuild mode, and changing that would
need a lot of changes. So instead, loop on pagectime, which is remembered.
Change to remembering old pagesources info in rebuild mode. This seems safe
enough.
2010-04-26 17:14:03 -04:00
Joey Hess
998f47ed13
Merge branch 'master' into templatemove
2010-04-24 00:55:09 -04:00
Joey Hess
e90d67d3c9
Moved javascript files under the ikiwiki/ directory, to avoid cluttering the top of the web root. This is another things that requires a wiki rebuild on upgrade to this version.
2010-04-24 00:54:59 -04:00
Joey Hess
9976abe63c
typo
2010-04-23 17:43:29 -04:00
Joey Hess
5fc6e56eb8
changelog/NEWS update for template changes
2010-04-23 17:41:24 -04:00
Joey Hess
6c64ce0336
update news for template change
2010-04-23 17:01:22 -04:00
Joey Hess
e779098796
update copyright years
2010-04-23 12:35:23 -04:00
Joey Hess
56bb1b48e4
format
2010-04-22 00:36:13 -04:00
Joey Hess
3ee571390e
Merge branch 'autotag'
2010-04-22 00:34:03 -04:00
Joey Hess
0db4d920aa
force rebuild from pre 20100422
...
to ensure those wrong massive depends_simple don't linger on systems that
rebuilt for the other reasons already
2010-04-22 00:28:58 -04:00
Joey Hess
738bd2fa1f
note that the new version will have some optimisation fixes
2010-04-22 00:28:21 -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
318134174f
Merge branch 'master' into autotag
2010-04-21 20:32:30 -04:00
Joey Hess
0bc76be8a7
reword news
2010-04-21 20:32:19 -04:00
Joey Hess
9951060f62
Merge branch 'master' into autotag
2010-04-21 15:53:59 -04:00
Joey Hess
204c0a63f3
document tag_autocreate
2010-04-21 15:22:52 -04:00