aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/CGI.pm
Commit message (Collapse)AuthorAge
...
* * Add sessioncgi hook. joey2007-08-05
|
* remove cruftjoey2007-08-05
|
* * Wrap the editpage template in the standard misctemplate, this allows thejoey2007-07-16
| | | | | pagetemplate hook to work for that page. * Above change fixes the favicon plugin to work on edit pages.
* * Add a destpage parameter to the filter hook.joey2007-05-17
| | | | | * Fix links to smilies generated by the smiley plugin for inlined pages. The old links were often wrong, but often still worked by accident.
* * Make all templates have a footer div to ease themeing. Required templatejoey2007-05-11
| | | | | | | | and style sheet updates, and unless you're using customised versions, you'll want to rebuild wikis on upgrade to this version to avoid inconsistencies. * Allow WIKINAME to to used in footers, as an example of something to put there.
* * Use div layout for the signin and preferences forms, so that they can bejoey2007-04-30
| | | | | | styled using the stylesheet, rather than by creating signin and prefs templates. * Make the openid login form nicely styled.
* * Use fieldsets in the preferences form to group related options together.joey2007-04-29
| | | | Especially cleans up the ordering of the admin's preferences form.
* * Detect the case of two people independently creating the same page at thejoey2007-03-17
| | | | same time, and let the second person resolve the conflict.
* * Fix some broken logic in cgi creation of a subpage when a toplevel pagejoey2007-03-17
| | | | with the same name already exists, and generally simplify the edit code.
* simplify preview codejoey2007-03-17
|
* correct dup page name detect in blog posting codejoey2007-03-08
|
* * The underscore escaping support exposed a bug in edit links: Such linksjoey2007-03-08
| | | | | | | | | were titlepage escaped in the urls, and then doubly escaped by the CGI when editing. To fix this, I removed the titlepage escaping in the edit urls. * That means that *every edit link* on the wiki is potentially changed. Rebuilding wikis on upgrade to this version therefore necessary; enabled that in postinst.
* My fix to support encoded underscores in page titles broke links to pagesjoey2007-03-07
| | | | | | | with underscores in their filenames, since the link code also used titlepage. Create a new linkpage function and have the link code use that instead.
* * The slash escaping when adding to a blog from the CGI was not workingjoey2007-03-07
| | | | | | since it ended up being double-escaped. Instead, just remove slashes. * Fix some nasty issues with page name escaping during previewing (introduced in 1.44).
* * Add preview parameter to preprocesser calls, use this rather than thejoey2007-03-06
| | | | | | | | previous ugly hack used to avoid writing rss feeds in previews. * Fix the img plugin to avoid overwriting images in previews. Instead it does all the work to make sure the resizing works, and dummys up a resized image using width and height attributes. * Also fixes img preview display, the links were wrong in preview before.
* * Patch from Ethan to improve behavior if a page is deleted or moved whilejoey2007-02-24
| | | | | | someone is editing it. * Some cleanup of field setting in the failed edit and conflict handling code.
* * Correct a bug that could lead to infinite looping after signin in somejoey2007-02-24
| | | | circumstances.
* * Since the CGI had to drop the wiki lock to avoid deadlocking thejoey2007-02-21
| | | | | | | | commit hook, it was possible for one CGI to race another one and "win" the commit of both their files. This race has been fixed by adding a new commitlock, which when locked by the CGI, disables the commit hook (except for commit mails). The CGI then takes care of the updates the commit hook would have done.
* * Elegant patch from Ethan to clean up the display of page names in thejoey2007-02-21
| | | | dropdown when creating a new page.
* * Changed calling convention for httmllink slightly. The first threejoey2007-02-20
| | | | | | | | | | parameters remain the same, but additional options are now passed in using named parameters. * Change plugin interface version to 1.02 to reflect this change. * Add a new anchor option to htmllink. Thanks Ben for the idea. * Support anchors in wikilinks. * Add a "more" plugin based on one contributed by Ben to allow implementing those dreaded "Read more" links in blogs.
* * Many changes to make ikiwiki very resistant to write failuresjoey2007-02-15
| | | | | | | | including out of disk space situations. ikiwiki should never leave truncated files, and if the error occurs during a web-based file edit, the user will be given an opportunity to retry. Inspired by the many ways Moin Moin destroys itself when out of disk. :-) * Fix syslogging of errors.
* * Fix a security hole that allowed a web user to edit images and otherjoey2007-02-10
| | | | | | | | non-page format files in the wiki. To exploit this, the file already had to exist in the wiki, and the web user would need to somehow use the web based editor to replace it with malicious content. (Sorry Josh, this means you can't edit style.css directly anymore, although I do appreciate your fixes, actually..)
* * Add canedit hook, allowing arbitrary controls over when a page can bejoey2007-02-02
| | | | | | | | | | | | | edited. * Move code forcing signing before edit to a new "signinedit" plugin, and code checking for locked pages into a new "lockedit" plugin. Both are enabled by default. * Remove the anonok config setting. This is now implemented by a new "anonok" plugin. Anyone with a wiki allowing anonymous edits should change their configs to enable this new plugin. * Add an opendiscussion plugin that allows anonymous users to edit discussion pages, on a wiki that is otherwise wouldn't allow it. * Lots of CGI code reorg and cleanup.
* * Always call rcs_update after a commit during a web edit, to work aroundjoey2007-01-28
| | | | | the problem described in bugs/svn_fails_to_update. Thanks to Ethan for the analysis and patch.
* * Change the RecentChanges page to show the path of changed pages.joey2007-01-14
|
* Improve error message when postsignin (probably from openid) fails due tojoey2007-01-12
| | | | | cookies not being enabled. Adds a new translatable string..
* * Search in default location for templates as a fallback when templatedir isjoey2007-01-12
| | | | | pointed elsewhere, so that only modified templates need to be copied into a templatedir. Based on work by JeremyReed.
* added some comments for translatorsjoey2007-01-04
|
* * Corrected a bum regexp in openid munging.joey2007-01-03
|
* deal with http:// partjoey2006-12-31
|
* * Escape shashes in page titles entered in the blog post form.joey2006-12-31
| | | | * Munge openids of the form somehost.com/user (trial, may revert)
* * If a userdir is configured, links to pages in it can be made withoutjoey2006-12-29
| | | | | specifying the path. This allows for easy signing of comments by linking to your page in the userdir.
* * Initial work on internationalization of the program code. po/ikiwiki.potjoey2006-12-29
| | | | | is available for translation. * Export gettext() from IkiWiki module.
* * Turn $config{wiki_file_prune_regexps} into an array that is easier tojoey2006-12-21
| | | | | | | | | | | manipulate. * Only exclude rss and atom files from processing if the inline plugin is enabled and that feed type is enabled. Else it's just a copyable file type. * Move rss and atom option handling code into the inline plugin. * Applied a rather old patch from Recai to fix the "pruning is too strict" issue. Now you can have wiki source directories inside dotdirs and the like, if you want.
* * Add userdir config setting.joey2006-12-19
|
* * The hack used to make the pagetemplate hook have access to the editpagejoey2006-12-02
| | | | | | template won't work with CGI::FormBuilder 3.0401, so disable it for now. * CGI::FormBuilder 3.0401 seems to work ok now with ikiwiki, although there might still be bugs lurking..
* session improvementsjoey2006-11-26
|
* updatesjoey2006-11-22
|
* improvejoey2006-11-21
|
* improve regexpjoey2006-11-21
|
* formattingjoey2006-11-21
|
* improvementjoey2006-11-20
|
* * Add "last" parameter to hook function. Very basic ordering, and hopefullyjoey2006-11-20
| | | | | | | | 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.
* * Avoid locking the wiki at all when handling some basic cgi stuffjoey2006-11-20
| | | | (searches, recentchanges).
* increase field widthsjoey2006-11-20
|
* * Add openidsignup config option.joey2006-11-20
| | | | | | | * 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.
* minor improvementsjoey2006-11-20
|
* explanationjoey2006-11-20
|
* * Add an openid plugin to support logging in using OpenID.joey2006-11-20
| | | | | | | * 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.
* * Make auth methods pluggable.joey2006-11-20
| | | | | * Move httpauth support to a plugin. * Add an openid plugin to support logging in using OpenID.