Nis Martensen
74a56db8d6
Set page_numfeeds only if feeds are being generated
2007-12-12 16:54:09 -05:00
Joey Hess
10a2895b3b
* shortcut: Expand %S to the raw input text, not url-encoded.
2007-12-12 16:50:29 -05:00
Joey Hess
7eafa95f33
* Htmlize parameters passed to the template preprocessor directive before
...
inserting them into the html template. This ensures that markdown
acts on them, even if the value is expanded inside a block-level html
element in the html template. Closes : #454058
* Use a div in the note template rather than a span.
2007-12-12 16:42:54 -05:00
Joey Hess
3922ba15ba
don't duplicate code from editpage, just pull the values it sets out of the
...
formbuilder object
2007-12-12 03:35:23 -05:00
Joey Hess
4745391360
* Change formbuilder hook to not be responsible for displaying a form,
...
so that more than one plugin can use this hook.
I believe this is a safe change, since only passwordauth uses this hook.
(If some other plugin already used it, it would have broken passwordauth!)
2007-12-12 03:15:30 -05:00
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