| Commit message (Expand) | Author | Age |
... | |
* | htmlscrubber: Also allow some other html5 tags: canvas, progress, meter, ruby... | Joey Hess | 2010-05-01 |
* | more html5 attributes | Joey Hess | 2010-05-01 |
* | add rest of html5 form attributes•••It's easy to imagine pattern being used to freeze or crash browsers, if
they implement it stupidly. Let's hope not..
| Joey Hess | 2010-05-01 |
* | add figure and figcaption | Joey Hess | 2010-05-01 |
* | htmlscrubber: Allow the html5 form attributes: placeholder autofocus, min, ma... | Joey Hess | 2010-05-01 |
* | htmlscrubber: Allow the placeholder attribute. | Joey Hess | 2010-05-01 |
* | more html5•••* htmlscrubber: Also allow html5 canvas tags.
* htmlscrubber: Round out html5 video support with the preload
attribute and the source tag.
| Joey Hess | 2010-05-01 |
* | htmlscrubber: Allow html5 semantic tags: section nav article aside hgroup hea... | Joey Hess | 2010-05-01 |
* | template: Fix typo. | Joey Hess | 2010-04-27 |
* | loop on pagesources, not ctime | Joey Hess | 2010-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 Hess | 2010-04-26 |
* | added match_guid function to meta plugin•••(cherry picked from commit 8b6fde73669ddf9204acb3d334c3984566f3c59d)
Conflicts:
IkiWiki/Plugin/meta.pm
| Joey Hess | 2010-04-26 |
* | rebuild on template removal | Joey Hess | 2010-04-24 |
* | bugfixes | Joey Hess | 2010-04-24 |
* | add support for mass dependencies•••Registered by passing "" as page name to add_depends.
| Joey Hess | 2010-04-24 |
* | Merge branch 'master' into templatemove | Joey Hess | 2010-04-24 |
|\ |
|
| * | po: fix some uninitalized value warnings when used by websetup | Joey Hess | 2010-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 Hess | 2010-04-24 |
* | | chomp template values•••Before the template reorg, this was done by a template filter.
| Joey Hess | 2010-04-24 |
* | | Merge branch 'master' into templatemove | Joey Hess | 2010-04-24 |
|\| |
|
| * | Moved javascript files under the ikiwiki/ directory, to avoid cluttering the ... | Joey Hess | 2010-04-24 |
* | | special case for page.tmpl dependency handling•••Rather than wasting resources recording that every page depends on
page.tmpl, add a special case. The special case curretly rebuilds non-page
files too when page.tmpl changes, but that's minor.
| Joey Hess | 2010-04-23 |
* | | update | Joey Hess | 2010-04-23 |
* | | use template() rather than rolling it by hand | Joey Hess | 2010-04-23 |
* | | improved error message | Joey Hess | 2010-04-23 |
* | | switch to using template_depends•••It now handles all the details of finding a page template that this used to
need to implement.
| Joey Hess | 2010-04-23 |
* | | use same error string as template.pm does | Joey Hess | 2010-04-23 |
* | | fix logic | Joey Hess | 2010-04-23 |
* | | 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 Hess | 2010-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 Hess | 2010-04-22 |
|/ |
|
* | Merge branch 'autotag' | Joey Hess | 2010-04-22 |
|\ |
|
| * | turn on tag_autocreate by default if tagbase is set | Joey Hess | 2010-04-21 |
| * | Merge branch 'master' into autotag•••Conflicts:
IkiWiki/Plugin/tag.pm
| Joey Hess | 2010-04-21 |
| |\ |
|
| * | | fixes | Joey Hess | 2010-04-21 |
| * | | clarify | Joey Hess | 2010-04-21 |
| * | | Merge branch 'master' into autotag•••Conflicts:
IkiWiki/Plugin/tag.pm
| Joey Hess | 2010-04-21 |
| |\ \ |
|
| * | | | add separate template variable for tag page and sanitize displayed tag name | Joey Hess | 2010-04-21 |
| * | | | remember autofiles that were tried and failed to be added•••This way, if an autofile is registered for a file that already exists,
it is remembered that it was tried, and it doesn't get recreated when
removed.
| Joey Hess | 2010-04-21 |
| * | | | commit autocreated tag pages | Joey Hess | 2010-04-21 |
| * | | | remember autofiles always•••This fixes the problem that it did not remember if an autofile is deleted,
unless a plugin happened to register the autofile at the same time.
With the new code, we just never recreate an autofile more than once.
Only downside is that the list of autofiles is never pruned either.
And I don't really see a way to prune it.
| Joey Hess | 2010-04-21 |
| * | | | bugfixes | Joey Hess | 2010-04-21 |
| * | | | remove verify_src_file•••Splitting out this function bothered me. It is conceptially similar to
file_pruned, and yet also very specific to exactly the security needs of
find_src_files.
I liked that it got rid of duplicate code in the latter function. So
instead, put a helper sub in that, which I think allows refactoring
things more cleanly, and with less boilerplate.
As to the needs of gen_autofile, I'm not convinced this needs to handle
the same set of problems that verify_src_file did. So I sat down and
wrote a custom validator for autofiles, which turned out to seem to just
need three things: Make sure the candidate filename is not something
that would be pruned; untaint the candidate filename; and make sure that
srcdir doesn't already have something with its name. (Plus, of course,
all the other checks that were already in gen_autofile.)
(In passing, also fixed a bunch of bugs I had introduced in this branch.)
| Joey Hess | 2010-04-21 |
| * | | | Merge branch 'master' into autotag | Joey Hess | 2010-04-20 |
| |\ \ \ |
|
| * | | | | move File::Find control back into its code blocks•••Ok, this is longer, but features less scary action at a distance.
| Joey Hess | 2010-04-17 |
| * | | | | move decode_utf8 closer to reason for it•••Filenames need to be decoded, as File::Find does not provide them in
decoded form, but other callers of verify_src_file will be using utf8.
| Joey Hess | 2010-04-17 |
| * | | | | fix autotag behavior for relative tags•••A tag like ./foo is searched for relative to the tagging page.
However, if multiple pages use such a tag, the only one sure
to be in common is in the root, so autocreate it there to
avoid scattering redunadant autocreated tags around the tree.
(This is probably not ideal.)
Also renamed the tagpage and taglink functions for clarity.
| Joey Hess | 2010-04-17 |
| * | | | | call gentag for taglinks too | Joey Hess | 2010-04-17 |
| * | | | | 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 |
| * | | | | 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 |