summaryrefslogtreecommitdiff
path: root/www/ikiwiki
AgeCommit message (Collapse)AuthorFilesLines
2011-01-07Update to 3.20110105. From the changelog:schmonz2-6/+6
* tag: Do not include tagbase in rss/atom category tags. (Giuseppe Bilotta) * tag: Improve display of tags with a slash in their names. (Giuseppe Bilotta) * Fix redirect to use a full url. Was broken (in theory) by baseurl changes in last release. * Fix `<base>` output by cgi to have a full url again, broken by last release. * Fix permalinks to recentchanges items and comments, broken by last release. * Export three cgi env vars needed for CGI->url to work. Fixed openid breakage from last release. * Removed `IkiWiki::misctemplate()` function. Any plugins using it should use `IkiWiki::cgitemplate()` instead.
2011-01-02Update to 3.20101231. From the changelog:schmonz4-16/+20
* 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-12-03Update to 3.20101201. From the changelog:schmonz2-6/+6
* meta: Fix calling of htmlscrubber to pass the page parameter. The change of the htmlscrubber to look at page rather than destpage caused htmlscrubber_skip to not work for meta directives.
2010-11-29Update to 3.20101129. From the changelog:schmonz2-6/+6
* websetup: Fix encoding problem when restoring old setup file. * more: Add pages parameter to limit where the more is displayed. (thanks, dark) * Fix escaping of filenames in historyurl. (Thanks, aj) * inline: Improve RSS url munging to use a proper html parser, and support all elements that HTML::Tagset knows about. (Which doesn't include html5 just yet, but then the old version didn't either.) Bonus: 4 times faster than old regexp method. * Optimise glob() pagespec. (Thanks, Kathryn and smcv) * highlight: Support new format of filetypes.conf used by version 3.2 of the highlight package. * edittemplate: Fix crash if using a .tmpl file or other non-page file as a template for a new page. * git: Fix temp file location. * rename: Fix to pass named parameters to rcs_commit. * git: Avoid adding files when committing, so as not to implicitly add files like recentchanges files that are not normally checked in, when fixing links after rename.
2010-11-12Update to 3.20101112. From the changelog:schmonz2-6/+6
* txt: Fix display when used inside a format directive. * highlight: Ensure that other, more-specific format plugins, like txt are used in preference to this one in case of ties. * htmltidy, sortnaturally: Add missing checkconfig hook registration. Closes: #601912 (Thanks, Craig Lennox and Tuomas Jormola) * git: Use author date, not committer date. Closes: #602012 (Thanks, Tuomas Jormola) * Fix htmlscrubber_skip to be matched on the source page, not the page it is inlined into. Should allow setting to "* and !comment(*)" to scrub comments, but leave your blog posts unscrubbed, etc. CVE-2010-1673 * comments: Make postcomment() pagespec work when previewing a comment, including during moderation. CVE-2010-1673 * comments: Make comment() pagespec also match comments that are being posted. CVE-2010-1673
2010-10-24Update to 3.20101023. From the changelog:schmonz3-10/+10
* Fix typo that broke anonymous git push. * Fix web reversion when the srcdir is in a subdir of the git repo.
2010-10-20Update to 3.20101019. From the changelog:schmonz5-25/+45
* 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-29Update to 3.20100926. From the changelog:schmonz2-6/+6
* meta: Ensure that the url specified by xrds-location is absolute. * attachment: Fix attachment file size display. * Propigate PATH into wrapper. * htmlbalance: Fix compatibility with HTML::Tree 4.0. (smcv) Updating during the freeze for bugfixes to a leaf package.
2010-09-17Update to 3.20100915. From the changelog:schmonz2-6/+6
* needsbuild hook interface changed; the hooks should now return the modified array of things that need built. (Backwards compatibility code keeps plugins using the old interface working.) * Remove PATH overriding code in ikiwiki script that was present to make perl taint checking happy, but taint checking is disabled. * teximg: Use Unicode UTF-8 encoding by default. Closes: #596067 Thanks, Paul Menzel. * po: Make the po_master_language use a langpair like "en|English", so it can be configured via the web. * po: Allow enabling via web setup. * po: Auto-upgrade old format settings to new formats when writing setup file. * Pass array of names of files that have been deleted to needsbuild hook as second parameter, to allow for plugins that needs access to this information earlier than the delete hook. * actiontabs: Improve tab padding. * blueview: Fix display of links to translated pages in the page header. * Set isPermaLink="no" for guids in rss feeds. * blogspam: Fix crash when content contained utf-8. * external: Disable RPC::XML's "smart" encoding, which sent ints for strings that contained only a number, fixing a longstanding crash of the rst plugin. * git: When updating from remote, use git pull --prune, to avoid possible errors from conflicting obsolete remote branches. * cutpaste: Fix bug that occured in some cases involving inlines when text was pasted on a page before being cut.
2010-09-01Update to 3.20100831. From the changelog:schmonz3-8/+8
* 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-08-21Bump the PKGREVISION for all packages which depend directly on perl,seb1-1/+2
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1. The list of packages is computed by finding all packages which end up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl, or PERL5_PACKLIST defined in their make setup (tested via "make show-vars VARNAMES=..."), minus the packages updated after the perl package update. sno@ was right after all, obache@ kindly asked and he@ led the way. Thanks!
2010-08-16Update to 3.20100815. From the changelog:schmonz2-6/+6
* Fix po test suite to not assume ikiwiki's underlay is already installed. Closes: #593047
2010-08-04Update to 3.20100804. From the changelog:schmonz3-8/+7
* template: Fix dependency tracking. Broken in version 3.20100427. * po: The po_slave_languages setting is now a list, so the order of translated languages can be controlled. (intrigeri) * git: Fix gitweb historyurl examples so "diff to current" links work. (Thanks jrayhawk) * meta: Allow syntax closer to html meta to be used. * Add new disable hook, allowing plugins to perform cleanup after they have been disabled. * Use Digest::SHA built into perl rather than external Digest::SHA1 to simplify dependencies. Closes: #591040 * Fixes a bug that prevented matching deleted pages when using the page() PageSpec.
2010-07-23Update to 3.20100722. From the changelog:schmonz3-7/+8
* 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-07-05Update to 3.20100704. From the changelog:schmonz2-6/+6
* Changes to avoid display of ugly google openids, by displaying a username taken from openid. * API: Add new optional field nickname to rcs_recentchanges. * API: rcs_commit and rcs_commit_staged are now passed named parameters. * openid: Store nickname based on username or email provided from openid provider. * git: Record the nickname from openid in the git author email. * comment: Record the username from openid in the comment page. * Fixed some confusion and bugginess about whether rcs_getctime/rcs_getmtime were passed absolute or relative filenames. (Make it relative like everything else.) * hnb: Fixed broken use of mkstemp that had caused dangling temp files, and prevented actually rendering hnb files. * Use comment template on comments page of example blog. * comment.tmpl: Fix up display when inline uses it to display a non-comment page. (Such as a discussion page.) * git: Added git_wrapper_background_command option. Can be used to eg, make the git wrapper push to github in the background after ikiwiki runs. * po: Added needstranslation() pagespec. (intrigeri) * po: Added support for .html source pages. (intrigeri) * comment: Fix problem moderating comments of certian pages with utf-8 in their name.
2010-06-23Update this generally stable leaf package during the freeze, mainlyschmonz4-13/+17
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:schmonz3-9/+7
* 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-20Update to 3.20100518.2:schmonz2-6/+6
* page.tmpl: Accidentially broke po plugin's otherlanguages list styling when modifying for html5; now fixed. * Fix a bug that prevented matching deleted comments, and so did not update pages that had contained them.
2010-05-16Update to 3.20100515. From the changelog:schmonz3-8/+10
* 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-05-05Update to 3.20100504. From the changelog:schmonz2-6/+6
* Add parameter to displaytime to specify that it is a pubdate, and in html5 mode, use time tag. * Add placeholder text in search form (in html5 mode only). * In html5 mode, use all the nice new semantic tags. Care was taken to not change the id/class named used in the CSS, so only CSS that refers to tag types needed to be changed. * Add ACTIONS variable to page.tmpl, which allows plugins to add arbitrary links to the action bar without modifying the template further. (COMMENTSLINK and DISCUSSIONLINK could be folded into this, but are kept separate for now to avoid breaking modified templates.) * websetup: Only display Setup button on admins' preferences page. * graphviz: Fix display of preexisting images in preview mode. * Fixes a bug in skipping of illegal source files introduced in 3.20100427.
2010-05-02Update to 3.20100501. From the changelog:schmonz2-6/+6
* TMPL_INCLUDE re-enabled for templates read from the templatedir. (But not in-wiki templates.) * Version dependency on liburi-perl to >= 1.36; previous versions did not support building urls from utf-8 strings. Closes: #579713. * Ikiwiki can be configured to generate html5 instead of the default xhtml 1.0. The html5 output mode is experimental, not yet fully standards compliant, and will be subject to rapid change. * htmlscrubber: Allow html5 semantic tags: section, nav, article, aside hgroup, header, footer, figure, figcaption, time, mark * htmlscrubber: Also allow some other html5 tags: canvas, progress, meter, ruby, rt, rp, details, summary, datalist. * htmlscrubber: Round out html5 video support with the preload attribute and the source tag. * htmlscrubber: Allow the html5 form attributes: placeholder, autofocus, min, max, step, required, autocomplete, novalidate, pattern, list, and form. (Also the form* override attributes for input and buttons.) * htmlscrubber: Allow additional misc html5 attributes: reversed, spellcheck, and hidden. * template: Fix typo.
2010-04-27Update to 3.20100427. From the changelog:schmonz5-26/+25
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-12ikiwiki-{calendar,transition} are preprocessed now. PKG_DEVELOPER=YESschmonz1-3/+3
catches this, pointed out by wiz@ and spz@ with a fix from the latter. Not sure how I missed it.
2010-04-04Update to 3.20100403. From the changelog:schmonz5-26/+91
* 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.
2010-03-13Update to 3.20100312. From the changelog:schmonz2-6/+6
* Fix utf8 issues in calls to md5_hex. * moderatedcomments: Added moderate_pagespec that can be used to control which users or comment locations are moderated. This can be used, just for example, to moderate "user(http://myopenid.com/*)" if you're getting a lot of spammers from one particular openid provider (who should perhaps answer your emails about them), while not moderating other users. * moderatedcomments: The moderate_users setting is deprecated. Instead, set moderate_pagespec to "!admin()" or "user(*)". * Fix missing span on recentchanges page template. * search: Avoid '$' in the wikiname appearing unescaped on omega's query template, where it might crash omega. * htmlscrubber: Security fix: In data:image/* uris, only allow a few whitelisted image types. No svg.
2010-03-03Update to 3.20100302. From the changelog:schmonz2-6/+6
* comments: Display number of comments in comment action link. * Rebuild wikis on upgrade to this version to get the comment counts added to existing pages. * Loosen regexp, to allow empty quoted parameters in directives. * Add force_overwrite setting to make setup automator overwrite existing files/directories. * Fix admin openid detection in setup automator, and avoid prompting for a password. * Add new --clean option; this makes ikiwiki remove all built files in the destdir, as well as wrappers and the .ikiwiki directory.
2010-02-13Update to 3.20100212. From the changelog:schmonz3-10/+10
* template: Preprocess parameters before htmlizing. * img: Fix a bug that could taint @links with undef values. * setup automator: Configure Term::Readline to use bold for prompt, rather than default underline. Closes: #517656 * Allow jumping directly into account registration process by going to ikiwiki.cgi?do=register * Improve display of openid in preferences page. * Add link to userpage (or creation link) to top of preferences page. * opendiscussion: This plugin will also now allow posting comments to otherwise locked-down sites. * auto-blog.setup: Lock all pages, so only admin can post to the blog by default, and enable opendiscussion so others can comment. * Fix color and format plugins to appear in the websetup interface. * amazon_s3: Fix to support the EU S3 datacenter, which is more picky about attempts to create already existing buckets. * httpauth: When cgiauthurl is configured, httpauth can now be used alongside other authentication methods (like openid or anonok). Rather than always redirect to the cgiauthurl for authentication, there is now a button on the login form to use it. * httpauth: Add httpauth_pagespec setting that can be used to limit pages to only being edited via users authed with httpauth. * Allow globs to be used in user() pagespecs. * Group related plugins into sections in the setup file, and drop unused rcs plugins from the setup file.
2010-01-26Update to 3.20100122. From the changelog:schmonz2-6/+6
* inline: Avoid showing edit links if page editing is disabled. (Sjoerd) * signinedit: Auto-disable the plugin when all authentication methods are disabled. * comments: Fix permalinks for comments using new conflict-free filenames. * img: Support alignment of images with captions. (Giuseppe Bilotta) * websetup: Fix utf-8 problems. * websetup: Fix bug in array change detection. * linkmap: Simplify and improve browser compatibility by using an img, not object tag. * git: The new git-notes feature in git 1.6.6 changes git log output in a way that broke ikiwiki's parser if notes are added to commits. * po: Avoid crash when a page is empty.
2010-01-03Update to 3.20100102.3 ("Happy palindrome day!"). From the changelog:schmonz2-6/+6
* pagestats: Add show parameter. Closes: #562129 * toc: Add startlevel parameter. (kerravonsen) * comments: Add a checksum to the name of comment pages, to avoid merge conflicts when comments are posted to two branches of a site. * linkmap: Add option to omit disconnected pages from the map. * inline: Fix bug that limited displayed pages when feedshow was specified w/o show. * Fix several places that did not properly handle capitalization of the discussionpage setting. Specifically, fixes discussion actions on discussion pages, and unbreaks the opendiscussion plugin. Updating during the freeze for relevant bugfixes, particularly this last.
2009-12-22Update to 3.20091218. From the changelog:schmonz4-22/+26
* 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:schmonz5-8/+27
* 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-11-23Comment out GNU sedism used to generate RPM spec file (noticed byschmonz4-8/+17
spz), and un-modify SUBST targets mistakenly committed in previous. Should fix build where GNU sed wasn't available, and otherwise result in no change to the binary package.
2009-11-16Update to 3.20091113. From the changelog:schmonz4-26/+17
* underlay: Fix example values put in setup file to be array references. * underlay: Avoid crashing if lists of underlays (or template directories) are not configured. * Moved the postscan hook to run on the raw html of a page, before the template is filled out. This improves the search plugin's indexing, since it will not include navigational elements from the page template or sidebar. * localstyle: New plugin, allows overrding the toplevel local.css with one that is closer to a page. * httpauth: Add cgiauthurl setting that can be used to do http basic auth only when ikiwiki needs authentication, rather than for any access to the cgi/wiki. * inline: Do not generated feeds for nested inlines. * inline: Allow direct inclusion of non-page files in raw mode. * inline: Fix display of all pages when archive=yes or show=0 are used.
2009-11-02Update to 3.20091031. From the changelog:schmonz4-15/+23
* po: Fix breakage caused by changes to render code. * mdwn: Avoid trying to use multimarkdown if it is not installed. * moderatedcomments: New plugin to allow comment moderation w/o relying on blogspam.net. * When redirecting to a page, ie, after editing, ensure that the url is uri-encoded. Most browsers other than MSIE don't care, but it's the right thing to do. * Add a spec file to allow building rpm from the source package. * google: Pass the whole wiki url to google, not just the domain, so that search works correctly for wikis that are located in subdirectories of domains.
2009-10-24Update to 3.20091023. From the changelog:schmonz2-6/+6
* inline: Fix raw mode. Closes: #552114
2009-10-23Update to 3.20091022. From the changelog:schmonz2-6/+6
* edittemplate: Allow template page name to be specified using anything legal for a wikilink (including eg, leading slashes). * edittemplate: Work around bug #551499 in CGI::FormBuilder. * Fix a bug introduced in the last version that caused ikiwiki to skip all files if a sourcedir of "./" was specified. * Support CFLAGS when building wrapper. * meta: Gather permalink info on scan pass so it is available to inline when using a template that does not include page content.
2009-10-18ikiwiki-calendar needs the Perl interpreter (missed in previous, ride update).schmonz1-2/+3
2009-10-18Update to 3.20091017. From the changelog:schmonz5-22/+31
* 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:schmonz3-7/+8
* 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:schmonz4-10/+82
* 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-09-24Bumping revision of packages which depend direct or indirect onsno1-1/+2
devel/p5-Class-MOP. A late detected incompible change forced it.
2009-08-30Update to 3.1415926. From the changelog:schmonz9-129/+112
* [ 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:schmonz10-35/+159
* 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-24Take MAINTAINER (ok reed@).schmonz1-2/+2
2009-07-24Don't install w3m CGI unless the option is enabled. Fixes that PLIST scenario.schmonz1-3/+5
2009-07-24Update to 3.14159. From the changelog:schmonz7-38/+82
* svn: Fix rcs_rename to properly scope call to dirname. * img: Pass the align parameter through to the generated img tag. * Move OpenID pretty-printing from openid plugin to core (smcv) pkgsrc changes: * Add PKG_SYSCONFDIR support. * Parameterize pkgsrc-configured paths in Makefile.PL so the patch can go upstream. * Retire legacy amazon_s3 option.
2009-07-09Update to 3.1415. From the changelog:schmonz4-7/+28
* 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-06-01Update to 3.13. From the changelog:schmonz3-8/+14
You may want to run ikiwiki-transition deduplinks my.setup after upgrading to this version of ikiwiki. This command will optimise your wiki's saved state, removing duplicate information that can slow ikiwiki down. * ikiwiki-transition: If passed a nonexistant srcdir, or one not containing .ikiwiki, abort with an error rather than creating it. * Allow underlaydir to be overridden without messing up inclusion of other underlays via add_underlay. * More friendly display of markdown, textile in edit form selector (jmtd) * Allow curly braces to be used in pagespecs, and avoid a whole class of potential security problems, by avoiding performing any string interpolation on user-supplied data when translating pagespecs. * ikiwiki-transition: Allow setup files to be passed to all subcommands that need a srcdir. * ikiwiki-transition: deduplinks was broken and threw away all metadata stored by plugins in the index. Fix this bug. * listdirectives: Avoid listing _comment directives and generally assume any directive starting with _ is likewise internal. * Re-enable python-support and add python:Depends to control file. * ikiwiki-makerepo: Avoid using abs_path, as it apparently fails on nonexistant directories with some broken perl versions. * inline: Minor optimisation. * add_link: New function, which plugins should use rather than modifying %links directly, to avoid it accumulating duplicates. * ikiwiki-transition: Add a deduplinks action, that can be used to remove duplicate links and optimise a wiki w/o rebuilding it. * external: Fix pagespec_match and pagespec_match_list. Closes: #527281
2009-05-05Update to 3.11. From the changelog:schmonz2-7/+7
* Avoid using python-support. Closes: #525086 * websetup: Display stderr in browser if ikiwiki setup fails. * blogspam: Load RPC::XML library in checkconfig, so that an error can be printed at that point if it's not available, allowing the admin to see it during wiki setup. Closes: #520015 * websetup: If setup fails, restore old setup file. * relativedate: Deal with clock skew. * Add IkiWiki::ErrorReason objects, and modify pagespecs to return them in cases where they fail to match due to a configuration or syntax error. * pagespec_match_list: New API function, matches pages in a list and throws an error if the pagespec is bad. * inline, brokenlinks, calendar, linkmap, map, orphans, pagecount, pagestate, postsparkline: Display a handy error message if the pagespec is erronious [sic]. * comments: Add link to comment post form to allow user to sign in if they wish to, if the configuration makes signin optional for commenting. * Updated Danish translation from Jonas Smedegaard. Closes: #525751 * translation.mdwn: Typo fixes. Closes: #525753 Add msgfmt to USE_TOOLS (it's called at the end of the build).