summaryrefslogtreecommitdiff
path: root/www/ikiwiki/patches
AgeCommit message (Collapse)AuthorFilesLines
2021-11-02For paths that are configurable, default to pkgsrc-compatible values.schmonz2-2/+63
Bump PKGREVISION.
2021-05-14Apply upstream patch to catch up to highlight 4.0 API change. Bumpschmonz1-0/+21
PKGREVISION.
2020-02-13Update to 3.20200202.3. From the changelog:schmonz1-21/+0
* highlight: Adapt to API change in highlight >= 3.51 * mdwn: Fix inverted footnote configuration when MultiMarkdown is enabled. Thanks, Giuseppe Bilotta * Updated German basewiki and directives translation from Sebastian Kuhnert. * Updated German program translation from Sebastian Kuhnert. pkgsrc changes: - Add 'ikiwiki-sudo' option for portable ikiwiki-mass-rebuild, on by default
2019-09-01Replace unportable su(1) usage with sudo(8). Fix a few perl paths brokenschmonz1-4/+4
in previous. Bump PKGREVISION.
2019-08-31Avoid rebuilding everything on install. Respect PKG_SYSCONFDIR correctlyschmonz2-2/+41
in ikiwiki-mass-rebuild. Bump PKGREVISION.
2019-08-31Avoid -regex, not available in OpenBSD find(1).schmonz1-0/+20
2019-05-27As of 3.51, searchFile() is no longer provided in highlight's Perlschmonz1-0/+21
bindings (at least on NetBSD and OS X, as built from pkgsrc). This leaves us falling through to getConfDir(), which has been gone rather longer. From highlight git, it appears searchFile() and getFiletypesConfPath() both originated in the 3.14 release. The latter is still available in 3.51, and returns the same result searchFile() used to. Switch to it. (From upstream git 4d06df9583e6c4145f8c6fc2fd51d7894c0b85ce.) Bump PKGREVISION.
2019-02-07Update to 3.20190207. From the changelog:schmonz3-50/+0
* graph: Add an optional "file" parameter * emailauth: When email can't be sent, show the error message * osm: Don't raise errors if tags don't have attached icons * cgi: Avoid C compiler warnings for waitpid() on NetBSD * Hide popup template content from documentation (Closes: #898836) * meta: Make [[!meta date]] show an error if dates are invalid or Date::Parse can't be loaded * inline: Cope with non-ASCII `rootpage` parameter. Thanks, Feng Shu * table: Cope with non-ASCII content in CSV format tables. Thanks, Feng Shu * trail: Allow unescaped punctuation in `pagenames` parameter * comments: Hide "add comment" link from print stylesheet. Thanks, Antoine Beaupré * recentchangesdiff, relativedate, toggle: Import JavaScript at the end of the page content, not the beginning, so that the browser can render content as soon as possible. Thanks, Antoine Beaupré * inline: Add basic test coverage for [[!inline rootpage]] * table: Add basic test coverage * po: Add enough test coverage to reproduce Debian #911356 * comments: Improve test coverage * tests: Exercise Unicode more * aggregate: Fix aggregation of posts without a title. Thanks, Alexandre Oliva * poll: Added postlink and posttrail options for better multi-page polls. * Fix permalink to comments.
2018-10-22Add upstream patch to give graph an optional "file" param, like table's.schmonz2-0/+35
Bump PKGREVISION.
2018-08-29Need <sys/wait.h> for waitpid (NetBSD 8 warns). Apply upstream patch.schmonz1-0/+15
Bump PKGREVISION.
2018-03-22Attempt to make su(1) usage more portable. Remove very old text fromschmonz1-0/+15
MESSAGE. Bump PKGREVISION.
2018-03-11Update to 3.20180311. From the changelog:schmonz4-206/+0
[ Amitai Schleier ] * Avoid unexpected full paths from find(1) [ thm.id.fedoraproject.org ] * rst test: Probe for docutils Python 3 module, not Python 2 [ Simon McVittie ] * mdwn: Automatically detect which Discount flags to use, fixing regressions in 3.20180228 when using Discount < 2.2 * Add a test asserting that no plugin is an empty file, to confirm that the build fixes in 3.20180228 were successful
2018-03-09Apply upstream patch to fix regression with older libdiscount whereschmonz2-0/+162
Markdown links were no longer rendered as links. Bump PKGREVISION.
2018-03-02Add patches missed in previous commit.schmonz2-0/+44
2017-10-02Update to 3.20171001. From the changelog:schmonz2-42/+0
[ Joey Hess ] * htmlscrubber: Add support for the video tag's loop and muted attributes. Those were not in the original html5 spec, but have been added in the whatwg html living standard and have wide browser support. * emailauth, passwordauth: Avoid leaving cgisess_* files in the system temp directory. [ Simon McVittie ] * core: Don't decode the result of strftime if it is already tagged as UTF-8, as it might be since Perl >= 5.21.1. (Closes: #869240) * img: Strip metadata from resized images when the deterministic config option is set. Thanks, intrigeri * receive: Avoid asprintf() in IkiWiki::Receive, to avoid implicit declaration, potential misbehaviour on 64-bit platforms, and lack of portability to non-GNU platforms * t: Add a regression test for untrusted git push * receive: Fix untrusted git push with git (>= 2.11) by passing through the necessary environment variables to make the quarantine area work * debian: Declare compliance with Debian Policy 4.1.1 [ Amitai Schleier ] * l10n: Fix the build with po4a 0.52, by ensuring that msgstr ends with a newline if and only if msgid does
2017-09-20Add upstream patch to fix build with po4a 0.52.schmonz2-0/+42
2016-05-07Update to 3.20160506. From the changelog:schmonz1-19/+0
[ Simon McVittie ] * img: stop ImageMagick trying to be clever if filenames contain a colon, avoiding mis-processing * HTML-escape error messages, in one case avoiding potential cross-site scripting (OVE-20160505-0012) * Mitigate ImageMagick vulnerabilities such as CVE-2016-3714: - img: force common Web formats to be interpreted according to extension, so that "allowed_attachments: '*.jpg'" does what one might expect - img: restrict to JPEG, PNG and GIF images by default, again mitigating CVE-2016-3714 and similar vulnerabilities - img: check that the magic number matches what we would expect from the extension before giving common formats to ImageMagick * d/control: use https for Homepage * d/control: add Vcs-Browser [ Joey Hess ] * img: Add back support for SVG images, bypassing ImageMagick and simply passing the SVG through to the browser, which is supported by all commonly used browsers these days. SVG scaling by img directives has subtly changed; where before size=wxh would preserve aspect ratio, this cannot be done when passing them through and so specifying both a width and height can change the SVG's aspect ratio. * loginselector: When only openid and emailauth are enabled, but passwordauth is not, avoid showing a "Other" box which opens an empty form. [ Amitai Schlair ] * mdwn: Process .md like .mdwn, but disallow web creation. [ Florian Wagner ] * git: Correctly handle filenames starting with a dash in add/rm/mv. -- Simon McVittie <smcv@debian.org> Fri, 06 May 2016 07:54:26 +0100
2016-03-06Apply upstream patch to make the CVS tests pass again. While here,schmonz1-0/+19
uncomment a maintainer make target to find where REPLACE_PERL might be needed, and remove one that's no longer needed. (No change to the installed package, so no PKGREVISION bump.)
2016-01-21Update to 3.20160121. From the changelog:schmonz4-69/+0
[ Amitai Schlair ] * meta: Fix [[!meta name=foo]] by closing the open quote. * Avoid unescaped "{" in regular expressions * meta test: Add tests for many behaviors of the directive. * img test: Bail gracefully when ImageMagick is not present. [ Joey Hess ] * emailauth: Added emailauth_sender config. * Modified page.tmpl to to set html lang= and dir= when values have been specified for them, which the po plugin does. * Specifically license the javascript underlay under the permissive basewiki license. [ Simon McVittie ] * git: if no committer identity is known, set it to "IkiWiki <ikiwiki.info>" in .git/config. This resolves commit errors in versions of git that require a non-trivial committer identity. * inline, trail: rename show, feedshow parameters to limit, feedlimit (with backwards compatibility) * pagestats: add "show" option to show meta fields. Thanks, Louis * inline: force RSS <comments> to be a fully absolute URL as required by the W3C validator. Please use Atom feeds if relative URLs are desirable on your site. * inline: add <atom:link rel="self"> to RSS feeds as recommended by the W3C validator * inline: do not produce links containing /./ or /../ * syslog: accept and encode UTF-8 messages * syslog: don't fail to log if the wiki name contains %s * Change dependencies from transitional package perlmagick to libimage-magick-perl (Closes: #789221) * debian/copyright: update for the rename of openid-selector to login-selector * d/control: remove leading article from Description (lintian: description-synopsis-starts-with-article) * d/control: Standards-Version: 3.9.6, no changes required * Wrap and sort control files (wrap-and-sort -abst) * Silence "used only once: possible typo" warnings for variables that are part of modules' APIs * Run autopkgtest tests using autodep8 and the pkg-perl team's infrastructure * Add enough build-dependencies to run all tests, except for non-git VCSs * tests: consistently use done_testing instead of no_plan * t/img.t: do not spuriously skip * img test: skip testing PDFs if unsupported * img test: use the right filenames when testing that deletion occurs -- Simon McVittie <smcv@debian.org> Thu, 21 Jan 2016 09:53:07 +0000
2015-08-30Apply upstream patch to fix [[!meta name=foo]] by closing the open quote.schmonz1-0/+14
Bump PKGREVISION.
2015-06-15Update to 3.20150614. From the changelog:schmonz3-0/+55
* inline: change default sort order from age to "age title" for determinism, partially fixing deterministic build for git-annex, ikiwiki-hosting etc. (Closes: #785757) * img: avoid ImageMagick misinterpreting filenames containing a colon * img test: set old timestamp on source file that will change, so that the test will pass even if it takes less than 1 second
2015-03-30Update to 3.20150329. From the changelog:schmonz1-55/+0
[ Joey Hess ] * Fix NULL ptr deref on ENOMEM in wrapper. (Thanks, igli) [ Simon McVittie ] * Really don't double-decode CGI submissions, even on Perl versions that bundle an old enough Encode.pm for that not to be a problem: the system might have a newer Encode.pm installed separately, like Fedora 20. (Closes: #776181; thanks, Anders Kaseorg) * If neither timezone nor TZ is set, set both to :/etc/localtime if we're on a GNU system and that file exists, or GMT otherwise * t/inline.t: accept translations of "Add a new post titled:" (Closes: #779365) * Consistently document command-line options as e.g. --refresh, not -refresh [ Amitai Schlair ] * In VCS-committed anonymous comments, link to url. [ Joey Hess ] * Fix XSS in openid selector. Thanks, Raghav Bisht. (Closes: #781483) -- Simon McVittie <smcv@debian.org> Sun, 29 Mar 2015 21:48:24 +0100 Updating this leaf package during the freeze for the bugfixes.
2015-01-07Update to 3.20150107. From the changelog:schmonz1-0/+55
[ Joey Hess ] * Added ikiwiki-comment program. * Add missing build-depends on libcgi-formbuilder-perl, needed for t/relativity.t * openid: Stop suppressing the email field on the Preferences page. * po: If msgmerge falls over on a problem po file, print a warning message, but don't let this problem crash ikiwiki entirely. * Set Debian package maintainer to Simon McVittie as I'm retiring from Debian. [ Simon McVittie ] * calendar: add calendar_autocreate option, with which "ikiwiki --refresh" can mostly supersede the ikiwiki-calendar command. Thanks, Louis Paternault * search: add more classes as a hook for CSS. Thanks, sajolida * core: generate HTML5 by default, but keep avoiding new elements like <section> that require specific browser support unless html5 is set to 1. * Tell mobile browsers to draw our pages in a device-sized viewport, not an 800-1000px viewport designed to emulate a desktop/laptop browser. * Add new responsive_layout option which can be set to 0 if your custom CSS only works in a large viewport. * style.css, actiontabs, blueview, goldtype, monochrome: adjust layout below 600px ("responsive layout") so that horizontal scrolling is not needed on smartphone browsers or other small viewports. * core: new libdirs option alongside libdir. Thanks, Louis Paternault [ Amitai Schlair ] * core: log a debug message before waiting for the lock. Thanks, Mark Jason Dominus * build: in po/Makefile, use the same $(MAKE) as the rest of the build. Thanks, ttw * blogspam: use the 2.0 JSON API (the 1.0 XML-RPC API has been EOL'd). Closes: #774441 pkgsrc changes: Add a not-yet-upstreamed patch to link to the commenter's URL for anonymous-style comments committed directly via the VCS (i.e., imported from another CMS).
2014-10-17Update to 3.20141016. From the changelog:schmonz1-16/+0
[ Joey Hess ] * Fix crash that can occur when only_committed_changes is set and a file is deleted from the underlay. [ Simon McVittie ] * core: avoid dangerous use of CGI->param in list context, which led to a security flaw in Bugzilla; as far as we can tell, ikiwiki is not vulnerable to a similar attack, but it's best to be safe * core: new reverse_proxy option prevents ikiwiki from trying to detect how to make self-referential URLs by using the CGI environment variables, for instance when it's deployed behind a HTTP reverse proxy (Closes: #745759) * core: the default User-Agent is now "ikiwiki/$version" to work around ModSecurity rules assuming that only malware uses libwww-perl * core: use protocol-relative URLs (e.g. //www.example.com/wiki) so that https stays on https and http stays on http, particularly if the html5 option is enabled * core: avoid mixed content when a https cgiurl links to http static pages on the same server (the static pages are assumed to be accessible via https too) * core: force the correct top URL in w3mmode * google plugin: Use search form * docwiki: replace Paypal and Flattr buttons with text links * comments: don't record the IP address in the wiki if the user is logged in via passwordauth or httpauth * templates: add ARIA roles to some page elements, if html5 is enabled. Thanks, Patrick pkgsrc changes: * For the python option, add missing py-expat dependency.
2014-09-19Apply 053de54 from upstream git to fix paths in installed binariesschmonz1-0/+16
with the default PKG_SYSCONFBASE. Bump PKGREVISION.
2014-09-16Update to 3.20140916. From the changelog:schmonz2-48/+0
* Don't double-decode CGI submissions with Encode.pm >= 2.53, fixing "Error: Cannot decode string with wide characters". Thanks, Antoine Beaupré * Avoid making trails depend on everything in the wiki by giving them a better way to sort the pages * Don't let users post comments that won't be displayed * Fix encoding of Unicode strings in Python plugins. Thanks, chrysn * Improve performance and correctness of the [[!if]] directive * Let [[!inline rootpage=foo postform=no]] disable the posting form * Switch default [[!man]] shortcut to manpages.debian.org. Closes: #700322 * Add UUID and TIME variables to edittemplate. Closes: #752827 Thanks, Jonathon Anderson * Display pages in linkmaps as their pagetitle (no underscore escapes). Thanks, chrysn * Fix aspect ratio when scaling small images, and add support for converting SVG and PDF graphics to PNG. Thanks, chrysn - suggest ghostscript (required for PDF-to-PNG thumbnailing) and libmagickcore-extra (required for SVG-to-PNG thumbnailing) - build-depend on ghostscript so the test for scalable images can be run * In the CGI wrapper, incorporate $config{ENV} into the environment before executing Perl code, so that PERL5LIB can point to a non-system-wide installation of IkiWiki. Thanks, Lafayette Chamber Singers Webmaster * filecheck: accept MIME types not containing ';' * autoindex: index files in underlays if the resulting pages aren't going to be committed. Closes: #611068 * Add [[!templatebody]] directive so template pages don't have to be simultaneously a valid template and valid HTML * Add myself to Uploaders and release to Debian -- Simon McVittie <smcv@debian.org> Fri, 12 Sep 2014 21:23:58 +0100 pkgsrc changes: * Add 'cgi' option, enabled by default * Add 'git' option, disabled by default Updating during the freeze because it's a leaf with many fixes, including our local patches.
2014-09-13Avoid decoding Unicode twice in CGI forms with Perl 5.20's bundledschmonz1-0/+32
Encode.pm. Bump PKGREVISION.
2014-08-23Squelch commit warning with wiki.n.o's unusual (scheme-less) $config{url}.schmonz1-0/+16
Bump PKGREVISION.
2014-01-03Update to 3.20140102. From the changelog:schmonz1-15/+0
* aggregate: Improve display of post author. * poll: Fix behavior of poll buttons when inlined. * Fixed unncessary tight loop hash copy in saveindex where a pointer can be used instead. Can speed up refreshes by nearly 50% in some circumstances. * Optimized loadindex by caching the page name in the index. * Added only_committed_changes config setting, which speeds up wiki refresh by querying git to find the files that were changed, rather than looking at the work tree. Not enabled by default as it can break some setups where not all files get committed to git. * comments: Write pending moderation comments to the transient underlay to avoid conflict with only_committed_changes. * search: Added google_search option, which makes it search google rather than using the internal xapain database. (googlesearch plugin is too hard to turn on when xapain databases corrupt themselves, which happens all too frequently). * osm: Remove invalid use of charset on embedded javascript tags. Closes: #731197 * style.css: Add compatibility definitions for more block-level html5 elements. Closes: #731199 * aggregrate: Fix several bugs in handling of empty and colliding titles when generating filenames.
2013-09-15Specify return type to quell clang warnings. Bump PKGREVISION.schmonz1-0/+15
2013-02-13Update to 3.20130212. From the changelog:schmonz2-147/+0
* htmlscrubber: Allow the bitcoin URI scheme. * htmlscrubber: Allow the URI schemes of major VCS's. * aggregate: When run with --aggregate, if an aggregation is already running, don't go on and --refresh. * trail: Avoid excess dependencies between pages in the trail and the page defining the trail. Thanks, smcv. * opendiscussion: Don't allow editing discussion pages if discussion pages are disabled. (smcv) * poll: Add expandable option to allow users to easily add new choices to a poll. * trail: Avoid massive slowdown caused by pagetemplate hook when displaying dynamic cgi pages, which cannot use trail anyway. * Deal with empty diffurl in configuration. * cvs: Various fixes. (schmonz) * highlight: Now adds a span with class highlight-<extension> around highlighted content, allowing for language-specific css styling.
2013-02-02Apply another bugfix to the CVS backend from my git repo:schmonz1-3/+15
* `91b477c0`: Fix diffurl links (cvsweb expects unescaped '/'). Bump PKGREVISION.
2013-01-28Apply the latest bugfixes to the CVS backend from my git repo:schmonz1-0/+112
* `6753235d`: Return bounded output from `rcs_diff()` when asked, as the API states. * `e45175d5`: Always explicitly set CVS keyword substitution behavior. Fixes behavior when a text file is added under a name formerly used for a binary file. * `b30cacdf`: If the previous working directory no longer exists after a CVS operation, don't try to `chdir()` back to it afterward. Bump PKGREVISION.
2013-01-15Pull in 12c9219 to squelch warnings with git on newer Perls. Bumpschmonz1-0/+23
PKGREVISION.
2012-03-20Update to 3.20120203. From the changelog:schmonz1-15/+0
* osm: New plugin to embed an OpenStreetMap into a wiki page. Supports waypoints, tags, and can even draw paths matching wikilinks between pages containing waypoints. Thanks to Blars Blarson and Antoine Beaupré, as well as the worldwide OpenStreetMap community for this utter awesomeness. * trail: New plugin to add navigation trails through pages via Next and Previous links. Trails can easily be added to existing inlines by setting trail=yes in the inline. Thanks to Simon McVittie for his persistance developing this feature. * Fix a snail mail address. Closes: #659158 * openid-jquery.js: Update URL of Wordpress favicon. Closes: #660549 * Drop the version attribute on the generator tag in Atom feeds to make builds more reproducible. Closes: #661569 (Paul Wise) * shortcut: Support Wikipedia's form of url-encoding for unicode characters, which involves mojibake. Closes: #661198 * Add a few missing jquery UI icons to attachment upload widget underlay. * URI escape filename when generating the diffurl. * Add build-affected hook. Used by trail. pkgsrc changes: * Fix dependency on YAML::XS (reported by dholland). * Remove last local patch, now integrated upstream.
2012-02-03Update to 3.20120202. From the changelog:schmonz2-132/+5
* mdwn: Added nodiscount setting, which can be used to avoid using the markdown discount engine, when maximum compatability is needed. * Switch to YAML::XS to work around insanity in YAML::Mo. Closes: #657533 * cvs: Ensure text files are added in non-binary mode. (Amitai Schlair) * cvs: Various cleanups and testing. (Amitai Schlair) * calendar: Fix strftime encoding bug. * shortcuts: Fixed a broken shortcut to wikipedia (accidentially made into a shortcut to wikiMedia). * Various portability improvements. (Amitai Schlair)
2011-12-29Update to 3.20111229. From the changelog:schmonz1-4/+4
* 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-09-25Replace `find -not` with `find !` to fix build on NetBSD.schmonz1-3/+5
2011-09-05Update to 3.20110905. From the changelog:schmonz2-5/+5
* 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-06-04Update to 3.20110431. From the changelog:schmonz4-48/+52
* 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-03-29Update to 3.20110328. From the changelog:schmonz1-15/+0
* 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:schmonz2-4/+19
* 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-01-02Update to 3.20101231. From the changelog:schmonz1-8/+8
* Better support for serving the same site on multiple urls. (Such as a http and a https url, or a ipv4 and an ipv6 url.) (Thanks, smcv) * API: urlto without a defined second parameter now generates an url that starts with "/" (when possible; eg when the site's url and cgiurl are on the same domain). * Now when users log in via https, ikiwiki sends a secure cookie, that can only be used over https. If the user switches to using http, they will need to re-login. (smcv) * inline: Display feed buttons for nested inlines, linking to the inlined page's feed. (Giuseppe Bilotta) * goldtype: New theme, based on blueview, contributed by Lars Wirzenius. * po: do not override homepage title when it was overridden. (intrigeri) * Set HTML::Template's parent_global_vars option to allow using parameters like title_overridden that do not appear on the template. (intrigeri) (See https://rt.cpan.org/Public/Bug/Display.html?id=64158) * inline: Force an absolute page location when the inline postform is used. * editpage, comment: Clean up title when editing or creating a page or comment. * teximg: Use `[` and `]` instead of not recommended `$$`. (Paul Menzel) Closes: #596084 * monotone: Improve version parsing to support patch and development versions of the monotone binary. (tommyd3mdi) * highlight: Support highlight 3.2+svn19 (note that released version 3.2 is not supported). Closes: #605779 (David Bremner) * Add a second parameter to the rcs_diff hook, and avoid bloating memory reading in enormous commits. * git: Fix bug involving attempting to web revert a commit that included changes to attachments. Updating during the freeze for bugfixes to this leaf package.
2010-10-20Update to 3.20101019. From the changelog:schmonz1-13/+31
* 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-06-23Update this generally stable leaf package during the freeze, mainlyschmonz1-5/+5
for a handful of bugfixes, to 3.20100623. From the changelog: * openid: Add openid_realm and openid_cgiurl configuration options, useful in a few edge case setups. * attachment: Show files from underlay in attachments list. * img: Support hspace and vspace attributes. * editpage: Rename "comments" field to avoid CSS conflict with the comments div. * edittemplate: Make silent mode not disable display when the template page does not exist, so it can be easily created. * edittemplate: Look for template pages under templates/ like everything else (still looks in old location for backwards compatibility). * attachment: When inserting links, insert img directives for images, if that plugin is enabled. * websetup: Allow enabling plugins listed in disable_plugins. * editpage, comments: Fix broken links in sidebar (due to forcebaseurl). (Thanks, privat) * calendar: Tune archive_pagespec to only match pages, not other files. * Fix issues with combining unicode srcdirs and source files. (Workaround bug #586045) * Make --gettime be honored after initial setup. * git: Fix --gettime to properly support utf8 filenames. * attachment: Support Windows paths when taking basename of client-supplied file name. * theme: New plugin, allows easily themeing a site via the underlay. * Added actiontabs theme by Svend Sorensen. * Added blueview theme by Bernd Zeimetz. * mercurial: Fix buggy getctime code. Closes: #586279 * link: Enhanced to handle URLs and email addresses. (Bernd Zeimetz)
2010-04-27Update to 3.20100427. From the changelog:schmonz1-7/+7
Now you can include customised versions of templates in the source of your wiki. (For example, templates/page.tmpl.) When these templates are changed, ikiwiki will automatically rebuild pages that use them. The --getctime switch is renamed to --gettimes, and it also gets the file modification time. And it's a lot faster (when using git). But the really important change is, you don't have to remember to use this switch. Now ikiwiki will do it when it needs to. At last, the "tagged()" pagespec only matches tags, not regular wikilinks. If your wiki accidentially relied on the old, buggy behavior, you might need to change its pagespecs to use "link()". Many of your wishes have been answered: Now tag pages can automatically be created when new tags are used. This feature is enabled by default if you have configured a tagbase. It can be turned on or off using the `tag_autocreate` setting. These changes may also affect some users: * The `title_natural` sort method (as used by the inline directive, etc) has been moved to the new sortnaturally plugin, which is not enabled by default since it requires the Sort::Naturally perl module. * `TMPL_INCLUDE` is no longer supported in any template used by ikiwiki. It used to be allowed in certian templates, but not in others. * The `add_templates` option has been removed from the underlay plugin. If you used this option, you can instead use templates/ subdirectories inside underlay directories added by the `add_underlays` option. Due to the above and other changes, all wikis need to be rebuilt on upgrade to this version. If you listed your wiki in /etc/ikiwiki/wikilist this will be done automatically when the Debian package is upgraded. Or use ikiwiki-mass-rebuild to force a rebuild. * [ Joey Hess ] * tag: Automatic creation of tag pages can now be enabled using the tag_autocreate setting. (David Riebenbauer) * Customised templates can now be included in the source of wikis (and also in underlays), and dependencies on them are tracked. * TMPL_INCLUDE is no longer supported in any template. * underlay: Removed the add_templates option. * Add template_depends function to plugin API. * bzr: Fix bzr log parsing to work with bzr 2.0. (liw) * comments: Fix missing entity encoding in title. * txt: Add a special case for robots.txt. * [ Simon McVittie ] * Add support for link types, and make the the tagged() pagespec only match tags, not regular links (a bugfix). * Rebuild wikis on upgrade to this version to get tag link types recorded correctly. * Revamp sorting system; allow new sort methods to be added by plugins, and add a "sortspec" syntax that can combine, reverse, etc sort methods. * meta: Add `meta(author)`, `meta(title)` etc sortspecs to allow sorting by metadata. * meta: Add optional sortas parameter to author and title meta directives. This can be used to get names sorted by last name without displaying them last name first. * sortnaturally: New plugin; the title_natural sort method has moved here. * meta: store fields consistently unescaped, and escape on use. (A wiki rebuild is also needed due to this change.) * [ Joey Hess ] * Update dependency for git-core to git transition. * po: Check that translated underlay directories exist before using them for master language. * po: Configuring the same language as master and slave confuses processing; so filter out such a misconfiguration. * calendar: Add archive_pagespec, which is used by ikiwiki-calendar to specify which pages to include on the calendar archive pages. (The pagespec can still also be specified on the ikiwiki-calendar command line.) * pagestats: Class parameter can be used to override default class for custom styling. * pagestats: Use style=list to get a list of tags, scaled by use like in a tag cloud. This is useful to put in a sidebar. * Rework example blog front page. * CSS and templates for sidebar changed to use a class, not an id. * sidebar: Now a sidebar directive can be used to override the sidebar shown on a page. * Enable calendar and sidebar in auto-blog.setup. * sidebar: Add global_sidebars setting. * conditional: Fix bug that forced "all" mode off by default. * calendarmonth.tmpl: The month calendar is now put in a sidebar. * calendar: Improved display of arrows. * Rename --getctime to --gettime. (The old name still works for backwards compatibility.) * --gettime now also looks up last modification time. * Automatically run --gettime the first time ikiwiki is run on a given srcdir. (Use --no-gettime to disable.) * Add rcs_getmtime to plugin API; currently only implemented for git and svn. * Optimise --gettime for git, so it's appropriately screamingly fast. (This could be done for most other backends too.) * However, --gettime for git no longer follows renames. That would be slow, and whether a renamed wiki page is the same page is really an iffy thing. * Use above to fix up timestamps on docwiki, as well as ensure that timestamps on basewiki files shipped in the deb are sane. * autoindex: Switch to using %wikistate instead of abusing $pagestate{index}. * bzr: Support rcs_getmtime, and fix rcs_getctime implementation (Jelmer Vernooij) * Quite a lot of new optimisations, and one major fix to a recent performance regression. * Moved javascript files under the ikiwiki/ directory, to avoid cluttering the top of the web root. This is another things that requires a wiki rebuild on upgrade to this version. * Fix removal of rendered files in rebuild mode. * Add page() PageSpec, which is like glob() but matches only pages, not other files.
2010-04-04Update to 3.20100403. From the changelog:schmonz2-17/+17
* 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-02-13Update to 3.20100212. From the changelog:schmonz1-3/+3
* 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.
2009-12-22Update to 3.20091218. From the changelog:schmonz1-14/+0
* Add complete Spanish basewiki translation done by Fernando Gonzalez de Requena. * Improve javascript onload handling. * monotone: Deal with format change in version 0.45. (Thanks, Richard Levitte) * cvs: Add missing bit to Automator. * attachment: Fix reversion in attachment sorting by age. * Fix utf-8 problems in rename, remove, attachment, 404, sourcepage, and goto. Updating this leaf during the freeze for the bugfixes.
2009-12-02Update to 3.20091202. From the changelog:schmonz1-0/+14
* 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).