From 450f8b78b87e18374a0c0f4d7461ed29a4d8cdcb Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 22 Jan 2010 16:26:31 -0500 Subject: add news item for ikiwiki 3.20100122 --- doc/news/version_3.20091031.mdwn | 13 ------------- doc/news/version_3.20100122.mdwn | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 13 deletions(-) delete mode 100644 doc/news/version_3.20091031.mdwn create mode 100644 doc/news/version_3.20100122.mdwn (limited to 'doc/news') diff --git a/doc/news/version_3.20091031.mdwn b/doc/news/version_3.20091031.mdwn deleted file mode 100644 index bb77bfa31..000000000 --- a/doc/news/version_3.20091031.mdwn +++ /dev/null @@ -1,13 +0,0 @@ -ikiwiki 3.20091031 released with [[!toggle text="these changes"]] -[[!toggleable text=""" - * 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."""]] \ No newline at end of file diff --git a/doc/news/version_3.20100122.mdwn b/doc/news/version_3.20100122.mdwn new file mode 100644 index 000000000..11051fad8 --- /dev/null +++ b/doc/news/version_3.20100122.mdwn @@ -0,0 +1,15 @@ +ikiwiki 3.20100122 released with [[!toggle text="these changes"]] +[[!toggleable text=""" + * 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."""]] \ No newline at end of file -- cgit v1.2.3 From 6e8fd3890e96d3b0fdbf1ad91fc84628d2e1aa47 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 12 Feb 2010 17:09:40 -0500 Subject: add news item for ikiwiki 3.20100212 --- doc/news/version_3.20091113.mdwn | 18 ------------------ doc/news/version_3.20100212.mdwn | 26 ++++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 18 deletions(-) delete mode 100644 doc/news/version_3.20091113.mdwn create mode 100644 doc/news/version_3.20100212.mdwn (limited to 'doc/news') diff --git a/doc/news/version_3.20091113.mdwn b/doc/news/version_3.20091113.mdwn deleted file mode 100644 index 579174011..000000000 --- a/doc/news/version_3.20091113.mdwn +++ /dev/null @@ -1,18 +0,0 @@ -ikiwiki 3.20091113 released with [[!toggle text="these changes"]] -[[!toggleable text=""" - * 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 generate 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."""]] diff --git a/doc/news/version_3.20100212.mdwn b/doc/news/version_3.20100212.mdwn new file mode 100644 index 000000000..3dcfe5f84 --- /dev/null +++ b/doc/news/version_3.20100212.mdwn @@ -0,0 +1,26 @@ +ikiwiki 3.20100212 released with [[!toggle text="these changes"]] +[[!toggleable text=""" + * 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](http://bugs.debian.org/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."""]] \ No newline at end of file -- cgit v1.2.3 From 7265dbe4149642fff28ad296fc6a65d692f16be1 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 2 Mar 2010 22:23:29 -0500 Subject: add news item for ikiwiki 3.20100302 --- doc/news/version_3.20091202.mdwn | 17 ----------------- doc/news/version_3.20100302.mdwn | 12 ++++++++++++ 2 files changed, 12 insertions(+), 17 deletions(-) delete mode 100644 doc/news/version_3.20091202.mdwn create mode 100644 doc/news/version_3.20100302.mdwn (limited to 'doc/news') diff --git a/doc/news/version_3.20091202.mdwn b/doc/news/version_3.20091202.mdwn deleted file mode 100644 index 60f17fe63..000000000 --- a/doc/news/version_3.20091202.mdwn +++ /dev/null @@ -1,17 +0,0 @@ -ikiwiki 3.20091202 released with [[!toggle text="these changes"]] -[[!toggleable text=""" - * 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](http://bugs.debian.org/556744) - Thanks, Recai Oktaş - * 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."""]] \ No newline at end of file diff --git a/doc/news/version_3.20100302.mdwn b/doc/news/version_3.20100302.mdwn new file mode 100644 index 000000000..f439b1b23 --- /dev/null +++ b/doc/news/version_3.20100302.mdwn @@ -0,0 +1,12 @@ +ikiwiki 3.20100302 released with [[!toggle text="these changes"]] +[[!toggleable text=""" + * 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."""]] \ No newline at end of file -- cgit v1.2.3 From afa930a9c4ada59ea840d626f583f8b4fb3c3f20 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 12 Mar 2010 15:22:32 -0500 Subject: add news item for ikiwiki 3.20100312 --- doc/news/version_3.20091218.mdwn | 11 ----------- doc/news/version_3.20100312.mdwn | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 11 deletions(-) delete mode 100644 doc/news/version_3.20091218.mdwn create mode 100644 doc/news/version_3.20100312.mdwn (limited to 'doc/news') diff --git a/doc/news/version_3.20091218.mdwn b/doc/news/version_3.20091218.mdwn deleted file mode 100644 index 224e81c4e..000000000 --- a/doc/news/version_3.20091218.mdwn +++ /dev/null @@ -1,11 +0,0 @@ -ikiwiki 3.20091218 released with [[!toggle text="these changes"]] -[[!toggleable text=""" - * 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."""]] \ No newline at end of file diff --git a/doc/news/version_3.20100312.mdwn b/doc/news/version_3.20100312.mdwn new file mode 100644 index 000000000..10c34425d --- /dev/null +++ b/doc/news/version_3.20100312.mdwn @@ -0,0 +1,16 @@ +ikiwiki 3.20100312 released with [[!toggle text="these changes"]] +[[!toggleable text=""" + * 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."""]] \ No newline at end of file -- cgit v1.2.3 From af2bf285155ea4fc92932ba0b8e9becef57c69e8 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 3 Apr 2010 15:15:25 -0400 Subject: add news item for ikiwiki 3.20100403 --- doc/news/version_3.20100102.3.mdwn | 21 --------------------- doc/news/version_3.20100403.mdwn | 30 ++++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 21 deletions(-) delete mode 100644 doc/news/version_3.20100102.3.mdwn create mode 100644 doc/news/version_3.20100403.mdwn (limited to 'doc/news') diff --git a/doc/news/version_3.20100102.3.mdwn b/doc/news/version_3.20100102.3.mdwn deleted file mode 100644 index b8f61978c..000000000 --- a/doc/news/version_3.20100102.3.mdwn +++ /dev/null @@ -1,21 +0,0 @@ -ikiwiki 3.20100102.3 released with [[!toggle text="these changes"]] -[[!toggleable text=""" - Happy palindrome day! - - * pagestats: Add show parameter. Closes: #[562129](http://bugs.debian.org/562129) (David Paleino) - * toc: Add startlevel parameter. (kerravonsen) - * Remove example ikiwiki setup file from the Debian package. This - re-enables linking to /usr/share/ikiwiki/examples which has the - example sites also used by auto-blog.setup. The example setup file - can be generated at any time using ikiwiki --dumpsetup so I do - not see a reason to ship it. Closes: #[562183](http://bugs.debian.org/562183) - * Use env hack in python scripts. - * 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."""]] diff --git a/doc/news/version_3.20100403.mdwn b/doc/news/version_3.20100403.mdwn new file mode 100644 index 000000000..86d6a0f37 --- /dev/null +++ b/doc/news/version_3.20100403.mdwn @@ -0,0 +1,30 @@ +ikiwiki 3.20100403 released with [[!toggle text="these changes"]] +[[!toggleable text=""" + * 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](http://bugs.debian.org/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."""]] \ No newline at end of file -- cgit v1.2.3 From 7060b774e45e237727601f500da40aa6b1a19d7f Mon Sep 17 00:00:00 2001 From: PaulePanter Date: Sun, 4 Apr 2010 12:03:41 +0000 Subject: Typo. --- doc/news/version_3.20100403.mdwn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/news') diff --git a/doc/news/version_3.20100403.mdwn b/doc/news/version_3.20100403.mdwn index 86d6a0f37..3e9063028 100644 --- a/doc/news/version_3.20100403.mdwn +++ b/doc/news/version_3.20100403.mdwn @@ -15,7 +15,7 @@ ikiwiki 3.20100403 released with [[!toggle text="these changes"]] * 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. + that could lead to bad dependency handling in certain 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. @@ -27,4 +27,4 @@ ikiwiki 3.20100403 released with [[!toggle text="these changes"]] (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."""]] \ No newline at end of file + found as pages in the wiki."""]] -- cgit v1.2.3 From 47dfa3b8b97c97532f4e49f9883b6a59a9036b40 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 27 Apr 2010 00:00:46 -0400 Subject: add news item for ikiwiki 3.20100427 --- doc/news/version_3.20100122.mdwn | 15 ------ doc/news/version_3.20100427.mdwn | 111 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 111 insertions(+), 15 deletions(-) delete mode 100644 doc/news/version_3.20100122.mdwn create mode 100644 doc/news/version_3.20100427.mdwn (limited to 'doc/news') diff --git a/doc/news/version_3.20100122.mdwn b/doc/news/version_3.20100122.mdwn deleted file mode 100644 index 11051fad8..000000000 --- a/doc/news/version_3.20100122.mdwn +++ /dev/null @@ -1,15 +0,0 @@ -ikiwiki 3.20100122 released with [[!toggle text="these changes"]] -[[!toggleable text=""" - * 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."""]] \ No newline at end of file diff --git a/doc/news/version_3.20100427.mdwn b/doc/news/version_3.20100427.mdwn new file mode 100644 index 000000000..5fe732f87 --- /dev/null +++ b/doc/news/version_3.20100427.mdwn @@ -0,0 +1,111 @@ +News for ikiwiki 3.20100427: + + This version of ikiwiki has a lot of changes that you need to know about. + 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. + Allowing untrusted users to upload attachments with the ".tmpl" + extension is not recommended, as that allows anyone to change + a wiki's templates. + 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. + +ikiwiki 3.20100427 released with [[!toggle text="these changes"]] +[[!toggleable text=""" + * [ 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."""]] \ No newline at end of file -- cgit v1.2.3 From 9daf3db277c31d3ce434253af2dfb7e0e436b5f9 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 27 Apr 2010 00:02:49 -0400 Subject: format --- doc/news/version_3.20100427.mdwn | 74 ++++++++++++++++++++++------------------ 1 file changed, 41 insertions(+), 33 deletions(-) (limited to 'doc/news') diff --git a/doc/news/version_3.20100427.mdwn b/doc/news/version_3.20100427.mdwn index 5fe732f87..1701fd670 100644 --- a/doc/news/version_3.20100427.mdwn +++ b/doc/news/version_3.20100427.mdwn @@ -1,36 +1,44 @@ -News for ikiwiki 3.20100427: +This version of ikiwiki has a lot of changes that you need to know about. - This version of ikiwiki has a lot of changes that you need to know about. - 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. - Allowing untrusted users to upload attachments with the ".tmpl" - extension is not recommended, as that allows anyone to change - a wiki's templates. - 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. +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. + +Allowing untrusted users to upload attachments with the ".tmpl" +extension is not recommended, as that allows anyone to change +a wiki's templates. + +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. ikiwiki 3.20100427 released with [[!toggle text="these changes"]] [[!toggleable text=""" @@ -108,4 +116,4 @@ ikiwiki 3.20100427 released with [[!toggle text="these changes"]] 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."""]] \ No newline at end of file + not other files."""]] -- cgit v1.2.3 From 67e8edc59712cfc3dbd24fd7f3aae0fa734983be Mon Sep 17 00:00:00 2001 From: "http://kerravonsen.dreamwidth.org/" Date: Wed, 28 Apr 2010 03:22:37 +0000 Subject: question about TMPL_INCLUDE --- doc/news/version_3.20100427/discussion.mdwn | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 doc/news/version_3.20100427/discussion.mdwn (limited to 'doc/news') diff --git a/doc/news/version_3.20100427/discussion.mdwn b/doc/news/version_3.20100427/discussion.mdwn new file mode 100644 index 000000000..4daf8085f --- /dev/null +++ b/doc/news/version_3.20100427/discussion.mdwn @@ -0,0 +1,3 @@ +*TMPL_INCLUDE is no longer supported in any template used by ikiwiki. It used to be allowed in certian templates, but not in others.* + +Would it be possible to make that a config option? Because I do use includes in my templates, and I don't allow users to edit templates, so it isn't a security loophole for me. --[[KathrynAndersen]] -- cgit v1.2.3 From a6e6f604bd8e9a8f90000163f8b00299829729d5 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 28 Apr 2010 12:39:13 -0400 Subject: TMPL_INCLUDE re-enabled for templates read from the templatedir. (But not in-wiki templates.) --- IkiWiki.pm | 18 +++++++++++------- debian/changelog | 2 ++ doc/news/version_3.20100427/discussion.mdwn | 4 ++++ 3 files changed, 17 insertions(+), 7 deletions(-) (limited to 'doc/news') diff --git a/IkiWiki.pm b/IkiWiki.pm index 623396c9c..dcee376ee 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -1661,7 +1661,11 @@ sub template_file ($) { } my $template=srcfile($tpage, 1); - if (! defined $template) { + if (defined $template) { + return $template, $tpage, 1 if wantarray; + return $template; + } + else { $name=~s:/::; # avoid path traversal foreach my $dir ($config{templatedir}, "$installdir/share/ikiwiki/templates") { @@ -1670,12 +1674,12 @@ sub template_file ($) { last; } } + if (defined $template) { + return $template, $tpage if wantarray; + return $template; + } } - if (defined $template) { - return $template, $tpage if wantarray; - return $template; - } return; } @@ -1683,7 +1687,7 @@ sub template_depends ($$;@) { my $name=shift; my $page=shift; - my ($filename, $tpage)=template_file($name); + my ($filename, $tpage, $untrusted)=template_file($name); if (defined $page && defined $tpage) { add_depends($page, $tpage); } @@ -1699,7 +1703,7 @@ sub template_depends ($$;@) { die_on_bad_params => 0, filename => $filename, @_, - no_includes => 1, + ($untrusted ? (no_includes => 1) : ()), ); return @opts if wantarray; diff --git a/debian/changelog b/debian/changelog index b19840865..0a70dc6ee 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,8 @@ ikiwiki (3.20100428) UNRELEASED; urgency=low * template: Fix typo. + * TMPL_INCLUDE re-enabled for templates read from the templatedir. + (But not in-wiki templates.) -- Joey Hess Tue, 27 Apr 2010 12:10:51 -0400 diff --git a/doc/news/version_3.20100427/discussion.mdwn b/doc/news/version_3.20100427/discussion.mdwn index 4daf8085f..726f9a0d2 100644 --- a/doc/news/version_3.20100427/discussion.mdwn +++ b/doc/news/version_3.20100427/discussion.mdwn @@ -1,3 +1,7 @@ *TMPL_INCLUDE is no longer supported in any template used by ikiwiki. It used to be allowed in certian templates, but not in others.* Would it be possible to make that a config option? Because I do use includes in my templates, and I don't allow users to edit templates, so it isn't a security loophole for me. --[[KathrynAndersen]] + +> I don't like config options that make wikis unsafe, but I should have +> revisted enabling includes for templates read from the templatedir -- +> it's easy to do, and I've done it now. --[[Joey]] -- cgit v1.2.3 From a5923e39995165bd75d4048d646a226a88be920b Mon Sep 17 00:00:00 2001 From: "http://kerravonsen.dreamwidth.org/" Date: Thu, 29 Apr 2010 00:27:03 +0000 Subject: reply --- doc/news/version_3.20100427/discussion.mdwn | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc/news') diff --git a/doc/news/version_3.20100427/discussion.mdwn b/doc/news/version_3.20100427/discussion.mdwn index 726f9a0d2..011f3d88f 100644 --- a/doc/news/version_3.20100427/discussion.mdwn +++ b/doc/news/version_3.20100427/discussion.mdwn @@ -5,3 +5,5 @@ Would it be possible to make that a config option? Because I do use includes in > I don't like config options that make wikis unsafe, but I should have > revisted enabling includes for templates read from the templatedir -- > it's easy to do, and I've done it now. --[[Joey]] + +>> Thank you! --[[KathrynAndersen]] -- cgit v1.2.3 From f9e41d19b77f677a58bb22e1db47627cf9faa57f Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 1 May 2010 21:42:48 -0400 Subject: add news item for ikiwiki 3.20100501 --- doc/news/version_3.20100212.mdwn | 26 -------------------------- doc/news/version_3.20100302.mdwn | 12 ------------ doc/news/version_3.20100501.mdwn | 21 +++++++++++++++++++++ 3 files changed, 21 insertions(+), 38 deletions(-) delete mode 100644 doc/news/version_3.20100212.mdwn delete mode 100644 doc/news/version_3.20100302.mdwn create mode 100644 doc/news/version_3.20100501.mdwn (limited to 'doc/news') diff --git a/doc/news/version_3.20100212.mdwn b/doc/news/version_3.20100212.mdwn deleted file mode 100644 index 3dcfe5f84..000000000 --- a/doc/news/version_3.20100212.mdwn +++ /dev/null @@ -1,26 +0,0 @@ -ikiwiki 3.20100212 released with [[!toggle text="these changes"]] -[[!toggleable text=""" - * 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](http://bugs.debian.org/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."""]] \ No newline at end of file diff --git a/doc/news/version_3.20100302.mdwn b/doc/news/version_3.20100302.mdwn deleted file mode 100644 index f439b1b23..000000000 --- a/doc/news/version_3.20100302.mdwn +++ /dev/null @@ -1,12 +0,0 @@ -ikiwiki 3.20100302 released with [[!toggle text="these changes"]] -[[!toggleable text=""" - * 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."""]] \ No newline at end of file diff --git a/doc/news/version_3.20100501.mdwn b/doc/news/version_3.20100501.mdwn new file mode 100644 index 000000000..0cf5e38be --- /dev/null +++ b/doc/news/version_3.20100501.mdwn @@ -0,0 +1,21 @@ +ikiwiki 3.20100501 released with [[!toggle text="these changes"]] +[[!toggleable text=""" + * 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](http://bugs.debian.org/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."""]] \ No newline at end of file -- cgit v1.2.3 From bde13387daffaf5f1eb06ead1c0277fe616932f2 Mon Sep 17 00:00:00 2001 From: "http://www.clowersnet.net/~krc/" Date: Tue, 4 May 2010 05:12:14 +0000 Subject: comment on html5 --- doc/news/version_3.20100501/discussion.mdwn | 1 + 1 file changed, 1 insertion(+) create mode 100644 doc/news/version_3.20100501/discussion.mdwn (limited to 'doc/news') diff --git a/doc/news/version_3.20100501/discussion.mdwn b/doc/news/version_3.20100501/discussion.mdwn new file mode 100644 index 000000000..fbf767afb --- /dev/null +++ b/doc/news/version_3.20100501/discussion.mdwn @@ -0,0 +1 @@ +Thanks a lot for the HTML5 support! I'll have to try it some time soon. -- cgit v1.2.3 From 3ebd04a33b498d9ae4a1d8535b022704a687dfff Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 4 May 2010 20:37:11 -0400 Subject: add news item for ikiwiki 3.20100504 --- doc/news/version_3.20100312.mdwn | 16 ---------------- doc/news/version_3.20100403.mdwn | 30 ------------------------------ doc/news/version_3.20100504.mdwn | 16 ++++++++++++++++ 3 files changed, 16 insertions(+), 46 deletions(-) delete mode 100644 doc/news/version_3.20100312.mdwn delete mode 100644 doc/news/version_3.20100403.mdwn create mode 100644 doc/news/version_3.20100504.mdwn (limited to 'doc/news') diff --git a/doc/news/version_3.20100312.mdwn b/doc/news/version_3.20100312.mdwn deleted file mode 100644 index 10c34425d..000000000 --- a/doc/news/version_3.20100312.mdwn +++ /dev/null @@ -1,16 +0,0 @@ -ikiwiki 3.20100312 released with [[!toggle text="these changes"]] -[[!toggleable text=""" - * 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."""]] \ No newline at end of file diff --git a/doc/news/version_3.20100403.mdwn b/doc/news/version_3.20100403.mdwn deleted file mode 100644 index 3e9063028..000000000 --- a/doc/news/version_3.20100403.mdwn +++ /dev/null @@ -1,30 +0,0 @@ -ikiwiki 3.20100403 released with [[!toggle text="these changes"]] -[[!toggleable text=""" - * 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](http://bugs.debian.org/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 certain 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."""]] diff --git a/doc/news/version_3.20100504.mdwn b/doc/news/version_3.20100504.mdwn new file mode 100644 index 000000000..5ed6b6b4f --- /dev/null +++ b/doc/news/version_3.20100504.mdwn @@ -0,0 +1,16 @@ +ikiwiki 3.20100504 released with [[!toggle text="these changes"]] +[[!toggleable text=""" + * 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."""]] \ No newline at end of file -- cgit v1.2.3 From 511b9c85085768197f8f595c16747982125a4909 Mon Sep 17 00:00:00 2001 From: "http://ptecza.myopenid.com/" Date: Thu, 6 May 2010 10:51:32 +0000 Subject: * Typo --- doc/news/version_3.20100427.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/news') diff --git a/doc/news/version_3.20100427.mdwn b/doc/news/version_3.20100427.mdwn index 1701fd670..61cf67141 100644 --- a/doc/news/version_3.20100427.mdwn +++ b/doc/news/version_3.20100427.mdwn @@ -8,7 +8,7 @@ Allowing untrusted users to upload attachments with the ".tmpl" extension is not recommended, as that allows anyone to change a wiki's templates. -The --getctime switch is renamed to --gettimes, and it also gets the +The --getctime switch is renamed to --gettime, 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. -- cgit v1.2.3 From 405f5f09d0caaa2208a8da311df78911e01455dc Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 15 May 2010 23:39:54 -0400 Subject: add news item for ikiwiki 3.20100515 --- doc/news/version_3.20100515.mdwn | 54 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 doc/news/version_3.20100515.mdwn (limited to 'doc/news') diff --git a/doc/news/version_3.20100515.mdwn b/doc/news/version_3.20100515.mdwn new file mode 100644 index 000000000..de7145c8d --- /dev/null +++ b/doc/news/version_3.20100515.mdwn @@ -0,0 +1,54 @@ +News for ikiwiki 3.20100515: + + There are two significant changes to the page.tmpl template in this version. + If you have a locally modified version of that template, you will need to + update it at least to contain the following in the HTML <head>: + <TMPL\_IF DYNAMIC> + <TMPL\_IF FORCEBASEURL><base href="<TMPL\_VAR FORCEBASEURL>" /><TMPL\_ELSE> + <TMPL\_IF BASEURL><base href="<TMPL\_VAR BASEURL>" /></TMPL\_IF> + </TMPL\_IF> + </TMPL\_IF> + Also, the footer should be wrapped in <TMPL\_UNLESS DYNAMIC> ... </TMPL\_UNLESS> + There is a new "comment()" pagespec, that can be used to match a + comment on a page. It is recommended it be used instead of the old + method of using a pagespec such as "internal(comment\_*)" to match + things that looked like comments. The old pagespec will now also match + comments that are held for moderation; likely not what you want. + There have also been some changes to the style.css in this version, + particularly to support the new openid selector. If you have a modified + version, of style.css, updating it (or moving it to local.css) is + recommended. + +ikiwiki 3.20100515 released with [[!toggle text="these changes"]] +[[!toggleable text=""" + * 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."""]] \ No newline at end of file -- cgit v1.2.3 From 3d43768b52e0f435333a46fbbe948be9ef0ccd06 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 15 May 2010 23:41:59 -0400 Subject: formatting --- doc/news/version_3.20100515.mdwn | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'doc/news') diff --git a/doc/news/version_3.20100515.mdwn b/doc/news/version_3.20100515.mdwn index de7145c8d..172b45521 100644 --- a/doc/news/version_3.20100515.mdwn +++ b/doc/news/version_3.20100515.mdwn @@ -2,18 +2,22 @@ News for ikiwiki 3.20100515: There are two significant changes to the page.tmpl template in this version. If you have a locally modified version of that template, you will need to - update it at least to contain the following in the HTML <head>: - <TMPL\_IF DYNAMIC> - <TMPL\_IF FORCEBASEURL><base href="<TMPL\_VAR FORCEBASEURL>" /><TMPL\_ELSE> - <TMPL\_IF BASEURL><base href="<TMPL\_VAR BASEURL>" /></TMPL\_IF> - </TMPL\_IF> - </TMPL\_IF> - Also, the footer should be wrapped in <TMPL\_UNLESS DYNAMIC> ... </TMPL\_UNLESS> + update it at least to contain the following in the HTML ``: + + + + + + + + Also, the footer should be wrapped in ` ... + There is a new "comment()" pagespec, that can be used to match a comment on a page. It is recommended it be used instead of the old method of using a pagespec such as "internal(comment\_*)" to match things that looked like comments. The old pagespec will now also match comments that are held for moderation; likely not what you want. + There have also been some changes to the style.css in this version, particularly to support the new openid selector. If you have a modified version, of style.css, updating it (or moving it to local.css) is @@ -51,4 +55,4 @@ ikiwiki 3.20100515 released with [[!toggle text="these changes"]] (And also negative years.) * calendar: Display year in title of month calendar. * Use xhtml friendly pubdate setting. - * remove, rename: Add guards against XSRF attacks."""]] \ No newline at end of file + * remove, rename: Add guards against XSRF attacks."""]] -- cgit v1.2.3 From 1e36ed1fe8cc4dd79a9b1831aec9690769952d92 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 15 May 2010 23:43:55 -0400 Subject: formatting --- doc/news/version_3.20100515.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/news') diff --git a/doc/news/version_3.20100515.mdwn b/doc/news/version_3.20100515.mdwn index 172b45521..0405f0f3d 100644 --- a/doc/news/version_3.20100515.mdwn +++ b/doc/news/version_3.20100515.mdwn @@ -10,7 +10,7 @@ News for ikiwiki 3.20100515: - Also, the footer should be wrapped in ` ... + Also, the footer should be wrapped in ` ... ` There is a new "comment()" pagespec, that can be used to match a comment on a page. It is recommended it be used instead of the old -- cgit v1.2.3 From cf7c47dea3c97c4e674087f890754339163f7792 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 15 May 2010 23:44:54 -0400 Subject: formatting --- doc/news/version_3.20100515.mdwn | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc/news') diff --git a/doc/news/version_3.20100515.mdwn b/doc/news/version_3.20100515.mdwn index 0405f0f3d..7eafa0be0 100644 --- a/doc/news/version_3.20100515.mdwn +++ b/doc/news/version_3.20100515.mdwn @@ -30,10 +30,10 @@ ikiwiki 3.20100515 released with [[!toggle text="these changes"]] * 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. + 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 + * 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. @@ -44,7 +44,7 @@ ikiwiki 3.20100515 released with [[!toggle text="these changes"]] 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/) + (Based on ) * 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 -- cgit v1.2.3 From 3830a3868b5b3c0a3d840f228c3e85ce686d0705 Mon Sep 17 00:00:00 2001 From: PaulePanter Date: Sun, 16 May 2010 11:02:31 +0000 Subject: formulation (Did not sound right. (But I am non-native English speaker. So please revert if my change is incorrect.) --- doc/news/version_3.20100515.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/news') diff --git a/doc/news/version_3.20100515.mdwn b/doc/news/version_3.20100515.mdwn index 7eafa0be0..c6d08b6f0 100644 --- a/doc/news/version_3.20100515.mdwn +++ b/doc/news/version_3.20100515.mdwn @@ -13,7 +13,7 @@ News for ikiwiki 3.20100515: Also, the footer should be wrapped in ` ... ` There is a new "comment()" pagespec, that can be used to match a - comment on a page. It is recommended it be used instead of the old + comment on a page. It is recommended to use it instead of the old method of using a pagespec such as "internal(comment\_*)" to match things that looked like comments. The old pagespec will now also match comments that are held for moderation; likely not what you want. -- cgit v1.2.3 From 26cf8d386fbdd0c16b732ae6ed1a866eb133a0d2 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawlcaGfdn9Kye1Gc8aGb67PDVQW4mKbQD7E" Date: Sun, 16 May 2010 12:55:22 +0000 Subject: s/FORCEBAREURL/FORCEBASEURL/ --- doc/news/version_3.20100515.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/news') diff --git a/doc/news/version_3.20100515.mdwn b/doc/news/version_3.20100515.mdwn index c6d08b6f0..043346c88 100644 --- a/doc/news/version_3.20100515.mdwn +++ b/doc/news/version_3.20100515.mdwn @@ -28,7 +28,7 @@ ikiwiki 3.20100515 released with [[!toggle text="these changes"]] * 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. + to set <base> when BASEURL or FORCEBASEURL 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 -- cgit v1.2.3 From a35d8caf276ddfdc268c9d0e8b546db32d3bf43b Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 18 May 2010 13:42:37 -0400 Subject: add news item for ikiwiki 3.20100518 --- doc/news/version_3.20100427.mdwn | 119 --------------------------------------- doc/news/version_3.20100518.mdwn | 6 ++ 2 files changed, 6 insertions(+), 119 deletions(-) delete mode 100644 doc/news/version_3.20100427.mdwn create mode 100644 doc/news/version_3.20100518.mdwn (limited to 'doc/news') diff --git a/doc/news/version_3.20100427.mdwn b/doc/news/version_3.20100427.mdwn deleted file mode 100644 index 61cf67141..000000000 --- a/doc/news/version_3.20100427.mdwn +++ /dev/null @@ -1,119 +0,0 @@ -This version of ikiwiki has a lot of changes that you need to know about. - -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. - -Allowing untrusted users to upload attachments with the ".tmpl" -extension is not recommended, as that allows anyone to change -a wiki's templates. - -The --getctime switch is renamed to --gettime, 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. - -ikiwiki 3.20100427 released with [[!toggle text="these changes"]] -[[!toggleable text=""" - * [ 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."""]] diff --git a/doc/news/version_3.20100518.mdwn b/doc/news/version_3.20100518.mdwn new file mode 100644 index 000000000..f622a4be9 --- /dev/null +++ b/doc/news/version_3.20100518.mdwn @@ -0,0 +1,6 @@ +ikiwiki 3.20100518 released with [[!toggle text="these changes"]] +[[!toggleable text=""" + * 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."""]] \ No newline at end of file -- cgit v1.2.3 From 29cd4616fbdf25b7a4042376483f58d658c78140 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 18 May 2010 14:22:12 -0400 Subject: add news item for ikiwiki 3.20100518.2 --- doc/news/version_3.20100518.2.mdwn | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 doc/news/version_3.20100518.2.mdwn (limited to 'doc/news') diff --git a/doc/news/version_3.20100518.2.mdwn b/doc/news/version_3.20100518.2.mdwn new file mode 100644 index 000000000..64ce3f863 --- /dev/null +++ b/doc/news/version_3.20100518.2.mdwn @@ -0,0 +1,3 @@ +ikiwiki 3.20100518.2 released with [[!toggle text="these changes"]] +[[!toggleable text=""" + * Fix a typo in the last release."""]] \ No newline at end of file -- cgit v1.2.3 From a1e7e62c21dc424c7be00a3cb3a73dc0348f79a0 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 10 Jun 2010 16:15:43 -0400 Subject: add news item for ikiwiki 3.20100610 --- doc/news/version_3.20100501.mdwn | 21 --------------------- doc/news/version_3.20100610.mdwn | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 21 deletions(-) delete mode 100644 doc/news/version_3.20100501.mdwn create mode 100644 doc/news/version_3.20100610.mdwn (limited to 'doc/news') diff --git a/doc/news/version_3.20100501.mdwn b/doc/news/version_3.20100501.mdwn deleted file mode 100644 index 0cf5e38be..000000000 --- a/doc/news/version_3.20100501.mdwn +++ /dev/null @@ -1,21 +0,0 @@ -ikiwiki 3.20100501 released with [[!toggle text="these changes"]] -[[!toggleable text=""" - * 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](http://bugs.debian.org/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."""]] \ No newline at end of file diff --git a/doc/news/version_3.20100610.mdwn b/doc/news/version_3.20100610.mdwn new file mode 100644 index 000000000..ee7c86d72 --- /dev/null +++ b/doc/news/version_3.20100610.mdwn @@ -0,0 +1,18 @@ +ikiwiki 3.20100610 released with [[!toggle text="these changes"]] +[[!toggleable text=""" + * 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."""]] \ No newline at end of file -- cgit v1.2.3 From a31ce0e97d1e1c476a1fcdb52a2d78cadb845557 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 10 Jun 2010 16:17:38 -0400 Subject: remove old --- doc/news/version_3.20100427/discussion.mdwn | 9 --------- doc/news/version_3.20100501/discussion.mdwn | 1 - 2 files changed, 10 deletions(-) delete mode 100644 doc/news/version_3.20100427/discussion.mdwn delete mode 100644 doc/news/version_3.20100501/discussion.mdwn (limited to 'doc/news') diff --git a/doc/news/version_3.20100427/discussion.mdwn b/doc/news/version_3.20100427/discussion.mdwn deleted file mode 100644 index 011f3d88f..000000000 --- a/doc/news/version_3.20100427/discussion.mdwn +++ /dev/null @@ -1,9 +0,0 @@ -*TMPL_INCLUDE is no longer supported in any template used by ikiwiki. It used to be allowed in certian templates, but not in others.* - -Would it be possible to make that a config option? Because I do use includes in my templates, and I don't allow users to edit templates, so it isn't a security loophole for me. --[[KathrynAndersen]] - -> I don't like config options that make wikis unsafe, but I should have -> revisted enabling includes for templates read from the templatedir -- -> it's easy to do, and I've done it now. --[[Joey]] - ->> Thank you! --[[KathrynAndersen]] diff --git a/doc/news/version_3.20100501/discussion.mdwn b/doc/news/version_3.20100501/discussion.mdwn deleted file mode 100644 index fbf767afb..000000000 --- a/doc/news/version_3.20100501/discussion.mdwn +++ /dev/null @@ -1 +0,0 @@ -Thanks a lot for the HTML5 support! I'll have to try it some time soon. -- cgit v1.2.3 From 609367933f07ff826a5c1bbbd093dfe2ddae1c04 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 23 Jun 2010 14:23:51 -0400 Subject: add news item for ikiwiki 3.20100623 --- doc/news/version_3.20100504.mdwn | 16 ---------------- doc/news/version_3.20100623.mdwn | 29 +++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 16 deletions(-) delete mode 100644 doc/news/version_3.20100504.mdwn create mode 100644 doc/news/version_3.20100623.mdwn (limited to 'doc/news') diff --git a/doc/news/version_3.20100504.mdwn b/doc/news/version_3.20100504.mdwn deleted file mode 100644 index 5ed6b6b4f..000000000 --- a/doc/news/version_3.20100504.mdwn +++ /dev/null @@ -1,16 +0,0 @@ -ikiwiki 3.20100504 released with [[!toggle text="these changes"]] -[[!toggleable text=""" - * 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."""]] \ No newline at end of file diff --git a/doc/news/version_3.20100623.mdwn b/doc/news/version_3.20100623.mdwn new file mode 100644 index 000000000..684217e26 --- /dev/null +++ b/doc/news/version_3.20100623.mdwn @@ -0,0 +1,29 @@ +ikiwiki 3.20100623 released with [[!toggle text="these changes"]] +[[!toggleable text=""" + * 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](http://bugs.debian.org/586279) + * link: Enhanced to handle URLs and email addresses. (Bernd Zeimetz)"""]] \ No newline at end of file -- cgit v1.2.3