aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* fix autofile callJoey Hess2010-04-17
|
* tag_autocreate fixupsJoey Hess2010-04-17
| | | | | Fix style of prompt. Optional to rebuild when it is changed. (Needed to get new all missing tags)
* document add_autofileJoey Hess2010-04-17
|
* refactor autofilesJoey Hess2010-04-17
| | | | | | 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.
* whitespaceJoey Hess2010-04-17
|
* Merge remote branch 'davrieb/autotag' into autotagJoey Hess2010-04-17
|\ | | | | | | | | | | Conflicts: IkiWiki.pm IkiWiki/Plugin/tag.pm
| * Make sure deleted tag pages don't get recreated.David Riebenbauer2010-04-03
| | | | | | | | | | | | | | | | 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.
| * Revert "Revert the effects of find_del_files() for (re)autoadded files."David Riebenbauer2010-04-03
| | | | | | | | This reverts commit 31680111f0062f07727d14fcf291c98978ad5a2f.
| * Check for existence off srcfile in add_autofileDavid Riebenbauer2010-04-03
| | | | | | | | | | | | | | | | | | 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.
| * fix bugs in `find_src_files()`.David Riebenbauer2010-02-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use `_` to avoid superfluous stat. Check for `defined $file`, instead of just `$file`. Add spaces after commas. Change return values of `verify_src_file()` to not return the tainted filename. Rename `$f` to `$file_untainted in `verify_src_file()`. $f changes to `$file` in `find_src_files()`. This attempts to fix commit f3abeac919c4736429bd3362af6edf51ede8e7fe. For discussion see <http://ikiwiki.info/todo/auto-create_tag_pages_according_to_a_template/>
| * Revert "Make srcfile() return undef, if the file isn't there."David Riebenbauer2010-02-03
| | | | | | | | This reverts commit 1bde208ec9b915db0187030c33450b5accb4892c.
| * fix typo in autotag.tmplDavid Riebenbauer2010-02-02
| |
| * Export add_autofile() for use in Plugins.David Riebenbauer2010-02-02
| |
| * Revert the effects of find_del_files() for (re)autoadded files.David Riebenbauer2010-02-02
| | | | | | | | | | This also means that if autoadded files are deleted they will just be recreated.
| * Use add_autofile() in tag.pmDavid Riebenbauer2010-02-02
| | | | | | | | to make the automatically created tagpages render.
| * Process files from @autofiles in refresh().David Riebenbauer2010-02-02
| | | | | | | | | | | | | | To make automatically added files render they have to be added to the $files, $pages, $new, and $changed variables. After that scan() is called on them.
| * Add a function add_autofiles().David Riebenbauer2010-02-02
| | | | | | | | | | | | | | | | 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.
| * Automatically create tag pages,David Riebenbauer2010-02-02
| | | | | | | | | | | | | | | | | | | | if "tag_autocreate=1" is set in the configuration. The pages will be created in tagbase, if and only if they do not exist in the srcdir yet. Tag pages will be create from "autotag.tmpl". At this stage a second refresh is needed for the tag pages to be rendered. Add autotag.tmpl template.
| * Code deduplication fin find_src_files()David Riebenbauer2010-02-02
| | | | | | | | | | This also has the advantage that I can use the resulting new function elsewhere.
| * Make srcfile() return undef, if the file isn't there.David Riebenbauer2010-02-02
| | | | | | | | | | This has the advantage that it's now possible to check for the existence of a sourcefile with that function.
* | few more suggestionsJoey Hess2010-04-17
| |
* | typoJoey Hess2010-04-17
| |
* | autoindex: Switch to using %wikistate instead of abusing $pagestate{index}.Joey Hess2010-04-17
| |
* | add list of compatability breaking changesJoey Hess2010-04-16
| |
* | remove note about needing --gettime; automatically run on first build nowJoey Hess2010-04-16
| |
* | squelch warningJoey Hess2010-04-16
| |
* | update changelogJoey Hess2010-04-16
| |
* | implement rcs_getmtime for svnJoey Hess2010-04-16
| | | | | | | | | | | | | | | | | | This is a slow implementation; it runs svn log once per file still, rather than running svn log once on the whole srcdir. I did it this way because in my experience, svn log, run on a directory, does not always list every change to files inside that directory. I don't know why, and I use svn as little as possible these days.
* | automatically run --gettime, and optimise it for gitJoey Hess2010-04-16
| | | | | | | | | | | | | | | | | | | | * Automatically run --gettime the first time ikiwiki is run on a given srcdir. * Optimise --gettime for git, so it's appropriatly screamingly fast. (This could be done for other backends too.) * However, --gettime for git no longer follows renames. * Use above to fix up timestamps on docwiki, as well as ensure that timestamps on basewiki files shipped in the deb are sane.
* | fix file, should be symlinkJoey Hess2010-04-16
| |
* | Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.infoJoey Hess2010-04-16
|\ \
| * | typoCord2010-04-16
| | |
| * | Proposal for tags/meta/field coalescinghttp://oblomov.myopenid.com/2010-04-16
| | |
| * | ... and indeed there is a better way to store ithttp://smcv.pseudorandom.co.uk/2010-04-16
| | |
| * | answer to clarification.David Riebenbauer2010-04-16
| | |
* | | --gettime revampJoey Hess2010-04-16
| | | | | | | | | | | | | | | | | | | | | | | | * Rename --getctime to --gettime. (The old name still works for backwards compatability.) * --gettime now also looks up last modification time. * Add rcs_getmtime to plugin API; currently only implemented for git.
* | | add mtime-to-git script to pull more correct mtimes out of gitJoey Hess2010-04-16
|/ /
* | clarify re %pagestate persistenceJoey Hess2010-04-16
| |
* | try to clarifyhttp://smcv.pseudorandom.co.uk/2010-04-16
| |
* | typoDavid Riebenbauer2010-04-16
| |
* | answer about the `%pagestate` of autopages.David Riebenbauer2010-04-16
| |
* | responsehttp://kerravonsen.dreamwidth.org/2010-04-16
| |
* | sidebar plugin optimisationsJoey Hess2010-04-15
| | | | | | | | | | | | | | | | | | The pagetemplate hook may be called multiple times, for example when pages are inlined into a page. Sidebars were being calculated each time that happened, only to be thrown away when the final pagetemplate hook was called. Avoid this unnecessary work. Remove stored sidebar content on use to save some memory.
* | Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.infoJoey Hess2010-04-15
|\ \
| * | slight clarificationhttp://smcv.pseudorandom.co.uk/2010-04-15
| | |
| * | some comments about this and autoindexhttp://smcv.pseudorandom.co.uk/2010-04-15
| | |
* | | calendar: Improved display of arrows.Joey Hess2010-04-15
|/ /
* | reduce borderJoey Hess2010-04-15
| |
* | update name of libsparkline-phpJoey Hess2010-04-15
| |
* | calendarmonth.tmpl: The month calendar is now put in a sidebar.Joey Hess2010-04-15
| |