aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins/write.mdwn
Commit message (Expand)AuthorAge
* Converted openid-selector into a more generic loginselector helper plugin.Joey Hess2015-05-13
* fix destsources documentation, and mention how attachments appearsmcv2014-09-23
* Add templatebody plugin and directive, and enable it by default•••Also add a regression test for templatebody. Simon McVittie2014-03-05
* add readtemplate hookSimon McVittie2014-03-05
* Added only_committed_changes config setting, which speeds up wiki refresh by ...Joey Hess2013-11-16
* Fix link, add missing backquote.Amitai Schlair2013-02-24
* Add link to hooks definition in cgi highlevel description.http://beaufils.myopenid.com/2012-10-19
* Add link to hooks definition in compiler highlevel description. Fixed some ty...http://beaufils.myopenid.com/2012-10-19
* Added a "changes" hook. Renamed the "change" hook to "rendered", but•••the old hook name is called for now for back-compat. Joey Hess2012-03-28
* typoJoey Hess2012-03-28
* Add a build_affected hook so trail doesn't have to inject•••In principle, building any pages affected by links, backlinks etc. could work the same way. Simon McVittie2012-03-18
* for rcs_remove(), there's no new filehttps://www.google.com/accounts/o8/id?id=AItOawnxp2XU8gIribhhGhGuYtU6eMMwHv5gUGI2012-01-22
* allow for a html formatted description in websetup•••w/o polluting setup file with the html Joey Hess2011-05-13
* Add a second parameter to the rcs_diff hook, and avoid bloating memory readin...Joey Hess2010-12-29
* recommend 2-argument urlto whenever possiblehttp://smcv.pseudorandom.co.uk/2010-12-26
* more tweaks to urlto documentationJoey Hess2010-11-29
* second parameter of urlto is optionalJoey Hess2010-11-29
* tweak urlto descriptionJoey Hess2010-11-29
* urlto(): if $from is undef, return a local path, not an absolute URLSimon McVittie2010-11-22
* make revert hooks optional•••I removed the IkiWiki::rcs_ stubs for the revert hooks. Instead recentchanges tests to see if the hooks are available and calls them directly. Joey Hess2010-10-08
* convert rcs_revert to only stage the reversionJoey Hess2010-10-06
* remove rcs_showpatchJoey Hess2010-10-06
* document new rcs reversion support functionsJoey Hess2010-10-04
* template_depends: throw nice error message when template cannot be found•••plovs reported a crash when templates were not installed properly, with a non-useful error about the template object not being defined. I've audited all uses of template_depends(), and template(), and it makes sense for them to throw an error if the template cannot be found. All code with a user-supplied template catches errors already, to handle template parse failures. It did not make sense for template_file to throw errors, as some code uses it to probe if a template file is available. Joey Hess2010-09-27
* Pass array of names of files that have been deleted to needsbuild hook as sec...Joey Hess2010-09-10
* needsbuild hook interface changed; the hooks should now return the modified a...Joey Hess2010-09-07
* Add new disable hook, allowing plugins to perform cleanup after they have bee...Joey Hess2010-07-26
* remove unnecessary and troublesome filter calls•••This better defines what the filter hook is passed, to only be the raw, complete text of a page. Not some snippet, or data read in from an unrelated template. Several plugins that filtered text that originates from an (already filtered) page were modified not to do that. Note that this was not done very consistently before; other plugins that receive text from a page called preprocess on it w/o first calling filter. The template plugin gets text from elsewhere, and was also changed not to filter it. That leads to one known regression -- the embed plugin cannot be used to embed stuff in templates now. But that plugin is deprecated anyway. Later we may want to increase the coverage of what is filtered. Perhaps a good goal would be to allow writing a filter plugin that filters out unwanted words, from any input. We're not there yet; not only does the template plugin load unfiltered text from its templates now, but so can the table plugin, and other plugins that use templates (like inline!). I think we can cross that bridge when we come to it. If I wanted such a censoring plugin, I'd probably make it use a sanitize hook instead, for the better coverage. For now I am concentrating on the needs of the two non-deprecated users of filter. This should fix bugs/po_vs_templates, and it probably fixes an obscure bug around txt's use of filter for robots.txt. Joey Hess2010-07-04
* add note about genwrapper code running before wrapper sanitizes environment•••(That is needed for the receive test code.) Joey Hess2010-07-01
* finializing openid nickname support•••Renamed usershort => nickname. Note that this means existing user login sessions will not have the nickname recorded, and so it won't be used for those. Joey Hess2010-06-23
* rcs_commit and rcs_commit_staged api changes•••Using named parameters for these is overdue. Passing the session in a parameter instead of passing username and IP separately will later allow storing other session info, like username or part of the email. Note that these functions are not part of the exported API, and the prototype change will catch (most) skew, so I am not changing API versions. Any third-party plugins that call them will need updated though. Joey Hess2010-06-23
* API: rcs_commit and rcs_commit_staged are passed a new parameter•••that may contain the username component of the email address of the user making the commit. Joey Hess2010-06-23
* Add new optional field usershort to rcs_recentchanges.•••Now the git plugin supports commits with author fields that look like: Author: http://my.openid/ <me@web> Then in recentchanges, the short username will be displayed, linking to the openid. Particularly useful for the horrible google openids, of course. Joey Hess2010-06-23
* inline: Call indexhtml when inlining internal pages, so their text can be ind...Joey Hess2010-05-06
* Renamed postscan hook to indexhtml, to reflect its changed position.•••Probably only the search plugin uses it, so this seemed safe. Joey Hess2010-05-06
* Add ACTIONS variable to page.tmpl, which allows plugins to add arbitrary link...•••(COMMENTSLINK and DISCUSSIONLINK could be folded into this, but are kept separate for now to avoid breaking modified templates.) Joey Hess2010-05-03
* Add parameter to displaytime to specify that it is a pubdate, and in html5 mo...Joey Hess2010-05-02
* template() - return params in list context•••I forgot CGI::Formbuilder's horrible interface that needs template parameters instead of a constructed object. Joey Hess2010-04-24
* template docu reorg•••Remove wikitemplates page; fold its contents into templates page. Update all backlinks. Document new ability to put templates inside srcdir. Joey Hess2010-04-23
* allow template pages to not be under templates/Joey Hess2010-04-23
* allow a bare page name to be specified as a templateJoey Hess2010-04-23
* look for templates in srcdir and underlays, first•••This entailed changing template_params; it no longer takes the template filename as its first parameter. Add template_depends to api and replace calls to template() with template_depends() in appropriate places, where a dependency should be added on the template. Other plugins don't use template(), so will need further work. Also, includes are disabled for security. Enabling includes only when using templates from the templatedir would be nice, but would add a lot of complexity to the implementation. Joey Hess2010-04-22
* clarifyJoey Hess2010-04-22
* add_autofile filename should be relative to srcdirJoey Hess2010-04-21
* improve docsJoey Hess2010-04-17
* document add_autofileJoey Hess2010-04-17
* automatically run --gettime, and optimise it for git•••* Automatically run --gettime the first time ikiwiki is run on a given srcdir. * Optimise --gettime for git, so it's appropriatly screamingly fast. (This could be done for other backends too.) * However, --gettime for git no longer follows renames. * Use above to fix up timestamps on docwiki, as well as ensure that timestamps on basewiki files shipped in the deb are sane. Joey Hess2010-04-16
* --gettime revamp•••* Rename --getctime to --gettime. (The old name still works for backwards compatability.) * --gettime now also looks up last modification time. * Add rcs_getmtime to plugin API; currently only implemented for git. Joey Hess2010-04-16
* note about sort and dependency types•••There's a gotcha where pagespec_match_list is used with a dependency type that is not a full content dependency, and so ikiwiki does not know that a content change to a page that sorted too low to match needs to trigger a rebuild, since its sort order may have changed. Inline is mostly ok re this, as it does use content dependencies. Except for in the case of raw mode. But then, page metadata is documented to not be loaded, so it doesn't make sense to use sortspecs that depend on metadata. I hope. :) Joey Hess2010-04-07
* Merge remote branch 'smcv/ready/sort-package'•••Conflicts: debian/NEWS Joey Hess2010-04-06
|\