summaryrefslogtreecommitdiff
path: root/debian
AgeCommit message (Collapse)Author
2008-05-30updated French translationJoey Hess
2008-05-30hashed password support, and empty password security fixJoey Hess
This implements the previously documented hashed password support. While implementing that, I noticed a security hole, which this commit also fixes..
2008-05-29teximg: If the log isn't written, avoid ugly error messages.Joey Hess
2008-05-29teximg: Fix logurl.Joey Hess
2008-05-29documentation for use of hashed passwordsJoey Hess
Everything but the actual coding to support them.
2008-05-28When calling decode_utf8 on known-problimatic content in aggregate, ↵Joey Hess
explicitly pass 0 (FB_DEFAULT) as the second parameter. Apparently perl 5.8 needs this to avoid crashing on malformed utf-8, despite its docs saying it is the default.
2008-05-28Add rel=nofollow to edit links. This may prevent some spiders from pounding ↵Joey Hess
on the cgi following edit links.
2008-05-25releasing version 2.47Joey Hess
2008-05-22Avoid unsightly warning message when evaling broken pagespecs.Joey Hess
Also improve error message when a pagespec fails to parse.
2008-05-21Perls older than 5.10 need to use the old method of decoding utf-8 in CGI ↵Joey Hess
values. Neither method will work for all versions of perl, so check version number at runtime.
2008-05-15typoJoey Hess
2008-05-15ENV can be used in the setup file to override environment variable setting, ↵Joey Hess
such as TZ or PATH.
2008-05-15git: Skip over signed-off-by and similar lines in commit messages when ↵Joey Hess
generating recentchanges.
2008-05-15inline: Display a message if the 'pages' parameter is missing, before it ↵Joey Hess
just expanded to nothing.
2008-05-15orphans: As a special case, the toplevel index page is never considered an ↵Joey Hess
orphaned page.
2008-05-14If PERL5LIB is set to the libdir when building ikiwiki, calculate and ↵Joey Hess
hardcode a proper 'use lib' statement anyway. This fixes a gotcha, since PERL5LIB won't work once ikiwiki is running via a wrapper or as a cgi.
2008-05-13mdwn: Add a multimarkdown setup file option.Joey Hess
2008-05-12releasing version 2.46Joey Hess
2008-05-12Fixes for behavior changes in perl 5.10's CGIJoey Hess
Something has changed in CGI.pm in perl 5.10. It used to not care if STDIN was opened using :utf8, but now it'll mis-encode utf-8 values when used that way by ikiwiki. Now I have to binmode(STDIN) before instantiating the CGI object. In 57bba4dac132a06729eeec809f5e1a5adf829806, I changed from decoding CGI::Formbuilder fields to utf-8, to decoding cgi parameters before setting up the form object. As of perl 5.10, that approach no longer has any effect (reason unknown). To get correctly encoded values in FormBuilder forms, they must once again be decoded after the form is set up. As noted in 57bba4da, this can cause one set of problems for formbuilder_setup hooks if decode_form_utf8 is called before the hooks, and a different set if it's called after. To avoid both sets of problems, call it both before and after. (Only remaining problem is the sheer ugliness and inefficiency of that..) I think that these changes will also work with older perl versions, but I haven't checked. Also, in the case of the poll plugin, the cgi parameter needs to be explcitly decoded before it is used to handle utf-8 values. (This may have always been broken, not sure if it's related to perl 5.10 or not.)
2008-05-12add suggests for s3 perl moduleJoey Hess
2008-05-07implemented pruning, s3 support now complete-ishJoey Hess
2008-05-07Optimised file statting code when scanning for modified pages; cut the ↵Joey Hess
number of system calls in half. (Still room for improvement.)
2008-05-06pinger/pingee now tested and workingJoey Hess
2008-05-06template change documentationJoey Hess
2008-05-05typoJoey Hess
2008-05-05aggregate: Add support for web-based triggering of aggregation for people ↵Joey Hess
stuck on shared hosting without cron. (Sheesh.) Enabled via the `aggregate_webtrigger` configuration optiom.
2008-05-05releasing version 2.45Joey Hess
2008-05-05enhancesments for shared hostingJoey Hess
* Add a Bundle::Ikiwiki to the source for use with CPAN to install *all* the modules ikiwiki can use. * Add a cpan directory containing a CPAN::MyConfig that can ease use of CPAN to install in a home directory on shared hosting providers. * With these changes, it's pretty easy to install onto nearlyfreespeech.net and probably other shared hosting providers like dreamhost. Added a tip page documentng the process for nearlyfreespeech.
2008-05-02git: Put -- before the filename when calling git rev-list to avoid warning ↵Joey Hess
message when the file doesn't exist.
2008-05-02Fix ugly display when editing a page that has vanished.Joey Hess
srcfile now has an optional second parameter to avoid it throwing an error if the source file does not exist.
2008-05-01anonk: Add anonok_pagespec configuration setting that can be used to allow ↵Joey Hess
anonymous users to edit only matching pages. Closes: #478892
2008-04-30img: Support a title attribute, will be passed through to html. Closes: #478718Joey Hess
2008-04-29Add missing de.po. Closes: #471540Joey Hess
2008-04-28Deal with different paths to perl when removing -T flag.Joey Hess
2008-04-28Add PREFIX/bin to the hardcoded PATH within ikiwiki.Joey Hess
2008-04-26toc: Add the table of contents at sanitize time, rather than at format time. ↵Joey Hess
This allows the toc to be displayed when previewing an edit. It also avoids headers in the page template from showing up in the toc.
2008-04-24Correct a bug in pagespec matching, where a empty pagespec matched all pages.Joey Hess
This manifested as wikis with no locked pages treating them all as locked. The bug was introduced in version 2.41. Medium urgency upload due to above fix.
2008-04-21Allow libtext-markdown-perl to satisfy dependencies, as a an alternative to ↵Joey Hess
the markdown package.
2008-04-20add CVE linkJoey Hess
2008-04-17Bring back the svnrepo setup file option. This is needed for ↵Joey Hess
recentchangediff to work with svn repos.
2008-04-16releasing version 2.43Joey Hess
2008-04-11Recommend a recent git-core for git init. Closes: 475609Joey Hess
2008-04-10Give the full path to the hyperestraier helpfile in estseek.conf.Joey Hess
2008-04-10Use bzr --quiet to avoid it outputting stuff and messing up http headers. ↵Joey Hess
(Scott Bronson)
2008-04-10Fix broken rcs_update for bzr. (Scott Bronson)Joey Hess
2008-04-10Fix missing import of escapeHTML in userlink. (Scott Bronson)Joey Hess
2008-04-10releasing version 2.42Joey Hess
2008-04-10Fix CSRF attacks against the preferences and edit forms. Closes: #475445Joey Hess
The fix involved embedding the session id in the forms, and not allowing the forms to be submitted if the embedded id does not match the session id. In the case of the preferences form, if the session id is not embedded, then the CGI parameters are cleared. This avoids a secondary attack where the link to the preferences form prefills password or other fields, and the user hits "submit" without noticing these prefilled values. In the case of the editpage form, the anonok plugin can allow anyone to edit, and so I chose not to guard against CSRF attacks against users who are not logged in. Otherwise, it also embeds the session id and checks it. For page editing, I assume that the user will notice if content or commit message is changed because of CGI parameters, and won't blndly hit save page. So I didn't block those CGI paramters. (It's even possible to use those CGI parameters, for good, not for evil, I guess..) The only other CSRF attack I can think of in ikiwiki involves the poll plugin. It's certianly possible to set up a link that causes the user to unknowingly vote in a poll. However, the poll plugin is not intended to be used for things that people would want to attack, since anyone can after all edit the poll page and fill in any values they like. So this "attack" is ignorable.
2008-04-03need to handle urls to images the sameJoey Hess
Also, simplified finding the url to the top of the site.
2008-04-03aggregate: Correct a mistake in the code that dummy up a guid for feeds ↵Joey Hess
lacking one.