aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
Commit message (Expand)AuthorAge
* 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 Hess2010-03-09
* Add new --clean option; this makes ikiwiki remove all built files in the dest...Joey Hess2010-02-28
* Fix admin openid detection in setup automator, and avoid prompting for a pass...Joey Hess2010-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 Hess2010-02-27
* catch failure to open the filetypes fileJoey Hess2010-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 Hess2010-02-14
* minor refactor/optimisationJoey Hess2010-02-14
* setup file orderingJoey Hess2010-02-12
* add section informationJoey Hess2010-02-12
* formatting sillynessJoey Hess2010-02-12
* remove unnecessary IkiWiki::Joey Hess2010-02-12
* bordersJoey Hess2010-02-12
* format plugin categorizationJoey Hess2010-02-12
* add plugin section, and show which plugins need no configurationJoey Hess2010-02-12
* rewordJoey Hess2010-02-12
* improve websetup fieldset display•••to handle sections Joey Hess2010-02-12
* fix websetup display of unsafe arrays in expert modeJoey Hess2010-02-11
* Group related plugins into sections in the setup file, and drop unused rcs pl...Joey Hess2010-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 Hess2010-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 Hess2010-02-11
* fix logic errorJoey Hess2010-02-11
* httpauth: Add httpauth_pagespec setting that can be used to limit pages to on...Joey Hess2010-02-11
* httpauth: When cgiauthurl is configured, httpauth can now be used alongside o...Joey Hess2010-02-11
* patch so farJoey Hess2010-02-11
* amazon_s3: Fix to support the EU S3 datacenter, which is more picky about att...Joey Hess2010-02-09
* Fix color and format plugins to appear in the websetup interface.Joey Hess2010-02-06
* opendiscussion: This plugin will also now allow posting comments•••to otherwise locked-down sites. Joey Hess2010-02-06
* ensure opendiscussion hook is always called before lockedit•••This was only ordered ok due to luck before. Joey Hess2010-02-06
* revert accidental code changeJoey Hess2010-02-05
* responseJoey Hess2010-02-05
* factor out a userpage function•••Not yet exported, as only 4 quite core plugins use it. Joey Hess2010-02-04
* Add link to userpage (or creation link) to top of preferences page.Joey Hess2010-02-04
* typoJoey Hess2010-02-04
* Improve display of openid in preferences page.•••Now that openiduser is in IkiWiki core, it's ok to have passwordauth check for it, and avoid displaying useless password fields when showing preferences for an openid. Also improved the styling of the display of the openid in the preferneces page. Joey Hess2010-02-04
* Allow jumping directly into account registration process by going to ikiwiki...Joey Hess2010-02-04
* setup automator: Configure Term::Readline to use bold for prompt, rather than...Joey Hess2010-02-01
* img: Fix a bug that could taint @links with undef values.Joey Hess2010-01-28
* template: Preprocess parameters before htmlizing.•••Consider a template like: [[!template type=note text=""" [[!inline pages="*foo*"]] """]] The text parameter is htmlized before being passed into the template (in case the template wraps it in a <span> that prevents markdown from htmlizing it later). But, when markdown sees "*foo*", it turns that into <em>foo</em>. Later, when preprocessing the inline directive, that leads to suprising results. To fix this, I made template parameters be preprocessed (and filtered) before being htmlized. Note that I left in the preprocessing (and filtering) of the template output at the end. That's still relevant when the template itself contains preprocessor directives. Joey Hess2010-01-26
* po: avoid crash when page is empty•••Note that there is an associated po4a warning when a page is empty: Use of uninitialized value $file in substitution (s///) at /usr/share/perl5/Locale/Po4a/Text.pm line 205. I've filed a bug with po4a about that, but the important thing is fixing the crash here. Joey Hess2010-01-21
* handle git-notes breakage•••The new git-notes feature in git 1.6.6 changes git log output in a way that broke ikiwiki's parser if notes are added to commits. I decided to deal with this by disabling notes when ikiwiki uses git, by setting GIT_NOTES_REF="". AFAICS, looking up notes when dumping logs will only waste time, since it does not currently seem to make sense for ikiwiki to do anything with the notes. Joey Hess2010-01-19
* brace style and layoutJoey Hess2010-01-18
* brace styleJoey Hess2010-01-18
* clarify errorJoey Hess2010-01-18
* typosJoey Hess2010-01-18
* linkmap: Simplify and improve browser compatability by using an img, not obj...•••I noticed that chromium was not hyperlinking the areas in the object-based linkmap, while img works ok. Dunno why, but img based is nicer anyway since it is allowed right through the htmlscrubber with no workarounds. Joey Hess2010-01-09
* websetup: Fix bug in array change detection.Joey Hess2010-01-09
* websetup: Fix utf-8 problems.Joey Hess2010-01-09
* make decode_form_utf8 safe for arraysJoey Hess2010-01-09
* only use css alignment stuff for table•••This way users can use all the other alignment values when not including a caption. Also, it will work without the standard style, and I don't have to worry about regressions this way. Joey Hess2010-01-07
* img: remove special case handling of link=yes•••Only exists as an undocumented backwards compatability hack. Joey Hess2010-01-07