summaryrefslogtreecommitdiff
path: root/IkiWiki/Render.pm
AgeCommit message (Collapse)Author
2006-07-03* Support pages with utf8 filenames. Patch by Faidon Liambotis.joey
2006-07-02* Centralised all calls to HTML::Template and force all the templatesjoey
to be read as utf8.
2006-07-02perl bugnum and refixjoey
2006-07-02 so make sure to let perl know it should be handled as utf8. Also,joey
* Improve layout of edit page so formatting help link is always visible w/o getting in the way of the preview.
2006-07-02* POSIX::strftime doesn't know about encodings and doesn't return a utf8joey
flagged string even if the locale causes it to generate utf8 output, so make sure to let perl know it should be handled as utf8. Also, the optimised version used for standard time formats won't work if the user has changed locale, so drop it. Thanks, Faidon Liambotis. * Fix re-encoding of the comments field to utf8 if a commit fails due to a conflict. Thanks, Faidon Liambotis. * Let svn know that commits have utf8 commit messages. Thanks, Faidon Liambotis. * Add insane double encode/decode to utf8 around call to markdown. This works around a truely strange bug, which is apparently a bug in perl, which I lack space to describe here (see t/crazy-badass-perl-bug.t)
2006-07-02* Honor LC_CTIME when formatting a time for display. Thanks, Faidonjoey
Liambotis.
2006-06-16* Put back the encode_utf8 in the input to markdown; it's really not utf-8joey
safe.
2006-06-11* Patch from Recai Oktaş to improve utf-8 support, it should now use properjoey
utf-8 for edit and other fields, and for recentchanges. There may still be utf-8 issues with the preferences page though.
2006-06-02* Reorganised the doc wiki's todo/* pages, using a link/tag to flagjoey
* Allow pagetemplate plugins to override *anything* in the template. * Add a meta plugin, which allows specifying various metadata about pages, like license and author. It also allows for inserting html link and meta tags into html, overriding the title, and adding hidden WikiLinks, which can be useful when using link-based globbing for page categorisation. * Remove preprocessor directives from inlined pages. * Allow simple preprocessor directive values to be specified w/o quotes.
2006-06-01* More security review.joey
2006-05-29* Add --timeformat config option to allow changing how dates are displayed.joey
Note that as a side effect, dates will now be displayed using the local timezone, not as GMT.
2006-05-26* --getctime had bitrotted (well I only ever used it the once so far..),joey
* When inlining a page in another one, links from the inlined page are now expanded the same as they are when rendering the inlined page as a standalone page. So rather than being expanded from the POV of the inlining page, they are expanded from the POV of the inlined page. For example, a link from blog/foo to "bar" will now link to blog/bar if it exists. Previously this needed to be a link explicitly to "blog/bar"; such links will also continue to work. (This was slightly complex to do as the link still has to be constructed relative to the inlining page.)
2006-05-26utf-8 support seems to be working nowjoey
2006-05-26better fix for empty actions list issuejoey
2006-05-26fix call to getctimejoey
2006-05-26* Rebuilding on upgrade to this version is recommended.joey
* Add a html validity check to the test suite, using the wdg-html-validator, if available. * Make the html valid when there is nothing in the actions list by adding an empty <li> to the end of it. * Reordered some function call parameters for consistency.
2006-05-26* The page name and parent links has switched from using a <h1> to a styledjoey
<span>, so pages can use <h1> internally instead of needing to use <h2>. * Updated all of ikiwiki's own wiki pages for that. * Add pagetemplate hook, which can be used by plugins that want to mess around with adding new stuff to the page template. * Remove headercontent; the search plugin now adds the search box to the header by registering a pagetemplate hook, and other plugins should do similarly.
2006-05-05* Allow discussion links on pages to be turned off with --no-discussion.joey
2006-05-05* Removed --sanitize and --no-sanitize, replaced with --plugin htmlscrubberjoey
and --disable-plugin htmlscrubber.
2006-05-05rename the "render" hook to "change", which is clearerjoey
2006-05-04* Added smiley plugin, nicely controlled and documented by the smileys page.joey
* Copied in some smileys from Moin Moin.
2006-05-03rather a lot of changes to make hyperestraier search be a plugin, allowingjoey
for other types of search engine plugins if wanted, and also opening up a lot of new possibilities for other kinds of plugins later some notable changes along the way: - lots of new hook types: cgi, render, delete - wrapper files fixed to support config strings with newlines in them - HEADERCONTENT in page template useful for plugins. Probably needs to be expanded to more such for other places plugins might want to add content. - remove unnecessary wrappers field from config info stored in wrappers
2006-05-03change plugin interface to use named parameters for flexabilityjoey
2006-05-02ah, the joys of test-based development..joey
think I have smart glob list matching working ok
2006-05-02* Split off an IkiWiki.pm out of ikiwiki and have all the other modules usejoey
it, this will allow for adding a unit test suite.
2006-05-02deep copy/untaint arrays in setupjoey
2006-05-02* Added plugin system, currently only supporting for PreProcessorDirectives.joey
* Added a pagecount plugin, enabled by default. * Support PreProcessorDirectives with no parameters, ie "[[pagecount ]]". * Fixed/optimised backlinks code, to avoid rebuilding pages to update backlinks when the backlinks hadn't really changed. * Moved inline page support, rss generation etc into the inline plugin, enabled by default. * Added brokenlinks plugin, not enabled by default, but rather handy. * Fix several broken links in the doc wiki.
2006-05-01change calling convention for preprocessor functionsjoey
2006-05-01* Rename inlinepage to depends, so that it can be used to refer to morejoey
dependency relationships than just inlining. This will require a rebuild on upgrade to this version. * Move the rss link, put it in the blogpost form if there is one and at the top if not. This is both nicer because easier to find, and it cleans up the code which had used inlinepage as a flag for adding the link later. * Allow the depends GlobList to be built up from multiple sources (such as plugins) during a page render. * Which means that more than one blog is now supported to appear on a single page. (With some limitations.)
2006-04-25implemented html sanitisationjoey
2006-04-24commit changes for email subscriptionsjoey
2006-04-04Convert postprocessordirectives into preprocessordirectives, so they arejoey
expanded before markdown. Consequences: - No need to worry about markdown messing with parameters of preprocessordirectives. (If you had to escape stuff in one before, you'll need to undo that escaping now.) - No need for ugly </p> hacks before inlined subpages. Instead, subpages are wrapped in a <div>, and this prevents markdown from touching them. (This can also be used to add style to subpages.) - rss generation is less of a hack.
2006-04-04proper binmode settings so that with -CSD, ikiwiki will support unicodejoey
however, due to robustness, that's not enabled by default yet
2006-03-29fixesjoey
2006-03-29added --hyperestraier switch, which turns on search supportjoey
(ok, the way I run estseek.cgi is admittedly pretty nasty, but it works..)
2006-03-29improve fix for symlink attacks to check subdirectories for symlinks toojoey
before writing
2006-03-29Implemented --underlaydir, and moved files provided by underlay out of docjoey
so I don't need to maintain two copies anymore. You might also want to remove the files provided in the basewiki underlay from your wiki, if you have not created custom local versions of them, so that these pages will be automatically updated in future ikiwiki upgrades.
2006-03-29css supportjoey
2006-03-29html validation fixes:joey
- escape & in urls (also clean up cgi url generation) - since markdown wraps inlined pages in <p></p>, close and re-open the paragraph tags when generating the embedded html - added XHTML 1.0 doctypes to templates - fixed <hr /> and <br /> in templates - add an alt attribute to inline images, based on the WikiLink to the image. Allows things like [[my_image|img.png]] to customise alt text.
2006-03-29Improved handling of wikilinks containing characters that are not allowedjoey
in filenames. Now converts to valid filenames automatically. Note, need to --refresh your wiki after updating to this version, if you use any pages with __nn__ in their names.
2006-03-28support [[linktext|pagename]] linksjoey
2006-03-28There was a bug that [[inline archive="yes]] created an RSS link, but no feed.joey
Fixed in the easiest way by creating an RSS feed for archive pages (it will include only a limited number of items, not everything). Alternative fix would be to track separately which pages are archives and which not, and only create feeds for non-archives.
2006-03-26fix rss url in nested pagesjoey
2006-03-24implemented upgradehookshjoey
2006-03-24add blog post templatejoey
2006-03-24big speedupjoey
2006-03-24Removed the rss feeds for every page, which wasn't really entirely useful.joey
Let's only do them for blog pages.
2006-03-24add archive pages and fix some bugsjoey
2006-03-24hold onto your hats, full-fledged blogging has arrived in ikiwiki!joey
2006-03-23preserve ctimes across rebuildsjoey