summaryrefslogtreecommitdiff
path: root/www/ikiwiki
AgeCommit message (Collapse)AuthorFilesLines
2012-01-09Update to 3.20120109. From the changelog:schmonz2-7/+7
* mdwn: Can use the discount markdown library, via the Text::Markdown::Discount perl module. This is preferred if available since it's the fastest currently supported markdown library, speeding up ikiwiki's markdown rendering by a factor of 40. (However, when multimarkdown is enabled, Text::Markdown::Multimarkdown is still used.) * On Debian, depend on libtext-markdown-discount. pkgsrc changes: * Change Perl Markdown dependency to p5-Text-Markdown-Discount.
2011-12-29Update to 3.20111229. From the changelog:schmonz3-11/+11
* Consume all stdin when rcs_receive short-circuits, to avoid git SIGPIPE race. * Add path and path_natural sort orders (smcv) * Test coverage can be checked with make coverage (smcv) * tag: encode categories using numeric values. (tango)
2011-12-01Update to 3.20111107. From the changelog:schmonz2-6/+6
* img: Bugfix to width/height tags for scaled down image when only one dimension was provided. Thanks, Per Carlson. * editpage: Fix FormattingHelp link on Discussion pages. * The umask setting can now be set to private, group, or public, avoiding the need to enter octal correctly which is particularly difficult in yaml setup files. (smcv) * graphviz: Support urls embedded in the graph, by having graphviz generate an imagemap. * graphviz: Support wikilinks embedded in the graph. (Sponsored by The TOVA Company.)
2011-11-07Update to 3.20111106. From the changelog:schmonz2-6/+6
* searchquery.tmpl: Track escaping change in upstream template. Thanks Olly Betts for review. * svn: Support subversion 1.7, which does not have .svn in each subdirectory. * rst: import docutils lazily, to avoid errors during ikiwiki --setup. Closes: #637604 (Thanks, smcv) * Make the setup automator create YAML formatted files. * Fix handling of discussion page creation links to make discussion pages in the right place and with the right case. Broken by page case preservation feature added in 3.20110707.
2011-09-25Replace `find -not` with `find !` to fix build on NetBSD.schmonz2-5/+7
2011-09-05Update to 3.20110905. From the changelog:schmonz5-15/+15
* 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-08-14Revision bump after updating perl5 to 5.14.1.obache1-1/+2
2011-07-16Update to 3.20110715. From the changelog:schmonz2-6/+6
* rename: Fix logic error that broke renaming pages when the attachment plugin was disabled. * rename: Fix logic error that bypassed the usual pagespec checks.
2011-07-12Update to 3.20110712. From the changelog:schmonz2-6/+8
* attachment: Bugfix to create directory when moving attachment out of holding area. * Display attachment manipulation links always, since attachments can be uploaded via javascript. * Add build dep on python-support. Closes: #633536 * attachment: Bugfix to move upload attachments out of holding area when saving. * attachment: Bugfix for trying to attach files to a subpage of the index page.
2011-07-08Update to 3.20110707. From the changelog:schmonz3-8/+20
* 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-06-09Update to 3.20110608. From the changelog:schmonz2-6/+6
* ikiwiki-mass-rebuild: Fix tty hijacking vulnerability by using su. (Once su's related bug #628843 is fixed.) Thanks, Ludwig Nussel. (CVE-2011-1408) * search: Update search page when page.tmpl or searchquery.tmpl are locally modified.
2011-06-04Update to 3.20110431. From the changelog:schmonz7-114/+103
* Danish translation update. Closes: #625721 * Danish underlay translation update. Closes: #625765 (Thanks, Jonas Smedegaard) * Support YAML::XS by not passing decoded unicode to Load. Closes: #625713 * openid, aggregate, pinger: Use Net::INET6Glue if available to support making ipv6 connections. (Note that if LWPx::ParanoidAgent is installed, it defeats this for openid.) * Add additional directive quoting styles, to better support nested directives. Both triple-single-quote and heredoc quotes can be used. (Thanks, Timo Paulssen) * Changed license of madduck's python plugins from GPL-2 to BSD-2-clause. * po: support language codes in the form of 'es_AR', and 'arn'. (intrigeri) Closes: #627844 * po: Make po4a warn, not error on a malformed document. (intrigeri) * Support the Hiawatha web server which sets HTTPS=off rather than not setting it. (There does not seem to be a standard here.) pkgsrc changes: * Adjust local modifications to improve our upstream chances. * Quell pkglint. * Indent consistently.
2011-05-01Update to 3.20110430. From the changelog:schmonz2-6/+6
* meta: Allow adding javascript to pages. Only when htmlscrubber is disabled, naturally. (Thanks, Giuseppe Bilotta) Closes: #623154 * comments: Add avatar picture of comment author, using Libravatar::URL when available. The avatar is looked up based on the user's openid, or email address. (Thanks, Francois Marier) * Recommend libgravatar-url-perl, which contains Libravatar::URL. * monotone: Implement rcs_getmtime, and work around a problem with monotone 0.48 that affects rcs_getctime. (Thanks, Richard Levitte) * meta: Fix bug in loading of HTML::Entities that can break inline archive=yes (mostly masked by other plugins that load the module). * Be quiet about updating wrappers, except in verbose mode. (jmtd) * meta: Add FOAF support. Closes: #623156 * Promote Crypt::SSLeay to Recommends; needed for https openid auth. * tag: Avoid autocreating multiple tag pages that vary only in capitalization. The first capitalization seen of a tag will be used for the tag page. * Fix yaml build dep. Closes: #624712
2011-03-29Update to 3.20110328. From the changelog:schmonz3-22/+7
* Yaml formatted setup files are now produced by default. (Perl formatted setup files can still be used.) * Add timezone setting in setup file. This alows time zone to be configured via the web. * comment: Better fix to avoid showing comments of subpages, while not breaking manual inlining of comments. * meta: Security fix; don't allow alternative stylesheets to be added on pages where the htmlscrubber is enabled. (Updating this leaf package during the freeze for the security and bug fixes.)
2011-03-23Update to 3.20110321. From the changelog:schmonz5-15/+31
* comment: Don't show comments of subpages on parent pages. (Fixes bug introduced in version 3.20100505.) * darcs: Fix multiple issues preventing rcs_diff from working. * aggregate: Read cookies from ~/.ikiwiki/cookies by default. Also, the cookiejar configuration setting can be used by other plugins to provide a custom `cookie_jar` object for LWP::UserAgent. (Thanks, schmonz) * Avoid escaping / characters in filenames when building the cgiurl, as this confuses eg, cvsweb.
2011-02-26Update to 3.20110225. From the changelog:schmonz2-6/+6
* editpage: Avoid inheriting internal page types. * htmltidy: Avoid breaking the sidebar when websetup is running. * transient: New utility plugin that allows transient pages to be stored in .ikiwiki/transient/ (smcv) * aggregate: Aggregated content is stored in the transient underlay. (Existing aggregated content is not moved, since it will eventually expire and be removed) (smcv) * autoindex, tag: Added autoindex_commit and tag_autocreate_commit that can be unset to make index files and tags respectively not be committed, and instead be stored in the transient underlay. Closes: #544322 (smcv) * autoindex: Adapted to use add_autofile. Slight behavior changes in edge cases that are probably really bug fixes. (smcv) * recentchanges: Use transient underlay (smcv) * map: Avoid unnecessary ul's in maps with nested directories. (Giuseppe Bilotta) * Fix broken baseurl in cgi mode when usedirs is disabled. Bug introduced in 3.20101231. * inline: Fix link to nested inlined pages's feeds. (Giuseppe Bilotta) * inline: Add 'id' parameter that can be used when styling individual feedlinks and postforms. (Giuseppe Bilotta)
2011-01-25Update to 3.20110124. From the changelog:schmonz2-6/+6
* comments: Fix commenting, broken by security fix. * blogspam: Don't check modifications from admins for spam, and also allow the blogspam_pagespec to do other matches against who the user is. * inline: Fix regression in feed titles. Closes: #610878 (Thanks, Paul Wise)
2011-01-24Update to 3.20110123. From the changelog:schmonz3-8/+7
* 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-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 `&lt;base&gt;` 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-&gt;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.