| Commit message (Expand) | Author | Age |
... | |
| * | | | | | | | fix autofile call | Joey Hess | 2010-04-17 |
| * | | | | | | | tag_autocreate fixups•••Fix style of prompt.
Optional to rebuild when it is changed. (Needed to get new all missing tags)
| Joey Hess | 2010-04-17 |
| * | | | | | | | document add_autofile | Joey Hess | 2010-04-17 |
| * | | | | | | | 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 Hess | 2010-04-17 |
| * | | | | | | | whitespace | Joey Hess | 2010-04-17 |
| * | | | | | | | Merge remote branch 'davrieb/autotag' into autotag•••Conflicts:
IkiWiki.pm
IkiWiki/Plugin/tag.pm
| Joey Hess | 2010-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 Riebenbauer | 2010-04-03 |
| | * | | | | | | | Revert "Revert the effects of find_del_files() for (re)autoadded files."•••This reverts commit 31680111f0062f07727d14fcf291c98978ad5a2f.
| David Riebenbauer | 2010-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 Riebenbauer | 2010-04-03 |
| | * | | | | | | | fix bugs in `find_src_files()`.•••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/>
| David Riebenbauer | 2010-02-03 |
| | * | | | | | | | Revert "Make srcfile() return undef, if the file isn't there."•••This reverts commit 1bde208ec9b915db0187030c33450b5accb4892c.
| David Riebenbauer | 2010-02-03 |
| | * | | | | | | | fix typo in autotag.tmpl | David Riebenbauer | 2010-02-02 |
| | * | | | | | | | Export add_autofile() for use in Plugins. | David Riebenbauer | 2010-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 Riebenbauer | 2010-02-02 |
| | * | | | | | | | Use add_autofile() in tag.pm•••to make the automatically created tagpages render.
| David Riebenbauer | 2010-02-02 |
| | * | | | | | | | Process files from @autofiles in refresh().•••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.
| David Riebenbauer | 2010-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 Riebenbauer | 2010-02-02 |
| | * | | | | | | | Automatically create tag pages,•••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.
| David Riebenbauer | 2010-02-02 |
| | * | | | | | | | Code deduplication fin find_src_files()•••This also has the advantage that I can use the resulting new function
elsewhere.
| David Riebenbauer | 2010-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 Riebenbauer | 2010-02-02 |
* | | | | | | | | | force rebuild from pre 20100422•••to ensure those wrong massive depends_simple don't linger on systems that
rebuilt for the other reasons already
| Joey Hess | 2010-04-22 |
* | | | | | | | | | note that the new version will have some optimisation fixes | Joey Hess | 2010-04-22 |
* | | | | | | | | | 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 Hess | 2010-04-22 |
* | | | | | | | | | add influence info for failed metadata matches•••This is needed so that when a negated pagespec like "!author(foo)"
stops matching, due to the page being changed, ikiwiki knows that
the match was influenced by the page content.
| Joey Hess | 2010-04-22 |
* | | | | | | | | | fix test cases for dynamic influence calculation | Joey Hess | 2010-04-22 |
* | | | | | | | | | added a test case for this bug•••Further analysis suggests fixing this might not be as dreadful as I first
thought!
| Joey Hess | 2010-04-21 |
* | | | | | | | | | backlink influence data seems ok | Joey Hess | 2010-04-21 |
* | | | | | | | | | more wrongness | Joey Hess | 2010-04-21 |
* | | | | | | | | | link fix | Joey Hess | 2010-04-21 |
* | | | | | | | | | argh. head exploding. | Joey Hess | 2010-04-21 |
* | | | | | | | | | indent | Joey Hess | 2010-04-21 |
* | | | | | | | | | my autotag branch seems ready | Joey Hess | 2010-04-21 |
| |_|_|_|_|_|_|/
|/| | | | | | | |
|
* | | | | | | | | reword news | Joey Hess | 2010-04-21 |
| |_|_|_|_|_|/
|/| | | | | | |
|
* | | | | | | | remove broken ./tag support•••The commit that added the (working) support for using /tag to override
tagbase also tried to make ./tag work. Problem is, tags are links,
and ./foo is not a valid link (though I think there's a wishlist about it).
So, using ./tag really resulted in tag creation links that led to a
"bad page name" error. And even if the tag were created in the right place,
the link didn't go to it.
| Joey Hess | 2010-04-21 |
| |_|_|_|_|/
|/| | | | | |
|
* | | | | | | pass pagespec parameters along from match_tagged | Joey Hess | 2010-04-21 |
* | | | | | | add missing undef guard in derel | Joey Hess | 2010-04-21 |
* | | | | | | fix false positive in link_types_changed•••loadindex does not bother populating oldtypedlinks if there is no link
type. However, the code in link_types_changed assumed that if oldtypedlinks
is not defined, and typedlinks is, they must differ.
| Joey Hess | 2010-04-21 |
* | | | | | | response | Joey Hess | 2010-04-21 |
* | | | | | | Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info | Joey Hess | 2010-04-21 |
|\ \ \ \ \ \ |
|
| * | | | | | | suppressing auto-creation can be quite counter-intuitive | http://smcv.pseudorandom.co.uk/ | 2010-04-21 |
| * | | | | | | elide an older patch that's no longer under discussion | http://smcv.pseudorandom.co.uk/ | 2010-04-21 |
* | | | | | | | note re includes | Joey Hess | 2010-04-21 |
* | | | | | | | update | Joey Hess | 2010-04-21 |
|/ / / / / / |
|
* | | | | | | Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info | Joey Hess | 2010-04-21 |
|\ \ \ \ \ \ |
|
| * | | | | | | (no commit message) | http://hendry.iki.fi/ | 2010-04-21 |
| * | | | | | | (no commit message) | http://hendry.iki.fi/ | 2010-04-21 |
| * | | | | | | debugging | http://hendry.iki.fi/ | 2010-04-21 |
| | |_|_|/ /
| |/| | | | |
|
* | | | | | | update | Joey Hess | 2010-04-21 |
| |_|_|_|/
|/| | | | |
|
* | | | | | update, tag deletion bug | Joey Hess | 2010-04-21 |
* | | | | | spelling | Joey Hess | 2010-04-21 |