Joey Hess
14002b58d2
fix
2008-01-09 14:45:07 -05:00
Joey Hess
e01960e90a
not only markdown adds gunk, so remove it in the main htmlize function
2008-01-09 14:41:28 -05:00
Joey Hess
50faf0b151
Call preprocessor hooks in void context during the scan pass.
...
This allows the hook to determine if it's just scanning, and avoid expensive
operations.
2008-01-09 02:30:46 -05:00
Joey Hess
dd0b844477
further improve the .. regexp
2007-12-17 13:53:51 -05:00
Joey Hess
90bce7d139
* Don't refuse to render files with ".." in their name. (Anchor the regexp.)
2007-12-17 13:37:19 -05:00
Joey Hess
214bc2b65b
* Allow dashes in preprocessor directive commands, and shortcuts.
2007-12-12 16:13:15 -05:00
Joey Hess
58049e97c1
* Fix file pruning code to work if ikiwiki is run with "." as the srcdir.
2007-12-10 15:12:56 -05:00
Joey Hess
ff97b0358b
bug fix
2007-12-08 18:25:22 -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
91fe16f35c
* Add umask configuration option. Closes : #443329
2007-11-27 16:46:02 -05:00
Joey Hess
d00e8d78c8
* Don't consider links to anchors on the same page to be self links.
...
Patch by Daniel Burrows. Closes : #451729
* When usedirs is disabled, link direct to index.html files, not to
directories, to improve browsing of file:// urls.
Patch by Daniel Burrows. Closes : #451728
2007-11-17 19:58:17 -05:00
Joey Hess
3e17b7d612
need to remove trailing slashes in not one, but 2 places
...
htmllink needs to do it because it uses the basename of the link as the link
text
bestlink needs to do it because it is not always called from htmllink
2007-11-17 16:32:02 -05:00
Joey Hess
80d16f80bf
* Allow trailing slashes after page names in wikilinks.
2007-11-17 16:26:34 -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
2d9ee11006
* Add a "createlink" class attribute to the span for wikilinks pointing
...
to not-yet-existing pages. I don't have a useful style defined for that
though.
2007-10-13 23:08:38 +00:00
joey
3945473f8a
clear hashes in loadindex, so that it can safely be called more than once
...
even if pages have been deleted in between
2007-10-10 18:46:25 +00:00
joey
b86f9b8409
* Don't allow whitespace in link text in a wikilink. This was still
...
allowed by the regexp in one case though not documented to work, and
was ambiguous with preprocessor directives.
2007-09-24 16:50:49 +00:00
joey
4ccb9be7c6
improve diagnostics
2007-09-22 18:10:40 +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
8489e68916
* table: Text::CSV doesn't return decoded unicode (XS module); decode its
...
return values.
2007-09-05 17:22:26 +00:00
joey
99261148fe
fix
2007-08-28 23:11:40 +00:00
joey
25294defb8
Don't allow newlines in link text in a wikilink.
2007-08-28 22:54:54 +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
ab8125d62a
* Fix a bug in unlockwiki intorduced last version that made it crash ikiwiki
...
if it wasn't locked when called. This is known to break post-commit
emails.
2007-08-26 17:38:17 +00:00
joey
7946c67d1f
* Avoid ugly gettext messages if LANG is empty. Closes : #439035
2007-08-21 21:19:53 +00:00
joey
7dd6385fdb
fix undef issue
2007-08-21 19:51:05 +00:00
joey
9ff9ea55f7
fix libdir tainting
2007-08-21 16:47:01 +00:00
joey
50e1b43408
* Add monotone support, contributed by William Uther.
2007-08-21 03:10:35 +00:00
joey
c5ad5c8276
* Various minor fixes and stylistic improvements suggested by Perl::Critic.
2007-08-15 08:08:32 +00:00
joey
69065b8e79
* Fix bug in deletion/move during edit code introduced in 1.44. Need to take
...
the underlaydir into account.
2007-08-14 19:44:59 +00:00
joey
922e6ec144
the perl critic reminded me that the library shouldn't be using IN and OUT
...
global file handles
2007-08-14 05:47:29 +00:00
joey
b4dafe467b
* Change yet again how unhandled and escaped preprocessor directives are
...
re-output onto the page. Hopefully I finally got it right..
2007-08-13 17:35:14 +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
7922a663c0
* Support pagespec "functions" with no parameters, like included() in the
...
conditional plugin.
2007-08-11 23:31:57 +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
1e5cd11635
* Add a libdir config option to let ikiwiki load perl modules, including
...
plugins, from a user-configurable directory.
2007-07-27 00:48:06 +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
4936b3db88
* Correct some issues with escaped preprocessor directives.
2007-07-20 17:55:19 +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
3bfa109971
* Allow svnpath config option to contain additional extra slashes anywhere
...
w/o confusing ikiwiki.
* Rcs modules are now imported, so other modules that need similar
normalisation of configs etc can do so.
2007-06-23 12:12:59 +00:00
joey
aadb214220
* Fix wrapper generator and untaint code's handling of strings contining
...
newlines.
2007-06-03 16:24:22 +00:00
joey
78323806ee
* Explode some of the more insane regexps.
2007-06-01 23:40:43 +00:00
joey
66cb6baf4e
* Apply a patch from Carl Worth adding support for using globs in link()
...
in a PageSpec.
2007-05-30 19:54:08 +00:00
joey
b4eaef94bd
* Correct some issues with display of unhandled preprocessor directives.
2007-05-29 01:56:52 +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
ee843c7523
improve messages
2007-05-21 03:00:45 +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
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
1e62e4f87f
* Enable openid logins by default.
...
* Enable usedirs by default.
2007-04-29 22:54:14 +00:00