aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/CGI.pm
Commit message (Collapse)AuthorAge
* record email of new users in userinfo for userlistJoey Hess2011-06-09
|
* let's assume some web server will think OFF is a good idea..Joey Hess2011-06-03
|
* Support the Hiawatha web server which sets HTTPS=off rather than not setting ↵Joey Hess2011-06-03
| | | | it. (There does not seem to be a standard here.)
* Fix broken baseurl in cgi mode when usedirs is disabled. Bug introduced in ↵Joey Hess2011-02-21
| | | | 3.20101231.
* fix urlto(undef)Joey Hess2011-01-05
|
* add cgitemplateJoey Hess2011-01-05
| | | | | | | | | | | | cgitemplate is a modified misctemplate that takes an optional cgi object and uses it to set the baseurl, and also optionally the forcebaseurl, if a page is provided. If no cgi object is provided, it will fall back to using $config{url}. I expect this will only be needed in exceptional cases where that doesn't much matter, such as cgierror(). showform uses cgitemplate, so there is no more need for showform_preview.
* factored out an urlabs from aggregate and cgiJoey Hess2011-01-05
|
* oopsJoey Hess2011-01-05
|
* typoJoey Hess2011-01-05
|
* Fix redirect to use a full url.Joey Hess2011-01-05
| | | | Was broken (in theory) by baseurl changes in last release.
* Fix base url when previewing. Was broken by urlto changes in last release.Joey Hess2011-01-05
| | | | | Added a showform_preview that is like showform, but sets forcebaseurl to point to the page being previewed.
* Merge remote branch 'smcv/ready/sslcookie-auto'Joey Hess2010-11-29
|\
| * Always set secure cookies if logging in via HTTPSSimon McVittie2010-11-29
| |
* | Use local path for even more CGI URLsSimon McVittie2010-11-23
| |
* | Use local paths for redirection where possibleSimon McVittie2010-11-23
|/
* stop using REMOTE_ADDRJoey Hess2010-06-23
| | | | | | | | | | | Everywhere that REMOTE_ADDR was used, a session object is available, so instead use its remote_addr method. In IkiWiki::Receive, stop setting a dummy REMOTE_ADDR. Note that it's possible for a session cookie to be obtained using one IP address, and then used from another IP. In this case, the first IP will now be used. I think that should be ok.
* allow misctemplate callers to pass params to suppress actions etcJoey Hess2010-05-14
| | | | | Suppress disiplay of small search for on search results page, and of Prefrences link on prefs page.
* moved non-openid signin form into same page as openid selector; show/hide as ↵Joey Hess2010-05-08
| | | | buttons are pressed
* simplify formbuilder stylesheet specificationJoey Hess2010-05-06
| | | | | | Since all forms are wrapped in a template that defines the actual stylesheets, formbuilder just has to be told to turn on stylesheet mode, not what file is the style sheet.
* brace styleJoey Hess2010-01-18
|
* typosJoey Hess2010-01-18
|
* make decode_form_utf8 safe for arraysJoey Hess2010-01-09
|
* 404/goto: Fix 404 display of utf-8 pages.Joey Hess2009-12-14
| | | | | | | Problem here was that no charset http header was being sent. I fixed this globally by making cgi_custom_failure send the header. Required changing its parameters.
* fix url encoding in redirJoey Hess2009-10-29
| | | | | | | | | When redirecting to a page, ie, after editing, ensure that the url is uri-encoded. Most browsers other than MSIE don't care, but it's the right thing to do. The known failure case involved editing a page that had utf-8 in the name using MSIE.
* Expand banned_users; it can now include PageSpecs, which allows banning by ↵Joey Hess2009-09-08
| | | | IP address.
* Fix typo attepting→attemptingJonas Smedegaard2009-07-23
|
* detect sslcookie set and no httpsJoey Hess2009-02-26
| | | | | | | | | This is likely a misconfiguration and can cause login to fail as the browser refuses the send the session cookie back over http. Not entirely happy with putting the check where I did, since users have to try to log in, and fail, to see the misconfiguration explained. But I could not find a better place to put the check.
* factor out IE stupididy workaroundJoey Hess2009-01-31
|
* Split cgi_goto into a goto pluginSimon McVittie2009-01-31
|
* Split apache404 into an independent pluginSimon McVittie2009-01-31
| | | | | Also make it ignore the 'do' parameter at Joey's suggestion, to have one less thing to remember when configuring.
* CGI: pad error responses with 512 bytes of spaces so IE will display themSimon McVittie2009-01-31
| | | | | IE displays its own error responses unless the server's was >= 512 bytes. http://support.microsoft.com/default.aspx?scid=kb;en-us;Q294807
* CGI: set up goto hook so that /ikiwiki.cgi?do=goto can be an Apache ↵Simon McVittie2009-01-31
| | | | ErrorDocument
* CGI: add cgi_page_from_404(), which remaps a path like $REDIRECT_URL to an ↵Simon McVittie2009-01-31
| | | | | | IkiWiki page name Also add a regression test
* CGI: if the page is missing, give the "missing page" a 404 statusSimon McVittie2009-01-31
|
* CGI: document why commenter and recentchanges_link are supportedSimon McVittie2009-01-31
|
* CGI: if the "do" parameter is goto, recentchanges_link or commenter, ↵Simon McVittie2009-01-31
| | | | | | redirect to a page This can replace equivalent functionality in comments and recentchanges.
* CGI: add cgi_goto(CGI, [page])Simon McVittie2009-01-31
| | | | | | This redirects to the given page (or if none is given, the page parameter given to the CGI), or displays an error with a create link if the page doesn't exist.
* remove deprecated admin prefsJoey Hess2008-12-24
| | | | | | | | | | A new ikiwiki-transition moveprefs subcommand can pull the old data out of the userdb and inject it into the setup file. Note that it leaves the old values behind in the userdb too. I did this because I didn't want to lose data if it fails writing the setup file for some reason, and the old data in the userdb will only use a small amount of space. Running the command multiple times will mostly not change anything.
* Coding style change: Remove explcit vim folding markers.Joey Hess2008-12-17
|
* checksessionexpiry: reworkJoey Hess2008-12-17
| | | | | This function as factored out was a bit confusing, I think this makes more sense.
* editpage: factor out checksessionexpiry into IkiWiki::CGISimon McVittie2008-12-11
|
* Fix issue with utf-8 in wikiname breaking session cookies, by ↵Joey Hess2008-10-19
| | | | entity-encoding the wikiname in the session cookie.
* editpage: New core plugin factoring out page editing to allow disabling it ↵Joey Hess2008-09-05
| | | | if desired.
* Set cookies HttpOnly.Joey Hess2008-08-28
|
* typoJoey Hess2008-08-05
|
* relocateJoey Hess2008-08-02
|
* banned_users move to setup file, stage 1Joey Hess2008-08-01
|
* add a rename summaryJoey Hess2008-07-22
|
* Split out error messages from editpage.tmpl into several separate templates.Joey Hess2008-07-22
|
* only htmlize errors when cgi is actually runningJoey Hess2008-07-12
|