| Commit message (Expand) | Author | Age |
* | filecheck: Fix bug that prevented the pagespecs from matching when not called... | Joey Hess | 2010-03-25 |
* | remove a few leftover manual folding indicators | Joey Hess | 2010-03-25 |
* | fix unicode with YAML::Syck•••Syck-- it doesn't use unicode by default?! Hello, 2010 calling..
| Joey Hess | 2010-03-24 |
* | use perl YAML for dumping•••Only it understands $YAML::UseHeader
| Joey Hess | 2010-03-24 |
* | fix back-compat with old Net::OpenID•••Debian stable's Net::OpenID does not support getting extension fields.
| Joey Hess | 2010-03-24 |
* | fall back from YAML::Any to just YAML•••for portabilty to old YAML in Debian stable that lacks the former.
| Joey Hess | 2010-03-24 |
* | use YAML::Any to allow faster versions to be used if available | Joey Hess | 2010-03-24 |
* | reset setuptype first, actually•••so setup file can override default
| Joey Hess | 2010-03-21 |
* | check for 'require' instead of 'use' | Joey Hess | 2010-03-21 |
* | reset setuptype to standard after an automator setup file is loaded•••so a standard file is generated (by default)
| Joey Hess | 2010-03-21 |
* | fix newlines in commented defaults | Joey Hess | 2010-03-19 |
* | load YAML on demand•••so as not to break test suite if YAML is not avilable
| Joey Hess | 2010-03-19 |
* | shorten setuptype | Joey Hess | 2010-03-19 |
* | Add support for setup files written in YAML.•••Not the default. (Yet?)
| Joey Hess | 2010-03-19 |
* | parameterized indent | Joey Hess | 2010-03-19 |
* | improve comments | Joey Hess | 2010-03-19 |
* | move generic comment into IkiWiki::Setup | Joey Hess | 2010-03-19 |
* | factored out generic commented line dumping | Joey Hess | 2010-03-19 |
* | whitespace | Joey Hess | 2010-03-19 |
* | allow multiple setup file types, and support safe parsing•••Finally removed the last hardcoding of IkiWiki::Setup::Standard.
Take the first "IkiWiki::Setup::*" in the setup file to define the
setuptype, and remember that type to use in dumping later. (But it can be
overridden using --set, etc.)
Also, support setup file types that are not evaled.
| Joey Hess | 2010-03-19 |
* | audited use POSIX•••The POSIX perl module exports a huge number of functions by default, so
make sure all imports are qualified. (And remove one that was not
necessary.)
| Joey Hess | 2010-03-19 |
* | Allow wrappers to be built using tcc. | Joey Hess | 2010-03-18 |
* | C warning cleanup | Joey Hess | 2010-03-18 |
* | openid: Use Openid Simple Registration or OpenID Attribute Exchange to get th...•••The info is stored in the session database, not the user database.
There should be no reason to need it when a user is not logged in.
Also, hide the email field in the preferences page for openid users.
Note that the email and username are not yet actually used for anything.
The email will be useful for gravatar, while the username might be used
for a more pretty display of the openid.
| Joey Hess | 2010-03-13 |
* | websetup: Add websetup_unsafe to allow marking other settings as unsafe. | Joey Hess | 2010-03-13 |
* | typo | Joey Hess | 2010-03-12 |
* | htmlscrubber: Security fix: In data:image/* uris, only allow a few whiteliste... | Joey Hess | 2010-03-12 |
* | search: Avoid '$' in the wikiname appearing unescaped on omega's query templa...•••Really, a more general fix, this deals with any $ that might appear on the
misctemplate.
| Joey Hess | 2010-03-11 |
* | moderatedcomments: Added moderate_pagespec•••* moderatedcomments: Added moderate_pagespec that can be used
to control which users or comment locations are moderated.
This can be used, just for example, to moderate http://myopenid.com/*
if you're getting a lot of spammers from one particular openid
provider (who should perhaps answer your emails about them),
while not moderating other users.
* moderatedcomments: The moderate_users setting is deprecated. Instead,
set moderate_pagespec to "!admin()" or "user(*)" instead.
| Joey Hess | 2010-03-11 |
* | typo | Joey Hess | 2010-03-09 |
* | Fix utf8 issues in calls to md5_hex.•••This prevented comments containing some utf-8, including euro sign, from
being submitted. Since md5_hex is a C implementation, the string has to be
converted from perl's internal encoding to utf-8 when it is called. Some
utf-8 happened to work before, apparently by accident.
Note that this will change the checksums returned.
unique_comment_location is only used when posting comments, so the checksum
does not need to be stable there.
I only changed page_to_id for completeness; it is passed a comment page
name, and they can currently never contain utf-8.
In teximg, the bug could perhaps be triggered if the tex source contained
utf-8. If that happens, the checksum will change, and some extra work might
be performed on upgrade to rebuild the image.
| Joey Hess | 2010-03-09 |
* | Add new --clean option; this makes ikiwiki remove all built files in the dest... | Joey Hess | 2010-02-28 |
* | Fix admin openid detection in setup automator, and avoid prompting for a pass... | Joey Hess | 2010-02-27 |
* | Add force_overwrite setting to make setup automator overwrite existing files/...•••This can be useful if you're driving the setup automator from another
program.
| Joey Hess | 2010-02-27 |
* | catch failure to open the filetypes file | Joey Hess | 2010-02-24 |
* | comments: Display number of comments in comment action link.•••This was not doable before, but when I added transitive dependency handling
in the big dependency rewrite, it became possible to include a comment
count when inlining.
This also improves the action link when a page has no comments. It will
link direct to the cgi to allow posting the first comment. And if the page
is locked to prevent posting new comments, the link is no longer shown.
| Joey Hess | 2010-02-14 |
* | minor refactor/optimisation | Joey Hess | 2010-02-14 |
* | setup file ordering | Joey Hess | 2010-02-12 |
* | add section information | Joey Hess | 2010-02-12 |
* | formatting sillyness | Joey Hess | 2010-02-12 |
* | remove unnecessary IkiWiki:: | Joey Hess | 2010-02-12 |
* | borders | Joey Hess | 2010-02-12 |
* | format plugin categorization | Joey Hess | 2010-02-12 |
* | add plugin section, and show which plugins need no configuration | Joey Hess | 2010-02-12 |
* | reword | Joey Hess | 2010-02-12 |
* | improve websetup fieldset display•••to handle sections
| Joey Hess | 2010-02-12 |
* | fix websetup display of unsafe arrays in expert mode | Joey Hess | 2010-02-11 |
* | Group related plugins into sections in the setup file, and drop unused rcs pl... | Joey Hess | 2010-02-11 |
* | reorder canedit checks during page creation to have best_loc first•••When creating a page, multiple locations are tested to see if they can be
edited. If all fail, one of the failure subs is called, to log the user in
to allow them to proceed with the edit. So far so good.
But, what if some pages fail for one reason, and some for another? This
occurs when httpauth_pagespec is used in conjunction with signinedit (and
openid or something). When the user is not signed in at all
The former will fail to edit a page because the user was not httpauthed.
The latter will fail to edit a different page, because the user was not
signed in. One of their failure methods gets to run first.
The page creation code always ran the failure method corresponding to the
topmost page location. So, when editing a foo/Discussion page, and with
httpauth_pagespec => "*!/Discussion", it ran the httpauth failure method,
which was exactly the wrong thing to do.
I fixed this by making it instead run the failure method for the *best*
page location. In the above example, that's foo/Discussion, so signinedit
runs, as desired, and we get the signin page.
This seems like it will be the right choice, or at least an acceptable
choice. If a user wants to use httpauth they can always choose it on the
signin page.
| Joey Hess | 2010-02-11 |
* | partially fix httpauth canedit hook•••My logic was right before. Cleaned up some code.
(Page creation is still a problem.)
Also, I removed the Edit url munging, because that is not
necessary with the canedit hook, since canedit will handle
redirection through cgiauthurl if necessary.
| Joey Hess | 2010-02-11 |