summaryrefslogtreecommitdiff
path: root/IkiWiki.pm
AgeCommit message (Collapse)Author
2007-03-24* Finally fixed the longstanding inline removal bug.joey
* Renamed %oldpagemtime to a more accurately named %pagemtime and fix it to actually store pages' mtimes. * Add "mtime" sort parameter to inline plugin.
2007-03-21* Fix link() PageSpecs to not just look at the raw link text, but at wherejoey
that given link points based on the page doing the linking. Note that this could make such PageSpecs match different things than before, if you relied on the old behavior of them only matching the raw link text. * This required changing the match_* interface, adding a third parameter. * Allow link() PageSpecs to match relative, as is allowed with globs.a * Add postform option to inline plugin. * Add an bug tracker to the softwaresite example.
2007-03-11* Fix a bug with inlined create page links, including Discussion links onjoey
blog post pages. The links will now create pages relative to the page that actually contains the link.
2007-03-08need to use uri_escape_utf8joey
2007-03-08* The underscore escaping support exposed a bug in edit links: Such linksjoey
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.
2007-03-07remove debuggingjoey
2007-03-07My fix to support encoded underscores in page titles broke links to pagesjoey
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.
2007-03-06* Add preview parameter to preprocesser calls, use this rather than thejoey
previous ugly hack used to avoid writing rss feeds in previews. * Fix the img plugin to avoid overwriting images in previews. Instead it does all the work to make sure the resizing works, and dummys up a resized image using width and height attributes. * Also fixes img preview display, the links were wrong in preview before.
2007-03-03fix precidence problem, thanks bodjoey
2007-03-02* Allow for underscores to appear in page titles, if encoded appropriatelyjoey
(__95__) in filenames. Previously, all underscores were replaced with spaces. Thanks, Enrico Zini for noticing that bug.
2007-02-21doh!joey
2007-02-21* Since the CGI had to drop the wiki lock to avoid deadlocking thejoey
commit hook, it was possible for one CGI to race another one and "win" the commit of both their files. This race has been fixed by adding a new commitlock, which when locked by the CGI, disables the commit hook (except for commit mails). The CGI then takes care of the updates the commit hook would have done.
2007-02-20* perl is broken: print "" || die fails! Work around this insanity.joey
2007-02-20* Changed calling convention for httmllink slightly. The first threejoey
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.
2007-02-20fix a bugjoey
2007-02-17* Avoid potential syslog format string issue, although only older versionsjoey
of perl are vulnerable and it is not known to really be exploitable from ikiwiki.
2007-02-15foojoey
2007-02-15* Many changes to make ikiwiki very resistant to write failuresjoey
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.
2007-02-12* Allow plugins to add new types of tests that can be used in PageSpecs.joey
* 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.
2007-02-07fixes and more testsjoey
2007-02-07editojoey
2007-02-06* Patch based on a patch from Ethan to support relative matching injoey
PageSpecs, by using "./". pagespec_match() has grown a new third parameter to support this.
2007-02-03 code checking for locked pages into a new "lockedit" plugin. Both arejoey
* Avoid using lots of memory when copying large non-html files. Yes, you can keep videos in the wiki..
2007-02-02* Add canedit hook, allowing arbitrary controls over when a page can bejoey
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.
2007-01-28* More gettext fun.joey
2007-01-28reorgjoey
2007-01-27* Make gitorigin_branch and gitmaster_branch configurable via the setupjoey
file. Closes: #408599
2007-01-16* Gettext 1.04 or up is needed for the OO interface that ikiwiki needs,joey
if an older version is installed, just don't gettext strings, instead of crashing.
2007-01-12* Search in default location for templates as a fallback when templatedir isjoey
pointed elsewhere, so that only modified templates need to be copied into a templatedir. Based on work by JeremyReed.
2007-01-11* Fix encoding issue with use of Locale::Gettext. Seems that the OOjoey
interface returns proper utf-8 decoded strings, unlike the traditional interface, so use the OO interface.
2007-01-10* Fix --locale to control LC_ALL now.joey
2007-01-04added some comments for translatorsjoey
2006-12-29userdir fixesjoey
2006-12-29* If a userdir is configured, links to pages in it can be made withoutjoey
specifying the path. This allows for easy signing of comments by linking to your page in the userdir.
2006-12-29* Allow disabling of plugins included in goodstuff.joey
2006-12-29* Initial work on internationalization of the program code. po/ikiwiki.potjoey
is available for translation. * Export gettext() from IkiWiki module.
2006-12-23* Ikiwiki used to use svn as its RCS by default unless configured otherwise,joey
now it defaults to using no RCS unless configured to do so.
2006-12-23the problem with coding while drunk -- idiotic mistakesjoey
2006-12-23* Avoid creating edit links when not in cgi mode.joey
* Avoid displaying discussion links at all, if there's not a discussion page, when not in cgi mode.
2006-12-21changed my mind about how to disambiguate links, it seems to make morejoey
sense to start them with a /
2006-12-21* Add support for links of the form [[../foo]], this links to the pagejoey
* 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.
2006-12-21* Add support for links of the form [../foo]], this links to the page joey
foo a level higher in the directory hierarchy than the one it would link to by default.
2006-12-21* Turn $config{wiki_file_prune_regexps} into an array that is easier tojoey
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.
2006-12-19* Add userdir config setting.joey
2006-12-07note fixed bugjoey
2006-11-28updatejoey
2006-11-22* Add toggle plugin.joey
* 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.
2006-11-20* Add "last" parameter to hook function. Very basic ordering, and hopefullyjoey
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.
2006-11-20fix regexpjoey
2006-11-20minor improvementsjoey