aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki.pm
Commit message (Expand)AuthorAge
* Fix a bug that prevented matching deleted comments, and so did not update pag...•••Problem is that by the time rendering calls render_dependent, %pagesources has had deleted files removed from it. So match_comment's lookup of files in there to see if they had the _comment extension failed. I had to introduce a hash that temporarily holds filenames of deleted pages to fix this. Note that unlike comment(), internal() had avoided this pitfall by being defined to match both internal and non-internal pages. Joey Hess2010-05-18
* allow misctemplate callers to pass params to suppress actions etc•••Suppress disiplay of small search for on search results page, and of Prefrences link on prefs page. Joey Hess2010-05-14
* refactor template actionsJoey Hess2010-05-14
* enable action bar on misctemplates•••So RecentChanges shows on the action bar there, convert recentchanges to use new pageactions hook, with compatability code to avoid breaking old templates. Joey Hess2010-05-14
* Use xhtml friendly pubdate setting.Joey Hess2010-05-08
* fix undef warning when page() tests a deleted fileJoey Hess2010-05-07
* fix param passing to match_globJoey Hess2010-05-06
* move meat of type checking to match_page where it belongsJoey Hess2010-05-06
* refactorJoey Hess2010-05-05
* rename ispage variableJoey Hess2010-05-05
* remove unused indexlink function and template variableJoey Hess2010-05-05
* remove misc.tmpl checking•••Turns out that users with a modified page.tmpl need to modify it on upgrade, at least to add the FORCEBASEURL (so edit preview works), so there is no point in trying to retain compatability. Joey Hess2010-05-05
* allow search form visibility to be controlled on the template•••hide extrafooter from misctemplate display per default Joey Hess2010-05-05
* no more misc.tmpl•••* Removed misc.tmpl. Now to theme ikiwiki, you only need to customise a single template, page.tmpl. * misc.tmpl will, however, still be read if a locally modified version exists. This is to avoid forcing users to update page.tmpl right now. Joey Hess2010-05-05
* Add parameter to displaytime to specify that it is a pubdate, and in html5 mo...Joey Hess2010-05-02
* set html5 option as advanced for nowJoey Hess2010-05-01
* html5 option•••* Ikiwiki can be configured to generate html5 instead of the default xhtml 1.0. The html5 output mode is experimental, not yet fully standards compliant, and will be subject to rapid change. Joey Hess2010-05-01
* no need to use HTML::Entities•••That module is unused now. Long long ago, it used to be used to encode data in the index. Checked all modules, and every module that uses it imports it. Joey Hess2010-04-30
* TMPL_INCLUDE re-enabled for templates read from the templatedir. (But not in-...Joey Hess2010-04-28
* Add page() PageSpec, which is like glob() but matches only pages, not other ...Joey Hess2010-04-26
* Fix removal of rendered files in rebuild mode.•••Needed to handle the move of the .js files into ikiwiki/, but also this is a longstanding bug. Old pagemtime is not remembered in rebuild mode, and changing that would need a lot of changes. So instead, loop on pagectime, which is remembered. Change to remembering old pagesources info in rebuild mode. This seems safe enough. Joey Hess2010-04-26
* reword templatedir descriptionJoey Hess2010-04-24
* add support for mass dependencies•••Registered by passing "" as page name to add_depends. Joey Hess2010-04-24
* bugfixJoey Hess2010-04-24
* template() - return params in list context•••I forgot CGI::Formbuilder's horrible interface that needs template parameters instead of a constructed object. Joey Hess2010-04-24
* bugfixJoey Hess2010-04-24
* fix return of tpageJoey Hess2010-04-23
* allow template pages to not be under templates/Joey Hess2010-04-23
* allow a bare page name to be specified as a templateJoey Hess2010-04-23
* refactor to remove template_params•••template_file will be kept separate, since it needs to be memoized Joey Hess2010-04-22
* look for templates in srcdir and underlays, first•••This entailed changing template_params; it no longer takes the template filename as its first parameter. Add template_depends to api and replace calls to template() with template_depends() in appropriate places, where a dependency should be added on the template. Other plugins don't use template(), so will need further work. Also, includes are disabled for security. Enabling includes only when using templates from the templatedir would be nice, but would add a lot of complexity to the implementation. Joey Hess2010-04-22
* remove add_templates option•••Templates are moving into the srcdir, and will also be searched for in configured underlays, so this is redundant. Joey Hess2010-04-22
* only remove page from influences when influences are not static•••This matches what add_depends done Joey Hess2010-04-22
* Merge branch 'autotag'Joey Hess2010-04-22
|\
| * Merge branch 'master' into autotag•••Conflicts: IkiWiki/Plugin/tag.pm Joey Hess2010-04-21
| |\
| * \ Merge branch 'master' into autotagJoey Hess2010-04-21
| |\ \
| * \ \ Merge branch 'master' into autotagJoey Hess2010-04-20
| |\ \ \
| * | | | refactor autofiles•••Made add_autofile take a generator function, and just register the autofile, for later possible creation. The testing is moved into Render, which allows cleaning up some stuff. Joey Hess2010-04-17
| * | | | whitespaceJoey Hess2010-04-17
| * | | | Merge remote branch 'davrieb/autotag' into autotag•••Conflicts: IkiWiki.pm IkiWiki/Plugin/tag.pm Joey Hess2010-04-17
| |\ \ \ \
| | * | | | Make sure deleted tag pages don't get recreated.•••The reason to do this is basically a user interaction design decision. It is achieved by adding an entry, associated to the creating plugin, to %pagestate. To find out if files were deleted a new global hash %del_hash is %introduced. David Riebenbauer2010-04-03
| | * | | | Revert "Revert the effects of find_del_files() for (re)autoadded files."•••This reverts commit 31680111f0062f07727d14fcf291c98978ad5a2f. David Riebenbauer2010-04-03
| | * | | | Check for existence off srcfile in add_autofile•••add_autofile has to have checks, whether to create the file, anyway, so this will make things more consistent. Correcter check for the result of verify_src_file(). Cosmetic rename of a variable $addfile to $autofile. David Riebenbauer2010-04-03
| | * | | | Revert "Make srcfile() return undef, if the file isn't there."•••This reverts commit 1bde208ec9b915db0187030c33450b5accb4892c. David Riebenbauer2010-02-03
| | * | | | Export add_autofile() for use in Plugins.David Riebenbauer2010-02-02
| | * | | | Revert the effects of find_del_files() for (re)autoadded files.•••This also means that if autoadded files are deleted they will just be recreated. David Riebenbauer2010-02-02
| | * | | | Add a function add_autofiles().•••The objective is to provide a sensible way to let plugins add files during the "scan stage" of the build. Currently does a little verification and adds the file to the global array @add_autofiles. David Riebenbauer2010-02-02
| | * | | | Make srcfile() return undef, if the file isn't there.•••This has the advantage that it's now possible to check for the existence of a sourcefile with that function. David Riebenbauer2010-02-02
* | | | | | improved fix for depends_simple_mixup•••Avoid adding the page matched against as an influence for currently failing pagespec matches, while still adding any other influences. This avoids bloating depends_simple with lots of bogus influences when matching eg, "!link(done)". It's only necessary for the page being tested to be an influence of that if the page matches. Joey Hess2010-04-22
* | | | | | indentJoey Hess2010-04-21
| |_|_|_|/ |/| | | |