Joey Hess
c46b17983d
works, but I'm not entirely happy with it yet
...
It would be better if it were a formbuilder hook. But the formbuilder hook
is wacked.. I may need to change how that hook works, which would mean
changing the only current user of it, passwordauth).
2007-12-12 02:45:44 -05:00
Joey Hess
8576fe4c49
incomplate edittemplate plugin
2007-12-12 01:52:26 -05:00
Joey Hess
c8cb931890
reorg
2007-12-09 00:05:07 -05:00
Joey Hess
e78c25d1b2
logic fix
2007-12-08 23:57:25 -05:00
Joey Hess
5023f2301d
* The calendar plugin stores state about when it needs to be updated,
...
and forces rebuilds of the pages that contain calendars. So
running ikiwiki --refresh at midnight is now enough, no need for a full
wiki rebuild each midnight.
* calendar: Work around block html parsing bug in markdown 1.0.1 by
enclosing the calendar in an extra div.
2007-12-08 23:54:34 -05:00
Joey Hess
5959a32f97
real redir cycle detection
2007-12-08 19:39:32 -05:00
Joey Hess
a829e5b865
ensure state is dropped when a page stops embeddeding the version
2007-12-08 19:12:50 -05:00
Joey Hess
b4b452f4ee
forgot to add
2007-12-08 19:05:01 -05:00
Joey Hess
055179cb4c
* Finally implemented a simple per-page data storage mechanism for plugins,
...
via the %pagestate hash.
* Use pagestate in meta to detect potential redir loops.
2007-12-08 17:40:50 -05:00
Joey Hess
7960031135
MAJOR basewiki reorg
...
Including redir pages for the moved basewiki pages. These will be removed in
a future release.
2007-12-08 15:59:08 -05:00
Joey Hess
b8681e19d1
wikilink fix
2007-12-08 15:17:37 -05:00
Joey Hess
ccf99970a7
drop redir loop detection code
...
it won't work for incremental builds
for now, relying on browsers to notice loops
2007-12-08 15:05:41 -05:00
Joey Hess
2c78477387
* meta: Add redir support, based on a patch by Thomas Schwinge.
2007-12-08 14:58:29 -05:00
Thomas Schwinge
655d7925c6
Here is a patch to add a forwarding functionality to the meta plugin
2007-12-08 14:37:41 -05:00
Joey Hess
c3805557f1
* Improve workaround for perl bug #376329 . Rather than double-encoding,
...
which has been reported to cause encoding problems (though I haven't
reproduced them), just catch a failure of markdown, and retry.
(The crazy perl bug magically disappears on the retry.)
Closes : #449379
2007-11-27 16:36:37 -05:00
Joey Hess
c9c0f271b6
* toc: Handle html elements embedded inside a header, rather than
...
stopping collecting the header text at the first element.
2007-11-23 11:40:02 -05:00
Joey Hess
e016a975c4
* Allow html5 video and audio tags and their attributes in the htmlscrubber.
2007-11-18 13:34:06 -05:00
Joey Hess
6ccd9313d2
* More compact output for the brokenlinks plugin.
2007-11-17 16:16:34 -05:00
Joey Hess
ebac523686
prottype fixes
2007-11-14 08:51:38 -05:00
Joey Hess
264a82a435
* inline: Add timeformat parameter to control how the ctime of
...
inlined pages is displayed. Closes : #451019
2007-11-13 16:14:48 -05:00
Joey Hess
6a751b2a83
missed localising a string
2007-11-08 15:03:57 -05:00
Josh Triplett
21c6d61aa1
Fix table plugin to not generate an unbalanced tbody tag with header=no
...
The table plugin omitted </tbody> with header=no, but always generated
<tbody>, resulting in an unbalanced tag. Fix that by omitting <tbody>
too.
2007-11-08 11:30:15 -08:00
Joey Hess
930584cff7
* map: Recent changes caused unnecessary ul's to be inserted for items
...
that were all at the same level, fix. Closes : #449285
2007-11-07 16:34:50 -05:00
Joey Hess
1c9946ff48
reset SIGPIPE before returning
2007-11-05 19:33:28 -05:00
Joey Hess
2a6e353c20
improve use of seen hash
2007-10-30 22:56:13 -04:00
Joey Hess
5cbd86235e
* Fix an aggregate plugin expiry bug. Over time, it's possible for the same
...
page name to be expired and reused for several distinct guids. When this
happened, the expiry code counted each past guid that had used that page
name as a currently existing page, and thus expired too many pages.
2007-10-30 22:50:44 -04:00
Joey Hess
683c1ebb4c
* Fix some issues with toggles in preview mode.
2007-10-29 17:16:10 -04:00
Joey Hess
2697ac99cf
use nulls to avoid ambiguities
2007-10-25 06:20:32 -04:00
Joey Hess
9f1cd89bc2
* Add handling of feeds for nested inlines, as well as support for a
...
single page containing two different feeds.
* Also fixed some places in inline that failed to use destpage correctly.
2007-10-25 05:43:43 -04:00
Joey Hess
30bfe76eac
only use half the max size
2007-10-25 00:28:40 -04:00
Joey Hess
de5eb4996b
* postsparkline: Avoid a confusing error message if no pages match
...
and instead show an empty graph.
2007-10-24 23:07:39 -04:00
joey
cd67224be6
fix folding
2007-10-23 05:12:18 +00:00
joey
fc6ebdf0b2
explicitly use POSIX
2007-10-23 00:06:02 +00:00
joey
a27f4a47ba
* Add a calendar plugin, contributed by Manoj Srivastava.
...
* Reformat calendar plugin to ikiwiki conventions.
* The calendar plugin made *every* page depend on every other page,
which seemed a wee tiny little bit overkill. Fixed the dependency
calculations (I hope.)
* Removed manual ctime statting code, and just have the calendar plugin use
%pagectime.
2007-10-23 00:02:53 +00:00
joey
65dca9f89d
* Rewritten rst plugin by madduck is a python program that communicates with
...
ikiwiki via XML RPC. This should be much faster than the old plugin that
had to fork python for every rst page render. Note that if you use
the rst plugin, you now need to have the RPC::XML perl module installed.
2007-10-15 16:33:02 +00:00
joey
5b7edbf2a4
untaint plugin filename, will be tainted if specified at the command line
2007-10-13 22:18:33 +00:00
joey
ed4b6afc9b
* camelcase: Tighten regexp to avoid false positives. WikiWords are only
...
linkified now if they are preceeded by whitespace.
2007-09-28 20:50:20 +00:00
joey
2f705d78c9
patch from madduck to fix thinko
2007-09-24 16:41:29 +00:00
joey
a0f55abe07
$common_prefix may never get defined
2007-09-22 17:55:32 +00:00
joey
d0b1b24428
fix html
2007-09-22 17:15:36 +00:00
joey
c1474d795c
make taglink support the same method for specifying link text as a regular
...
wikilink
2007-09-22 17:07:51 +00:00
joey
622b866f3e
* img: Allow link=somepage to cause the image to link to a given page.
...
Slight overriding of link, as link=no is still used to disable the linking
entirely. Unless you have a page named "no"..
2007-09-22 16:46:27 +00:00
joey
7bde880fa8
* map: Render pages on the way to subpages whose parent pages
...
are not included in the map. Include special styling for such pages.
* map: Remove common prefixes and don't over-indent.
* Add class option to htmllink().
2007-09-22 16:32:24 +00:00
joey
9d75d3005b
* map: Render empty nodes on the way to subpages whose parent pages
...
are not included in the map.
* map: Fix valid html issue.
2007-09-21 17:54:58 +00:00
joey
0935e380c5
* tag: Add taglink preprocessor directive, supporting visible tag links.
...
* map: Fully specify paths to links to avoid issues when the bestlink
didn't point to the correct page.
2007-09-20 19:23:43 +00:00
joey
d1999f0357
* Add taglink preprocessor directive, supporting visible tag links.
...
Closes : #443344
2007-09-20 18:59:27 +00:00
joey
9f87bd8d7d
* table plugin: Actually specify the delimiter when parsing CSV.
...
* table plugin: The previous version broke WikiLinks inside quoted values.
Fix this by linkifying CSV data after parsing it, while DSV data is still
linkified before parsing.
2007-09-16 19:35:16 +00:00
joey
6bcc3339d9
* table plugin: Actually specify the delimiter.
2007-09-16 19:18:02 +00:00
joey
9dc796737f
bugfixes
2007-09-15 00:23:08 +00:00
joey
1e7b0415d3
if an inlined page has the same copyright or license as the page it's
...
inlined into, don't display them twice
2007-09-14 19:09:16 +00:00
joey
906dcfd518
* meta: Support license and copyright information. The information will
...
be shown in the page footer. HTML will also be inserted that should
support the rel=license microformat as well as the HTML spec's
rel=copyright.
2007-09-14 18:11:10 +00:00
joey
95199c5b04
* inline: add feedonly option, set feedonly=yes to get only the feed button
...
but not inline the pages.
2007-09-13 22:23:32 +00:00
joey
8489e68916
* table: Text::CSV doesn't return decoded unicode (XS module); decode its
...
return values.
2007-09-05 17:22:26 +00:00
joey
ef43bff1ca
* Correct generation of RFC 3339 format times for atom/rss feeds. Always use
...
gmtime for these since a time zone is not specified.
2007-09-02 19:29:40 +00:00
joey
4142c02f73
* Tables containing links with a link text were misparsed, because the "|"
...
in the wikilink looked like a table field separator. Avoid this ambiguity
by linkifying the data before parsing it as a table.
* Turn on allow_loose_quotes in the table plugin's Text::CSV object,
so that links from wikilinks don't confuse the parser.
2007-08-28 23:06:24 +00:00
joey
9c5f4761d8
* Support for looking in multiple directories for underlay files.
...
* Plugins can add new directories to the search path with the add_underlay
function.
* Split out smiley underlay files into a separate underlay, so if the plugin
isn't used, the wiki isn't bloated with all those files.
2007-08-28 01:59:01 +00:00
joey
6c89a635bb
* Add an editcontent hook.
2007-08-26 21:33:25 +00:00
joey
abc5919087
* Fix bug when blogging by cgi, introduced in last version.
2007-08-26 17:32:15 +00:00
joey
14a82190e1
typo
2007-08-24 17:16:23 +00:00
joey
0863498132
typo
2007-08-23 21:23:24 +00:00
joey
015ce28d72
fix encoding html entities in alt tag
2007-08-23 21:22:44 +00:00
joey
8c31a01efa
rename tex to teximg
2007-08-23 21:19:21 +00:00
joey
27d029113f
* Add embed plugin, which allows embedding content from google maps, video,
...
calendar, and youtube. Normally, the htmlsanitiser eats these since they
use unsafe tags, the embed plugin overrides it for trusted sites.
* The googlecalendar plugin is now deprecated, and will be removed
eventually. Please switch to using the embed plugin.
2007-08-23 20:14:08 +00:00
joey
2c5fbe844b
* Call the formbuilder hook for the edit page.
...
* Call decode_form_utf8 before running formbuilder_setup hooks.
* Add editdiff plugin contributed by Jeremie Koenig.
* Fix it to not leak path info.
2007-08-22 21:06:13 +00:00
joey
f760fcfa3f
* Added tex plugin to generate images from latex code.
...
Contributed by Patrick Winnertz as a GSoC project.
2007-08-22 00:59:41 +00:00
joey
a9b7f01ec8
* Add color parameter to postsparkline. Closes : #438900
2007-08-20 18:57:21 +00:00
joey
5b78246d11
memoization for injected RPC functions is a very, very good thing
2007-08-13 07:00:53 +00:00
joey
506bcbac04
* Fix --libdir to work at the command line.
...
* Plugins can now be written as standalone external programs, which can
be written in any language that can do XML::RPC.
2007-08-13 03:07:31 +00:00
joey
2e1670a821
* Add time=mtime option to postsparkline.
2007-08-12 09:19:20 +00:00
joey
160326b469
* Apply a patch from NicolasLimare adding modification date tags to rss and
...
atom feeds, and also changing the publication time for a feed to the
newest modiciation time (was newest creation time).
* The patch also adds dcterms:creator to rss items that have a known author.
2007-08-11 23:15:08 +00:00
joey
dc89360f03
* The toc directive doesn't work well or make sense inside an inlined page.
...
Disable it when the page with the toc is nested inside another page.
2007-08-11 21:46:59 +00:00
joey
46a80d9cbe
* Move blog form code out of CGI.pm and into the inline plugin.
2007-08-05 22:07:32 +00:00
joey
09b0a3b73f
* Add rel=tag attribute to tag links, supporting that microformat, as well
...
as allowing them to be styled specially. Thanks, NicolasLimare.
2007-08-05 20:48:13 +00:00
joey
1d61c4d4d6
* pagetemplate: don't display template name
2007-08-05 18:22:21 +00:00
joey
54e25f034c
* Allow raw html in the rst plugin.
2007-07-29 22:39:40 +00:00
joey
f371f2f2d8
* Fix problems with previewing in the graphviz plugin. Thanks,
...
HenrikBrixAndersen.
2007-07-29 22:34:42 +00:00
joey
c0f8808232
* Various minor bug fixes for silly mistakes in the code, thanks to the
...
various reviewers.
2007-07-28 21:01:56 +00:00
joey
3bbf5eb28a
fix
2007-07-28 20:54:58 +00:00
joey
7fa31b00b7
fix typo
2007-07-28 20:53:51 +00:00
joey
40959ce76d
* Add templatefile hook.
...
* Add pagetemplate plugin, which allows changing the template used for
a page. (Not to be confused with the hook of the same name..)
2007-07-26 20:50:55 +00:00
joey
a7b8e35bf9
* Fix graphviz plugin to not try to read images as utf-8; they might
...
sometimes contain invalid utf-8 byte sequences. Thanks,
HenrikBrixAndersen.
2007-07-25 02:15:52 +00:00
joey
1612dce6bb
* Add a htmlext config option, this can be used to make ikiwiki generate
...
html files with a different extension.
2007-07-25 01:16:53 +00:00
joey
4de235a385
* Make the map plugin notice when pages in the map are deleted and update
...
it.
2007-07-25 01:04:56 +00:00
joey
3bd439fa03
* In img tag, allow link=no to disable link to full size image. Thanks,
...
Nis Martensen. Closes : #433188
2007-07-15 19:00:07 +00:00
joey
a0aca9f585
* Fix links to alternate stylesheets when usedirs is enabled.
...
* Use type= not style= in html for alternate stylesheets, which is more
correct (but in my testing both epiphany and iceweasel work ok with
style=text/css).
2007-07-13 20:38:31 +00:00
joey
eabe03fb5b
* Fix links to stylesheets when usedirs is enabled.
2007-07-13 20:19:34 +00:00
joey
03dc63588c
on second thought, simple alphanumeric styles are not actually useful (class is already supported), and anything more complex is too hard to do, so revert
2007-07-11 17:57:02 +00:00
joey
a8fa52080d
* Allow simple alphanumeric style attribute values in the htmlscrubber. This
...
should be safe from javascript attacks.
2007-07-11 16:50:59 +00:00
joey
45e2c23e03
* Make the toc plugin use html-compatible anchors. This is necessary since
...
most web sites serve ikiwiki xhtml files as text/html and mozilla browsers
get confused. So it's best for ikiwiki to follow the compatability
recommendations in appendix C of the XHTML spec. Closes : #432045
2007-07-08 16:57:05 +00:00
joey
afcf0dc79e
* Patch fixing various additional problems with test suite. Closes : #425891
...
once more.
2007-06-26 22:11:59 +00:00
joey
9a122f001a
* Corrected a typo in an error handler in the image plugin.
2007-06-19 18:46:43 +00:00
joey
9dc9c113cc
exit with error if Text::Typography cannot be loaded
2007-06-05 19:06:54 +00:00
joey
435e06bce1
* Add typographyattributes configuration setting to typography plugin.
2007-06-05 19:04:15 +00:00
joey
d9a3c2bed2
* Make the url absolution code for feeds significantly more robust.
2007-06-03 17:10:32 +00:00
joey
78323806ee
* Explode some of the more insane regexps.
2007-06-01 23:40:43 +00:00
joey
ba1765fbdf
* More consistent encoding of titles in rss and atom feeds. Don't use
...
ESCAPE=HTML for titles in the templates for these feeds, and instead
escape the title going in to the template. Previously, the title was
sometimes double-escaped in a feed (if set via meta title), and sometimes
not (if set from the page filename).
* In the meta plugin, when a title is set, encode the html entities in it
numerically. This works better in the current landscape of a rss spec that
doesn't specify encoding, and variously broken feed consumers, according
to <http://www.rssboard.org/rss-profile#data-types-characterdata >.
2007-05-28 19:43:28 +00:00
joey
8fc1382949
didn't mean to make this change (yet)
2007-05-28 19:08:59 +00:00
joey
330bbd03df
* Apply a patch from Carl Worth allowing a class attribute to be passed
...
through the img plugin. Also allow the id attribute to be passed through.
2007-05-28 19:07:38 +00:00
joey
8c2c8c6bea
* Deal better with rebuilds that involve moving files; track and clean up the
...
old files.
* Change where the img plugin puts scaled images. It's better to make the
scaled images subpages of the page that embeds them, rather than putting
them alongside the original image, since if two pages scale the same image
the same way, this prevents complications in dealing with two pages
creating the same file. The move will be handled transparently, though you
might want to rebuild your wiki to make it occur in one step.
2007-05-24 19:56:08 +00:00
joey
edc6a7b7b1
the 100% correct way is to add it to %links on scan
2007-05-23 16:50:41 +00:00