aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/CGI.pm
Commit message (Expand)AuthorAge
* move saveindex call into preview block•••This call is only present to handle the case where previewing a page actually causes files to be rendered. Joey Hess2008-02-03
* remove another commit mail mentionJoey Hess2008-02-03
* * cgi hooks are now run before ikiwiki state is loaded.•••* This allows locking the wiki before loading state, which avoids some tricky locking code when saving a web edit. Joey Hess2008-02-03
* non-tabular recentchanges display•••Doesn't look as good as the old table, but works as a rss feed. Joey Hess2008-01-29
* * Removed support for sending commit notification mails. Along with it went••• the svnrepo and notify settings, though both will be ignored if left in setup files. Joey Hess2008-01-29
* support for internal-use page types•••If a page type starts with an underscore, hide it from the list of page types in the edit form, and don't allow editing pages of that type. This allows for plugins to add page types for internal use. Joey Hess2008-01-28
* move userlink to IkiWiki.pm•••I have a plugin that needs to use userlink. Joey Hess2008-01-28
* change rcs_recentchanges when to absolute, not relative, time•••No point in using a relative time value in rcs_recentchanges. Different consumers of the info want different things. Joey Hess2008-01-28
* In preferences, allow the subscriptions and email fields to be clearedJoey Hess2008-01-09
* add explicit test for do=postsignin•••This happens when openid auth fails in certian ways Joey Hess2008-01-07
* fixesJoey Hess2008-01-07
* * Improved the canedit hook interface, allowing a callback function to be••• returned (and not run in some cases) rather than the plugins directly forcing a user to log in. * opendiscussion: allow editing of the toplevel discussion page, and, indirectly, allow creating new discussion pages. Joey Hess2008-01-07
* * Only try postsignin if no other action matched. Fixes a bug where the••• user goes back from the signin screen and does something else. * Improve behavior when trying to sign in with no cookies. Joey Hess2008-01-07
* fix an uninitialised value warningJoey Hess2008-01-05
* * Stop testing Encode::is_utf8 in decode_form_utf8: That doesn't work.•••* decode_form_utf8 only fixed the utf-8 encoding for fields that were registered at the time it was called, which was before the formbuilder_setup hook. Fields added by the hook didn't get decoded. But it can't be put after the hook either, since plugins using the hook need to be able to use form values. To fix this dilemma, it's been changed to a decode_cgi_utf8, which is called on the cgi query object, before the form is set up, and decodes *all* cgi parameters. Joey Hess2008-01-01
* * Allow editing a page and deleting all content, while still disallowing••• creating a new page that's entirely empty. Joey Hess2007-12-12
* * Ensure that web edited pages always end in a newline.Joey Hess2007-12-12
* * Change formbuilder hook to not be responsible for displaying a form,••• so that more than one plugin can use this hook. I believe this is a safe change, since only passwordauth uses this hook. (If some other plugin already used it, it would have broken passwordauth!) Joey Hess2007-12-12
* MAJOR basewiki reorg•••Including redir pages for the moved basewiki pages. These will be removed in a future release. Joey Hess2007-12-08
* * In the cgi edit path, reload the index file before rendering. A bug••• showed up where a web edit that added a page caused a near-concurrent web edit to fail in will_render. While it would be hard to reproduce this, my analysis is that the failing cgi started first, loaded the index file (prior to locking) then the other cgi created the new page and rendered it, and then the failing cgi choked on the new file when _it_ tried to render it. Ensuring that the index file is loaded after taking the lock will avoid this bug. joey2007-10-10
* * Save index after previewing page edit, since even previewing can create••• files in some situations, and this is appropriate in some cases, such as the teximg plugin's error log file. Such files will be automatically cleaned up at an appopriate later time. joey2007-09-22
* * Support for looking in multiple directories for underlay files.•••* Plugins can add new directories to the search path with the add_underlay function. * Split out smiley underlay files into a separate underlay, so if the plugin isn't used, the wiki isn't bloated with all those files. joey2007-08-28
* * Add an editcontent hook.joey2007-08-26
* * Call the formbuilder hook for the edit page.•••* Call decode_form_utf8 before running formbuilder_setup hooks. * Add editdiff plugin contributed by Jeremie Koenig. * Fix it to not leak path info. joey2007-08-22
* * Applied Jeremie Koenig's pluggable editpage buttons patch:••• - add a title to the editpage form; - pass a reference to the list of buttons to the formbuilder_setup hooks, so we can add ours; - relax asumption about the possible submit values (use "Save Page" explicitly); - de-hardcode the submit buttons from the editpage template (This was needed for compatability with a bug in CGI::FormBuilder 3.0401, but ikiwiki already needs a newer version.) * Pass buttons to all other formbuilder_setup hooks too. joey2007-08-17
* proper fix for adding file, based on jkoenig's patchjoey2007-08-15
* * Fix bug when editing file from underlaydir, need to rcs_add it even though••• a page creation isn't occuring. joey2007-08-14
* * Fix bug in deletion/move during edit code introduced in 1.44. Need to take••• the underlaydir into account. joey2007-08-14
* Remove two header => 1 settings that were overridden by later header => 0joey2007-08-14
* * Move blog form code out of CGI.pm and into the inline plugin.joey2007-08-05
* * Add sessioncgi hook. joey2007-08-05
* remove cruftjoey2007-08-05
* * Wrap the editpage template in the standard misctemplate, this allows the••• pagetemplate hook to work for that page. * Above change fixes the favicon plugin to work on edit pages. joey2007-07-16
* * Add a destpage parameter to the filter hook.•••* Fix links to smilies generated by the smiley plugin for inlined pages. The old links were often wrong, but often still worked by accident. joey2007-05-17
* * Make all templates have a footer div to ease themeing. Required template••• 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. joey2007-05-11
* * Use div layout for the signin and preferences forms, so that they can be••• styled using the stylesheet, rather than by creating signin and prefs templates. * Make the openid login form nicely styled. joey2007-04-30
* * Use fieldsets in the preferences form to group related options together.••• Especially cleans up the ordering of the admin's preferences form. joey2007-04-29
* * Detect the case of two people independently creating the same page at the••• same time, and let the second person resolve the conflict. joey2007-03-17
* * Fix some broken logic in cgi creation of a subpage when a toplevel page••• with the same name already exists, and generally simplify the edit code. joey2007-03-17
* 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 links••• 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. joey2007-03-08
* My fix to support encoded underscores in page titles broke links to pages•••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. joey2007-03-07
* * The slash escaping when adding to a blog from the CGI was not working••• 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). joey2007-03-07
* * Add preview parameter to preprocesser calls, use this rather than the••• 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. joey2007-03-06
* * Patch from Ethan to improve behavior if a page is deleted or moved while••• someone is editing it. * Some cleanup of field setting in the failed edit and conflict handling code. joey2007-02-24
* * Correct a bug that could lead to infinite looping after signin in some••• circumstances. joey2007-02-24
* * Since the CGI had to drop the wiki lock to avoid deadlocking the••• 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. joey2007-02-21
* * Elegant patch from Ethan to clean up the display of page names in the••• dropdown when creating a new page. joey2007-02-21
* * Changed calling convention for httmllink slightly. The first three••• 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. joey2007-02-20