summaryrefslogtreecommitdiff
path: root/IkiWiki/CGI.pm
AgeCommit message (Collapse)Author
2006-11-20improvementjoey
2006-11-20* Add "last" parameter to hook function. Very basic ordering, and hopefullyjoey
nothing more spohisticated will be needed. * Add formbuilder_setup and formbuilder hooks. * Split out a passwordauth module, that holds all the traditional password based authentication etc code. It's enabled by default, but can be disabled if you want only openid or some other auth method.
2006-11-20* Avoid locking the wiki at all when handling some basic cgi stuffjoey
(searches, recentchanges).
2006-11-20increase field widthsjoey
2006-11-20* Add openidsignup config option.joey
* Make the openid plugin support the callbacks from myopenid.com via its affiliate program. * Change how post signin actions are propigated through the signin process; they're now stored in the session.
2006-11-20minor improvementsjoey
2006-11-20explanationjoey
2006-11-20* Add an openid plugin to support logging in using OpenID.joey
* Web commits by OpenID users will record the full OpenID url for the user, but in recentchanges, these urls will be converted to a simplified display form+link. * Modified svn, git, tla backends to recognise such web commits.
2006-11-20* Make auth methods pluggable.joey
* Move httpauth support to a plugin. * Add an openid plugin to support logging in using OpenID.
2006-11-10fixesjoey
2006-11-10* Work around a strange bug in CGI::FormBuilder 3.0401 that makesjoey
FORM-SUBMIT unusable on customised formbuilder templates. For now, hardcode the submit buttons in editpage.tmpl instead of using the template variable, which is ok, since the buttons are static.
2006-11-08* Make sure to check for errors from every eval.joey
2006-11-08* Enable utf8 file IO in aggregate plugin.joey
* Fix some issues with the new registration form.
2006-10-30* Improve login/register process, the login dialog has only name andjoey
password fields, which allows more web browsers to regognise it as a login field, and is less confusing.
2006-10-28delete sessionjoey
2006-10-28* Add basic spam fighting tool for admins: An admin's prefs page now allowsjoey
editing a list of banned users who are not allowed to log in.
2006-10-14* Patch from Recai to limit recentchanges to displaying max 10 files for ajoey
given changeset (to avoid large number of file changes excessively bloating the page).
2006-10-08* Atom feed support based on a patch by Clint Adams.joey
* Add feeds=no option to inline preprocessor directive to turn off all types of feeds. feeds=rss will still work, and feeds=atom was also added, for fine control. * $IkiWiki::version now holds the program version, and is accessible to plugins.
2006-10-02* Patch from Alec Berryman adding a http_auth config item that allowsjoey
using HTTP Authentication instead of ikiwiki's built in authentication. Useful for eg, large sites with their own previously existing user auth setup. Closes: #384534
2006-09-16 * Patch from James Westby to deal with the case where you're editing ajoey
new page, hit cancel, and need to be redirected to somewhere sane.
2006-09-16* pagetemplate hooks are now also called when generating cgi pages.joey
* Add a favicon plugin, which simply adds a link tag for an icon to each page (and cgis).
2006-09-11* Patch from Recai to kill utf-8 on the wiki name when generating thejoey
session cookie.
2006-09-09* Work on firming up the plugin interface:joey
- Plugins should not need to load IkiWiki::Render to get commonly used functions, so moved some functions from there to IkiWiki. - Picked out the set of functions and variables that most plugins use, documented them, and made IkiWiki export them by default, like a proper perl module should. - Use the other functions at your own risk. - This is not quite complete, I still have to decide whether to export some other things. * Changed all plugins included in ikiwiki to not use "IkiWiki::" when referring to stuff now exported by the IkiWiki module. * Anyone with a third-party ikiwiki plugin is strongly enrouraged to make like changes to it and avoid use of non-exported symboles from "IkiWiki::". * Link debian/changelog and debian/news to NEWS and CHANGELOG. * Support hyperestradier version 1.4.2, which adds a new required phraseform setting.
2006-09-06need to import escapeHTMLjoey
2006-09-06escaping fix from Emanuele Ainajoey
2006-09-03* Simplify the data structure returned by rcs_recentchanges to avoidjoey
each rcs plugin needing to form complex strings on its own.
2006-08-28* Change htmlize, format, and sanitize hooks to use named parameters.joey
2006-08-27* Patch from James Westby to add a --sslcookie switch, which forcesjoey
cookies to only be sent over ssl connections to avoid interception. * Factor out the cgi header printing code into a new function. * Fix preferences page on anonok wikis; still need to sign in to get to the preferences page.
2006-08-23* Change order of linkify and preprocess; first preprocess and then linkify.joey
This allows passing a wikilink inside a parameter to a preprocessor directive without it being expanded to html, and leaking out of the parameter, which had required some non-obvious use of triple-quoting to avoid. Note that any preprocessor plugins that output something that looks like a wikilink will now have it treated as such; AFAIK this doesn't change any behavior though except for the template plugin. * Enable preprocessor directives when previewing an edit.
2006-08-21* Fixed a bug with previews of subpages having broken links to top-leveljoey
pages. * Change how the stylesheet url is determined in the templates: Remove STYLEURL and add BASEURL to all templates (some already had it). This new more general variable can be used to link to other things (eg, images) from the template, as well as stylesheets.
2006-08-20* Fix utf-8 in blog post form.joey
2006-08-13* Fix a bug in page type determination during online editing.joey
2006-08-13* The last release accidentially installed ikiwiki as ikiwiki.pl, now fixed.joey
* Add --version. * Man page format fixups. * Add a %pagecase which maps lower-case page names to the actual case used in the filename. Use this in bestlinks calculation instead of forcing the link to lowercase. * Also use %pagecase in various other places that want to check if a page with a given name exists. * This means that links to pages with mixed case names will now work, even if the link is in some other case mixture, and mixed case pages should be fully supported throughout ikiwiki. * Recommend rebuilding wikis on upgrade to this version.
2006-08-02* Renamed GlobLists to PageSpecs.joey
* PageSpecs can now include nested parens, "and", and "or". This remains backwards compatible to the old GlobList format. It's implemented by treating the GlobList as a very limited microlanguage that is transformed to perl code that does the matching. * The old GlobList format is deprecated, and I encourage users to switch to using the new PageSpec format. Compatability with the old format will be removed at some point, possibly by 2.0. * Wiki rebuild needed on upgrade to this version due to PageSpec change. * Add support for creation_month and creation_year to PageSpec. Closes: #380680 * Changes to index file encoding.
2006-07-30avoid message if mailing password or registeringjoey
2006-07-30* Add a run_hooks function for the common task of running all hooks of ajoey
given type. * Add a savestate hook. * Don't put blog post forms on pages if there's no cgiurl set. * Reformat front page.
2006-07-26* Run page through any relevant filters when generating a page preview.joey
* Noticed a bug in the wikitext markup plugin -- it made CamelCase links the default throughout the wiki, not only on wikitext pages. Decided to call this a feature, and split the camelcase support out into a separate plugin that is independant of wikitext.
2006-07-26* Patch from Recai to allow selection of page type when creating a new page.joey
Default page type is inherited from the link clicked on to create the new page.
2006-07-11<paravoid> you're rightjoey
<paravoid> I can't explain it <paravoid> but it's definitely fixing it <paravoid> I triple-checked...
2006-07-11remove redundant calljoey
2006-07-11* Consolidated all decode_utf8 in FormBuilder's fields to make the code morejoey
readable and avoid future mistakes. The patch seems to work and for the first time I have a UTF-8 username ;-) (Faidon) * Use form->field consistently, not form->param.
2006-07-10* Display CGI processing errors if present.joey
2006-07-07* Support a w3mmode, which lets w3m run ikiwiki using its local CGIjoey
support, to edit pages etc without a web server.
2006-07-05Encode:: cleanup from Recaijoey
2006-07-04* Encode & in diffurl in examples, to conform to pedantic rules.joey
* Speed up RecentChanges by another 40% or so with some memoization.
2006-07-04remove leading dot from default_pageextjoey
fix preview to not assume it's the default page type, and instead get the type from the page
2006-07-03use "use open" pragma to avoid manually needing to specify utf8 everywherejoey
and also to set default stdio mode change filetype to return undef, not "unknown"
2006-07-03Encode is used in nearly all code paths so stop loading it on demandjoey
2006-07-03* Support pages with utf8 filenames. Patch by Faidon Liambotis.joey
2006-07-02* Centralised all calls to HTML::Template and force all the templatesjoey
to be read as utf8.