aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Render.pm
Commit message (Expand)AuthorAge
* avoid calling getctime on internal pages•••internal pages won't be in revision control so this avoids some ugly noise Joey Hess2008-02-24
* * Add the linkify and scan hooks. These hooks can be used to implement••• custom, first-class types of wikilinks. * Move standard wikilink implementation to a new wikilink plugin, which will of course be enabled by default. Joey Hess2008-02-11
* * Page templates can now use CTIME to show when the page was created.Joey Hess2008-02-09
* * Don't die if running with --getctime and rcs_getctime throws an error.••• There are several cases (recentchanges files, aggregated files) where some source files are not in revision control. Joey Hess2008-02-07
* * Revert preservation of input file modification times in output files,••• since this leads to too many problems with web caching, especially with inlined pages. Properly solving this would involve tracking every page that contributes to a page's content and using the youngest of them all, as well as special cases for things like the version plugin, and it's just too complex to do. Joey Hess2008-02-02
* move recentchanges link enabling into a pagetemplate hookJoey Hess2008-01-30
* avoid temp varJoey Hess2008-01-29
* don't scan internal pages•••scan() does too much. All that is needed is to preprocess the internal page in scan-only mode. Joey Hess2008-01-29
* * meta: Add pagespec functions to match against title, author, authorurl,••• license, and copyright. This can be used to create custom RecentChanges. * meta: To support the pagespec functions, metadata about pages has to be retained as pagestate. * Fix encoding bug when pagestate values contained spaces. Joey Hess2008-01-29
* avoid redundant recentpages action on the recentchanges page itselfJoey Hess2008-01-29
* added configuration for recentchanges•••I kept it to a simple global configuration, rather than using the preprocessor directive for recentchanges, because that had chicken and egg problems and seemed overcomplicated. This should work reasonably well, though it would be good to add some more metadata so that more customised recentchanges pages can be made. Joey Hess2008-01-29
* improve support for internal pages•••This makes it a lot quicker to deal with lots of recentchanges pages appearing and disappearing. It avoids needing to clutter up pagespecs with exclusions for those pages, by making normal pagespecs not match them. Joey Hess2008-01-29
* add refresh hookJoey Hess2008-01-29
* indicate that an internal page will be rendered even if skipping it•••This is important to do because until will_render is called, ikiwiki doesn't know that the page exists. This avoids recentchanges re-writing every change page every run. Joey Hess2008-01-29
* update RecentChanges action to point to pageJoey Hess2008-01-29
* don't render internal-use pages, and document themJoey Hess2008-01-29
* * Improved parentlinks special case for index pages.Joey Hess2007-12-19
* * Avoid unnecessary stat calls to get mtime when rendering pages, use••• cached value. * Preserve input file modification times in output files. Joey Hess2007-12-12
* releasing version 2.14Joey Hess2007-11-26
* * Support for looking in multiple directories for underlay files.•••* Plugins can add new directories to the search path with the add_underlay function. * Split out smiley underlay files into a separate underlay, so if the plugin isn't used, the wiki isn't bloated with all those files. joey2007-08-28
* typojoey2007-07-28
* * Add templatefile hook.•••* Add pagetemplate plugin, which allows changing the template used for a page. (Not to be confused with the hook of the same name..) joey2007-07-26
* * Fix re-rendering of pages when a linked to page goes away. This was broken••• in version 1.50 with the addition of %destsources. Thanks, Ethan Glasser-Camp. joey2007-07-26
* * Add a destpage parameter to the filter hook.•••* Fix links to smilies generated by the smiley plugin for inlined pages. The old links were often wrong, but often still worked by accident. joey2007-05-17
* optimise backlinks counting for pagestats, simplify function returns againjoey2007-05-12
* * Add the needsbuild hook. Plugins can use this to manipulate which files••• ikiwiki builds when refreshing the wiki. joey2007-05-09
* * pagespec_match() has changed to take named parameters, to better allow••• for extended pagespecs. The old calling convention will still work for back-compat for now. * The calling convention for functions in the IkiWiki::PageSpec namespace has changed so they are passed named parameters. * Plugin interface version increased to 2.00 since I don't anticipate any more interface changes before 2.0. joey2007-04-27
* oopsjoey2007-04-08
* magic 0joey2007-04-07
* * Finally apply the index.html patch, with thanks to everyone who worked••• on and supported creating it (especially Tumov). This adds a "usedirs" option that makes ikiwiki use foo/index.html instead of foo.html as output page names. It is not yet enabled by default. joey2007-04-01
* * Hide excess backlinks and expand using CSS trick; control quantiy via••• the numbacklinks setting. joey2007-03-31
* * Finally fixed the longstanding inline removal bug.•••* Renamed %oldpagemtime to a more accurately named %pagemtime and fix it to actually store pages' mtimes. * Add "mtime" sort parameter to inline plugin. joey2007-03-24
* * The underscore escaping support exposed a bug in edit links: Such links••• were titlepage escaped in the urls, and then doubly escaped by the CGI when editing. To fix this, I removed the titlepage escaping in the edit urls. * That means that *every edit link* on the wiki is potentially changed. Rebuilding wikis on upgrade to this version therefore necessary; enabled that in postinst. joey2007-03-08
* My fix to support encoded underscores in page titles broke links to pages•••with underscores in their filenames, since the link code also used titlepage. Create a new linkpage function and have the link code use that instead. joey2007-03-07
* * Changed calling convention for httmllink slightly. The first three••• parameters remain the same, but additional options are now passed in using named parameters. * Change plugin interface version to 1.02 to reflect this change. * Add a new anchor option to htmllink. Thanks Ben for the idea. * Support anchors in wikilinks. * Add a "more" plugin based on one contributed by Ben to allow implementing those dreaded "Read more" links in blogs. joey2007-02-20
* * Many changes to make ikiwiki very resistant to write failures••• including out of disk space situations. ikiwiki should never leave truncated files, and if the error occurs during a web-based file edit, the user will be given an opportunity to retry. Inspired by the many ways Moin Moin destroys itself when out of disk. :-) * Fix syslogging of errors. joey2007-02-15
* * Patch based on a patch from Ethan to support relative matching in••• PageSpecs, by using "./". pagespec_match() has grown a new third parameter to support this. joey2007-02-06
* code checking for locked pages into a new "lockedit" plugin. Both are•••* Avoid using lots of memory when copying large non-html files. Yes, you can keep videos in the wiki.. joey2007-02-03
* * Fix handling of discussion links on discussion pages when l10n is used.joey2007-01-18
* * Don't put discussion links on discussion pages.joey2006-12-29
* * Initial work on internationalization of the program code. po/ikiwiki.pot••• is available for translation. * Export gettext() from IkiWiki module. joey2006-12-29
* * Improve code that ignores files in the underlaydir if the srcdir has a••• file building the same page. Now it will work even if the extensions of the source files differ. joey2006-12-28
* the problem with coding while drunk -- idiotic mistakesjoey2006-12-23
* * Avoid creating edit links when not in cgi mode.•••* Avoid displaying discussion links at all, if there's not a discussion page, when not in cgi mode. joey2006-12-23
* * Turn $config{wiki_file_prune_regexps} into an array that is easier to••• manipulate. * Only exclude rss and atom files from processing if the inline plugin is enabled and that feed type is enabled. Else it's just a copyable file type. * Move rss and atom option handling code into the inline plugin. * Applied a rather old patch from Recai to fix the "pruning is too strict" issue. Now you can have wiki source directories inside dotdirs and the like, if you want. joey2006-12-21
* foojoey2006-11-26
* * Make sure to check for errors from every eval.joey2006-11-08
* * Implemented expiry options for aggregate plugin.•••* Use precalculated backlinks info when determining if files need an update due to a page they link to being added/removed. Mostly significant if there are lots of pages. * Remove duplicate link info when saving index. In some cases it could pile up rather badly. (Probably not the best way to deal with this problem.) joey2006-11-01
* fix a bugjoey2006-10-28
* instead of over and over. Typical speedup is ~4x. Max possible speedup:••• 8x. * Add "scan" parameter to hook(), which is used to make the hook be called during the scanning pass, as well as the render pass. The meta and tag plugins need to use the new scan parameter, so will any others that modify %links. * Now that links are calculated in a separate pass, it can also precalculate backlinks in one pass, which is O(N^2) instead of the previous code that was O(N^3). A very nice speedup for wikis with lots (thousands) of pages. joey2006-10-28