summaryrefslogtreecommitdiff
path: root/IkiWiki
AgeCommit message (Collapse)Author
2009-09-29typoJoey Hess
2009-09-28toggle, relativedate: Support templates that add attributes to the body tag.Joey Hess
2009-09-27img: Fix dependency code for full size images.Joey Hess
I had assumed that an image shown full size did not need add_depends, since a change would not need a change to the displaying page. But this is not true if the image is modified and its size changes. Then the page needs to update its img tag to reflect the current size.
2009-09-27img: Correct bug in image size calculation code.Joey Hess
If an image was resized smaller, with width and height specified to values that did not fit its aspect ratio, the image tag with/height were not adjusted to the actual size imagemagick chooses. This was broken by 03449610d6c666ba24bea68f01d896613e522278. To fix it right, it unfortunatly needs to always read the src image now, in order to determine if the image is being displayed larger, or resized smaller. When resized smaller, it then always uses the size of the thumbnail, while for larger it calculates the size. (Only way to get rid of this sometimes extra image read would be to change it to not allow displaying images larger.)
2009-09-27parentlinks: Add has_parentlinks template parameter to allow styling the ↵Joey Hess
toplevel index differently etc.
2009-09-23otl: Avoid globally filtering non-otl pagesJoey Hess
Through a complex chain of circumstances, that filtering was causing dumpsetup to trigger undefined warning messages from the po plugin. But anyway, munging the otl in htmlize is less error-prone and less expensive, a win all around.
2009-09-23avoid ugly messages when running ikiwiki -setup on a *directory*Joey Hess
2009-09-23auto.setup, auto-blog.setup: Fix sanitization of entered wikiname. Closes: ↵Joey Hess
#547378
2009-09-13avoid tempfile warningJoey Hess
Allow tempfile to open the file, so it doesn't warn about possible insecurity. This probably fixes a real, but unlikely security hole too.
2009-09-12remove cgi exclusionJoey Hess
Note that a typical use of this plugin is for a static site, w/o cgi support enabled.
2009-09-11got rid of the postrefresh hook after allJoey Hess
Instead, use the change and delete hooks, and launch rsync if either hook is called.
2009-09-11doc update, add --exclude ikiwiki.cgi to examplesJoey Hess
2009-09-11localize user-visible warnings and tack on missing newlinesJoey Hess
2009-09-11Merge commit 'schmonz/master'Joey Hess
Conflicts: IkiWiki/Plugin/rsync.pm
2009-09-11chdir to the destdir before running rsyncJoey Hess
Avoids needing to specify the path in the rsync command, can just use "."
2009-09-11remove unixauth; I am only adding render at the momentJoey Hess
yeah, you need branches :P
2009-09-11Don't error out, either warn or say nothing, depending.Amitai Schlair
2009-09-11Whoops, copyright 2009. /usr/bin/perl for the interpreter like other plugins.Amitai Schlair
2009-09-10Revivify unixauth and rsync plugins (and hook needed by rsync) lost inAmitai Schlair
the last merge. I should really put each feature on its own git branch.
2009-09-10Merge commit 'schmonz/master'Joey Hess
2009-09-10Add NetBSD-style 2-clause BSD license.Amitai Schlair
2009-09-10remove hook not used by cvsJoey Hess
2009-09-10formattingJoey Hess
2009-09-10minor simplificationJoey Hess
2009-09-10Merge commit 'schmonz/master' into cvsJoey Hess
2009-09-10Merge branch 'master' into cvsJoey Hess
2009-09-10clean up use of IkiWiki::ReceiveJoey Hess
Loading and use of IkiWiki::Receive can all be pushed into the git plugin, rather than scattered around. I had at first wanted to make a receive plugin and move it there, but a plugin was not a good fit; you don't want users to have to manually load it, and making the git plugin load the receive plugin at the right times would need more, and ugly code.
2009-09-10Catch up to the new genwrapper hook.Amitai Schlair
2009-09-10Merge branch 'master' of git://github.com/joeyh/ikiwikiAmitai Schlair
2009-09-10Add genwrapper hook, that can be used to add code into the C wrapper.Joey Hess
2009-09-10typoJoey Hess
2009-09-10Merge commit 'schmonz/master' into cvsJoey Hess
2009-09-10Merge branch 'master' into cvsJoey Hess
2009-09-10CVS operations generally need to be within CVS checkouts, so these chdir()Amitai Schlair
calls are warranted. They shouldn't modify the caller's working directory, though. Use File::chdir to keep the scope of the changes subroutine-local. The tests now pass without resetting the working directory.
2009-09-09Abstract out CVS's involvement in the wrapper:Amitai Schlair
* In Wrapper.pm, add a new hook "wrapperargcheck" to examine argc/argv and return success or failure. In the failure case, the wrapper terminates. * In cvs.pm, implement the new hook to return failure if a directory is being cvs added.
2009-09-09Merge branch 'master' of git://github.com/joeyh/ikiwikiAmitai Schlair
2009-09-08underlay: Also allow configuring additional directories to search for ↵Joey Hess
template files in.
2009-09-08Expand banned_users; it can now include PageSpecs, which allows banning by ↵Joey Hess
IP address.
2009-09-04Merge commit 'schmonz/master' into cvsJoey Hess
Conflicts: IkiWiki/Plugin/cvs.pm
2009-09-04It's STDOUT we have to shut up for cvs, and $savedout has to beAmitai Schlair
restored just so.
2009-09-04Stop using IPC::Cmd and String::ShellQuote, since quoting (andAmitai Schlair
having to quote, and the possible use of the shell) sucks. Stop passing args to cvs_runcvs() as an arrayref, since that also sucks (and was a sop to IPC::Cmd). Instead, use Joey's construction for temporarily redirecting stderr to /dev/null. Much much simpler and better. Works on my laptop with bozohttpd, now to test on the NetBSD wiki.
2009-09-02minor formattingJoey Hess
2009-09-02remove two plugins that are unrelated to cvsJoey Hess
2009-08-30whitespaceAmitai Schlair
2009-08-30Merge branch 'master' of git://github.com/joeyh/ikiwikiAmitai Schlair
2009-08-30On some systems the commit message gets quoted properly already. Don'tAmitai Schlair
requote in such cases, do quote in all others.
2009-08-30Revert "po: do not inject custom bestlink function when po_link_to eq default"Joey Hess
This reverts commit cdc3576c8d1efb2593cac2d9da3f2393a2afe26e. Conflicts: IkiWiki/Plugin/po.pm This change broke the test suite and is not strictly necessary.
2009-08-30Fix uninitialized value when editing a page being vivified from theAmitai Schlair
basewiki. Makes the filetype-testing logic more explicit anyway.
2009-08-30Merge branch 'master' of git://github.com/joeyh/ikiwikiAmitai Schlair
2009-08-30Only examine argv if the VCS is cvs.Amitai Schlair