aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki.pm
Commit message (Collapse)AuthorAge
* * Changed calling convention for httmllink slightly. The first threejoey2007-02-20
| | | | | | | | | | 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.
* fix a bugjoey2007-02-20
|
* * Avoid potential syslog format string issue, although only older versionsjoey2007-02-17
| | | | | of perl are vulnerable and it is not known to really be exploitable from ikiwiki.
* foojoey2007-02-15
|
* * Many changes to make ikiwiki very resistant to write failuresjoey2007-02-15
| | | | | | | | 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.
* * Allow plugins to add new types of tests that can be used in PageSpecs.joey2007-02-12
| | | | | | | | | * Add a "conditional" plugin, which allows displaying text if a condition is true. It is enabled by default so conditional can be used in the basewiki. * Use conditionals in the template for plugins, so that plugin pages say if they're currently enabled or not, and in various other places in the wiki.
* fixes and more testsjoey2007-02-07
|
* editojoey2007-02-07
|
* * Patch based on a patch from Ethan to support relative matching injoey2007-02-06
| | | | | PageSpecs, by using "./". pagespec_match() has grown a new third parameter to support this.
* code checking for locked pages into a new "lockedit" plugin. Both arejoey2007-02-03
| | | | | * Avoid using lots of memory when copying large non-html files. Yes, you can keep videos in the wiki..
* * Add canedit hook, allowing arbitrary controls over when a page can bejoey2007-02-02
| | | | | | | | | | | | | edited. * Move code forcing signing before edit to a new "signinedit" plugin, and code checking for locked pages into a new "lockedit" plugin. Both are enabled by default. * Remove the anonok config setting. This is now implemented by a new "anonok" plugin. Anyone with a wiki allowing anonymous edits should change their configs to enable this new plugin. * Add an opendiscussion plugin that allows anonymous users to edit discussion pages, on a wiki that is otherwise wouldn't allow it. * Lots of CGI code reorg and cleanup.
* * More gettext fun.joey2007-01-28
|
* reorgjoey2007-01-28
|
* * Make gitorigin_branch and gitmaster_branch configurable via the setupjoey2007-01-27
| | | | file. Closes: #408599
* * Gettext 1.04 or up is needed for the OO interface that ikiwiki needs,joey2007-01-16
| | | | | if an older version is installed, just don't gettext strings, instead of crashing.
* * Search in default location for templates as a fallback when templatedir isjoey2007-01-12
| | | | | pointed elsewhere, so that only modified templates need to be copied into a templatedir. Based on work by JeremyReed.
* * Fix encoding issue with use of Locale::Gettext. Seems that the OOjoey2007-01-11
| | | | | interface returns proper utf-8 decoded strings, unlike the traditional interface, so use the OO interface.
* * Fix --locale to control LC_ALL now.joey2007-01-10
|
* added some comments for translatorsjoey2007-01-04
|
* userdir fixesjoey2006-12-29
|
* * If a userdir is configured, links to pages in it can be made withoutjoey2006-12-29
| | | | | specifying the path. This allows for easy signing of comments by linking to your page in the userdir.
* * Allow disabling of plugins included in goodstuff.joey2006-12-29
|
* * Initial work on internationalization of the program code. po/ikiwiki.potjoey2006-12-29
| | | | | is available for translation. * Export gettext() from IkiWiki module.
* * Ikiwiki used to use svn as its RCS by default unless configured otherwise,joey2006-12-23
| | | | now it defaults to using no RCS unless configured to do so.
* the problem with coding while drunk -- idiotic mistakesjoey2006-12-23
|
* * Avoid creating edit links when not in cgi mode.joey2006-12-23
| | | | | * Avoid displaying discussion links at all, if there's not a discussion page, when not in cgi mode.
* changed my mind about how to disambiguate links, it seems to make morejoey2006-12-21
| | | | | sense to start them with a /
* * Add support for links of the form [[../foo]], this links to the pagejoey2006-12-21
| | | | | | * Fix code to make absolute urls for rss feeds, was missing some urls. * Fix double-escaping of html entities in titles etc in rss feeds that occured if escaped characters were present in the page filename.
* * Add support for links of the form [../foo]], this links to the page joey2006-12-21
| | | | | foo a level higher in the directory hierarchy than the one it would link to by default.
* * Turn $config{wiki_file_prune_regexps} into an array that is easier tojoey2006-12-21
| | | | | | | | | | | 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.
* * Add userdir config setting.joey2006-12-19
|
* note fixed bugjoey2006-12-07
|
* updatejoey2006-11-28
|
* * Add toggle plugin.joey2006-11-22
| | | | | | | | * Introduce the nicebundle. This is a kind of plugin, that just enables many other plugins. It's an easy way to boost ikiwiki from its default, basic wiki, to a full-featured wiki, without manually picking the right set of plugins. New plugins will be added to the nicebundle from time to time.
* * 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).