summaryrefslogtreecommitdiff
path: root/www/ikiwiki/PLIST
AgeCommit message (Collapse)AuthorFilesLines
2016-01-21Update to 3.20160121. From the changelog:schmonz1-1/+2
[ Amitai Schlair ] * meta: Fix [[!meta name=foo]] by closing the open quote. * Avoid unescaped "{" in regular expressions * meta test: Add tests for many behaviors of the directive. * img test: Bail gracefully when ImageMagick is not present. [ Joey Hess ] * emailauth: Added emailauth_sender config. * Modified page.tmpl to to set html lang= and dir= when values have been specified for them, which the po plugin does. * Specifically license the javascript underlay under the permissive basewiki license. [ Simon McVittie ] * git: if no committer identity is known, set it to "IkiWiki <ikiwiki.info>" in .git/config. This resolves commit errors in versions of git that require a non-trivial committer identity. * inline, trail: rename show, feedshow parameters to limit, feedlimit (with backwards compatibility) * pagestats: add "show" option to show meta fields. Thanks, Louis * inline: force RSS <comments> to be a fully absolute URL as required by the W3C validator. Please use Atom feeds if relative URLs are desirable on your site. * inline: add <atom:link rel="self"> to RSS feeds as recommended by the W3C validator * inline: do not produce links containing /./ or /../ * syslog: accept and encode UTF-8 messages * syslog: don't fail to log if the wiki name contains %s * Change dependencies from transitional package perlmagick to libimage-magick-perl (Closes: #789221) * debian/copyright: update for the rename of openid-selector to login-selector * d/control: remove leading article from Description (lintian: description-synopsis-starts-with-article) * d/control: Standards-Version: 3.9.6, no changes required * Wrap and sort control files (wrap-and-sort -abst) * Silence "used only once: possible typo" warnings for variables that are part of modules' APIs * Run autopkgtest tests using autodep8 and the pkg-perl team's infrastructure * Add enough build-dependencies to run all tests, except for non-git VCSs * tests: consistently use done_testing instead of no_plan * t/img.t: do not spuriously skip * img test: skip testing PDFs if unsupported * img test: use the right filenames when testing that deletion occurs -- Simon McVittie <smcv@debian.org> Thu, 21 Jan 2016 09:53:07 +0000
2015-06-11Update to 3.20150610. From the changelog:schmonz1-10/+10
[ Joey Hess ] * New emailauth plugin lets users log in, without any registration, by simply clicking on a link in an email. * Re-remove google from openid selector; their openid provider is gone for good. * Make the openid selector display "Password" instead of "Other" when appropriate, so users are more likely to click on it when they don't have an openid. * Converted openid-selector into a more generic loginselector helper plugin. * passwordauth: Don't allow registering accounts that look like openids. * Make cgiurl output deterministic, not hash order. Closes: #785738 Thanks, Daniel Kahn Gillmor [ Simon McVittie ] * Do not enable emailauth by default, to avoid surprises on httpauth-only sites. Enable it by default in openid instead, since it is essentially a replacement for OpenIDs. * Make the attachment plugin work with CGI.pm 4.x (Closes: #786586; workaround for #786587 in libcgi-pm-perl) * Add a public-domain email icon from tango-icon-theme * Populate pagectime from either mtime or inode change time, whichever is older, again for more reproducible builds * debian: build the docwiki with LC_ALL=C.UTF-8 and TZ=UTC * debian/copyright: consolidate permissive licenses * debian/copyright: turn comments on provenance into Comment * brokenlinks: sort the pages that link to the missing page, for better reproducibility * Add [[!meta date]] to news items and tips, since the git checkout and build process can leave the checkout date in the tarball release, leading to unstable sorting * Sort backlinks deterministically, by falling back to sorting by href if the link text is identical * Add a $config{deterministic} option and use it for the docwiki * haiku: if deterministic build is requested, return a hard-coded haiku * polygen: if deterministic build is requested, use a well-known random seed
2015-04-04Remove a couple files from PLIST no longer installed with the l10n option.schmonz1-3/+1
2015-01-07Update to 3.20150107. From the changelog:schmonz1-1/+3
[ Joey Hess ] * Added ikiwiki-comment program. * Add missing build-depends on libcgi-formbuilder-perl, needed for t/relativity.t * openid: Stop suppressing the email field on the Preferences page. * po: If msgmerge falls over on a problem po file, print a warning message, but don't let this problem crash ikiwiki entirely. * Set Debian package maintainer to Simon McVittie as I'm retiring from Debian. [ Simon McVittie ] * calendar: add calendar_autocreate option, with which "ikiwiki --refresh" can mostly supersede the ikiwiki-calendar command. Thanks, Louis Paternault * search: add more classes as a hook for CSS. Thanks, sajolida * core: generate HTML5 by default, but keep avoiding new elements like <section> that require specific browser support unless html5 is set to 1. * Tell mobile browsers to draw our pages in a device-sized viewport, not an 800-1000px viewport designed to emulate a desktop/laptop browser. * Add new responsive_layout option which can be set to 0 if your custom CSS only works in a large viewport. * style.css, actiontabs, blueview, goldtype, monochrome: adjust layout below 600px ("responsive layout") so that horizontal scrolling is not needed on smartphone browsers or other small viewports. * core: new libdirs option alongside libdir. Thanks, Louis Paternault [ Amitai Schlair ] * core: log a debug message before waiting for the lock. Thanks, Mark Jason Dominus * build: in po/Makefile, use the same $(MAKE) as the rest of the build. Thanks, ttw * blogspam: use the 2.0 JSON API (the 1.0 XML-RPC API has been EOL'd). Closes: #774441 pkgsrc changes: Add a not-yet-upstreamed patch to link to the commenter's URL for anonymous-style comments committed directly via the VCS (i.e., imported from another CMS).
2014-12-04Add 'l10n' option to enable po4a-managed translations of siteschmonz1-1/+207
content. Bump PKGREVISION.
2014-09-16Update to 3.20140916. From the changelog:schmonz1-1/+2
* Don't double-decode CGI submissions with Encode.pm >= 2.53, fixing "Error: Cannot decode string with wide characters". Thanks, Antoine Beaupré * Avoid making trails depend on everything in the wiki by giving them a better way to sort the pages * Don't let users post comments that won't be displayed * Fix encoding of Unicode strings in Python plugins. Thanks, chrysn * Improve performance and correctness of the [[!if]] directive * Let [[!inline rootpage=foo postform=no]] disable the posting form * Switch default [[!man]] shortcut to manpages.debian.org. Closes: #700322 * Add UUID and TIME variables to edittemplate. Closes: #752827 Thanks, Jonathon Anderson * Display pages in linkmaps as their pagetitle (no underscore escapes). Thanks, chrysn * Fix aspect ratio when scaling small images, and add support for converting SVG and PDF graphics to PNG. Thanks, chrysn - suggest ghostscript (required for PDF-to-PNG thumbnailing) and libmagickcore-extra (required for SVG-to-PNG thumbnailing) - build-depend on ghostscript so the test for scalable images can be run * In the CGI wrapper, incorporate $config{ENV} into the environment before executing Perl code, so that PERL5LIB can point to a non-system-wide installation of IkiWiki. Thanks, Lafayette Chamber Singers Webmaster * filecheck: accept MIME types not containing ';' * autoindex: index files in underlays if the resulting pages aren't going to be committed. Closes: #611068 * Add [[!templatebody]] directive so template pages don't have to be simultaneously a valid template and valid HTML * Add myself to Uploaders and release to Debian -- Simon McVittie <smcv@debian.org> Fri, 12 Sep 2014 21:23:58 +0100 pkgsrc changes: * Add 'cgi' option, enabled by default * Add 'git' option, disabled by default Updating during the freeze because it's a leaf with many fixes, including our local patches.
2014-02-27Update to 3.20140227. From the changelog:schmonz1-1/+8
* Added useragent config setting. Closes: #737121 Thanks, Tuomas Jormola * po: Add html_lang_code and html_lang_dir template variables for the language code and direction of text. Thanks, Mesar Hameed * Allow up to 8 levels of nested directives, rather than previous 3 in directive infinite loop guard. * git diffurl: Do not escape / in paths to changed files, in order to interoperate with cgit (gitweb works either way) Thanks, intrigeri. * git: Explicity push master branch, as will be needed by git 2.0's change to push.default=matching by default. Thanks, smcv * Deal with nasty issue with gettext clobbering $@ while printing error message containing it. Thanks, smcv * Cleanup of the openid login widget, including replacing of hotlinked images from openid providers with embedded, freely licensed artwork. Thanks, smcv * Improve templates testing. Thanks, smcv * python proxy: Avoid utf-8 related crash. Thanks, Antoine Beaupré * Special thanks to Simon McVittie for being the patchmeister for this release.
2012-12-12Update to 3.20121212. From the changelog:schmonz1-1/+2
* filecheck: Fix bug that prevented File::MimeInfo::Magic from ever being used. * openid: Display openid in Preferences page as a comment, so it can be selected in all browsers.
2012-10-17Update to 3.20121016. From the changelog:schmonz1-1/+3
* monochrome: New theme, contributed by Jon Dowland. * rst: Ported to python 3, while still also being valid python 2. Thanks, W. Trevor King * Try to avoid a situation in which so many ikiwiki cgi wrapper programs are running, all waiting on some long-running thing like a site rebuild, that it prevents the web server from doing anything else. The current approach only avoids this problem for GET requests; if multiple cgi's run GETs on a site at the same time, one will display a "please wait" page for a configurable number of seconds, which then redirects to retry. To enable this protection, set cgi_overload_delay to the number of seconds to wait. This is not enabled by default. * Add back a 1em margin between archivepage divs. * recentchangesdiff: Correct broken template that resulted in duplicate diff icons being displayed, and bloated the recentchanges page with inline diffs when the configuration should have not allowed them.
2012-04-20Update to 3.20120419. From the changelog:schmonz1-1/+2
* Remove dead link from plugins/teximg. Closes: #664885 * inline: When the pagenames list includes pages that do not exist, skip them. * meta: Export author information in html <meta> tag. Closes: #664779 Thanks, Martin Michlmayr * notifyemail: New plugin, sends email notifications about new and changed pages, and allows subscribing to comments. * Added a "changes" hook. Renamed the "change" hook to "rendered", but the old hook name is called for now for back-compat. * meta: Support keywords header. Closes: #664780 Thanks, Martin Michlmayr * passwordauth: Fix url in password recovery email to be absolute. * httpauth: When it's the only auth method, avoid a pointless and confusing signin form, and go right to the httpauthurl. * rename: Allow rename to be started not from the edit page; return to the renamed page in this case. * remove: Support removing of pages in the transient underlay. (smcv) * inline, trail: The pagenames parameter is now a list of absolute pagenames, not relative wikilink type names. This is necessary to fix a bug, and makes pagenames more consistent with the pagespec used in the pages parameter. (smcv) * link: Fix renaming wikilinks that contain embedded urls. * graphviz: Handle self-links. * trail: Improve CSS, also display trail links at bottom of page, and a bug fix. (smcv) Add dependency on p5-HTML-Tree, suggested by Matthias Rampke in PR pkg/45688.
2012-03-20Update to 3.20120203. From the changelog:schmonz1-1/+18
* osm: New plugin to embed an OpenStreetMap into a wiki page. Supports waypoints, tags, and can even draw paths matching wikilinks between pages containing waypoints. Thanks to Blars Blarson and Antoine Beaupré, as well as the worldwide OpenStreetMap community for this utter awesomeness. * trail: New plugin to add navigation trails through pages via Next and Previous links. Trails can easily be added to existing inlines by setting trail=yes in the inline. Thanks to Simon McVittie for his persistance developing this feature. * Fix a snail mail address. Closes: #659158 * openid-jquery.js: Update URL of Wordpress favicon. Closes: #660549 * Drop the version attribute on the generator tag in Atom feeds to make builds more reproducible. Closes: #661569 (Paul Wise) * shortcut: Support Wikipedia's form of url-encoding for unicode characters, which involves mojibake. Closes: #661198 * Add a few missing jquery UI icons to attachment upload widget underlay. * URI escape filename when generating the diffurl. * Add build-affected hook. Used by trail. pkgsrc changes: * Fix dependency on YAML::XS (reported by dholland). * Remove last local patch, now integrated upstream.
2012-02-03Update to 3.20120202. From the changelog:schmonz1-2/+1
* mdwn: Added nodiscount setting, which can be used to avoid using the markdown discount engine, when maximum compatability is needed. * Switch to YAML::XS to work around insanity in YAML::Mo. Closes: #657533 * cvs: Ensure text files are added in non-binary mode. (Amitai Schlair) * cvs: Various cleanups and testing. (Amitai Schlair) * calendar: Fix strftime encoding bug. * shortcuts: Fixed a broken shortcut to wikipedia (accidentially made into a shortcut to wikiMedia). * Various portability improvements. (Amitai Schlair)
2011-09-05Update to 3.20110905. From the changelog:schmonz1-1/+2
* mercurial: Openid nicknames are now used when committing. (Daniel Andersson) * mercurial: Implement rcs_commit_staged so comments, attachments, etc can be used. (Daniel Andersson) * mercurial: Implement rcs_rename, rcs_remove. (Daniel Andersson) * mercurial: Fix viewing of a diff containing non-utf8 changes. (Daniel Andersson) * mercurial: Make both rcs_getctime and rcs_getmtime fast. (Daniel Andersson) * mercurial: Implement rcs_diff. (Daniel Andersson) * po: Add `LANG_CODE` and `LANG_NAME` template variables. (intrigeri) * Fix typo in Danish translation of shortcuts page that caused exponential regexp blowup. * Fix escaping of html entities in permalinks. * Fix escaping of html entities in tag names. * Avoid using named capture groups in heredoc code for oldperl compatibility. * Put in a workaround for #622591, by ensuring Search::Xapian gets loaded before Image::Magick. * Add unminified jquery js and css files to source. * Update to jquery 1.6.2, and jquery-ui 1.8.14. * Use lockf rather than flock when taking the cgilock, for better portability. * search: Fix encoding bug in calculation of maximum term size. * inline: When indexing internal pages for searching, use the url of the inlining page. * Fix comments testsuite to not rely on Date::Parse's ability to parse the date Columbus discovered America. Closes: #640350 * Avoid warning message when generating setup file if highlight is not installed. Closes: #637606 * Promote RPC::XML to a Recommends, since it's used by auto-blog.setup. Closes: #637603 * Fix web revert of a file deletion.
2011-07-08Update to 3.20110707. From the changelog:schmonz1-2/+14
* userlist: New plugin, lets admins see a list of users and their info. * aggregate: Improve checking for too long aggregated filenames. * Updated to jQuery 1.6.1. * attachment: Speed up multiple file uploads by storing uploaded files in a staging area until the page is saved/previewed, rather than refreshing the site after each upload. (Sponsored by The TOVA Company.) * attachment: Files can be dragged into the edit page to upload them. Multiple file batch upload support. Upload progress bars. AJAX special effects. Impemented using the jQuery-File-Upload widget. (If you don't have javascript don't worry, I kept that working too.) (Sponsored by The TOVA Company.) * Add libtext-multimarkdown-perl to Suggests. Closes: #630705 * headinganchors: Plugin by Paul Wise that adds ids to <hn> headings. * html5 is not experimental anymore. But not the default either, quite yet. * Support svg as a inlinable image type; svg images can be included on a page by simply linking to them, or by using the img directive. Note that sanitizing svg files is still not addressed. * img: Generate png format thumbnails for svg images. * Preserve mixed case in page creation links, and when creating a page whose title is mixed case, allow selecting between the mixed case and all lower-case names. * Fix ikiwiki-update-wikilist -r to actually work. * comments: collect metadata in a scan-phase preprocess hook, which fixes sorting comments by date. (smcv) * Run scan hooks for internal pages (preprocess hooks already run in scan mode) (smcv) * inline: Handle obfuscated urls, such as the mailto urls generated by markdown when forcing urls absolute. * Bugfix for wikilink containing an email address not showing up in brokenlinks list. * Bugfix for trying to attach files to a subpage of the index page. Updating this leaf package during the freeze for bugfix purposes.
2011-01-24Update to 3.20110123. From the changelog:schmonz1-2/+1
* Adapt autoindex test suite to work with old Test::More. * inline: Pass feed titles to templates and add title and rel attributes to feed links. (Giuseppe Bilotta) * inline: Use class rather than id for feedlinks and blogform. (Giuseppe Bilotta) * comments: Fix XSS security hole due to missing validation of page name. CVE-2011-0428 (Thanks, Dave B.) * rename: Fix crash when renaming a page that is linked to by a page in an underlay.
2011-01-02Update to 3.20101231. From the changelog:schmonz1-1/+5
* Better support for serving the same site on multiple urls. (Such as a http and a https url, or a ipv4 and an ipv6 url.) (Thanks, smcv) * API: urlto without a defined second parameter now generates an url that starts with "/" (when possible; eg when the site's url and cgiurl are on the same domain). * Now when users log in via https, ikiwiki sends a secure cookie, that can only be used over https. If the user switches to using http, they will need to re-login. (smcv) * inline: Display feed buttons for nested inlines, linking to the inlined page's feed. (Giuseppe Bilotta) * goldtype: New theme, based on blueview, contributed by Lars Wirzenius. * po: do not override homepage title when it was overridden. (intrigeri) * Set HTML::Template's parent_global_vars option to allow using parameters like title_overridden that do not appear on the template. (intrigeri) (See https://rt.cpan.org/Public/Bug/Display.html?id=64158) * inline: Force an absolute page location when the inline postform is used. * editpage, comment: Clean up title when editing or creating a page or comment. * teximg: Use `[` and `]` instead of not recommended `$$`. (Paul Menzel) Closes: #596084 * monotone: Improve version parsing to support patch and development versions of the monotone binary. (tommyd3mdi) * highlight: Support highlight 3.2+svn19 (note that released version 3.2 is not supported). Closes: #605779 (David Bremner) * Add a second parameter to the rcs_diff hook, and avoid bloating memory reading in enormous commits. * git: Fix bug involving attempting to web revert a commit that included changes to attachments. Updating during the freeze for bugfixes to this leaf package.
2010-10-20Update to 3.20101019. From the changelog:schmonz1-1/+3
* Fix test suite failure on other side of date line. * htmltidy: Allow configuring tidy parameters in setup file. (W. Trevor King) * Updated French program translation. Closes: #598918 * git: Added new rcs_revert and rcs_preprevert hooks. * recentchanges: Add revert buttons to RecentChanges page, and implement web-based reversion interface. * Thanks to Peter Gammie for his assistance with the web-based reversion feature. * actiontabs: More consistent styling of Hn tags. * websetup: Fix saving of advanced mode changes. * websetup: Fix defaults of checkboxes in advanced mode. * monotone: Fix recentchanges page when the srcdir is not at the top of the monotone workspace. Thanks, tommyd. * img: If a class is specified, don't also put the img in the img class. * auto-blog.setup: Don't enable opendiscussion by default; require users be logged in to post comments. Updating this leaf package during the freeze for bugfixes.
2010-09-01Update to 3.20100831. From the changelog:schmonz1-1/+2
* filecheck: Fall back to using the file command if the freedesktop magic file cannot identify a file. * flattr: New plugin. (Thanks to jaywalk for the initial implementation at a flattr plugin! This one is less configurable, but simpler.) * smiley: warn instead of error for missing smileys (Giuseppe Bilotta) * openid: Syntax tweak to the javascript code to make it work with MSIE 7 (and MSIE 8 in compat mode). Thanks to Iain McLaren for reporting the bug and providing access to debug it. * style.css: Use relative, not absolute font sizes. Thanks, Giuseppe Bilotta. * htmlscrubber: Do not scrub url anchors that contain colons. * Danish translation update. Closes: #594673 * highlight: Make location of highlight's files configurable in setup file to allow for nonstandard installations. * Allow "link(.)" and similar PageSpecs. Thanks, Giuseppe Bilotta. * Run the preprocess hooks in scan mode *before* the scan hooks. This allows the po plugin to register a scan hook that runs last and rescans pages after all data from the first scan pass is completed. This avoids the po plugin needing to rebuild some pages. (intrigeri) * po: Fix some bugs that affected l10n.ikiwiki.info's unusual setup. (intrigeri) * t/bazaar.t: Work around bzr 2.2.0's new requirement to configure bzr whoami before committing. * httpauth: Avoid redirecting the user to the cgiauthurl if they already have a login session.
2010-07-23Update to 3.20100722. From the changelog:schmonz1-1/+2
* img: Add a margin around images displayed by this directive. * comments: Added commentmoderation directive for easy linking to the comment moderation queue. * aggregate: Write timestamp next aggregation can happen to .ikiwiki/aggregatetime, to allow for more sophisticated cron jobs. * Add --changesetup mode that allows easily changing options in a setup file. * openid: Fix handling of utf-8 nicknames. * Clarified what the filter hook should be passed: Only be the raw, complete text of a page. Not a snippet, or data read in from an unrelated file. * template: Do not pass filled in template through filter hook. Avoids causing breakage in po plugin. * color, comments, conditional, cutpaste, more, sidebar, toggle: Also avoid unnecessary calls to filter hook. * po: needstranslation() pagespec can have a percent specified. * Drop Cache-Control must-revalidate (Firefox 3.5.10 does not seem to have the caching problem that was added to work around). Closes: #588623 * Made much more robust in cases where multiple source files produce conflicting files/directories in the destdir. * Updated French translation from Philippe Batailler. Closes: #589423 * po: Fix selflink display on tranlsated pages. (intrigeri) * Avoid showing 'Add a comment' link at the bottom of the comment post form.
2010-06-23Update this generally stable leaf package during the freeze, mainlyschmonz1-1/+5
for a handful of bugfixes, to 3.20100623. From the changelog: * openid: Add openid_realm and openid_cgiurl configuration options, useful in a few edge case setups. * attachment: Show files from underlay in attachments list. * img: Support hspace and vspace attributes. * editpage: Rename "comments" field to avoid CSS conflict with the comments div. * edittemplate: Make silent mode not disable display when the template page does not exist, so it can be easily created. * edittemplate: Look for template pages under templates/ like everything else (still looks in old location for backwards compatibility). * attachment: When inserting links, insert img directives for images, if that plugin is enabled. * websetup: Allow enabling plugins listed in disable_plugins. * editpage, comments: Fix broken links in sidebar (due to forcebaseurl). (Thanks, privat) * calendar: Tune archive_pagespec to only match pages, not other files. * Fix issues with combining unicode srcdirs and source files. (Workaround bug #586045) * Make --gettime be honored after initial setup. * git: Fix --gettime to properly support utf8 filenames. * attachment: Support Windows paths when taking basename of client-supplied file name. * theme: New plugin, allows easily themeing a site via the underlay. * Added actiontabs theme by Svend Sorensen. * Added blueview theme by Bernd Zeimetz. * mercurial: Fix buggy getctime code. Closes: #586279 * link: Enhanced to handle URLs and email addresses. (Bernd Zeimetz)
2010-06-11Update to 3.20100610. From the changelog:schmonz1-3/+1
* creation_day() etc use local time, not gmtime. To match calendars, which use local time. * img: Fill in missing height or width when scaling image. * Remove example blog tag pages; allow autotag creation to create them when used. * Fix support for globbing in tagged() pagespecs. * Fix display of sidebar when previewing page edit. (Thanks, privat) * relativedate: Fix problem with localised dates not working. * editpage: Avoid storing accidental state changes when previewing pages. * page.tmpl: Add a div around the page content, and comments, to aide in sidebar styling. * style.css: Improvements to make floating sidebar fit much better on pages with inlines. * calendar: Shorten day names, and improve styling of month calendar. * style.css: Reduced sidebar width back to 20ex from 30; the month calendar will now fit in the smaller width, and 30 was feeling too large.
2010-05-16Update to 3.20100515. From the changelog:schmonz1-2/+4
* Removed misc.tmpl. Now to theme ikiwiki, you only need to customise a single template, page.tmpl. * If you have a locally customised page.tmpl, it needs to be updated to set <base> when BASEURL or FORCEBAREURL is set. * comments: Comments pending moderation are now stored in the srcdir alongside accepted comments, but with a `._comment_pending` extension. This allows easier byhand moderation, as the "_pending" need only be stripped off and the comment be committed to version control. * The `comment_pending()` pagespec can be used to match such unmoderated comments, which makes it easy to add a feed of them, or a counter indicating how many there are. * Belatedly added a `comment()` pagespec. * Gave comment and page editing forms some CSS and accessability love. * Renamed postscan hook to indexhtml, to reflect its changed position, and typical use. * inline: Call indexhtml when inlining internal pages, so their text can be indexed for searching. * Delete hooks are passed deleted internal pages. * openid: Incorporated a fancy openid-selector signin form. (Based on <http://code.google.com/p/openid-selector/>) * openid: Use "openid_identifier" as the form field, as required by OpenID Authentication v2.0 spec. * Removed the openidsignup option. Instead, my recommendation is to leave passwordauth enabled and let people who don't have an openid use it. The openid selector form avoids the UI annoyance of having both openid and passwordauth on one form. * calendar: Allow negative month to be specified. -1 is last month, etc. (And also negative years.) * calendar: Display year in title of month calendar. * Use xhtml friendly pubdate setting. * remove, rename: Add guards against XSRF attacks.
2010-04-27Update to 3.20100427. From the changelog:schmonz1-4/+7
Now you can include customised versions of templates in the source of your wiki. (For example, templates/page.tmpl.) When these templates are changed, ikiwiki will automatically rebuild pages that use them. The --getctime switch is renamed to --gettimes, and it also gets the file modification time. And it's a lot faster (when using git). But the really important change is, you don't have to remember to use this switch. Now ikiwiki will do it when it needs to. At last, the "tagged()" pagespec only matches tags, not regular wikilinks. If your wiki accidentially relied on the old, buggy behavior, you might need to change its pagespecs to use "link()". Many of your wishes have been answered: Now tag pages can automatically be created when new tags are used. This feature is enabled by default if you have configured a tagbase. It can be turned on or off using the `tag_autocreate` setting. These changes may also affect some users: * The `title_natural` sort method (as used by the inline directive, etc) has been moved to the new sortnaturally plugin, which is not enabled by default since it requires the Sort::Naturally perl module. * `TMPL_INCLUDE` is no longer supported in any template used by ikiwiki. It used to be allowed in certian templates, but not in others. * The `add_templates` option has been removed from the underlay plugin. If you used this option, you can instead use templates/ subdirectories inside underlay directories added by the `add_underlays` option. Due to the above and other changes, all wikis need to be rebuilt on upgrade to this version. If you listed your wiki in /etc/ikiwiki/wikilist this will be done automatically when the Debian package is upgraded. Or use ikiwiki-mass-rebuild to force a rebuild. * [ Joey Hess ] * tag: Automatic creation of tag pages can now be enabled using the tag_autocreate setting. (David Riebenbauer) * Customised templates can now be included in the source of wikis (and also in underlays), and dependencies on them are tracked. * TMPL_INCLUDE is no longer supported in any template. * underlay: Removed the add_templates option. * Add template_depends function to plugin API. * bzr: Fix bzr log parsing to work with bzr 2.0. (liw) * comments: Fix missing entity encoding in title. * txt: Add a special case for robots.txt. * [ Simon McVittie ] * Add support for link types, and make the the tagged() pagespec only match tags, not regular links (a bugfix). * Rebuild wikis on upgrade to this version to get tag link types recorded correctly. * Revamp sorting system; allow new sort methods to be added by plugins, and add a "sortspec" syntax that can combine, reverse, etc sort methods. * meta: Add `meta(author)`, `meta(title)` etc sortspecs to allow sorting by metadata. * meta: Add optional sortas parameter to author and title meta directives. This can be used to get names sorted by last name without displaying them last name first. * sortnaturally: New plugin; the title_natural sort method has moved here. * meta: store fields consistently unescaped, and escape on use. (A wiki rebuild is also needed due to this change.) * [ Joey Hess ] * Update dependency for git-core to git transition. * po: Check that translated underlay directories exist before using them for master language. * po: Configuring the same language as master and slave confuses processing; so filter out such a misconfiguration. * calendar: Add archive_pagespec, which is used by ikiwiki-calendar to specify which pages to include on the calendar archive pages. (The pagespec can still also be specified on the ikiwiki-calendar command line.) * pagestats: Class parameter can be used to override default class for custom styling. * pagestats: Use style=list to get a list of tags, scaled by use like in a tag cloud. This is useful to put in a sidebar. * Rework example blog front page. * CSS and templates for sidebar changed to use a class, not an id. * sidebar: Now a sidebar directive can be used to override the sidebar shown on a page. * Enable calendar and sidebar in auto-blog.setup. * sidebar: Add global_sidebars setting. * conditional: Fix bug that forced "all" mode off by default. * calendarmonth.tmpl: The month calendar is now put in a sidebar. * calendar: Improved display of arrows. * Rename --getctime to --gettime. (The old name still works for backwards compatibility.) * --gettime now also looks up last modification time. * Automatically run --gettime the first time ikiwiki is run on a given srcdir. (Use --no-gettime to disable.) * Add rcs_getmtime to plugin API; currently only implemented for git and svn. * Optimise --gettime for git, so it's appropriately screamingly fast. (This could be done for most other backends too.) * However, --gettime for git no longer follows renames. That would be slow, and whether a renamed wiki page is the same page is really an iffy thing. * Use above to fix up timestamps on docwiki, as well as ensure that timestamps on basewiki files shipped in the deb are sane. * autoindex: Switch to using %wikistate instead of abusing $pagestate{index}. * bzr: Support rcs_getmtime, and fix rcs_getctime implementation (Jelmer Vernooij) * Quite a lot of new optimisations, and one major fix to a recent performance regression. * Moved javascript files under the ikiwiki/ directory, to avoid cluttering the top of the web root. This is another things that requires a wiki rebuild on upgrade to this version. * Fix removal of rendered files in rebuild mode. * Add page() PageSpec, which is like glob() but matches only pages, not other files.
2010-04-04Update to 3.20100403. From the changelog:schmonz1-1/+66
* websetup: Add websetup_unsafe to allow marking other settings as unsafe. * Improve openid url munging; do not display anchors and cgi parameters, as used by yahoo and google urls. * Add complete German basewiki and directives translation done by Sebastian Kuhnert. * Add a include setting, which can be used to make ikiwiki process wiki source files, such as .htaccess, that would normally be skipped for security or other reasons. Closes: #447267 (Thanks to Aaron Wilson for the original patch.) * Add support for setup files written in YAML. * Add --set-yaml switch for setting more complex config file options. * filecheck: Fix bugs that prevented the pagespecs from matching when not called by attachment plugin. * Fix incorrect influence info returned by a failing link() pagespec, that could lead to bad dependency handling in certian situations. * Add preprocessed 'use lib' line to ikiwiki-transition and ikiwiki-calendar if necessary for unusual install. * auto-blog.setup: Set tagbase by default, since most bloggers will want it. * Allow wrappers to be built using tcc. (Workaround #452876) * openid: Use Openid Simple Registration or OpenID Attribute Exchange to get the user's email address and username. (Neither is yet used, but they are available in the session object now.) * page.tmpl: Add Cache-Control must-revalidate to ensure that users (especially of Firefox) see fresh page content. * htmlscrubber: Allow colons in urls after '?' * template: Search for templates in the templatedir, if they are not found as pages in the wiki. Leaf package, updating during the freeze for bugfixes.
2009-12-22Update to 3.20091218. From the changelog:schmonz1-1/+20
* Add complete Spanish basewiki translation done by Fernando Gonzalez de Requena. * Improve javascript onload handling. * monotone: Deal with format change in version 0.45. (Thanks, Richard Levitte) * cvs: Add missing bit to Automator. * attachment: Fix reversion in attachment sorting by age. * Fix utf-8 problems in rename, remove, attachment, 404, sourcepage, and goto. Updating this leaf during the freeze for the bugfixes.
2009-12-02Update to 3.20091202. From the changelog:schmonz1-1/+3
* meta: Generate meta description tags even when the html scrubber is enabled. * meta: Allow use of DESCRIPTION in templates to get at the meta description value. (Thanks, NicolasLimare) * inline: Use caching of inlined pages to speed up builds of inlines that include feeds. Speedup of about 25% for small inlines; could be much larger for inlines of many, or complex pages. * Added (incomplete) Turkish po file. Closes: #556744 Thanks, Recai Oktas * date: New plugin that allows inserting date directives that expand to pretty-printed dates, using the same formatting as used for page modification date display, etc. * htmllink: Allow a title attribute to be specified. * calendar: Add title attributes for all links in the calendars. * calendar: Fix month wraparound error that broke in December. pkgsrc changes: * In the automated setup, recognize CVS as a VCS (found by agc@). * In MESSAGE, link to <URL:http://ikiwiki.info/setup/> (ditto).
2009-10-18Update to 3.20091017. From the changelog:schmonz1-1/+6
* Added support framework for multiple types of dependencies, including dependncies that are only affected by page precence or link changes. * Rebuild wikis on upgrade to this version to get improved dependency info. * pagecount, calendar, postsparkline, progress: Use a presence dependency, which makes these directives much less expensive to use, since page edits will no longer trigger an unnecessary update. * map: Use a presence dependency unless show= is specified. This makes maps efficient enough that they can be used on sidebars! * inline: Use a presence dependency in quick mode. * brokenlinks: Use a link dependency. This makes it much more efficient, only updating when really necessary. * orphans, pagestats: Use a combination of presence and link dependencies. This makes them more efficient. It also fixes a longstanding bug, where if only a small set of pages were considered by orphans/pagestats, changes to links on other pages failed to cause an update. * linkmap: Use a combination of presence and link dependencies. This makes the map be regenerated much less frequently in many cases, so larger maps are more practical to use now. * Plugins providing PageSpec `match_*` functions should pass additional influence information when creating result objects. This allows correctly handling many more complicated dependencies. * API change: `pagespec_match_list` has completly changed its interface. The old interface will be removed soon, and a warning will be printed if any plugins try to use it. * Transitive dependencies are now correctly supported. * ikiwiki-calendar: New command automates creation of archive pages using the calendar plugin. * calendar: Fix midnight rebuild trigger of calendars with explicit month/year. * calendar: Fix bug in next/previous year/month links, which sometimes linked to an archive page from the wrong year, or were missing. * git: --getctime will now follow renames back to the original creation of a file. * calendar: Fix CSS for year calendar to match the plugin documentation. * Added minimal default CSS for calendar plugin, just highlighting the current day. * inline: Optimize generation of archives, etc by not getting inlined page content if the template does not use it.
2009-10-10Update to 3.20091009. From the changelog:schmonz1-1/+2
* parentlinks: Add has_parentlinks template parameter to allow styling the toplevel index differently etc. * img: Correct bug in image size calculation code. * img: Fix dependency code for full size images. * toggle, relativedate: Support templates that add attributes to the body tag. * Support RPC::XML 0.69's incompatible object instantiation method. * mirrorlist: Display nothing if list is empty. * Fix a bug that could lead to duplicate links being recorded for tags. * Optimize away most expensive file prune calls, when refreshing, by only checking new files.
2009-09-25ikiwiki 3.14159265. From the changelog:schmonz1-1/+64
* Add complete French basewiki and underlays translation from the Debian French l10n team, including Philippe Batailler, Alexandre Dupas, and Steve Petruzzello. * Expand banned_users; it can now include PageSpecs, which allows banning by IP address. * underlay: Also allow configuring additional directories to search for template files in. * Fix parsing web commits from ipv6 addresses. * Add genwrapper hook, that can be used to add code into the C wrapper. * cvs: Yeah, ikiwiki even supports CVS now. Plugin contributed by Amitai Schlair. * Updated Czech translation from Miroslav Kure. Closes: #546223 * rsync: New plugin that allows pushing the destdir to a remote host via rsync or similar. Thanks, Amitai Schlair. * auto.setup, auto-blog.setup: Fix sanitization of entered wikiname. Closes: #547378 Updated during the freeze because it's a leaf package and the bugfixes and feature additions are desirable (if I may say so myself).
2009-08-30Update to 3.1415926. From the changelog:schmonz1-3/+94
* [ Joey Hess ] * po: Detect if nowrapi18n can't be passed to po4a, and warn about the old version, but continue. Closes: #541205 * inline: Avoid use of my $_ as it fails with older perls. Closes: #541215 * Add discussionpage configuration setting. * Several optimisations, including speedups to orphans and brokenlinks calculation. * meta, img: Fix bugs in dependency code. (smcv) * Allow building ikiwiki on systems w/o po4a -- building of the translated underlays will be skipped in this case. * Add basic styling of po plugin's languages list. * inline: Display an error if feedpages is specified and fails to match due to a problem such as created_before being told to check against a page that does not exist. * Remove deprecated ikiwiki/blog and ikiwiki/preprocessordirective pages from the basewiki. * Updated French program translation from Philippe Batailler. Closes: #542036 * po: Fixed to run rcs_add ralative to srcdir. * Italian program translation from Luca Bruno. * Fix example blog's tags/life to not have a broken PageSpec. Closes: #543510 * Optimize the dependencies list. This also fixes a bug that could cause repeated refreshes of the wiki to grow increasingly larger dependency lists, and get increasingly slower. (smcv) * Rebuild wikis on upgrade to this version to fix bloat caused by the dependency bug. * Further optimisation of dependency handling by adding a special case for simple page dependencies. (smcv) * htmltidy: Return an error message if tidy fails. Closes: #543722 * po: Fix name of translated toplevel index page. (intrigeri) * po: Fix display of links from a translated page to itself (ntrigeri) * Add Czech basewiki translation from Miroslav Kure. * po: fix interdiction to create pages of type po (intrigeri) * po: po: favor the type of linking page's masterpage on page creation (intrigeri) * img: Don't generate new verison of image if it is scaled to be larger in either dimension. * [ Josh Triplett ] * teximg: Replace the insufficient blacklist with the built-in security mechanisms of TeX. (CVE-2009-2944) In order to fix a performance bug, all wikis need to be rebuilt on upgrade to this version. If you listed your wiki in /etc/ikiwiki/wikilist, use ikiwiki-mass-rebuild to force a rebuild.
2009-08-12Update to 3.141592. From the changelog:schmonz1-11/+3
* Add new hooks: canremove, canrename, rename. (intrigeri) * rename: Refactor subpage rename handling code into rename hook. (intrigeri) * po: New plugin, suporting translation of wiki pages using po files. (intrigeri) * Add build machinery to build po files to translate the underlay wikis, * Add further build machinery to generate translated underlays from the po file, for use by wikis whose primary language is not English. * Add Danish basewiki translation by Jonas Smedegaard. * img: Fix adding of dependency from page to the image. * pagestats: add among parameter, which only counts links from specified pages (smcv) * pagestats: when making a tag cloud, don't emit links where the tag is unused (smcv) * map: Avoid emitting an unclosed ul element if the map is empty. (harishcm) * inline: Add pagenames parameter that can be used to list a set of pages to inline, in a specific order, without using a PageSpec. (smcv) * Add getsource plugin (Will, smcv) Note that the new po plugin won't work until textproc/po4a is updated to at least 0.34. Any takers?
2009-07-09Update to 3.1415. From the changelog:schmonz1-1/+2
* img: Fix extra double quote with alt text. (smcv) * Updated French debconf templates translation. Closes: #535103 * openid: Support Net::OpenID 2.x when pretty-printing openids. (smcv) * highlight: Fix utf-8 encoding bug. Closes: #535028 * comment: Make comment directives no longer use the internal "\_comment" form, and document the comment directive syntax. * Avoid relying on translators preserving the case when translating "discussion", which caused Discussion pages to get unwanted Discussion links. * Tighten up matching of bare words inside directives; do not allow an unterminated triple string to be treated as a series of bare words. Fixes runaway regexp recursion/backtracking in strange situations. * Setup automator: Check that each plugin added to the generated setup file can be loaded and that its config is ok. If a plugin fails for any reason, disable it in the generated file. Closes: #532001 * pagecount: Fix broken optimisation for * pagespec. * goto: Support being passed a page title that is not a valid page name, to support several cases including mercurial's long user names on the RecentChanges page, and urls with spaces being handled by the 404 plugin. * Optimise use of gettext, and avoid ugly warnings if Locale::gettext is not available. Closes: #532285 * meta: Add openid delegate parameter to allow delegating only openid or openid2. * Disable the Preferences link if no plugin with an auth hook is enabled. * Updated French translation. Closes: #532654 * aggregate: Fix storing of changed md5. * aggregate: Avoid resetting ctime when an item md5 changes. * highlight: New plugin supporting syntax highlighting of pretty much anything. * debian/control: Add suggests for libhighlight-perl, although that package is not yet created by Debian's highlight source package. (See #529869) * format: Provide a htmlizefallback hook that other plugins can use to handle formats that are not suitable for general-purpose htmlize hooks. Used by highlight. * Fix test suite to not rely on an installed copy of ikiwiki after underlaydir change. Closes: #530502 * Danish translation update. Closes: #530877
2009-06-14Convert @exec/@unexec to @pkgdir or drop it.joerg1-30/+1
2009-04-21Update to 3.10. From the changelog:schmonz1-4/+51
This is a major upgrade from 2.x. Please read: <URL:http://ikiwiki.info/tips/upgrade_to_3.0/> The highlights of the changes in version 3.0 include: * Support for uploading attachments. * Can rename and remove pages and files via the web. * Web based setup. * Blog-style comments as an alternative to Discussion pages. * Many other new plugins including htmlbalance, format, progress, color, autoindex, cutpaste, hnb, creole, txt, amazon s3, pinger, pingee, edittemplate * The RecentChanges page is compiled statically, not generated from the CGI. * Support for additional revision control systems: bzr, monotone * Support for untrusted git push. * A new version (3.00) of the plugin API, exporting additional commonly used functions from IkiWiki.pm. * Nearly everything in ikiwiki is now a plugin, from WikiLinks to page editing, to RecentChanges. * Far too many bug fixes, features, and enhancements to list here. 3.10: * darcs: Finally added support for this VCS, thanks to many contributors: - Thomas Schwinge wrote the original file, implementing only rcs_commit. - Benjamin A'Lee contributed an alternative implementation. - Tuomo Valkonen contributed rcs_getctime and stub rcs_recentchanges. - Simon Michael contributed multiple changes. - Petr Rockai fixed rcs_recentchanges. - Sven M. Hallberg merged the above and added missing features. * Add missing newline to Confirm Password prompt. * Add missing permalink support to archivepage and titlepage templates. * debian/control: Wrap fields. * inline: Add author info to archive display. * Add a microblog template that is useful for inlining microblogging posts. 3.09: * inline: Add title_natural sort order, using Sort::Naturally (chrysn) * inline: Fix urls to feed when feedfile is used on an index page. * git, mercurial: Fix --getctime to return file creation time, not last commit time. * Updated French translation (Jean-Luc Coulon). Closes: #521072 * css: Add clear: both to inlinefooter. * comments: Fix too loose test for comments pages that matched normal pages with "comment_" in their name. Closes: #521322 * comments: Fix anchor ids to be legal xhtml. Closes: #521339 * Fix documentation of anonok_pagespec. Closes: #521793 * Add missing suggests on libtext-textile-perl. Closes: #522039 * recentchanges: change to using do=goto links for user links. * Fix git test suite to use a bare repo. 3.08: * git: Fix utf-8 encoding of author names. * git: Manually decode git output from utf-8, avoids warning messages on invalidly encoded output. * Fix bug that caused weird things to appear as page types. 3.07: * Updated German translation (Kai Wasserbaech). Closes: #518377 * Updated French translation (Jean-Luc Coulon). Closes: #518510 * wmd: New plugin contributed by William Uther to support the WMD Wysiwym markdown editor. * smiley: Avoid infinite loop in smiley expansion triggered by the template scan mode change in version 3.05. Closes: #518805 * template: When loading a template in scan mode, let preprocess know it only needs to scan. 3.06: * Setup automator: Fix bug in password comparison. Closes: #517654 3.05: * debhelper v7(.0.50); rules file minimisation. * template: Load templates in scan mode. This is potentially expensive, but is necessary so that meta and tag directives, and other links on templates affect the page using the template reliably. * goto: Fix redirect to comments. * Add noextension parameter to htmlize hooks to support, eg, Makefile. * Add tagged() PageSpec. * Updated German translation (Kai Wasserbaech). Closes: #516770 * Setup automator: Prompt for password twice. Closes: #516973 * bzr: Add missing rcs_diff. (liw) * comments: Avoid showing comment moderation button in prefs to non-admins. * goto: Fix typo that broke recentchanges_link compatibility. 3.04: * 404: New plugin which lets you use the IkiWiki CGI script as an Apache 404 handler, to give the behaviour of various other wiki engines where visiting a nonexistent page provides you with a link to create it. (smcv) * Factor out redundant code into goto plugin. (smcv) * Work around XML::Atom strangeness that results in double-encoded posts. (smcv) * Updated German translation (Kai Wasserbaech). Closes: #514251 * Fix unusual --setup --post-commit command line option combo. * Create any missing directory necessary to put the wrapper file into. Closes: #514384 * shortcut: If default_pageext is set, first look for shortcuts.default_pageext. * Allow comments, rename, remove, and attachment plugins to be used even if the editpage plugin is disabled. 3.03: * Avoid feeding decoded unicode to Term::ReadLine. Closes: 512169 * blogspam: Log spam info on failure in debug mode. * Remove nonstandard css. Closes: #512378 * blogspam: Fix use of blogspam_options and blogspam_server config settings. * comments: If comment content checks fail, store the comment (in .ikiwiki/comments_pending) for moderator review. * comments: Add a moderation web interface, which admins can access via their Preferences page. * git: Fix malformed utf8 received from git. * meta: New "updated" metadata specifies a fake modification time for a page, to be output into RSS and Atom feeds. (smcv) * underlay: New plugin, allows pulling in additional files not in version control. (smcv) 3.02: * blogspam: New plugin, adding spam filtering for page editing / comment posting using the BlogSpam.net API. * Add auto-blog.setup, which will set up an ikiwiki instance tuned for use in blogging. * checkcontent: New hook, can be used to implement arbitrary content filters, including spam filters. * table: Fix misparsed links in external files. * table: Find links in external files in scan pass. * rename: Show full names of affected pages. * comments: Fix cache avoidance hack. * repolist: New plugin to support the rel=vcs-* microformat. * goodstuff: Include repolist by default. (But it does nothing until configured with the repository locations.) * comments: Add support for removing comments via web interface. (smcv) * Consistently allow use of relative paths in all PageSpecs that take a page name parameter. Previously, match_created_before(), match_created_after(), match_sourcepage(), and match_destpage() did not support that, and the docs were not clear. * pinger: Get whole url, don't just head, avoids problems on the nostromo web server. * Recommend libterm-readline-gnu-perl since that makes auto.setup behave better. 3.01: * ikiwiki-makerepo: Fix injecting of empty mercurial and bzr repositories. Closes: #510518 * Fix documentation about git hook to use right name. Closes: #510393 * yesno: Always accept English even when localised. * yesno: Also accept 1 and 0 as input. * A recent change to gitweb removed support for the form of diffurl that many ikiwiki setups use. Document how to use the new url form. 2.72: * Avoid comments in recentchanges being broken links (smcv) * Add deprecation warning for GlobLists, which will stop working in 3.0. * camelcase: Add camelcase_ignore setting. * googlecalendar: Add runtime deprecation warning. * comments: Deal with users entering unqualified or partial urls. * inline: Run format hook first, to ensure other format hooks can affect inlined content. Closes: #509710 2.71: * comments: Blog-style comment support, contributed by Simon McVittie. * htmlbalance: New plugin contributed by Simon McVittie. * Change deb dependencies to list Text::Markdown before markdown (really this time). * Improve escaping of wikilinks and preprocessor directives in content produced by aggregate and recentchanges. * French translation update from Philippe Batailler. Closes: #506250 * Spanish translation update from Victor Moral. * Fix handling of wrappergroup option. * Correct --dumpsetup to include the srcdir in the setup file. * German translation update from Kai Wasserbaech. Closes: #507056 * inline: Support emptyfeeds=no option to skip generating empty feeds. * inline: Support feedfile option to change the filename of the feed generated. * meta: Pass info to htmlscrubber so htmlscrubber_skip can take effect. * htmlbalance: don't compact whitespace, and set misc other options (smcv) * rename: Fix double-escaping of page name in edit box. * monotone: When getting the log, tell monotone how many entries we want, rather than closing the pipe, which it dislikes. (thm) * Coding style change: Remove explcit vim folding markers. * aggregate: If a feed fails to be downloaded, try again immediatly next time aggregation is run, even if the usual time has not passed. Closes: #508622 (Michael Gold) * meta: Process meta date during scan pass so that the date will always affect sorting in inlines. * Improve display of some openids (smcv) 2.70: * Avoid crash on malformed utf-8 discovered by intrigeri. 2.69: * Avoid multiple ikiwiki cgi processes piling up, eating all memory, and thrashing, by making the cgi wrapper wait on a cgilock. If you had to set apache's MaxClients low to avoid ikiwiki thrashing your server, you can now turn it up to a high value. * Stop busy-waiting in lockwiki, as this could delay ikiwiki from waking up for up to one second. The bailout code is no longer needed after above change. * Remove support for unused optional wait parameter from lockwiki. * aggregate: Try to query XML::Feed for the base url when derelevatising links. Since this needs the just released XML::Feed 0.3, as well as a not yet released XML::RSS, it will fall back to the old method if no xml:base info is available. * meta: Plugin is now enabled by default since the basewiki uses it. * txt: Do not encode quotes when filtering the txt, as that broke later parsing of any directives on the page. * Fix the link() pagespec to match links that are internally recorded as absolute. * Add rel=nofollow to recentchanges_links for the same (weak) reasons it was earlier added to edit links. * tag: Normalize tagbase so leading/trailing slashes in it don't break things. * bzr: Fix dates for recentchanges. 2.68: * Add support for checking pushes from untrusted git committers. This can be used to set up anonymous git pushes, and other similar things. * format: New plugin, allows embedding differently formatted text inside a page (ie, otl inside a mdwn page, or syntax highlighted code inside a page). * relativedate: New javascript-alicious plugin that makes all dates display relative, in a very nice way, if I say so myself. * Optimise the no-op post-commit hook, to speed up web edits by a fraction of a second. * git: Allow sha1_commit to be used in the diffurl, to support cgit. * shortcut: Fix display of shortcuts while previewing. * Plugins that used to override displaytime should instead override formattime. displaytime will call that, and may wrap markup around the formatted time. * Add an underlay for javascript, and add ikiwiki.js containing some utility code. * toggle: Stop embedding the full toggle code on each page using it, and move it to toggle.js in the javascript underlay. * recentchanges: Make feed links point back to anchors on the recentchanges page. (JasonBlevins) * Fix issue with utf-8 in wikiname breaking session cookies, by entity-encoding the wikiname in the session cookie. * Use the pure perl Data::Dumper when generating setup files to ensure that utf-8 characters are written out as such, and not as the encoded perl strings the C Data::Dumper produces. * inline: Only the last feed link was put on the page, fix this to include all feed links. So rss will be included along with atom, and pages with multiple feeds will get links added for all feeds. * tag: When tagpage is set, force the links created by tagging to point at the toplevel tagpage, and not closer subpages. The html links already went there, but internally the links were not recorded as absolute, which could cause confusing backlinks etc. * Add an inject function, that can be used by plugins that want to replace one of ikiwiki's functions with their own version. (This is a scary thing that grubs through the symbol table, and replaces all exported occurances of a function with the injected version.) * external: RPC functions can be injected to replace exported functions. * Updated French translation. Closes: #502694 * Updated Spanish translation from the ever vigilant Victor Moral. * Updated Danish translation from Jonas Smedegaard. Closes: #503117 * Preserve syslog setting when doing `ikiwiki -setup foo -dumpsetup bar` * Several fixes to --render mode. 2.67: * remove: Avoid $_ breakage. (Stupid, stupid perl.) * Updated Spanish translation from Victor Moral. * lockedit: Support specifying which users (and IP addresses) a page is locked for. This supports most of the ACL type things users have been wanting to be done. Closes: #443346 (It does not control who can read a page, but that's out of scope for ikiwiki.) * orphans: Fix unquoted page name in regexp. * google: Plugin provides google site search, contributed by Peter Simons. * Pass HTTPS variable through the wrapper so that CGI->https can be used by plugins. Closes: #502047 * inline: Allow MTIME to be used in inlinepage.tmpl. * inline: Use the feed's description in the rss and atom links. Closes: #502113 * aggregate: Avoid bug that caused immediate expiration of items with a date in the future.
2008-09-22Update to 2.64, plus a few bugfixes that'll be in 2.65. From the changelog:schmonz1-9/+46
* aggregate: Expire excess or old items on the same pass that adds them, not only on subsequent passes. * editdiff: Broken since 2.62 due to wrong syntax, now fixed. * aggregate: Support atom feeds with only a summary element, and no content elements. * Avoid uninitialised value when --dumpsetup is used and no srcdir/destdir specified. * ddate: Stop clobbering timeformat when not enabled. * progress: New plugin to generate progress bars (willu) * Add allow\_symlinks\_before\_srcdir to config so websetup doesn't eat it. * img: Support sizes like 200x. Closes: #[475149](http://bugs.debian.org/475149) * goodstuff: Remove otl plugin from the bundle since it needs a significant external dependency and is not commonly used. If you use otl, make sure you explicitly enable it now. * goodstuff: Add more, progress, and table plugins to the bundle. * Improve error message if external plugin fails to load. Closes: #[498458](http://bugs.debian.org/498458) * Directive documentation broken out of the plugin documentation and into pages suitable to be used as an underlay. Thanks to Willu for doing most of the tedious work. * Move the directive documentation into its own underlay, separate from basewiki, since it's sorta large compared to the rest of basewiki. * listdirectives: Enable use of the directives underlay. * Removed the obsolete blog page from the basewiki. ikiwiki/blog still remains, but is now deprecated too. * Removed old redirecton pages from basewiki (helponformatting, markdown, openid, pagespec, preprocessordirective, subpage, wikilink). * inline: Treat rootpage as a link, so that it can refer to a subpage without hardcoding the path.
2008-09-04Update to 2.62.1. From the changelog:schmonz1-2/+6
2.62.1: * filecheck: Fixed two bits broken in move from attachment. 2.62: The teximg plugin now has a configurable LaTeX preamble. As part of this change the mchem LaTeX package has been removed from the default LaTeX preamble as it wasn't included in many TeX installations. The previous behaviour can be restored by adding the following to your ikiwiki setup: teximg_prefix => '\documentclass{scrartcl} \usepackage[version=3]{mhchem} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \pagestyle{empty} \begin{document}', In addition, the rendering mechanism has been changed to use dvipng by default, if available. * Avoid using cp -a (again). (HenrikBrixAndersen) * Avoid using hostname -f for portability to eg, OS X, use Net::Domain instead, and prompt if it fails. * Fix bug in wikiname sanitisation in the setup automator. * ikiwiki-makerepo: Added support for monotone. (Thomas Keller) * map: The fix for #449285 was buggy and broke display of parents in certian circumstances. * teximg: The prefix is configurable, and has changed to not include the nonstandard mhchem by default. (willu) * teximg: dvipng is used if available to render images. Its output is antialiased and better than dvips. If not available, the old dvips+convert chain will be used. (willu) * Drop suggests on texlive-science, add suggests on dvipng. * listdirectives: New plugin. (willu) * filecheck: New plugin factoring out the PageSpec additions that were originally part of the attachment plugin. * edittemplate: Don't wipe out edits on preview. * color: New plugin from ptecza. * autoindex: Avoid re-adding previously deleted (or renamed) pages. 2.61: * poll: Fix typo that broke plugin. * graphviz: Fix breakage of the name of the preprocessor directive. 2.60: Admin preferences are moving from the web interface to the setup file. There are three new options in the setup file: locked_pages, banned_users, and allowed_attachments. The admin prefs page can still be used, but that's deprecated, and the prefs will be hidden if a value is not already set. If a value is set in the web interface, you're encouraged to move that setting to your setup file now, since version 3.0 will remove the deprecated admin prefs web interface. Also, the layout of the setup file has changed in a significant way in this release. Old setup files will continue to work, but new features, like the new websetup interface, require a new format setup file. You can convert old setup files into the new format by running ikiwiki-transition setupformat ikiwiki.setup [ Joey Hess ] * Starting with this version, "ikiwiki -setup /etc/ikiwiki/auto.setup" can be used create a new wiki in seconds. * websetup: New plugin providing a setup form on the web. * ikiwiki --dumpsetup can generate a nice setup file snapshotting ikiwiki's current configuration. * The way wrappers are defined in the setup file has changed. Old setup files will continue to work, for now. * ikiwiki-transition setupformat can be used to convert a setup file to the new format. * Version control backends promoted to first-class plugins. * ikiwiki-update-wikilist: Add -r switch to remove. Default behavior is now always to add. * Start moving admin preferences from the web interface to the setup file. * Add getsetup hook, all plugins should use it to record information about themselves and any fields they add to %config * Large amounts of internal config data reorg. * ikiwiki-makerepo: Bail if both srcdir and repository are not specified. Closes: #493628 * Clarify some wording in the setup documentation that could maybe lead users to putting paths with "~/" in the setup file, which doesn't work. Closes: #493835 * autoindex: Ignore internal pages, and take underlay directories into account. Also, avoid making index pages for directories that contain no files. * external: Fix support for hooks called in an array context. * Options set in the setup file are now immediatly loaded by ikiwiki -setup. This allows later switches to override them. Previously, setup file options overrode most command line options. * Added a small icon to the search input box. [ Josh Triplett ] * Add Suggests on texlive and texlive-science for the teximg plugin [ Joey Hess ] * inline: Ignore parent dirs when sorting pages by title. * rename: Support changing page extensions. (willu) * Danish update. Closes: #494632
2008-08-01Update to 2.56. From the changelog:schmonz1-2/+2
* autoindex: New plugin that generates missing index pages. (Sponsored by The TOVA Company.) * Escape HTML is rss and atom feeds instead of respectively using CDATA and treating it as XHTML. This avoids problems with escaping the end of the CDATA when the htmlscrubber is not used, and it avoids problems with atom XHTML using named entity references that are not in the atom DTD. (Simon McVittie) * Add test for old versions of git that don't support --cleanup=verbatim, and munge empty commit messages.
2008-07-29Update to 2.55. From the changelog:schmonz1-1/+6
* remove: New plugin that adds the ability to remove pages via the web. (Sponsored by The TOVA Company.) * rename: New plugin that adds the ability to rename pages via the web. (Sponsored by The TOVA Company.) (This one's for you, Kyle.) * All rcs backends need to implement rcs_remove, rcs_commitstaged, and rcs_rename. (Done for svn, git). * This version adds renamepage hooks, which can be used to modify page content, including links, during renames. * prefix_directives enabled in doc wiki, all preprocessor directives converted. (Simon McVittie) * editpage: Don't show attachments link when attachments are disabled. * tag: Allow tagbase to be overridden by starting a tag with "./" or "/". (Simon McVittie) * Really fix bug with links to pages with names containing colons. Previous fix mised a few cases. * Avoid troublesome abs_path calls in wrapper setup. * Add allow_symlinks_before_srcdir config setting that can be used to avoid a security check that is a good safe default, but problimatic overkill in some situations. * Don't allow uploading an attachment with the same name as an existing page, to avoid confusion. * Split out error messages from editpage.tmpl into several separate templates. * attachment: Do not escape _ when determining attachment filenames. * Rebuild pages that change their type. (Gabriel McManus) * monotone: Add support for rename, delete, and also diff. (William Uther) * toggle: Fix incompatability between javascript and webkit. * bzr: Add support for rename and delete. (Jelmer Vernooij) * attachment: Use relative paths when inserting links. * toggle: Fix for when html got tidied. Closes: #492529 (Enrico Zini) * cutpaste: New plugin by Enrico Zini
2008-07-26Update to 2.54. From the changelog:schmonz1-1/+5
2.54: * Make it possible to load setup files w/o running them. Code needing to do so can call IkiWiki::Setup::load, which will return a hash of values. * ikiwiki-transition: Fix command-line processing so the prefix_directives transition works again. * template: Add support for a BASENAME variable. * Fixes creation of pages when clicking on WikiLinks starting with "/". * Change deb dependencies to list Text::Markdown before markdown, since the former, while slower, has a much better html parser that avoids numerous bugs. * Move yesno function out of inline and into IkiWiki core, not exported. * Error handling improvement for preprocess hooks. It's now safe to call error() from such hooks; it will cause a nicely formatted error message to be inserted into the page. * Cut the size of the binary package in half by excluding pages for bugs and todo items from the html shipped in it. * parentlinks: New plugin, split out of ikiwiki core and enabled by default, and several new fields added to allow for advanced styling. (intrigeri) * smileys: Some fixes for escaped smileys. * smileys: Note that smileys need to be double-escaped for the escaping to work. Markdown removes one level of escaping. * Add a postscan hook. * search: Use postscan hook, avoid updating index when previewing. * git: Put web committer name/openid/address in the git author field. The committer's email address is not used (because leaking email addresses is not liked by many users). Closes: #451023 * git: Fix parsing of git logs with no commit messages at all. * search: Fixes for title stemming, and use better term for tags. (Rebuilding the wiki on upgrade to this version is recommended if you use the search plugin.) * meta, inline: Support guid options, to allow forcing a particular url or uuid in feeds. * meta: fix title() PageSpec * Some footer style changes. * aggregate: Add an `aggregateinternal` option, which allows storing aggregated data to internal-use files, rather than wiki pages. This can save disk space, and be faster. * ikiwiki-transition: Add a `aggregateinternal` transition to rename the aggregated files. 2.53: * search: generate configuration files once only when rebuilding * attachment: Fix an uninitialised value warning when editing a page that currently has no attachments. * Fix a bug with links to pages whose names contained colons. * attachment: Support old versions of CGI.pm that lack an upload method. * Include ikiwiki.setup in examples in the debian package. * attachment: Support perl 5.8's buggy version of CGI.pm. * otl: Support utf-8 files. (Recai Oktaş) 2.52: * attachment: New plugin for uploading and managing attachments. This includes a fairly powerful PageSpec based admin pref for deciding whether to accept a given upload, and an attachment management interface on the edit page. * If attachments are not enabled, configure CGI.pm to disable file uploads by default. (An anti-DOS measure.) * toggle: Add support for toggles that are open by default. * toggle: Fix to work in preview mode. * toggle: Add javascript to top of page, not to end. This avoids flicker since closed toggles will not be displayed as the page is loading. * The editpage form now uses the raw page name, not the page title, in its 'page' cgi parameter. Using the title was ambiguous and made it impossible to tell between some pages, like "foo/bar" and "foo__47__bar", sometimes causing the wrong page to be edited. * This change means that some edit links need to be updated. Force a rebuild on upgrade to this version. * Above change also allowed really fixing escaped slashes from the blogpost form. 2.51: * Improve toplevel parentlink to link directly to index.html when usedirs is disabled. * map: Add a "show" parameter. "show=title" can be used to display page titles, rather than the default page name. Based on a patch from Jaldhar H. Vyas, Closes: #484510 * hnb: New plugin, contributed by Axel Beckert. * meta: Store "description" in pagestate for use by other plugins. * map: Support show=description. * textile: The Text::Textile perl module has some regexps that fail if input is flagged as utf-8, but contains invalid characters such as 0x92. To prevent it from crashing, re-encode the content before calling it, which will ensure that it's really utf-8. * Version the suggests of xapian-omega to a version known to be new enough to work with ikiwiki. Reportedly, version 0.9.9 is too old to work. Closes: #486592 * creole: New plugin from Bernd Zeimetz. Closes: #486930 * aggregate: Add template parameter. * Add support for the universal edit button <http://universaleditbutton.org/> (To get this on all pages of an exiting wiki, rebuild the wiki.) * txt: New plugin, contributed by Gabriel McManus. * smiley: Generate links relative to the destpage. (Fixes a reversion from 2.41.) * toc: Revert change in 2.45 that made it run at sanitize time. That broke use of toc in a sidebar. * Call format hooks when generating page previews, thus fixing toc display there, as well as fixing inlins to again display in page previews, since it's started using format hooks. This also allows several other things, like embed, that use format hooks, to work during page preview time. * Format hooks should not rely on getting an entire html document, as they will only get the body during page preview. * toggle: Deal with preview mode when adding javascript. 2.50: * img: Support captions. * img: Don't generate empty title attributes, etc. * img: Allow setting defaults for class and id too. * ikiwiki-mass-rebuild: Make group list comparison more robust. * search: Work around xapian bug #486138 by only stemming locales in a whitelist. 2.49: * haiku: Generate valid xhtml. * ikiwiki-mass-rebuild: Don't trust $! when setting $) * inline: The optimisation in 2.41 broke nested inlines. Detect those and avoid overoptimising. * search: Converted to use xapian-omega. * Filter hooks are no longer called during the scan phase. This will prevent wikilinks added by filters from being scanned properly. But no known filter hook does that, so let's not waste time on it. * Pass a destpage parameter to the sanitize hook. * The search interface now allows searching for a page by title ("title:foo"), as well as for pages that contain a given link ("link:bar").
2008-06-05Update to 2.48.reed1-1/+2
See http://ikiwiki.info/news/ for complete list of changes. Major changes include: - "fixes an important security hole" - new plugins: amazon_s3, pingee, pinger patch-aa removed, fixed now.
2008-04-29Add MESSAGE -- remind to update custom templates on upgradesreed1-8/+17
Upgrade to 2.44. Many changes. Here are a couple of them: * The security fix in the last release had buggy handling of data:image, now fixed. Closes: #465110 (CVE-2008-0808, CVE-2008-0809) * htmlscrubber security fix: Block javascript in uris. Adds new tool: ikiwiki-transition No longer installs rst and externaldemo plugins. Add patch based on bugs I found -- both fixes are now upstream.
2008-04-12Convert to use PLIST_VARS instead of manually passing "@comment "jlam1-6/+6
through PLIST_SUBST to the plist module.
2007-12-05Update ikiwiki to 2.15. This includes latest security fix.reed1-34/+42
Remove patch -- make changes using SUBST_SED framework. Add imagemagick as an option (not on by default). Add perl:run for USE_TOOLS. Add another script to REPLACE_PERL. Get rid of most of post-install target and let the ikiwiki Makefile do the installation. Too many changes from CHANGELOG to list. Here are the most recent: ikiwiki (2.15) unstable; urgency=low * Add a new ikiwiki-makerepo program, that automates setting up a repo and importing existing content for svn, git, and mercurial. This makes the setup process much simpler. * Reorganised git documentation. * Actually install the ikiwiki-update-wikilist program. * Improve workaround for perl bug #376329. Rather than double-encoding, which has been reported to cause encoding problems (though I haven't reproduced them), just catch a failure of markdown, and retry. (The crazy perl bug magically disappears on the retry.) Closes: #449379 * Add umask configuration option. Closes: #443329 -- Joey Hess <joeyh@debian.org> Sat, 01 Dec 2007 11:44:01 -0500 ikiwiki (2.14) unstable; urgency=high * Let CC be used to control what compiler is used to build wrappers. * Use 'cc' instead of gcc as the default compiler. * Security fix: Ensure that there are no symlinks anywhere in the path to the top of the srcdir. In certian unusual configurations, an attacker who could commit to one of the parent directories of the srcdir could use a symlink attack to cause ikiwiki to publish files elsewhere in the filesystem. More details at <http://ikiwiki.info/security/#index29h2> -- Joey Hess <joeyh@debian.org> Mon, 26 Nov 2007 15:26:06 -0500
2007-09-20Update to 2.6.1, provided by reed@wiz1-519/+62
Changes since 1.32: ikiwiki (2.5) unstable; urgency=low In this version the rst plugin allows raw html to be embedded in rst files. As long as the htmlscrubber is enabled, this should be safe. If you are using the rst plugin without the htmlscrubber in a publically writable wiki, you should turn on the htmlscrubber. -- Joey Hess <joeyh@debian.org> Sun, 29 Jul 2007 18:37:22 -0400 ikiwiki (2.5) unstable; urgency=low Due to some config changes in this version, wrappers need to be rebuilt on upgrade. If you listed your wiki in /etc/ikiwiki/wikilist this will be one automatically when the Debian package is upgraded. -- Joey Hess <joeyh@debian.org> Sun, 29 Jul 2007 17:54:40 -0400 ikiwiki (2.1) unstable; urgency=low Some wikis need to be rebuilt on upgrade to this version, due to changes to page templates and the style sheet. If you listed your wiki in /etc/ikiwiki/wikilist this will be done automatically when the Debian package is upgraded. Or use ikiwiki-mass-rebuild to force a rebuild. -- Joey Hess <joeyh@debian.org> Thu, 26 Apr 2007 15:50:36 -0400 ikiwiki (2.00) unstable; urgency=low With the 2.0 release of ikiwiki, some major changes have been made to the default configuration: * The 'usedirs' setting is enabled by default. This *will* break all URLs to wikis that did not have 'usedirs' turned on before, unless you follow the procedure described at <http://ikiwiki.info/tips/switching_to_usedirs>, or edit your setup file to turn usedirs off: usedirs => 0, * OpenID logins are now enabled by default, if the Net::OpenID::Consumer perl module is available. Password logins are also still enabled by default. If you like, you can turn either OpenID or password logins off via the 'disable_plugins' setting. -- Joey Hess <joeyh@debian.org> Sun, 29 Apr 2007 19:00:43 -0400 ikiwiki (1.51) unstable; urgency=low Some wikis need to be rebuilt on upgrade to this version, due to changes to page layout and the style sheet. If you listed your wiki in /etc/ikiwiki/wikilist this will be done automatically when the Debian package is upgraded. Or use ikiwiki-mass-rebuild to force a rebuild. -- Joey Hess <joeyh@debian.org> Thu, 26 Apr 2007 15:50:36 -0400 ikiwiki (1.50) unstable; urgency=low Permalinks and guids in rss and atom feeds for wikis using the usedirs options will change in this release. If you have already enabled usedirs, you may need to take steps to avoid flooding aggregators. -- Joey Hess <joeyh@debian.org> Sat, 14 Apr 2007 16:08:46 -0400 ikiwiki (1.49) unstable; urgency=low Third-party plugins that use htmlpage() or abs2rel() to generate links may need changes to support the new "usedirs" option. -- Joey Hess <joeyh@debian.org> Sun, 01 Apr 2007 16:20:09 -0400 ikiwiki (1.47) unstable; urgency=low Due to a security fix, wikis that have the htmlscrubber enabled can no longer use the meta plugin to insert html link and meta tags. Some special case methods have been added for safely including stylesheets, and for doing openid delegation. See the meta plugin docs for details. -- Joey Hess <joeyh@debian.org> Wed, 21 Mar 2007 14:18:40 -0400 ikiwiki (1.45) unstable; urgency=low Wikis need to be rebuilt on upgrade to this version. If you listed your wiki in /etc/ikiwiki/wikilist this will be done automatically when the Debian package is upgraded. Or use ikiwiki-mass-rebuild to force a rebuild. -- Joey Hess <joeyh@debian.org> Wed, 7 Mar 2007 23:02:52 -0500 ikiwiki (1.44) unstable; urgency=low The htmllink() function has changed slightly and plugins that use it may need to change how they call it. This function's first three parameters are unchanged, but additional options are now passed using named parameters. If you used htmllink with more than 3 parameters, you will need to change it. The plugin interface version has been increased to 1.02 to reflect this change. -- Joey Hess <joeyh@debian.org> Mon, 19 Feb 2007 21:10:12 -0500 ikiwiki (1.42) unstable; urgency=low The anonok setting in config files has been removed. To enable httpauth support on your wiki, you should now enable the anonok plugin, instead. Third-party plugins that use pagespec_match() should be updated to pass the new third parameter (from) to that function. This is needed for the new relative glob matching to work. -- Joey Hess <joeyh@debian.org> Thu, 1 Feb 2007 16:57:59 -0500 ikiwiki (1.34) unstable; urgency=low The httpauth setting in config files has been removed. To enable httpauth support on your wiki, you should now enable the httpauth plugin, instead. This release includes OpenID support that is enabled through the openid plugin. I recommend turning this on to make it easier for users to sign in to your wiki. -- Joey Hess <joeyh@debian.org> Sun, 19 Nov 2006 20:53:05 -0500
2006-11-13initial import of ikiwiki-1.32dan1-0/+552
ikiwiki is a wiki compiler. It converts wiki pages into html pages suitable for publishing on a website. Unlike many wikis, ikiwiki does not have its own ad-hoc means of storing page history, and instead uses an revision control system. The pkg currently has options for a dependency on svn, which is the default rcs backend. Support for other backends is included in the installed pkg, but there are no dependencies in the pkg for them yet.