summaryrefslogtreecommitdiff
path: root/IkiWiki/CGI.pm
AgeCommit message (Collapse)Author
2006-06-15* -CSD does not affect modules, so readfile() was not using the utf-8 inputjoey
layer, which led to lots of problems; make it force read files as utf-8. Closes: #373203 * writefile() likewise needs to use the utf8 output layer. * Remove the -CSD from ikiwiki's hashbang since it's useless to have it there. * Revert some of the decode_utf8 changes in CGI.pm that seem unnecessary given the readfile fix. * Add utf-8 testcases for readfile and htmlize.
2006-06-15* YA utf-8 patch from Recai, this time to fix previewing a page so thatjoey
the text in the input box is re-encoded back to utf-8.
2006-06-11* Patch from Recai Oktaş to improve utf-8 support, it should now use properjoey
utf-8 for edit and other fields, and for recentchanges. There may still be utf-8 issues with the preferences page though.
2006-05-27* Add -refresh option to ikiwiki-mass-rebuild and use that on upgrades thatjoey
do not need a full rebuild, in order to update any basewiki pages.
2006-05-26* --getctime had bitrotted (well I only ever used it the once so far..),joey
* When inlining a page in another one, links from the inlined page are now expanded the same as they are when rendering the inlined page as a standalone page. So rather than being expanded from the POV of the inlining page, they are expanded from the POV of the inlined page. For example, a link from blog/foo to "bar" will now link to blog/bar if it exists. Previously this needed to be a link explicitly to "blog/bar"; such links will also continue to work. (This was slightly complex to do as the link still has to be constructed relative to the inlining page.)
2006-05-26* Rebuilding on upgrade to this version is recommended.joey
* Add a html validity check to the test suite, using the wdg-html-validator, if available. * Make the html valid when there is nothing in the actions list by adding an empty <li> to the end of it. * Reordered some function call parameters for consistency.
2006-05-03rather a lot of changes to make hyperestraier search be a plugin, allowingjoey
for other types of search engine plugins if wanted, and also opening up a lot of new possibilities for other kinds of plugins later some notable changes along the way: - lots of new hook types: cgi, render, delete - wrapper files fixed to support config strings with newlines in them - HEADERCONTENT in page template useful for plugins. Probably needs to be expanded to more such for other places plugins might want to add content. - remove unnecessary wrappers field from config info stored in wrappers
2006-05-02* Split off an IkiWiki.pm out of ikiwiki and have all the other modules usejoey
it, this will allow for adding a unit test suite.
2006-05-02fix undef warningjoey
2006-05-02* Smarter behavior when creating a page and a page of the same name (butjoey
different location) already exists.
2006-04-25- fix typojoey
- avoid sending commit mails to the user who made the commit
2006-04-25prevent users from registering with name that is not a valid wikifilejoey
avoids XSS attacks and is generally a good limitation
2006-04-25fix a deadloop if from ended in a /joey
2006-04-25subscription nearly donejoey
2006-04-24commit changes for email subscriptionsjoey
2006-04-14fix --anonokjoey
2006-04-04Verified that the action parameter on cgi forms is needed for at least thejoey
prefs form. Use $config{cgiurl}.
2006-04-02comment out action => $q->request_uri setting, which is reporedlyjoey
unnecessary and doesn't work with old CGI.pm's (it's an undocumented variable)
2006-04-02- add <base> to cgi output, this is especially useful for output containingjoey
wikilinks since the urls should work now in more situations - drop --limit from svn log run, since a) it needs a fairly new svn and b) in some cases, it would limit it to too few entries to display the requested number of changes - Use driver:DB_File and not driver:db_file for better compatability with old versions of CGI::Session. - Note that HTML::Template 3.02.02 is needed.
2006-03-30improved logicjoey
2006-03-29added --hyperestraier switch, which turns on search supportjoey
(ok, the way I run estseek.cgi is admittedly pretty nasty, but it works..)
2006-03-29improve fix for symlink attacks to check subdirectories for symlinks toojoey
before writing
2006-03-29fix for replacing from underlayjoey
2006-03-29Implemented --underlaydir, and moved files provided by underlay out of docjoey
so I don't need to maintain two copies anymore. You might also want to remove the files provided in the basewiki underlay from your wiki, if you have not created custom local versions of them, so that these pages will be automatically updated in future ikiwiki upgrades.
2006-03-29css supportjoey
2006-03-29html validation fixes:joey
- escape & in urls (also clean up cgi url generation) - since markdown wraps inlined pages in <p></p>, close and re-open the paragraph tags when generating the embedded html - added XHTML 1.0 doctypes to templates - fixed <hr /> and <br /> in templates - add an alt attribute to inline images, based on the WikiLink to the image. Allows things like [[my_image|img.png]] to customise alt text.
2006-03-29Improved handling of wikilinks containing characters that are not allowedjoey
in filenames. Now converts to valid filenames automatically. Note, need to --refresh your wiki after updating to this version, if you use any pages with __nn__ in their names.
2006-03-29Change the name of the session cookie. This will avoid problems withjoey
multiple wikis on the same host.
2006-03-28Put in a quick fix for a bug involving page preview while creating a pagejoey
that caused the page location to be changed to a subdir. This is not a very good fix.
2006-03-26add --refresh and make it with with --setupjoey
2006-03-26don't keep the wiki locked while rendering recentchangesjoey
2006-03-26don't escape "/" in title when making a blog entry, allow creating a subdirjoey
2006-03-24finish up the blog formjoey
2006-03-24add blog post templatejoey
2006-03-23load index for all cgi scripts, fixes links on RecentChangesjoey
2006-03-23proper main sub and loadindex optimisation for cgisjoey
2006-03-23Major code reoganisation, splitting up the single big file. The two goalsjoey
kept in mind during this are a) to reduce load time for common cases like cgi and post-commit and b) make the code easier to navigate. This also modularises RCS support to the extent that it should be possible to drop in a module for some RCS other than svn, add a switch for it, and it pretty much just work. High chance I missed an edge case that breaks something, this is only barely tested at this point.