summaryrefslogtreecommitdiff
path: root/IkiWiki.pm
AgeCommit message (Collapse)Author
2006-10-29foldjoey
2006-10-28 instead of over and over. Typical speedup is ~4x. Max possible speedup:joey
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.
2006-10-16* Fix a subtle bug in will_render that broke some builds, by only clearingjoey
items from renderedfiles the first time per build.
2006-10-15* Add no_override parameter to hook().joey
* Add a shortcut plugin, inspired by Victor Moral's contributed shortcuts plugin, but featuring a more ikiwiki-ish syntax and with shortcuts that can be configured using a page in wiki.
2006-10-13export will_renderjoey
2006-10-08* Atom feed support based on a patch by Clint Adams.joey
* Add feeds=no option to inline preprocessor directive to turn off all types of feeds. feeds=rss will still work, and feeds=atom was also added, for fine control. * $IkiWiki::version now holds the program version, and is accessible to plugins.
2006-10-08* Change %renderedfiles to store an array of files rendered from a givenjoey
source file, to allow tracking of extra rendered files like rss feeds. * Note that plugins that accessed this variable will need to be updated! The plugin interface has been increased to version 1.01 for this change. * Add will_render function to the plugin interface, used to register that a page renders a destination file, and do some security checks. * Use will_render in the inline and linkmap plugins. * Previously but no longer rendered files will be cleaned up. * You will need to rebuild your wiki on upgrade to this version.
2006-10-02* Patch from Alec Berryman adding a http_auth config item that allowsjoey
using HTTP Authentication instead of ikiwiki's built in authentication. Useful for eg, large sites with their own previously existing user auth setup. Closes: #384534
2006-09-16* Numerous tla fixes from Clint.joey
2006-09-16* pagetemplate hooks are now also called when generating cgi pages.joey
* Add a favicon plugin, which simply adds a link tag for an icon to each page (and cgis).
2006-09-15* Fix a baseurl problem in hyperestradier search results.joey
2006-09-11add displaytimejoey
2006-09-10updatesjoey
2006-09-09* Add a module version number to IkiWiki, so you can "use IkiWiki '1.00'"joey
to declare which version of the interface your plugin needs.
2006-09-09* Work on firming up the plugin interface:joey
- Plugins should not need to load IkiWiki::Render to get commonly used functions, so moved some functions from there to IkiWiki. - Picked out the set of functions and variables that most plugins use, documented them, and made IkiWiki export them by default, like a proper perl module should. - Use the other functions at your own risk. - This is not quite complete, I still have to decide whether to export some other things. * Changed all plugins included in ikiwiki to not use "IkiWiki::" when referring to stuff now exported by the IkiWiki module. * Anyone with a third-party ikiwiki plugin is strongly enrouraged to make like changes to it and avoid use of non-exported symboles from "IkiWiki::". * Link debian/changelog and debian/news to NEWS and CHANGELOG. * Support hyperestradier version 1.4.2, which adds a new required phraseform setting.
2006-08-27* Patch from James Westby to add a --sslcookie switch, which forcesjoey
cookies to only be sent over ssl connections to avoid interception. * Factor out the cgi header printing code into a new function. * Fix preferences page on anonok wikis; still need to sign in to get to the preferences page.
2006-08-25* Use DESTDIR and not PREFIX to specify installation prefix for packaging.joey
* Support running "perl Makefile.PL PREFIX=foo" to build ikiwiki to run from a different directory.
2006-08-23* Make pagespec merge code smarter about merging duplicate pagespecs.joey
2006-08-23* Allow preprocessor directives to span multiple lines, both to makejoey
long ones with lots of values easier to write, and to allow for ones with multi-line quoted values.
2006-08-21* Fixed a bug with previews of subpages having broken links to top-leveljoey
pages. * Change how the stylesheet url is determined in the templates: Remove STYLEURL and add BASEURL to all templates (some already had it). This new more general variable can be used to link to other things (eg, images) from the template, as well as stylesheets.
2006-08-18* Add a tail fin^W^Wsidebar plugin by Tuomo Valkonen.joey
* If a page links to itself, mark up the link text in a span with class="selflink" so that it can be styled. I don't have a useful style defined for that though.
2006-08-16* Add --syslog config option, to log to the syslog.joey
2006-08-13* The last release accidentially installed ikiwiki as ikiwiki.pl, now fixed.joey
* Add --version. * Man page format fixups. * Add a %pagecase which maps lower-case page names to the actual case used in the filename. Use this in bestlinks calculation instead of forcing the link to lowercase. * Also use %pagecase in various other places that want to check if a page with a given name exists. * This means that links to pages with mixed case names will now work, even if the link is in some other case mixture, and mixed case pages should be fully supported throughout ikiwiki. * Recommend rebuilding wikis on upgrade to this version.
2006-08-12* Set die_on_bad_params => 0 for all templates, to allow users to modifyjoey
them without annoyances. * Suck in the page content when generating an inline archive page, to work around the meta plugin's lack of caching of title metadata across runs.
2006-08-05* Turn on HTML::Template loop_context_vars; not actually used in stockjoey
templates but can be useful for things like making comma-delimited lists of tags or what have you.
2006-08-04* Add xhtml files to the default prune regexp.joey
2006-08-04revert this, it seems wrongjoey
2006-08-04* Make aggregator save permalinks and author name to pages as metadata.joey
* Add permalink and author support to meta plugin, affecting RSS feeds and blog pages. * Change titlepage() to encode utf-8 alnum characters. This is necessary to avoid UTF-8 creeping into filenames in urls. (There are still some other ways that it can get in.)
2006-08-03* Added created_before and created_after PageSpec limits.joey
2006-08-02* Fix stupid bug in date matching, patch from Roland Mas. Closes: #381132joey
* Added many unit tests for pagespec_match.
2006-08-02* Memoize pagespec translation, this speeds up a build of the ikiwiki treejoey
by 10% or so.
2006-08-02stupid perl..joey
2006-08-02backlink is just the reverse of link, so..joey
2006-08-02oy, case-insensativity lost!joey
2006-08-02better use gmtime herejoey
2006-08-02* Renamed GlobLists to PageSpecs.joey
* PageSpecs can now include nested parens, "and", and "or". This remains backwards compatible to the old GlobList format. It's implemented by treating the GlobList as a very limited microlanguage that is transformed to perl code that does the matching. * The old GlobList format is deprecated, and I encourage users to switch to using the new PageSpec format. Compatability with the old format will be removed at some point, possibly by 2.0. * Wiki rebuild needed on upgrade to this version due to PageSpec change. * Add support for creation_month and creation_year to PageSpec. Closes: #380680 * Changes to index file encoding.
2006-07-30allow hooks to add options even to --setupjoey
2006-07-30* ikiwiki can now download and aggregate feeds with its new aggregatejoey
plugin, so it's possible to implement a Planet using ikiwiki! * --setup --refresh no longer rebuilds wrappers. Use --setup --refresh --wrappers to do that. * Add %IkiWiki::forcerebuild to provide a way for plugins like aggregate to update pages that haven't changed on disk.
2006-07-30forgot to add thisjoey
2006-07-30* Add a run_hooks function for the common task of running all hooks of ajoey
given type. * Add a savestate hook. * Don't put blog post forms on pages if there's no cgiurl set. * Reformat front page.
2006-07-29last minute fix from faidonjoey
2006-07-29* Locale patch from Faidon:joey
- Adds a locale setting to setup files. - Proper local time, if the locale configuration option is used. - Support for UTF-8 (or ISO-8859-X) filenames in SVN. Before this patch, commiting (or even rcs_updating) on repositories with UTF-8 filenames was impossible.
2006-07-28* Add getopt hook type, this allows plugins to add new command-line options.joey
* Add --tagbase option to tag plugin.
2006-07-07* Support a w3mmode, which lets w3m run ikiwiki using its local CGIjoey
support, to edit pages etc without a web server.
2006-07-04* Memoize abs2rel, which is still kinda slow, for another 30% speedupjoey
in time to build the doc wiki.
2006-07-04 * Work around very innefficient behavior in File::Spec::abs2rel. Resultjoey
is a savings of 2 pointless fork/execs per link calculation, which results in ~25% speedup of ikiwiki building its own doc wiki, and about 35% speedup displaying RecentChanges!
2006-07-04remove leading dot from default_pageextjoey
fix preview to not assume it's the default page type, and instead get the type from the page
2006-07-04re-improve regexpjoey
2006-07-03improve regexpjoey
2006-07-03use "use open" pragma to avoid manually needing to specify utf8 everywherejoey
and also to set default stdio mode change filetype to return undef, not "unknown"