aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki.pm
Commit message (Collapse)AuthorAge
* * Add "last" parameter to hook function. Very basic ordering, and hopefullyjoey2006-11-20
| | | | | | | | nothing more spohisticated will be needed. * Add formbuilder_setup and formbuilder hooks. * Split out a passwordauth module, that holds all the traditional password based authentication etc code. It's enabled by default, but can be disabled if you want only openid or some other auth method.
* fix regexpjoey2006-11-20
|
* minor improvementsjoey2006-11-20
|
* * Add an openid plugin to support logging in using OpenID.joey2006-11-20
| | | | | | | * Web commits by OpenID users will record the full OpenID url for the user, but in recentchanges, these urls will be converted to a simplified display form+link. * Modified svn, git, tla backends to recognise such web commits.
* * Make sure to check for errors from every eval.joey2006-11-08
|
* * Implemented expiry options for aggregate plugin.joey2006-11-01
| | | | | | | | | * 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.)
* foldjoey2006-10-29
|
* instead of over and over. Typical speedup is ~4x. Max possible speedup:joey2006-10-28
| | | | | | | | | | | | 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.
* * Fix a subtle bug in will_render that broke some builds, by only clearingjoey2006-10-16
| | | | items from renderedfiles the first time per build.
* * Add no_override parameter to hook().joey2006-10-15
| | | | | | * 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.
* export will_renderjoey2006-10-13
|
* * Atom feed support based on a patch by Clint Adams.joey2006-10-08
| | | | | | | | * 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.
* * Change %renderedfiles to store an array of files rendered from a givenjoey2006-10-08
| | | | | | | | | | | 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.
* * Patch from Alec Berryman adding a http_auth config item that allowsjoey2006-10-02
| | | | | | 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
* * Numerous tla fixes from Clint.joey2006-09-16
|
* * pagetemplate hooks are now also called when generating cgi pages.joey2006-09-16
| | | | | * Add a favicon plugin, which simply adds a link tag for an icon to each page (and cgis).
* * Fix a baseurl problem in hyperestradier search results.joey2006-09-15
|
* add displaytimejoey2006-09-11
|
* updatesjoey2006-09-10
|
* * Add a module version number to IkiWiki, so you can "use IkiWiki '1.00'"joey2006-09-09
| | | | to declare which version of the interface your plugin needs.
* * Work on firming up the plugin interface:joey2006-09-09
| | | | | | | | | | | | | | | | | | | - 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.
* * Patch from James Westby to add a --sslcookie switch, which forcesjoey2006-08-27
| | | | | | | 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.
* * Use DESTDIR and not PREFIX to specify installation prefix for packaging.joey2006-08-25
| | | | | * Support running "perl Makefile.PL PREFIX=foo" to build ikiwiki to run from a different directory.
* * Make pagespec merge code smarter about merging duplicate pagespecs.joey2006-08-23
|
* * Allow preprocessor directives to span multiple lines, both to makejoey2006-08-23
| | | | | long ones with lots of values easier to write, and to allow for ones with multi-line quoted values.
* * Fixed a bug with previews of subpages having broken links to top-leveljoey2006-08-21
| | | | | | | | 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.
* * Add a tail fin^W^Wsidebar plugin by Tuomo Valkonen.joey2006-08-18
| | | | | | * 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.
* * Add --syslog config option, to log to the syslog.joey2006-08-16
|
* * The last release accidentially installed ikiwiki as ikiwiki.pl, now fixed.joey2006-08-13
| | | | | | | | | | | | | | * 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.
* * Set die_on_bad_params => 0 for all templates, to allow users to modifyjoey2006-08-12
| | | | | | 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.
* * Turn on HTML::Template loop_context_vars; not actually used in stockjoey2006-08-05
| | | | | templates but can be useful for things like making comma-delimited lists of tags or what have you.
* * Add xhtml files to the default prune regexp.joey2006-08-04
|
* revert this, it seems wrongjoey2006-08-04
|
* * Make aggregator save permalinks and author name to pages as metadata.joey2006-08-04
| | | | | | | | * 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.)
* * Added created_before and created_after PageSpec limits.joey2006-08-03
|
* * Fix stupid bug in date matching, patch from Roland Mas. Closes: #381132joey2006-08-02
| | | | * Added many unit tests for pagespec_match.
* * Memoize pagespec translation, this speeds up a build of the ikiwiki treejoey2006-08-02
| | | | by 10% or so.
* stupid perl..joey2006-08-02
|
* backlink is just the reverse of link, so..joey2006-08-02
|
* oy, case-insensativity lost!joey2006-08-02
|
* better use gmtime herejoey2006-08-02
|
* * Renamed GlobLists to PageSpecs.joey2006-08-02
| | | | | | | | | | | | | | * 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.
* allow hooks to add options even to --setupjoey2006-07-30
|
* * ikiwiki can now download and aggregate feeds with its new aggregatejoey2006-07-30
| | | | | | | | 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.
* forgot to add thisjoey2006-07-30
|
* * Add a run_hooks function for the common task of running all hooks of ajoey2006-07-30
| | | | | | | given type. * Add a savestate hook. * Don't put blog post forms on pages if there's no cgiurl set. * Reformat front page.
* last minute fix from faidonjoey2006-07-29
|
* * Locale patch from Faidon:joey2006-07-29
| | | | | | | | - 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.
* * Add getopt hook type, this allows plugins to add new command-line options.joey2006-07-28
| | | | * Add --tagbase option to tag plugin.
* * Support a w3mmode, which lets w3m run ikiwiki using its local CGIjoey2006-07-07
| | | | support, to edit pages etc without a web server.