aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
Commit message (Expand)AuthorAge
* formatting etcJoey Hess2008-07-16
* Merge commit 'intrigeri/pedigree'Joey Hess2008-07-16
|\
| * pedigree rename to parentlinks: rename/adapt everything•••* Renamed to parentlinks every single variable or function called pedigree * Removed the parentlinks function from Render.pm * Enabled the new parentlinks plugin by default * Adapted testsuite and documentation to reflate the above facts Signed-off-by: intrigeri <intrigeri@boum.org> intrigeri2008-07-15
| * pedigree rename to parentlinks: renamed files, to start with•••Signed-off-by: intrigeri <intrigeri@boum.org> intrigeri2008-07-15
| * pedigree: rewrote with different design•••(and updated testsuite + docs accordingly) Signed-off-by: intrigeri <intrigeri@boum.org> intrigeri2008-07-15
| * pedigree: added DISTANCE loop variable•••Signed-off-by: intrigeri <intrigeri@boum.org> intrigeri2008-07-14
| * pedigree: fix RELDEPTH in PEDIGREE_BUT_ROOT...•••... at least when it's not used in the same template as PEDIGREE_BUT_TWO_OLDEST (see Known bugs section in pedigree.mdwn for details) Signed-off-by: intrigeri <intrigeri@boum.org> intrigeri2008-07-14
| * pedigree: added _but_root & _but_two_oldest loops•••... after having learned a bit of Perl, knocked my head against Perl references and arrays of hashes, tried to use some nice functionnal programming constructs - no success - to make things more generic... I'm back to the roots, with this simple code :) Signed-off-by: intrigeri <intrigeri@boum.org> intrigeri2008-07-13
| * pedigree: fixed misc bugs•••Signed-off-by: intrigeri <intrigeri@boum.org> intrigeri2008-07-13
| * added new plugin: pedigree•••Signed-off-by: intrigeri <intrigeri@boum.org> intrigeri2008-07-13
* | fixesJoey Hess2008-07-14
* | use prune to delete rendered files•••This handles deleting empty directories too. Joey Hess2008-07-14
* | Fix aggregateinternal migration so it skips expired entries, and deletes outputSimon McVittie2008-07-15
* | Merge commit 'smcv/aggregateinternal' into aggregateinternal•••Conflicts: IkiWiki/Plugin/aggregate.pm Joey Hess2008-07-14
|\ \
| * | Use _aggregated as extension for internalized aggregationSimon McVittie2008-07-15
* | | changes to debug message printingJoey Hess2008-07-14
|/ /
* | Add aggregateinternal mode to ikiwiki-transition.•••Usage: 1. Update all pagespecs that use aggregated pages to use internal() 2. ikiwiki-transition aggregateinternal $srcdir $htmlext (where $srcdir and $htmlext are the srcdir and htmlext options in your .setup file) 3. Add aggregateinternal to your .setup file 4. Rebuild the wiki Simon McVittie2008-07-14
* | Merge commit 'origin/master' into aggregateinternalSimon McVittie2008-07-14
|\ \
| * | switch preprocess hooks to use error functionJoey Hess2008-07-13
| |/
| * avoid hardlinking files owned by others•••If hardlinks are enabled, it would hardlink files from the underlay. That was sorta annoying if you tried to edit by hand for some reason, so let's not. Files that are hardlinked should be rare enough that a few extra stats won't hurt. Joey Hess2008-07-12
| * only htmlize errors when cgi is actually runningJoey Hess2008-07-12
| * convert fatal error to warning•••Since perlmagick is not a hard dep, and goodstuff is enabled by default, imgs should not crash builds Joey Hess2008-07-12
| * Add missing requirement of IkiWiki::render before starting to render thingsSimon McVittie2008-07-12
* | Make aggregated items be internal pages if --aggregateinternal is used.•••This addresses <http://ikiwiki.info/todo/aggregate_to_internal_pages/> in a simple way. With this approach, a flag day is required, on which all users of aggregated pages start to inline them using the internal() pagespec; after that, the aggregateinternal option can safely be switched on in the setup file (and the old aggregated pages can be deleted by hand). Simon McVittie2008-07-12
|/
* Stop prepending urn:uuid: to guids that look like UUIDsSimon McVittie2008-07-12
* Rename [[!inline atomid="..."]] to [[!inline guid="..."]] to be consistent wi...Simon McVittie2008-07-12
* Accept [[!inline ... atomid="..."]] and use it to populate the feed's Atom <id>.•••This is often the same as the feed's <link> (in which case it can be omitted) but sometimes it's a urn:uuid: URN instead. Simon McVittie2008-07-12
* Merge commit 'smcv/master'Joey Hess2008-07-12
|\
| * Bug fix: use &IkiWiki::pagetitle rather than nonexistent &pagetitle in meta p...Simon McVittie2008-07-12
* | Move yesno function out of inline and into IkiWiki core, not exported.Joey Hess2008-07-12
|/
* rename uuid to guidJoey Hess2008-07-12
* elide temp varJoey Hess2008-07-12
* meta plugin: if uuid looks like it is in fact a UUID, prepend "urn:uuid" (oth...Simon McVittie2008-07-11
* inline plugin: if meta plugin is also enabled, and has collected a uuid for a...Simon McVittie2008-07-11
* meta plugin: also collect [[!meta uuid="..."]]Simon McVittie2008-07-11
* rename beautify_url to stress it only works on the path componentJoey Hess2008-07-11
* beautify url recentchanges_link redirs to•••This ensures that the same link is reached as is used on pages, so browsers will know that the link on pages has been visited, and color it appropriately. Joey Hess2008-07-11
* fix use ordering•••The recent setup revamp exposed some latent bugs in use/package ordering that caused some symbols to not the exported into the correct scope. Joey Hess2008-07-11
* whitespaceJoey Hess2008-07-11
* Fixes creation of pages when clicking on WikiLinks starting with "/".Joey Hess2008-07-10
* template: Add support for a BASENAME variable.Joey Hess2008-07-10
* work around CGI::Session constructor issues•••The constructor can fail with a useless error message if module fail to load. Work around this by evaling it, and checking for failures, and printing CGI::Session->errstr to get a more useful message. Joey Hess2008-07-10
* clarifications, commentsJoey Hess2008-07-09
* Make it possible to load setup files w/o running them. Code needing to do so ...Joey Hess2008-07-09
* improve error message if virus checker fails w/o outputJoey Hess2008-07-09
* otl: Support utf-8 files. (Recai Oktaş)Joey Hess2008-07-08
* attachment: Support perl 5.8's buggy version of CGI.pm.•••This is truely horribly disgusting. CGI::tmpFileName, in current perls, is an undocumented function (which should be a clue..) that takes the original filename of an uploaded attachment, and returns the name of the tempfile that CGI has stored it in. In old perls, though, CGI::tmpFileName does not take a filename. It takes a key from the object's {'.tmpfiles'} hash. This key is something crazy like '*Fh::fh00001group' -- apparently the stringification of a filehandle object. Just to add to the fun, tmpFileName doesn't take the key, it expects a refernce to the key. Argh?! But the fun doesn't stop there, because in perl 5.8, CGI.pm is also broken in two other ways. The upload() method is supposed to return a filehandle to the temp file. It doesn't. The param() method is supposed to return a filehandle to the temp file, that stringifies to the original filename. It returns just the original filename, no filehandle. Combine all these bugs, and you end up with this disgusting commit. Since I have no way to get the filehandle, I *need* to get the tempfile name. If I had the filehandle, I could probably pass it into tmpFileName, and it might strigify to the right key name. But I don't, so the only way to determine the key is to grub through the .tmpfiles hash ourselves. And finally, one the temp file name is discovered, a filehandle can finally be obtained by (re)opening it. I recommend that this commit be reverted when perl 5.8 is a mercifully faded memory. I'm really, really, really glad I'm actually being paid for working on this right now! Joey Hess2008-07-08
* explicitly set form type to multipart•••This is the default in unstable's formbuilder, but not in stable's, and CGI multipart is needed for fule uploads. Joey Hess2008-07-08
* check for tempfile being emptyJoey Hess2008-07-08
* undef $fh before openingJoey Hess2008-07-08