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
joey
bb0cbecbc3
* Correct bug in the img plugin that caused dependencies on images to not
...
always be tracked correctly.
2007-05-23 01:44:11 +00:00
joey
ee843c7523
improve messages
2007-05-21 03:00:45 +00:00
joey
10017feaec
Clear state after performing aggregation, since it could hypothetically
...
change after the lock is dropped, and before the lock is regained by the
build process. The state will now be reloaded by the build process.
2007-05-21 02:59:06 +00:00
joey
82ac63d798
* Change the aggregate plugin's locking strategy. Now it defers loading state
...
until the wiki is building and already locked, unless it's aggregating.
When aggregating, it does not wait for the lock if it cannot get it, and
instead exits, to prevent aggregating processes from piling up.
2007-05-21 02:52:51 +00:00
joey
cf35ee04cd
* Add a destpage parameter to the filter hook.
...
* Fix links to smilies generated by the smiley plugin for inlined pages. The
old links were often wrong, but often still worked by accident.
2007-05-17 19:55:11 +00:00
joey
739325834b
* Fix some bugs in password handling:
...
- If the password is empty in preferences, don't clear the existing
password.
- Actually check the confirm password field, even if it's left empty.
2007-05-17 08:06:05 +00:00
joey
a9f413fea8
formatting
2007-05-12 19:28:03 +00:00
joey
63995039be
optimise backlinks counting for pagestats, simplify function returns again
2007-05-12 19:17:41 +00:00
joey
08d0bd7338
* Patch from hb to fix the pagestats plugin, which was broken by a past
...
change to the backlinks() function.
2007-05-12 17:56:56 +00:00
joshtriplett
b8d7ae91d0
* Add an account-creation password as a simple anti-spam mechanism. If
...
set in the wiki setup, passwordauth will require the password in
order to create an account.
2007-05-09 02:05:32 +00:00
joey
72c53650ad
* Add the needsbuild hook. Plugins can use this to manipulate which files
...
ikiwiki builds when refreshing the wiki.
2007-05-09 00:48:09 +00:00
joey
127bceef5b
* Add all=no option to conditional, can be used to form conditionals that do
...
not need to examine every page in the wiki.
* Use this to simplify the goodstuff detection in the plugin template.
2007-05-09 00:31:49 +00:00
joshtriplett
e1c54fef3d
Nuke trailing whitespace in shortcut.pm.
2007-05-08 23:00:59 +00:00
joey
5c6b96967d
update
2007-05-08 21:31:14 +00:00
joey
687928ead2
* Make testpagespec more robust, including checking for missing/bad
...
parameters, and detecting if a pagespec failed to compile.
2007-05-08 21:22:14 +00:00
joey
5132558731
* Improve handling of edits of locked pages by users who are not yet signed
...
in.
2007-05-07 05:34:55 +00:00
joey
c7b7416b88
improve a string
2007-05-06 02:04:03 +00:00
joey
9026ae05c2
* Fix a bug that prevented clearing email or subscriptions.
2007-04-30 21:32:24 +00:00
joey
f46c35f46f
correct size of name field in initial login form (same size as password)
2007-04-30 21:10:14 +00:00
joey
cd27ffc614
* If Net::OpenID::Consumer is not available, the openid module will quietly
...
disable itself, this avoids needing a hard dependency on the perl module.
2007-04-30 04:41:53 +00:00
joshtriplett
fafaa119cf
Revert passwordauth fieldset and doc to avoid 2.0 regressions; need to re-evaluate after 2.0.
2007-04-30 04:08:06 +00:00
joey
b07bba87bf
actually, let's not use a fieldset label at all here, and use the
...
"login with openid" as the input field label
2007-04-30 03:49:35 +00:00
joey
5d5ce9f992
put back OpenID label since we cannot rely on the label display
2007-04-30 03:41:45 +00:00
joshtriplett
40365e1aee
* Group passwordauth fields with a fieldset as well. Add a new
...
passwordauth page to the basewiki describing password
authentication; like openid, it uses conditional to check which
forms of authentication the wiki allows. Add conditional cross-
links between the openid and passwordauth pages, to help the user
understand how they can log in.
2007-04-30 02:26:50 +00:00
joey
8992e4de2d
layout improvement
2007-04-29 22:19:37 +00:00
joey
64f798786e
I don't think this comment adds much
2007-04-29 22:18:02 +00:00
joey
dde68ed9b9
* Use a fieldset to set off the openid entry from the rest of the login
...
form.
2007-04-29 22:16:15 +00:00
joey
93c6d2c340
* Use fieldsets in the preferences form to group related options together.
...
Especially cleans up the ordering of the admin's preferences form.
2007-04-29 21:57:25 +00:00