Commit graph

119 commits

Author SHA1 Message Date
schmonz
f82c34d776 Update to 3.20101023. From the changelog:
* Fix typo that broke anonymous git push.
* Fix web reversion when the srcdir is in a subdir of the git repo.
2010-10-24 15:45:34 +00:00
schmonz
d1a68fac41 Update to 3.20101019. From the changelog:
* 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-10-20 02:56:12 +00:00
schmonz
445c73daf6 Update to 3.20100926. From the changelog:
* 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-29 01:03:59 +00:00
schmonz
a1ca1e6354 Update to 3.20100915. From the changelog:
* 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-17 05:52:31 +00:00
schmonz
fdaddade87 Update to 3.20100831. From the changelog:
* 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-09-01 05:13:41 +00:00
seb
c3f1e700ad Bump the PKGREVISION for all packages which depend directly on perl,
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-21 16:32:42 +00:00
schmonz
cfe490ab8e Update to 3.20100815. From the changelog:
* Fix po test suite to not assume ikiwiki's underlay is already installed.
     Closes: #593047
2010-08-16 01:42:22 +00:00
schmonz
5d63cf56d4 Update to 3.20100804. From the changelog:
* 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-08-04 15:25:11 +00:00
schmonz
b2fa644bfa Update to 3.20100722. From the changelog:
* 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-23 13:07:16 +00:00
schmonz
feeffdbffd Update to 3.20100704. From the changelog:
* 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-07-05 07:45:21 +00:00
schmonz
9ea80cf328 Update this generally stable leaf package during the freeze, mainly
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-23 23:52:12 +00:00
schmonz
e6cefd0281 Update to 3.20100610. From the changelog:
* 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-06-11 15:15:57 +00:00
schmonz
0062aa3013 Update to 3.20100518.2:
* 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-20 04:33:23 +00:00
schmonz
6ba5f35a3d Update to 3.20100515. From the changelog:
* 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-16 12:35:09 +00:00
schmonz
8c92694fe0 Update to 3.20100504. From the changelog:
* 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-05 14:31:51 +00:00
schmonz
351a28c925 Update to 3.20100501. From the changelog:
* 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-05-02 15:07:58 +00:00
schmonz
aed114b545 Update to 3.20100427. From the changelog:
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-27 13:15:46 +00:00
schmonz
3f35bac122 ikiwiki-{calendar,transition} are preprocessed now. PKG_DEVELOPER=YES
catches this, pointed out by wiz@ and spz@ with a fix from the
latter. Not sure how I missed it.
2010-04-12 00:29:22 +00:00
schmonz
b69092792c Update to 3.20100403. From the changelog:
* 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-04-04 17:23:29 +00:00
schmonz
3df5874e7f Update to 3.20100312. From the changelog:
* 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-13 20:20:08 +00:00
schmonz
1516f4c73f Update to 3.20100302. From the changelog:
* 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-03-03 14:14:36 +00:00
schmonz
c1db33c6bc Update to 3.20100212. From the changelog:
* 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-02-13 05:53:36 +00:00
schmonz
ae0d64f329 Update to 3.20100122. From the changelog:
* 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-26 04:59:15 +00:00
schmonz
1273344556 Update to 3.20100102.3 ("Happy palindrome day!"). From the changelog:
* 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.
2010-01-03 16:07:05 +00:00
schmonz
998d3f98d6 Update to 3.20091218. From the changelog:
* 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-22 23:23:27 +00:00
schmonz
cee27f746b Update to 3.20091202. From the changelog:
* 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-12-02 21:38:43 +00:00
schmonz
287477c2b6 Comment out GNU sedism used to generate RPM spec file (noticed by
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-23 02:36:39 +00:00
schmonz
140a0d9945 Update to 3.20091113. From the changelog:
* 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-16 22:51:14 +00:00
schmonz
397ea284d7 Update to 3.20091031. From the changelog:
* 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-11-02 04:23:37 +00:00
schmonz
a21c9a1645 Update to 3.20091023. From the changelog:
* inline: Fix raw mode. Closes: #552114
2009-10-24 15:51:15 +00:00
schmonz
e21a269f45 Update to 3.20091022. From the changelog:
* 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-23 13:17:18 +00:00
schmonz
d83dcd00b7 ikiwiki-calendar needs the Perl interpreter (missed in previous, ride update). 2009-10-18 07:13:42 +00:00
schmonz
dcb7bded6f Update to 3.20091017. From the changelog:
* 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-18 04:43:16 +00:00
schmonz
dcc3b8a91f Update to 3.20091009. From the changelog:
* 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-10-10 17:58:41 +00:00
schmonz
b5495df324 ikiwiki 3.14159265. From the changelog:
* 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-25 07:29:21 +00:00
sno
15707ea5a1 Bumping revision of packages which depend direct or indirect on
devel/p5-Class-MOP. A late detected incompible change forced it.
2009-09-24 06:50:10 +00:00
schmonz
6593607a89 Update to 3.1415926. From the changelog:
* [ 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-30 23:30:08 +00:00
schmonz
ee980c149f Update to 3.141592. From the changelog:
* 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-08-12 21:14:34 +00:00
schmonz
63348720ad Take MAINTAINER (ok reed@). 2009-07-24 17:52:00 +00:00
schmonz
408ee38f52 Don't install w3m CGI unless the option is enabled. Fixes that PLIST scenario. 2009-07-24 14:35:14 +00:00
schmonz
a83f6803c6 Update to 3.14159. From the changelog:
* 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-24 05:09:02 +00:00
schmonz
7834bb48dc Update to 3.1415. From the changelog:
* 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-07-09 22:15:09 +00:00
joerg
e031855e4a Convert @exec/@unexec to @pkgdir or drop it. 2009-06-14 22:00:14 +00:00
schmonz
a7fa941f99 Update to 3.13. From the changelog:
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-06-01 20:24:42 +00:00
schmonz
6d67f101d8 Update to 3.11. From the changelog:
* 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).
2009-05-05 18:02:05 +00:00
schmonz
c3b9b59d7c Skip Python interpreter check if not building with the python option.
Bring in xapian-omega if building with the ikiwiki-search option.
Ride recent update.
2009-04-22 02:33:06 +00:00
schmonz
fccde1711d Update to 3.10. From the changelog:
This is a major upgrade from 2.x. Please read:

<URL:http://ikiwiki.info/tips/upgrade_to_3.0/>

The highlights of the changes in version 3.0 include:
* Support for uploading attachments.
* Can rename and remove pages and files via the web.
* Web based setup.
* Blog-style comments as an alternative to Discussion pages.
* Many other new plugins including htmlbalance, format, progress,
    color, autoindex, cutpaste, hnb, creole, txt, amazon s3, pinger,
    pingee, edittemplate
* The RecentChanges page is compiled statically, not generated from the CGI.
* Support for additional revision control systems: bzr, monotone
* Support for untrusted git push.
* A new version (3.00) of the plugin API, exporting additional
    commonly used functions from IkiWiki.pm.
* Nearly everything in ikiwiki is now a plugin, from WikiLinks to
    page editing, to RecentChanges.
* Far too many bug fixes, features, and enhancements to list here.

3.10:
* darcs: Finally added support for this VCS, thanks to many contributors:
    - Thomas Schwinge wrote the original file, implementing only rcs_commit.
    - Benjamin A'Lee contributed an alternative implementation.
    - Tuomo Valkonen contributed rcs_getctime and stub rcs_recentchanges.
    - Simon Michael contributed multiple changes.
    - Petr Rockai fixed rcs_recentchanges.
    - Sven M. Hallberg merged the above and added missing features.
* Add missing newline to Confirm Password prompt.
* Add missing permalink support to archivepage and titlepage templates.
* debian/control: Wrap fields.
* inline: Add author info to archive display.
* Add a microblog template that is useful for inlining microblogging posts.

3.09:
* inline: Add title_natural sort order, using Sort::Naturally
     (chrysn)
* inline: Fix urls to feed when feedfile is used on an index page.
* git, mercurial: Fix --getctime to return file creation time,
     not last commit time.
* Updated French translation (Jean-Luc Coulon). Closes: #521072
* css: Add clear: both to inlinefooter.
* comments: Fix too loose test for comments pages that matched
     normal pages with "comment_" in their name. Closes: #521322
* comments: Fix anchor ids to be legal xhtml. Closes: #521339
* Fix documentation of anonok_pagespec. Closes: #521793
* Add missing suggests on libtext-textile-perl. Closes: #522039
* recentchanges: change to using do=goto links for user links.
* Fix git test suite to use a bare repo.

3.08:
* git: Fix utf-8 encoding of author names.
* git: Manually decode git output from utf-8, avoids warning messages
    on invalidly encoded output.
* Fix bug that caused weird things to appear as page types.

3.07:
* Updated German translation (Kai Wasserbaech). Closes: #518377
* Updated French translation (Jean-Luc Coulon). Closes: #518510
* wmd: New plugin contributed by William Uther to support the WMD
    Wysiwym markdown editor.
* smiley: Avoid infinite loop in smiley expansion triggered by the
    template scan mode change in version 3.05. Closes: #518805
* template: When loading a template in scan mode, let preprocess
    know it only needs to scan.

3.06:
* Setup automator: Fix bug in password comparison. Closes: #517654

3.05:
* debhelper v7(.0.50); rules file minimisation.
* template: Load templates in scan mode. This is potentially
    expensive, but is necessary so that meta and tag directives,
    and other links on templates affect the page using the template
    reliably.
* goto: Fix redirect to comments.
* Add noextension parameter to htmlize hooks to support, eg, Makefile.
* Add tagged() PageSpec.
* Updated German translation (Kai Wasserbaech). Closes: #516770
* Setup automator: Prompt for password twice. Closes: #516973
* bzr: Add missing rcs_diff. (liw)
* comments: Avoid showing comment moderation button in prefs to non-admins.
* goto: Fix typo that broke recentchanges_link compatibility.

3.04:
* 404: New plugin which lets you use the IkiWiki CGI script as an
    Apache 404 handler, to give the behaviour of various other wiki
    engines where visiting a nonexistent page provides you with a
    link to create it. (smcv)
* Factor out redundant code into goto plugin. (smcv)
* Work around XML::Atom strangeness that results in double-encoded posts. (smcv)
* Updated German translation (Kai Wasserbaech). Closes: #514251
* Fix unusual --setup --post-commit command line option combo.
* Create any missing directory necessary to put the wrapper file
    into. Closes: #514384
* shortcut: If default_pageext is set, first look for shortcuts.default_pageext.
* Allow comments, rename, remove, and attachment plugins to be used
    even if the editpage plugin is disabled.

3.03:
* Avoid feeding decoded unicode to Term::ReadLine. Closes: 512169
* blogspam: Log spam info on failure in debug mode.
* Remove nonstandard css. Closes: #512378
* blogspam: Fix use of blogspam_options and blogspam_server config settings.
* comments: If comment content checks fail, store the comment (in
    .ikiwiki/comments_pending) for moderator review.
* comments: Add a moderation web interface, which admins can access
    via their Preferences page.
* git: Fix malformed utf8 received from git.
* meta: New "updated" metadata specifies a fake modification time
    for a page, to be output into RSS and Atom feeds. (smcv)
* underlay: New plugin, allows pulling in additional files not in
    version control. (smcv)

3.02:
* blogspam: New plugin, adding spam filtering for page editing /
    comment posting using the BlogSpam.net API.
* Add auto-blog.setup, which will set up an ikiwiki instance tuned
    for use in blogging.
* checkcontent: New hook, can be used to implement arbitrary content
    filters, including spam filters.
* table: Fix misparsed links in external files.
* table: Find links in external files in scan pass.
* rename: Show full names of affected pages.
* comments: Fix cache avoidance hack.
* repolist: New plugin to support the rel=vcs-* microformat.
* goodstuff: Include repolist by default. (But it does nothing until
    configured with the repository locations.)
* comments: Add support for removing comments via web interface. (smcv)
* Consistently allow use of relative paths in all PageSpecs that
    take a page name parameter. Previously, match_created_before(),
    match_created_after(), match_sourcepage(), and match_destpage()
    did not support that, and the docs were not clear.
* pinger: Get whole url, don't just head, avoids problems on the
    nostromo web server.
* Recommend libterm-readline-gnu-perl since that makes auto.setup
    behave better.

3.01:
* ikiwiki-makerepo: Fix injecting of empty mercurial and bzr
    repositories. Closes: #510518
* Fix documentation about git hook to use right name. Closes: #510393
* yesno: Always accept English even when localised.
* yesno: Also accept 1 and 0 as input.
* A recent change to gitweb removed support for the form of diffurl
    that many ikiwiki setups use. Document how to use the new url form.

2.72:
* Avoid comments in recentchanges being broken links (smcv)
* Add deprecation warning for GlobLists, which will stop working in 3.0.
* camelcase: Add camelcase_ignore setting.
* googlecalendar: Add runtime deprecation warning.
* comments: Deal with users entering unqualified or partial urls.
* inline: Run format hook first, to ensure other format hooks can affect
     inlined content.  Closes: #509710

2.71:
* comments: Blog-style comment support, contributed by Simon McVittie.
* htmlbalance: New plugin contributed by Simon McVittie.
* Change deb dependencies to list Text::Markdown before markdown (really
     this time).
* Improve escaping of wikilinks and preprocessor directives in content
     produced by aggregate and recentchanges.
* French translation update from Philippe Batailler. Closes: #506250
* Spanish translation update from Victor Moral.
* Fix handling of wrappergroup option.
* Correct --dumpsetup to include the srcdir in the setup file.
* German translation update from Kai Wasserbaech. Closes: #507056
* inline: Support emptyfeeds=no option to skip generating empty feeds.
* inline: Support feedfile option to change the filename of the feed
     generated.
* meta: Pass info to htmlscrubber so htmlscrubber_skip can take effect.
* htmlbalance: don't compact whitespace, and set misc other options (smcv)
* rename: Fix double-escaping of page name in edit box.
* monotone: When getting the log, tell monotone how many entries
     we want, rather than closing the pipe, which it dislikes. (thm)
* Coding style change: Remove explcit vim folding markers.
* aggregate: If a feed fails to be downloaded, try again immediatly
     next time aggregation is run, even if the usual time has not passed.
     Closes: #508622 (Michael Gold)
* meta: Process meta date during scan pass so that the date will always
     affect sorting in inlines.
* Improve display of some openids (smcv)

2.70:
* Avoid crash on malformed utf-8 discovered by intrigeri.

2.69:
* Avoid multiple ikiwiki cgi processes piling up, eating all memory,
     and thrashing, by making the cgi wrapper wait on a cgilock.
     If you had to set apache's MaxClients low to avoid ikiwiki thrashing your
     server, you can now turn it up to a high value.
* Stop busy-waiting in lockwiki, as this could delay ikiwiki from waking up
     for up to one second. The bailout code is no longer needed after above
     change.
* Remove support for unused optional wait parameter from lockwiki.
* aggregate: Try to query XML::Feed for the base url when derelevatising
     links. Since this needs the just released XML::Feed 0.3, as well
     as a not yet released XML::RSS, it will fall back to the old method
     if no xml:base info is available.
* meta: Plugin is now enabled by default since the basewiki uses it.
* txt: Do not encode quotes when filtering the txt, as that broke
     later parsing of any directives on the page.
* Fix the link() pagespec to match links that are internally recorded as
     absolute.
* Add rel=nofollow to recentchanges_links for the same (weak) reasons it
     was earlier added to edit links.
* tag: Normalize tagbase so leading/trailing slashes in it don't break
     things.
* bzr: Fix dates for recentchanges.

2.68:
* Add support for checking pushes from untrusted git committers.
    This can be used to set up anonymous git pushes, and other
    similar things.
* format: New plugin, allows embedding differently formatted text
    inside a page (ie, otl inside a mdwn page, or syntax highlighted
    code inside a page).
* relativedate: New javascript-alicious plugin that makes all dates
    display relative, in a very nice way, if I say so myself.
* Optimise the no-op post-commit hook, to speed up web edits by a
    fraction of a second.
* git: Allow sha1_commit to be used in the diffurl, to support cgit.
* shortcut: Fix display of shortcuts while previewing.
* Plugins that used to override displaytime should instead override
    formattime. displaytime will call that, and may wrap markup
    around the formatted time.
* Add an underlay for javascript, and add ikiwiki.js containing
    some utility code.
* toggle: Stop embedding the full toggle code on each page using
    it, and move it to toggle.js in the javascript underlay.
* recentchanges: Make feed links point back to anchors on the
    recentchanges page. (JasonBlevins)
* Fix issue with utf-8 in wikiname breaking session cookies, by
    entity-encoding the wikiname in the session cookie.
* Use the pure perl Data::Dumper when generating setup files to
    ensure that utf-8 characters are written out as such, and not
    as the encoded perl strings the C Data::Dumper produces.
* inline: Only the last feed link was put on the page, fix this to
    include all feed links. So rss will be included along with atom,
    and pages with multiple feeds will get links added for all
    feeds.
* tag: When tagpage is set, force the links created by tagging to
    point at the toplevel tagpage, and not closer subpages. The
    html links already went there, but internally the links were
    not recorded as absolute, which could cause confusing backlinks
    etc.
* Add an inject function, that can be used by plugins that want to
    replace one of ikiwiki's functions with their own version.
    (This is a scary thing that grubs through the symbol table, and
    replaces all exported occurances of a function with the injected
    version.)
* external: RPC functions can be injected to replace exported functions.
* Updated French translation. Closes: #502694
* Updated Spanish translation from the ever vigilant Victor Moral.
* Updated Danish translation from Jonas Smedegaard. Closes: #503117
* Preserve syslog setting when doing `ikiwiki -setup foo -dumpsetup bar`
* Several fixes to --render mode.

2.67:
* remove: Avoid $_ breakage. (Stupid, stupid perl.)
* Updated Spanish translation from Victor Moral.
* lockedit: Support specifying which users (and IP addresses) a
    page is locked for. This supports most of the ACL type things
    users have been wanting to be done. Closes: #443346 (It does
    not control who can read a page, but that's out of scope for
    ikiwiki.)
* orphans: Fix unquoted page name in regexp.
* google: Plugin provides google site search, contributed by Peter Simons.
* Pass HTTPS variable through the wrapper so that CGI->https can
    be used by plugins. Closes: #502047
* inline: Allow MTIME to be used in inlinepage.tmpl.
* inline: Use the feed's description in the rss and atom links.
    Closes: #502113
* aggregate: Avoid bug that caused immediate expiration of items
    with a date in the future.
2009-04-21 16:34:43 +00:00
he
b021813da0 Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0.

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=...").
2008-10-19 19:17:40 +00:00
schmonz
d2a653bf1e Update to 2.66. From the changelog:
* recentchanges: Fix redirects to non-page files.
   * aggregate: Avoid uninitialized value warnings for pages with no recorded
     ctime.
   * attachment: Add admin() pagespec to test if the uploading user is a wiki
     admin.
   * git: Fix handling of utf-8 filenames in recentchanges.
   * tag: Make edit link for new tags ensure that the tags are created
     inside tagbase, when it's set.
   * template: Make edit link for new templates ensure the page is located
     under toplevel templates directory.
   * htmlscrubber: Add a config setting that can be used to disable the
     scrubber acting on a set of pages.
   * Expand usage message and add --help. Closes: #[500344]
   * Beautify urls used in various places. (smcv)
   * Export pagetitle, titlepage, linkpage.
   * htmltidy: Avoid returning undef if tidy fails. Also avoid returning the
     untidied content if tidy crashes. In either case, it seems best to tidy
     the content to nothing.
   * htmltidy: Avoid spewing tidy errors to stderr.
   * Reorganize index file, add a format version field. Upgrades to the new
     index format should be transparent.
   * Add %wikistate, which is like %pagestate except not specific to a given
     page, and is preserved across rebuilds.
   * editpage: Be more aggressive (and less buggy) about cleaning up
     temporary files rendered during page preview.
   * Add an indexpages option, which causes foo/index.mdwn to be the source
     for page foo when foo.mdwn doesn't exist. Also, when it's enabled,
     creating a new page will save it to foo/index.mdwn by default.
     Closes: #[474611]
     (Sponsored by The TOVA Company.)
   * httpauth: Document that ikiwiki.cgi has to be in a directory subject to
     authentication. Closes: #[500524]
   * inline: Fix handling of rootpage that doesn't exist.
   * attachment: Support adding attachments to pages even as they are being
     created.
   * remove, rename: Allow acting on attachments as a page is being created.
   * Updated French translation. Closes: #[500929]
   * progress: Display an error if the progress cannot be parsed, and allow
     the percent parameter to only optionally end with "%".
   * Fix reversion in use of ikiwiki -verbose -setup with a setup file that
     enables syslog. Setup output is once again output to stdout in this
     case.
   * edittemplate: Default new page file type to the same type as the template.
     (willu)
   * edittemplate: Add "silent" parameter. (Willu)
   * edittemplate: Link to template, to allow creating it. (Willu)
   * editpage: Add a missing check that the page name contains only legal
     characters, in addition to the existing check for pruned filenames.
   * Print a debug message if a page has multiple source files.
   * Add keepextension parameter to htmlize hook. (Willu)
   * rename, remove: Don't rely on a form parameter to tell whether the page
     should be treated as an attachment.
   * rename: Add support for moving SubPages of a page when renaming it.
     (Sponsored by The TOVA Company.)
   * rename: Hide type field from rename form when renaming attachments.
2008-10-06 15:34:00 +00:00
schmonz
03c3e967ba Update to 2.64, plus a few bugfixes that'll be in 2.65. From the changelog:
* aggregate: Expire excess or old items on the same pass that adds them,
    not only on subsequent passes.
* editdiff: Broken since 2.62 due to wrong syntax, now fixed.
* aggregate: Support atom feeds with only a summary element, and no content
    elements.

* Avoid uninitialised value when --dumpsetup is used and no
    srcdir/destdir specified.
* ddate: Stop clobbering timeformat when not enabled.
* progress: New plugin to generate progress bars (willu)
* Add allow\_symlinks\_before\_srcdir to config so websetup doesn't eat it.
* img: Support sizes like 200x. Closes: #[475149](http://bugs.debian.org/475149)
* goodstuff: Remove otl plugin from the bundle since it needs a
    significant external dependency and is not commonly used. If
    you use otl, make sure you explicitly enable it now.
* goodstuff: Add more, progress, and table plugins to the bundle.
* Improve error message if external plugin fails to load. Closes:
    #[498458](http://bugs.debian.org/498458)
* Directive documentation broken out of the plugin documentation
    and into pages suitable to be used as an underlay. Thanks to
    Willu for doing most of the tedious work.
* Move the directive documentation into its own underlay, separate
    from basewiki, since it's sorta large compared to the rest of
    basewiki.
* listdirectives: Enable use of the directives underlay.
* Removed the obsolete blog page from the basewiki. ikiwiki/blog
    still remains, but is now deprecated too.
* Removed old redirecton pages from basewiki (helponformatting,
    markdown, openid, pagespec, preprocessordirective, subpage,
    wikilink).
* inline: Treat rootpage as a link, so that it can refer to a subpage
    without hardcoding the path.
2008-09-22 15:09:05 +00:00
schmonz
794d47c6a2 Update to 2.63. From the changelog:
* Set cookies HttpOnly.
* Typo. Closes: #[497003](http://bugs.debian.org/497003)
* Ignore failure to install files into /etc, in case install is
    running as non-root.
* Work around perl $\_ scoping nonsense that caused breakage when loading
    external plugins.
* style.css: Add missing semicolon. Closes:
    #[497176](http://bugs.debian.org/497176)
* filecheck: Fall back to testing for binary or plain text files
    if no mime type is detected.
* table: Support header=column to make the table header be the first
    column of the data. (AlexandreDupas)
* For fine control over what characters are allowed, unescaped in
    source filenames, the wiki\_file\_chars setting is added. For
    example, set to "-[:alnum:]+/.\_" to disable colons from being
    used in source files (which can cause troubl om Windows).
* po/Makefile: update po files when the pot file has changed.
    Closes: #[497951](http://bugs.debian.org/497951)
* editpage: New core plugin factoring out page editing to allow
    disabling it if desired.
2008-09-09 17:19:13 +00:00
schmonz
81c1e696e7 Update to 2.62.1. From the changelog:
2.62.1:
* filecheck: Fixed two bits broken in move from attachment.

2.62:
The teximg plugin now has a configurable LaTeX preamble.

As part of this change the mchem LaTeX package has been removed
from the default LaTeX preamble as it wasn't included in many TeX
installations. The previous behaviour can be restored by adding the
following to your ikiwiki setup:

teximg_prefix => '\documentclass{scrartcl}
         \usepackage[version=3]{mhchem}
         \usepackage{amsmath}
         \usepackage{amsfonts}
         \usepackage{amssymb}
         \pagestyle{empty}
         \begin{document}',

In addition, the rendering mechanism has been changed to use dvipng
by default, if available.

* Avoid using cp -a (again). (HenrikBrixAndersen)
* Avoid using hostname -f for portability to eg, OS X, use Net::Domain
    instead, and prompt if it fails.
* Fix bug in wikiname sanitisation in the setup automator.
* ikiwiki-makerepo: Added support for monotone. (Thomas Keller)
* map: The fix for #449285 was buggy and broke display of parents in certian
    circumstances.
* teximg: The prefix is configurable, and has changed to not include the
    nonstandard mhchem by default. (willu)
* teximg: dvipng is used if available to render images. Its output is
    antialiased and better than dvips. If not available, the old
    dvips+convert chain will be used. (willu)
* Drop suggests on texlive-science, add suggests on dvipng.
* listdirectives: New plugin. (willu)
* filecheck: New plugin factoring out the PageSpec additions that were
    originally part of the attachment plugin.
* edittemplate: Don't wipe out edits on preview.
* color: New plugin from ptecza.
* autoindex: Avoid re-adding previously deleted (or renamed) pages.

2.61:
* poll: Fix typo that broke plugin.
* graphviz: Fix breakage of the name of the preprocessor directive.

2.60:
Admin preferences are moving from the web interface to the setup
file. There are three new options in the setup file: locked_pages,
banned_users, and allowed_attachments. The admin prefs page can
still be used, but that's deprecated, and the prefs will be hidden
if a value is not already set. If a value is set in the web interface,
you're encouraged to move that setting to your setup file now,
since version 3.0 will remove the deprecated admin prefs web
interface.

Also, the layout of the setup file has changed in a significant
way in this release. Old setup files will continue to work, but
new features, like the new websetup interface, require a new format
setup file. You can convert old setup files into the new format by
running ikiwiki-transition setupformat ikiwiki.setup

[ Joey Hess ]
* Starting with this version, "ikiwiki -setup /etc/ikiwiki/auto.setup"
    can be used create a new wiki in seconds.
* websetup: New plugin providing a setup form on the web.
* ikiwiki --dumpsetup can generate a nice setup file snapshotting
    ikiwiki's current configuration.
* The way wrappers are defined in the setup file has changed. Old
    setup files will continue to work, for now.
* ikiwiki-transition setupformat can be used to convert a setup
    file to the new format.
* Version control backends promoted to first-class plugins.
* ikiwiki-update-wikilist: Add -r switch to remove. Default behavior
    is now always to add.
* Start moving admin preferences from the web interface to the setup file.
* Add getsetup hook, all plugins should use it to record information
    about themselves and any fields they add to %config
* Large amounts of internal config data reorg.
* ikiwiki-makerepo: Bail if both srcdir and repository are not
    specified. Closes: #493628
* Clarify some wording in the setup documentation that could maybe
    lead users to putting paths with "~/" in the setup file, which
    doesn't work. Closes: #493835
* autoindex: Ignore internal pages, and take underlay directories
    into account. Also, avoid making index pages for directories
    that contain no files.
* external: Fix support for hooks called in an array context.
* Options set in the setup file are now immediatly loaded by ikiwiki
    -setup. This allows later switches to override them. Previously,
    setup file options overrode most command line options.
* Added a small icon to the search input box.

[ Josh Triplett ]
* Add Suggests on texlive and texlive-science for the teximg plugin

[ Joey Hess ]
* inline: Ignore parent dirs when sorting pages by title.
* rename: Support changing page extensions. (willu)
* Danish update. Closes: #494632
2008-09-04 15:34:30 +00:00
schmonz
1af24162b9 Update to 2.56. From the changelog:
* autoindex: New plugin that generates missing index pages. (Sponsored
    by The TOVA Company.)
* Escape HTML is rss and atom feeds instead of respectively using
    CDATA and treating it as XHTML. This avoids problems with
    escaping the end of the CDATA when the htmlscrubber is not used,
    and it avoids problems with atom XHTML using named entity
    references that are not in the atom DTD. (Simon McVittie)
* Add test for old versions of git that don't support --cleanup=verbatim,
    and munge empty commit messages.
2008-08-01 18:41:08 +00:00
schmonz
7e1a93b1d4 Update to 2.55. From the changelog:
* remove: New plugin that adds the ability to remove pages via the
    web. (Sponsored by The TOVA Company.)
* rename: New plugin that adds the ability to rename pages via the
    web. (Sponsored by The TOVA Company.) (This one's for you, Kyle.)
* All rcs backends need to implement rcs_remove, rcs_commitstaged,
    and rcs_rename. (Done for svn, git).
* This version adds renamepage hooks, which can be used to modify
    page content, including links, during renames.
* prefix_directives enabled in doc wiki, all preprocessor directives
    converted. (Simon McVittie)
* editpage: Don't show attachments link when attachments are disabled.
* tag: Allow tagbase to be overridden by starting a tag with "./"
    or "/". (Simon McVittie)
* Really fix bug with links to pages with names containing colons.
    Previous fix mised a few cases.
* Avoid troublesome abs_path calls in wrapper setup.
* Add allow_symlinks_before_srcdir config setting that can be used
    to avoid a security check that is a good safe default, but
    problimatic overkill in some situations.
* Don't allow uploading an attachment with the same name as an
    existing page, to avoid confusion.
* Split out error messages from editpage.tmpl into several separate
    templates.
* attachment: Do not escape _ when determining attachment filenames.
* Rebuild pages that change their type. (Gabriel McManus)
* monotone: Add support for rename, delete, and also diff. (William Uther)
* toggle: Fix incompatability between javascript and webkit.
* bzr: Add support for rename and delete. (Jelmer Vernooij)
* attachment: Use relative paths when inserting links.
* toggle: Fix for when html got tidied. Closes: #492529 (Enrico Zini)
* cutpaste: New plugin by Enrico Zini
2008-07-29 05:04:24 +00:00
schmonz
db02068692 Update to 2.54. From the changelog:
2.54:
  * Make it possible to load setup files w/o running them. Code
    needing to do so can call IkiWiki::Setup::load, which will return
    a hash of values.
  * ikiwiki-transition: Fix command-line processing so the prefix_directives
    transition works again.
  * template: Add support for a BASENAME variable.
  * Fixes creation of pages when clicking on WikiLinks starting with "/".
  * Change deb dependencies to list Text::Markdown before markdown, since
    the former, while slower, has a much better html parser that avoids
    numerous bugs.
  * Move yesno function out of inline and into IkiWiki core, not exported.
  * Error handling improvement for preprocess hooks. It's now safe to call
    error() from such hooks; it will cause a nicely formatted error message
    to be inserted into the page.
  * Cut the size of the binary package in half by excluding pages for bugs
    and todo items from the html shipped in it.
  * parentlinks: New plugin, split out of ikiwiki core and enabled by default,
    and several new fields added to allow for advanced styling. (intrigeri)
  * smileys: Some fixes for escaped smileys.
  * smileys: Note that smileys need to be double-escaped for the escaping to
    work. Markdown removes one level of escaping.
  * Add a postscan hook.
  * search: Use postscan hook, avoid updating index when previewing.
  * git: Put web committer name/openid/address in the git author field.
    The committer's email address is not used (because leaking email addresses
    is not liked by many users). Closes: #451023
  * git: Fix parsing of git logs with no commit messages at all.
  * search: Fixes for title stemming, and use better term for tags.
    (Rebuilding the wiki on upgrade to this version is recommended if you
    use the search plugin.)
  * meta, inline: Support guid options, to allow forcing a particular url or
    uuid in feeds.
  * meta: fix title() PageSpec
  * Some footer style changes.
  * aggregate: Add an `aggregateinternal` option, which allows storing
    aggregated data to internal-use files, rather than wiki pages. This
    can save disk space, and be faster.
  * ikiwiki-transition: Add a `aggregateinternal` transition to rename
    the aggregated files.

2.53:
  * search: generate configuration files once only when rebuilding
  * attachment: Fix an uninitialised value warning when editing a page
    that currently has no attachments.
  * Fix a bug with links to pages whose names contained colons.
  * attachment: Support old versions of CGI.pm that lack an upload method.
  * Include ikiwiki.setup in examples in the debian package.
  * attachment: Support perl 5.8's buggy version of CGI.pm.
  * otl: Support utf-8 files. (Recai Oktaş)

2.52:
  * attachment: New plugin for uploading and managing attachments.
    This includes a fairly powerful PageSpec based admin pref for deciding
    whether to accept a given upload, and an attachment management interface
    on the edit page.
  * If attachments are not enabled, configure CGI.pm to disable file
    uploads by default. (An anti-DOS measure.)
  * toggle: Add support for toggles that are open by default.
  * toggle: Fix to work in preview mode.
  * toggle: Add javascript to top of page, not to end. This avoids flicker
    since closed toggles will not be displayed as the page is loading.
  * The editpage form now uses the raw page name, not the page title, in its
    'page' cgi parameter. Using the title was ambiguous and made it
    impossible to tell between some pages, like "foo/bar" and "foo__47__bar",
    sometimes causing the wrong page to be edited.
  * This change means that some edit links need to be updated.
    Force a rebuild on upgrade to this version.
  * Above change also allowed really fixing escaped slashes from the blogpost
    form.

2.51:
  * Improve toplevel parentlink to link directly to index.html when usedirs is
    disabled.
  * map: Add a "show" parameter. "show=title" can be used to display page
    titles, rather than the default page name. Based on a patch from
    Jaldhar H. Vyas, Closes: #484510
  * hnb: New plugin, contributed by Axel Beckert.
  * meta: Store "description" in pagestate for use by other plugins.
  * map: Support show=description.
  * textile: The Text::Textile perl module has some regexps that fail if
    input is flagged as utf-8, but contains invalid characters such as 0x92.
    To prevent it from crashing, re-encode the content before calling it,
    which will ensure that it's really utf-8.
  * Version the suggests of xapian-omega to a version known to be new enough
    to work with ikiwiki. Reportedly, version 0.9.9 is too old to work.
    Closes: #486592
  * creole: New plugin from Bernd Zeimetz. Closes: #486930
  * aggregate: Add template parameter.
  * Add support for the universal edit button <http://universaleditbutton.org/>
    (To get this on all pages of an exiting wiki, rebuild the wiki.)
  * txt: New plugin, contributed by Gabriel McManus.
  * smiley: Generate links relative to the destpage. (Fixes a reversion from
    2.41.)
  * toc: Revert change in 2.45 that made it run at sanitize time. That broke
    use of toc in a sidebar.
  * Call format hooks when generating page previews, thus fixing toc display
    there, as well as fixing inlins to again display in page previews, since
    it's started using format hooks. This also allows several other things,
    like embed, that use format hooks, to work during page preview time.
  * Format hooks should not rely on getting an entire html document, as they
    will only get the body during page preview.
  * toggle: Deal with preview mode when adding javascript.

2.50:
  * img: Support captions.
  * img: Don't generate empty title attributes, etc.
  * img: Allow setting defaults for class and id too.
  * ikiwiki-mass-rebuild: Make group list comparison more robust.
  * search: Work around xapian bug #486138 by only stemming locales
    in a whitelist.

2.49:
  * haiku: Generate valid xhtml.
  * ikiwiki-mass-rebuild: Don't trust $! when setting $)
  * inline: The optimisation in 2.41 broke nested inlines. Detect those
    and avoid overoptimising.
  * search: Converted to use xapian-omega.
  * Filter hooks are no longer called during the scan phase. This will
    prevent wikilinks added by filters from being scanned properly. But
    no known filter hook does that, so let's not waste time on it.
  * Pass a destpage parameter to the sanitize hook.
  * The search interface now allows searching for a page by title
    ("title:foo"), as well as for pages that contain a given link
    ("link:bar").
2008-07-26 20:03:43 +00:00
reed
7dbfcf6eea Add a option for "amazon_s3".
The ikiwiki amazon_s3 plugin injects wiki pages into Amazon S3
allowing ikiwiki to be used without a dedicated web server.

This option just make a dependency for required perl module.

Note the plugin is installed regardless (just like the svn and img
support are installed without the options bringing in dependencies).
2008-06-05 14:22:24 +00:00
reed
ce3a548595 Update to 2.48.
See http://ikiwiki.info/news/ for complete list of changes.
Major changes include:
- "fixes an important security hole"
- new plugins:  amazon_s3, pingee, pinger

patch-aa removed, fixed now.
2008-06-05 13:57:08 +00:00
reed
c3fa0867f0 Add MESSAGE -- remind to update custom templates on upgrades
Upgrade to 2.44. Many changes. Here are a couple of them:

  * The security fix in the last release had buggy handling of data:image,
    now fixed. Closes: #465110 (CVE-2008-0808, CVE-2008-0809)
  * htmlscrubber security fix: Block javascript in uris.

Adds new tool: ikiwiki-transition

No longer installs rst and externaldemo plugins.

Add patch based on bugs I found -- both fixes are now upstream.
2008-04-29 00:05:41 +00:00
jlam
841dfa0e7a Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
2008-04-12 22:42:57 +00:00
reed
a3fea0a824 Add another REPLACE_PERL for a perl script to replace interpreter.
Skip an interpreter check for a python script (as the
REPLACE_PERL is ignored because no python dependency yet).
(Add a TODO for later: add an option for reStructuredText
support to depend on python-docutils.)

Bump PKGREVISION.

Noticed in bulk builds. Fixed this during freeze so it will be
built by some bulk builders and available with the upcoming quarterly
branch packages. This is a leaf package.
2008-01-02 15:39:57 +00:00
reed
6d161d3708 Update ikiwiki to 2.15. This includes latest security fix.
Remove patch -- make changes using SUBST_SED framework.

Add imagemagick as an option (not on by default).

Add perl:run for USE_TOOLS.

Add another script to REPLACE_PERL.

Get rid of most of post-install target and let the ikiwiki Makefile
do the installation.

Too many changes from CHANGELOG to list. Here are the most recent:

ikiwiki (2.15) unstable; urgency=low

  * Add a new ikiwiki-makerepo program, that automates setting up a repo
    and importing existing content for svn, git, and mercurial. This makes
    the setup process much simpler.
  * Reorganised git documentation.
  * Actually install the ikiwiki-update-wikilist program.
  * Improve workaround for perl bug #376329. Rather than double-encoding,
    which has been reported to cause encoding problems (though I haven't
    reproduced them), just catch a failure of markdown, and retry.
    (The crazy perl bug magically disappears on the retry.)
    Closes: #449379
  * Add umask configuration option. Closes: #443329

 -- Joey Hess <joeyh@debian.org>  Sat, 01 Dec 2007 11:44:01 -0500

ikiwiki (2.14) unstable; urgency=high

  * Let CC be used to control what compiler is used to build wrappers.
  * Use 'cc' instead of gcc as the default compiler.
  * Security fix: Ensure that there are no symlinks anywhere in the path
    to the top of the srcdir. In certian unusual configurations, an attacker
    who could commit to one of the parent directories of the srcdir could
    use a symlink attack to cause ikiwiki to publish files elsewhere in the
    filesystem. More details at <http://ikiwiki.info/security/#index29h2>

 -- Joey Hess <joeyh@debian.org>  Mon, 26 Nov 2007 15:26:06 -0500
2007-12-05 04:09:53 +00:00
joerg
ed59b739f0 Precreate man/man8. 2007-10-06 00:09:39 +00:00
reed
84ace17926 Add xgettext to USE_TOOLS.
Okay'd during freeze by wiz.
This was noticed in my own builds and also shown in
recent DragonFly bulk build.
2007-10-02 22:19:38 +00:00
wiz
dd80328f4b Change DEPENDS according to http://ikiwiki.info/install/index.html .
Also enable p5-PerlMagick for the img plugin (included in the
goodstuff bundle).
Bump PKGREVISION.
2007-09-21 16:10:43 +00:00
wiz
6c3829379a ikiwiki.pl does not exist, remove it from REPLACE_PERL.
Add p5-Text-Markdown to dependencies, since the Makefile complains about it.
Add two dependencies that were marked as "optional" in the pkgsrc Makefile.

XXX: A few dependencies should be checked, if they are really needed here.

Don't bump PKGREVISION because the update was a very short time ago.
2007-09-21 00:17:15 +00:00
wiz
9b6e98842a Update to 2.6.1, provided by reed@
Changes since 1.32:

ikiwiki (2.5) unstable; urgency=low

  In this version the rst plugin allows raw html to be embedded in rst files.
  As long as the htmlscrubber is enabled, this should be safe. If you are
  using the rst plugin without the htmlscrubber in a publically writable wiki,
  you should turn on the htmlscrubber.

 -- Joey Hess <joeyh@debian.org>  Sun, 29 Jul 2007 18:37:22 -0400

ikiwiki (2.5) unstable; urgency=low

  Due to some config changes in this version, wrappers need to be rebuilt on
  upgrade. If you listed your wiki in /etc/ikiwiki/wikilist this will be
  one automatically when the Debian package is upgraded.

 -- Joey Hess <joeyh@debian.org>  Sun, 29 Jul 2007 17:54:40 -0400

ikiwiki (2.1) unstable; urgency=low

  Some wikis need to be rebuilt on upgrade to this version, due to changes to
  page templates and the style sheet. If you listed your wiki in
  /etc/ikiwiki/wikilist this will be done automatically when the Debian
  package is upgraded. Or use ikiwiki-mass-rebuild to force a rebuild.

 -- Joey Hess <joeyh@debian.org>  Thu, 26 Apr 2007 15:50:36 -0400

ikiwiki (2.00) unstable; urgency=low

  With the 2.0 release of ikiwiki, some major changes have been made to the
  default configuration:

  * The 'usedirs' setting is enabled by default. This *will* break all URLs
    to wikis that did not have 'usedirs' turned on before, unless you follow
    the procedure described at <http://ikiwiki.info/tips/switching_to_usedirs>,
    or edit your setup file to turn usedirs off:
       usedirs => 0,

  * OpenID logins are now enabled by default, if the Net::OpenID::Consumer
    perl module is available. Password logins are also still enabled
    by default. If you like, you can turn either OpenID or password logins
    off via the 'disable_plugins' setting.

 -- Joey Hess <joeyh@debian.org>  Sun, 29 Apr 2007 19:00:43 -0400

ikiwiki (1.51) unstable; urgency=low

  Some wikis need to be rebuilt on upgrade to this version, due to changes to
  page layout and the style sheet. If you listed your wiki in
  /etc/ikiwiki/wikilist this will be done automatically when the Debian
  package is upgraded. Or use ikiwiki-mass-rebuild to force a rebuild.

 -- Joey Hess <joeyh@debian.org>  Thu, 26 Apr 2007 15:50:36 -0400

ikiwiki (1.50) unstable; urgency=low

  Permalinks and guids in rss and atom feeds for wikis using the usedirs
  options will change in this release. If you have already enabled usedirs,
  you may need to take steps to avoid flooding aggregators.

 -- Joey Hess <joeyh@debian.org>  Sat, 14 Apr 2007 16:08:46 -0400

ikiwiki (1.49) unstable; urgency=low

  Third-party plugins that use htmlpage() or abs2rel() to generate links
  may need changes to support the new "usedirs" option.

 -- Joey Hess <joeyh@debian.org>  Sun, 01 Apr 2007 16:20:09 -0400

ikiwiki (1.47) unstable; urgency=low

  Due to a security fix, wikis that have the htmlscrubber enabled can no
  longer use the meta plugin to insert html link and meta tags.

  Some special case methods have been added for safely including stylesheets,
  and for doing openid delegation. See the meta plugin docs for details.

 -- Joey Hess <joeyh@debian.org>  Wed, 21 Mar 2007 14:18:40 -0400

ikiwiki (1.45) unstable; urgency=low

  Wikis need to be rebuilt on upgrade to this version. If you listed your wiki
  in /etc/ikiwiki/wikilist this will be done automatically when the Debian
  package is upgraded. Or use ikiwiki-mass-rebuild to force a rebuild.

 -- Joey Hess <joeyh@debian.org>  Wed,  7 Mar 2007 23:02:52 -0500

ikiwiki (1.44) unstable; urgency=low

  The htmllink() function has changed slightly and plugins that use it may
  need to change how they call it. This function's first three parameters
  are unchanged, but additional options are now passed using named
  parameters. If you used htmllink with more than 3 parameters, you will
  need to change it. The plugin interface version has been increased to 1.02
  to reflect this change.

 -- Joey Hess <joeyh@debian.org>  Mon, 19 Feb 2007 21:10:12 -0500

ikiwiki (1.42) unstable; urgency=low

  The anonok setting in config files has been removed. To enable
  httpauth support on your wiki, you should now enable the anonok plugin,
  instead.

  Third-party plugins that use pagespec_match() should be updated to pass
  the new third parameter (from) to that function. This is needed for the
  new relative glob matching to work.

 -- Joey Hess <joeyh@debian.org>  Thu,  1 Feb 2007 16:57:59 -0500

ikiwiki (1.34) unstable; urgency=low

  The httpauth setting in config files has been removed. To enable
  httpauth support on your wiki, you should now enable the httpauth plugin,
  instead.

  This release includes OpenID support that is enabled through the openid
  plugin. I recommend turning this on to make it easier for users to sign
  in to your wiki.

 -- Joey Hess <joeyh@debian.org>  Sun, 19 Nov 2006 20:53:05 -0500
2007-09-20 23:49:21 +00:00
wiz
4f13d6d72b Update HOMEPAGE. 2007-09-08 17:27:11 +00:00
wiz
82c75f731f Fix permissions of included favicon file.
When the svn option is enabled (as it is per default), depend on
subversion-base instead of subversion (only the svn executable is
needed).

Bump PKGREVISION.
2007-09-07 15:37:34 +00:00
dan
6742bbd841 initial import of ikiwiki-1.32
ikiwiki is a wiki compiler. It converts wiki pages into html pages
 suitable for publishing on a website. Unlike many wikis, ikiwiki does
 not have its own ad-hoc means of storing page history, and instead
 uses an revision control system.

The pkg currently has options for a dependency on svn, which is the
default rcs backend.  Support for other backends is included in the
installed pkg, but there are no dependencies in the pkg for them yet.
2006-11-13 01:25:25 +00:00