summaryrefslogtreecommitdiff
path: root/IkiWiki.pm
AgeCommit message (Collapse)Author
2007-05-24* Deal better with rebuilds that involve moving files; track and clean up thejoey
old files. * Change where the img plugin puts scaled images. It's better to make the scaled images subpages of the page that embeds them, rather than putting them alongside the original image, since if two pages scale the same image the same way, this prevents complications in dealing with two pages creating the same file. The move will be handled transparently, though you might want to rebuild your wiki to make it occur in one step.
2007-05-21improve messagesjoey
2007-05-21* Change the aggregate plugin's locking strategy. Now it defers loading statejoey
until the wiki is building and already locked, unless it's aggregating. When aggregating, it does not wait for the lock if it cannot get it, and instead exits, to prevent aggregating processes from piling up.
2007-05-17* Add a destpage parameter to the filter hook.joey
* Fix links to smilies generated by the smiley plugin for inlined pages. The old links were often wrong, but often still worked by accident.
2007-05-09* Add an account-creation password as a simple anti-spam mechanism. Ifjoshtriplett
set in the wiki setup, passwordauth will require the password in order to create an account.
2007-04-29* Enable openid logins by default.joey
* Enable usedirs by default.
2007-04-27foldingjoey
2007-04-27* Make pagespec_match return an object that can be stringified to telljoey
* Include wikiname in syslogged messages.
2007-04-27minor improvementsjoey
2007-04-27* Fix bestlink to use pagecase for pages in userdir, to support pagesjoshtriplett
with non-lowercase filenames.
2007-04-27the kind of perl code that can only be written at 4:30 amjoey
(Get a good message when a PageSpec fails due to a negated success by creating success objects with a reason string, which morph into failure objects when negated.)
2007-04-27* Make pagespec_match on failure return a value that is false, but in ajoey
scalar context, evaluates to a reason why the match failed. * Add testpagespec plugin, which might be useful to see why a pagespec isn't matching something.
2007-04-27* pagespec_match() has changed to take named parameters, to better allowjoey
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.
2007-04-15* Add .dpkg-tmp to prune regexp, so that if ikiwiki is run right as it'sjoey
being upgraded by dpkg it will ignore dpkg temp files in the basewiki.
2007-04-14expost %destsourcesjoey
2007-04-14* Apply patch from Ethan to improve an error message that should neverjoey
happen.
2007-04-13* Internal version number and installdir substitutions were lost, fix.joey
2007-04-10* Optimise displaytime, trimming maybe 6% off the build time.joey
2007-04-10* Add a new %destsources hash, which maps between a destination file andjoey
the source page used to create it, ie it's the reverse of %renderedfiles. * Use %destsources in htmllink and urlto for 20-50% speedup.
2007-04-09use err facility when logging errors to syslogjoey
2007-04-06oopsjoey
2007-04-06* Fix display of escaped wikilinks containing anchors.joey
2007-04-04* Fix a bug that caused link(foo) to succeed if page foo did not exist.joey
2007-04-01* Finally apply the index.html patch, with thanks to everyone who workedjoey
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.
2007-03-31* Hide excess backlinks and expand using CSS trick; control quantiy viajoey
the numbacklinks setting.
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