aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins/write.mdwn
Commit message (Collapse)AuthorAge
* typohttps://launchpad.net/~beaufils2015-06-19
|
* 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 defaultSimon McVittie2014-03-05
| | | | Also add a regression test for templatebody.
* add readtemplate hookSimon McVittie2014-03-05
|
* Added only_committed_changes config setting, which speeds up wiki refresh by ↵Joey Hess2013-11-16
| | | | 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.
* 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 ↵http://beaufils.myopenid.com/2012-10-19
| | | | typos.
* Added a "changes" hook. Renamed the "change" hook to "rendered", butJoey Hess2012-03-28
| | | | the old hook name is called for now for back-compat.
* typoJoey Hess2012-03-28
|
* Add a build_affected hook so trail doesn't have to injectSimon McVittie2012-03-18
| | | | | In principle, building any pages affected by links, backlinks etc. could work the same way.
* 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 websetupJoey Hess2011-05-13
| | | | w/o polluting setup file with the html
* Add a second parameter to the rcs_diff hook, and avoid bloating memory ↵Joey Hess2010-12-29
| | | | reading in enormous commits.
* 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 optionalJoey Hess2010-10-08
| | | | | | I removed the IkiWiki::rcs_ stubs for the revert hooks. Instead recentchanges tests to see if the hooks are available and calls them directly.
* 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 foundJoey Hess2010-09-27
| | | | | | | | | | | | 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.
* Pass array of names of files that have been deleted to needsbuild hook as ↵Joey Hess2010-09-10
| | | | second parameter, to allow for plugins that needs access to this information earlier than the delete hook.
* needsbuild hook interface changed; the hooks should now return the modified ↵Joey Hess2010-09-07
| | | | array of things that need built. (Backwards compatability code keeps plugins using the old interface working.)
* Add new disable hook, allowing plugins to perform cleanup after they have ↵Joey Hess2010-07-26
| | | | been disabled.
* remove unnecessary and troublesome filter callsJoey Hess2010-07-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* add note about genwrapper code running before wrapper sanitizes environmentJoey Hess2010-07-01
| | | | (That is needed for the receive test code.)
* finializing openid nickname supportJoey Hess2010-06-23
| | | | | | | 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.
* rcs_commit and rcs_commit_staged api changesJoey Hess2010-06-23
| | | | | | | | | | | 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.
* API: rcs_commit and rcs_commit_staged are passed a new parameterJoey Hess2010-06-23
| | | | | that may contain the username component of the email address of the user making the commit.
* Add new optional field usershort to rcs_recentchanges.Joey Hess2010-06-23
| | | | | | | | | | 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.
* inline: Call indexhtml when inlining internal pages, so their text can be ↵Joey Hess2010-05-06
| | | | indexed for searching.
* Renamed postscan hook to indexhtml, to reflect its changed position.Joey Hess2010-05-06
| | | | Probably only the search plugin uses it, so this seemed safe.
* Add ACTIONS variable to page.tmpl, which allows plugins to add arbitrary ↵Joey Hess2010-05-03
| | | | | | | 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.)
* Add parameter to displaytime to specify that it is a pubdate, and in html5 ↵Joey Hess2010-05-02
| | | | mode, use time tag.
* template() - return params in list contextJoey Hess2010-04-24
| | | | | I forgot CGI::Formbuilder's horrible interface that needs template parameters instead of a constructed object.
* template docu reorgJoey Hess2010-04-23
| | | | | Remove wikitemplates page; fold its contents into templates page. Update all backlinks. Document new ability to put templates inside srcdir.
* 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, firstJoey Hess2010-04-22
| | | | | | | | | | | | | | | 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.
* 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 gitJoey Hess2010-04-16
| | | | | | | | | | * 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.
* --gettime revampJoey Hess2010-04-16
| | | | | | | | * 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.
* note about sort and dependency typesJoey Hess2010-04-07
| | | | | | | | | | | | 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. :)