Joey Hess
0ab3ed872b
releasing version 2.61
2008-08-14 21:11:45 -04:00
Joey Hess
5d83e7359d
graphviz: Fix breakage of the name of the preprocessor directive.
2008-08-14 14:44:30 -04:00
Joey Hess
6432d15cb4
fix a common case typo
2008-08-12 15:48:44 -04:00
Joey Hess
b39b92c0a6
releasing version 2.60
2008-08-12 14:28:13 -04:00
Joey Hess
6edd22808e
Danish update. Closes : #494632
2008-08-11 12:47:39 -04:00
Joey Hess
c98ea6a971
close bug, changelog
2008-08-07 16:21:58 -04:00
Joey Hess
581381e335
inline: Ignore parent dirs when sorting pages by title.
2008-08-07 15:47:59 -04:00
Josh Triplett
cc43a6ea70
Add Suggests on texlive and texlive-science for the teximg plugin
2008-08-06 20:58:42 -07:00
Joey Hess
6cfb5c5b59
Added a small icon to the search input box.
2008-08-06 19:34:33 -04:00
Joey Hess
adc2eb3d8c
Options set in the setup file are now immediatly loaded by ikiwiki -setup. This allows later switches to override them. Previously, setup file options overrode most command line options.
2008-08-06 01:58:04 -04:00
Joey Hess
86660e9c82
external: Fix support for hooks called in an array context.
2008-08-06 01:05:44 -04:00
Joey Hess
4c07e7362c
update
2008-08-06 00:23:22 -04:00
Joey Hess
9cb415f4a4
autoindex: Ignore internal pages, and take underlay directories into account. Also, avoid making index pages for directories that contain no files.
2008-08-06 00:04:05 -04:00
Joey Hess
ea6dc38325
add ikiwiki-transition setupformat subcommand.
...
Also fixed a bug in how aggregateinternal used IkiWiki::Setup::load,
and added checks for arguments to other subcommands.
2008-08-05 20:40:49 -04:00
Joey Hess
29ab73258f
Clarify some wording in the setup documentation that could maybe lead users to putting paths with "~/" in the setup file, which doesn't work. Closes : #493835
2008-08-05 16:57:49 -04:00
Joey Hess
0f06504422
remove description_html, add link
2008-08-03 14:36:17 -04:00
Joey Hess
d9db5f2def
Bail if both srcdir and repository are not specified.
2008-08-03 14:21:43 -04:00
Joey Hess
25c35b6e90
banned_users move to setup file, stage 1
2008-08-01 17:39:17 -04:00
Joey Hess
bb394fdae8
admin prefs move to setup file, stage 1
...
The locked pages configuration is moving to a locked_pages option in the
setup file, and the allowed attachments configuration to
allowed_attachments. The admin prefs page can still be used for these, but
that's depreacted and will only be shown if there's currently a value.
2008-08-01 16:45:04 -04:00
Joey Hess
041923a89e
Merge branch 'master' into autoconfig
...
Conflicts:
IkiWiki/Plugin/git.pm
debian/changelog
po/ikiwiki.pot
2008-07-31 19:35:37 -04:00
Joey Hess
0f312d152e
releasing version 2.56
2008-07-31 19:29:29 -04:00
Joey Hess
d266c4dc45
Revert "increase minimum git version"
...
This reverts commit 391c5c2cb5
.
2008-07-31 19:24:35 -04:00
Joey Hess
f7b8f2297c
Add test for old versions of git that don't support --cleanup=verbatim, and munge empty commit messages.
2008-07-31 19:23:54 -04:00
Joey Hess
391c5c2cb5
increase minimum git version
...
git commit --cleanup=verbatim was first introduced in git 1.5.4.
2008-07-31 19:01:02 -04:00
Joey Hess
71eb56bcac
merged
2008-07-31 18:52:30 -04:00
Joey Hess
e12627e0a4
update
2008-07-30 14:44:50 -04:00
Joey Hess
12c5786df4
Merge branch 'tova' into autoconfig
...
Conflicts:
debian/changelog
2008-07-29 15:54:45 -04:00
Joey Hess
106578f524
changelog
2008-07-29 15:54:07 -04:00
Joey Hess
1916afc603
rename
2008-07-27 16:08:44 -04:00
Joey Hess
ddef0d3170
Merge branch 'master' into autoconfig
...
Conflicts:
debian/changelog
doc/todo/color_plugin.mdwn
2008-07-27 11:43:47 -04:00
Joey Hess
ccd567948e
releasing version 2.55
2008-07-27 11:32:05 -04:00
Joey Hess
f28b57526c
setup automator
...
"ikiwiki -setup /etc/ikiwiki/simple.setup"
can be used set up a new wiki in seconds
2008-07-27 01:39:11 -04:00
Joey Hess
e1f7146041
avoid clobbering example diffurl
2008-07-27 00:54:15 -04:00
Joey Hess
bc3363beb7
ikiwiki-update-wikilist: Add -r switch to remove. Default behavior is now always to add.
2008-07-27 00:02:04 -04:00
Joey Hess
4ef96e2d99
Merge branch 'master' into autoconfig
2008-07-26 23:22:42 -04:00
Joey Hess
ecc40d1769
changelog and tweaks
2008-07-26 23:15:50 -04:00
Joey Hess
1c831b472b
changelog
2008-07-26 23:06:40 -04:00
Joey Hess
e99cc6dd9e
generate an example ikiwiki.setup as part of the build
2008-07-26 23:02:46 -04:00
Joey Hess
4f06e7402a
remove ikiwiki.setup
...
To generate your own, use ikiwiki -dumpsetup ikiwiki.setup
Update docs.
2008-07-26 22:55:39 -04:00
Joey Hess
6154dd03cb
finish with rcs plugin conversion
2008-07-26 22:28:18 -04:00
Joey Hess
c83fd4a328
wrapper setup reorg
...
Flattened the wrapper setup, as this lets it be handled better by the
setup generation code.
2008-07-26 21:00:11 -04:00
Joey Hess
4ee441c152
changelog
2008-07-26 16:23:29 -04:00
Joey Hess
b7bf566f55
attachment: Use relative paths when inserting links.
2008-07-25 19:22:29 -04:00
Joey Hess
99ec944766
bzr (mostly) done
2008-07-25 12:16:21 -04:00
Joey Hess
99b59f2d62
toggle: Fix incompatability between javascript and webkit.
2008-07-25 01:24:20 -04:00
Joey Hess
36a0d984c9
fix monotone/mercurial confusion
2008-07-24 22:03:38 -04:00
Joey Hess
58e2b2c99c
mercurial: Add support for rename, delete, and also diff. (William Uther)
2008-07-24 14:17:04 -04:00
Joey Hess
4691a2ad39
add renamepage hooks
...
Implemented for regular wikilinks, with a test suite.
2008-07-23 18:14:20 -04:00
Joey Hess
96dab37a8e
Merge branch 'master' into tova
2008-07-23 17:34:01 -04:00
Joey Hess
b95669c3c8
Rebuild pages that change their type. (Gabriel McManus)
2008-07-23 16:13:37 -04:00
Joey Hess
335a6a59e6
Merge branch 'master' into tova
2008-07-23 15:00:07 -04:00
Joey Hess
1d1767192c
attachment: Do not escape _ when determining attachment filenames.
2008-07-23 14:58:39 -04:00
Joey Hess
d76c10cba2
Split out error messages from editpage.tmpl into several separate templates.
2008-07-22 19:58:34 -04:00
Joey Hess
9776bbf853
Don't allow uploading an attachment with the same name as an existing page, to avoid confusion.
2008-07-22 17:12:20 -04:00
Joey Hess
114e20e948
typo
2008-07-22 17:03:28 -04:00
Joey Hess
cbddb5a4b8
add rcs_commit_staged and rcs_rename
...
Implemented for git and svn so far.
Note that rcs_commit_staged does assume that the rcs has the ability to
"stage" multiple changes for a later commit. Support for this varies, but
all we really care about is staging removals and renames, which, AFAIK, all
modern rcs's support.
2008-07-22 16:14:33 -04:00
Joey Hess
96c529826d
skeleton rename plugin
2008-07-21 22:30:43 -04:00
Joey Hess
9d5c9ce258
Merge branch 'master' into tova
2008-07-21 21:23:58 -04:00
Joey Hess
c2a2f71508
Add allow_symlinks_before_srcdir config setting
...
can be used to avoid a security check that is a good safe default, but
problimatic overkill in some situations.
I decided to underdocument this, because the option looks ugly, and I don't
want people randomly turning it on because it looks like a good idea. So if
you need it, you'll get an error message mentioning how to fix it.
2008-07-21 18:33:09 -04:00
Joey Hess
e630e7507e
Avoid troublesome abs_path calls in wrapper setup
...
As documented in the forum post.
2008-07-21 18:26:14 -04:00
Joey Hess
18d2403647
Merge branch 'master' into tova
...
Conflicts:
debian/changelog
2008-07-21 17:27:50 -04:00
Joey Hess
c2ffd205f3
Really fix bug with links to pages with names containing colons
...
Previous fix mised a few cases.
2008-07-21 17:27:14 -04:00
Joey Hess
09331644a2
changelog
2008-07-21 17:06:40 -04:00
Joey Hess
b1b5860b29
touchups
2008-07-21 14:03:39 -04:00
Joey Hess
c924c76bd8
basically, removal works
...
Still need to consider all the edge cases..
2008-07-21 13:50:12 -04:00
Joey Hess
c6d1ae33d2
All rcs backends need to implement rcs_remove
...
(Done for svn, git.)
2008-07-21 13:41:17 -04:00
Joey Hess
3da279ddd4
editpage: Don't show attachments link when attachments are disabled.
2008-07-21 12:15:55 -04:00
Joey Hess
4a3e16f851
prefix_directives enabled in doc wiki, all preprocessor directives converted. (Simon McVittie)
2008-07-21 11:41:32 -04:00
Joey Hess
fede380a89
releasing version 2.54
2008-07-21 11:19:01 -04:00
Joey Hess
01564d3ac2
add sparkline-php to suggests
2008-07-20 12:36:20 -04:00
Joey Hess
b557ba7c46
close bug, add changelog
2008-07-19 13:24:58 -04:00
Joey Hess
1b318dacbd
git: Fix parsing of git logs with no commit messages at all.
2008-07-17 16:53:54 -04:00
Joey Hess
ac62a47ea4
git: Put web committer name/openid/address in the git author field
...
The committer's email address is not used (because leaking email addresses
is not liked by many users). Closes : #451023
A "Web-commit" trailer is added, to allow telling the difference between
web commits and direct commits.
2008-07-17 16:17:15 -04:00
Joey Hess
584f3e3061
Add a postscan hook.
...
* Add a postscan hook.
* search: Use postscan hook, avoid updating index when previewing.
2008-07-17 16:17:15 -04:00
Joey Hess
df3a8b183c
smiley escaping fixes
...
Smileys need to be double-escaped to work, since the smiley plugin runs as
a sanitize hook, and markdown helpfully removes one level of escapes first.
There were some bugs in the smiley handling code that made escaped smileys
still be expanded. After unescaping a smiley, it needed to move pos forward
past it or the next pass would expand it.
Also, once the m//g got to the end, it seemed to loop back through and make
one more pass (a difference in perl 5.10's regexp exngine? I observed that
pos was undefined when this happened, so added a `last unless defined pos`.
2008-07-17 12:34:38 -04:00
Joey Hess
dc1cbf2c8c
merged intrigeri's parentlinks plugin, close todo
2008-07-16 17:49:24 -04:00
Joey Hess
67d8f7f209
changelog
2008-07-16 17:45:38 -04:00
Joey Hess
76b078d587
changelog
2008-07-14 21:12:03 -04:00
Joey Hess
9957c7fd5d
Cut the size of the binary package in half by excluding pages for bugs and todo items from the html shipped in it.
2008-07-13 15:46:20 -04:00
Joey Hess
edb59cd5b9
Error handling improvement for preprocess hooks. It's now safe to call error() from such hooks; it will cause a nicely formatted error message to be inserted into the page.
2008-07-13 14:41:40 -04:00
Joey Hess
2bd4dea7f0
changelog
2008-07-13 13:59:36 -04:00
Joey Hess
71fba7791f
add perlmagick to build deps
...
needed since the doc wiki is using an [[img]]
2008-07-12 20:20:26 -04:00
Joey Hess
208ccbed0e
changelog
2008-07-12 12:43:02 -04:00
Joey Hess
6255c88e89
fixed
2008-07-12 12:04:10 -04:00
Joey Hess
d101269bde
Move yesno function out of inline and into IkiWiki core, not exported.
2008-07-12 12:01:22 -04:00
Joey Hess
85a5ff82c6
credit smcv
2008-07-12 11:42:22 -04:00
Joey Hess
ca30d95a78
rename uuid to guid
2008-07-12 10:59:45 -04:00
Joey Hess
c522fffe09
document uuid
2008-07-12 10:53:57 -04:00
Joey Hess
a0f596b6ed
Change deb dependencies to list Text::Markdown before markdown, since the former, while slower, has a much better html parser that avoids numerous bugs.
2008-07-12 10:40:31 -04:00
Joey Hess
3879c56e71
Fixes creation of pages when clicking on WikiLinks starting with "/".
2008-07-10 15:36:18 -04:00
Joey Hess
dcab5e2e48
template: Add support for a BASENAME variable.
2008-07-10 15:25:42 -04:00
Josh Triplett
b2a708b90e
debian/changelog: fix typo in old entry
2008-07-09 23:51:32 -07:00
Josh Triplett
1aab048e81
ikiwiki-transition: Fix command-line processing so the prefix_directives transition works again.
2008-07-09 23:42:34 -07:00
Joey Hess
fb1aaacd90
fix changelog
2008-07-09 22:40:05 -04:00
Joey Hess
4e02dead14
Make it possible to load setup files w/o running them. Code needing to do so can call IkiWiki::Setup::load, and the values will be loaded into %IkiWiki::Setup::setup.
2008-07-09 22:39:26 -04:00
Joey Hess
06709cdf31
improve error message if virus checker fails w/o output
2008-07-09 16:53:03 -04:00
Joey Hess
2449c596af
otl: Support utf-8 files. (Recai Oktaş)
2008-07-08 20:52:30 -04:00
Joey Hess
e0577bc944
not yet released
2008-07-08 18:44:56 -04:00
Joey Hess
3e8abb8b53
response
2008-07-08 18:35:48 -04:00
Joey Hess
ad02f69836
attachment: Support perl 5.8's buggy version of CGI.pm.
...
This is truely horribly disgusting. CGI::tmpFileName, in current perls, is
an undocumented function (which should be a clue..) that takes the original
filename of an uploaded attachment, and returns the name of the tempfile
that CGI has stored it in.
In old perls, though, CGI::tmpFileName does not take a filename. It takes
a key from the object's {'.tmpfiles'} hash. This key is something
crazy like '*Fh::fh00001group' -- apparently the stringification of a
filehandle object.
Just to add to the fun, tmpFileName doesn't take the key, it expects a
refernce to the key. Argh?!
But the fun doesn't stop there, because in perl 5.8, CGI.pm is also broken
in two other ways. The upload() method is supposed to return a filehandle
to the temp file. It doesn't. The param() method is supposed to return
a filehandle to the temp file, that stringifies to the original filename.
It returns just the original filename, no filehandle.
Combine all these bugs, and you end up with this disgusting commit. Since
I have no way to get the filehandle, I *need* to get the tempfile name.
If I had the filehandle, I could probably pass it into tmpFileName, and
it might strigify to the right key name. But I don't, so the only way to
determine the key is to grub through the .tmpfiles hash ourselves.
And finally, one the temp file name is discovered, a filehandle can finally
be obtained by (re)opening it.
I recommend that this commit be reverted when perl 5.8 is a mercifully
faded memory.
I'm really, really, really glad I'm actually being paid for working on
this right now!
2008-07-08 18:10:53 -04:00
Joey Hess
fbd9865232
Include ikiwiki.setup in examples in the debian package.
2008-07-08 17:08:00 -04:00
Joey Hess
71f10579c0
attachment: Support old versions of CGI.pm that lack an upload method.
2008-07-08 10:42:58 -04:00
Joey Hess
e25c3a0a7c
Fix a bug with links to pages whose names contained colons.
...
So the problem is that ikiwiki would generate a relative link like
href="colon:problem", which web browsers treat as being in the "colon:"
uri scheme.
The best fix seems to be to make url beautification fix this, by slapping
a "./" in front.
2008-07-08 10:03:55 -04:00
Joey Hess
f156308aef
attachment: Fix an uninitialised value warning when editing a page that currently has no attachments.
2008-07-08 09:40:46 -04:00
Joey Hess
43e0691a50
search: generate configuration files once only when rebuilding (Gabriel McManus)
2008-07-07 01:55:06 -04:00
Joey Hess
d1a42616c5
releasing version 2.52
2008-07-06 19:24:09 -04:00
Joey Hess
2f3a279f68
add virus checking to attachments plugin
2008-07-06 17:36:26 -04:00
Joey Hess
05124f9a86
editpage escaping fixes
...
* The editpage form now uses the raw page name, not the page title, in its
'page' cgi parameter. Using the title was ambiguous and made it
impossible to tell between some pages, like "foo/bar" and "foo__47__bar",
sometimes causing the wrong page to be edited.
* This change means that some edit links need to be updated.
Force a rebuild on upgrade to this version.
* Above change also allowed really fixing escaped slashes from the blogpost
form.
2008-07-06 15:52:04 -04:00
Joey Hess
c1687b1f1e
typo
2008-07-06 12:27:57 -04:00
Joey Hess
edfbd7e1aa
toggle: Add javascript to top of page, not to end. This avoids flicker since closed toggles will not be displayed as the page is loading.
2008-07-02 16:14:18 -04:00
Joey Hess
895faed642
toggle: Add support for toggles that are open by default.
...
Also fix to work in preview mode.
2008-07-02 16:02:01 -04:00
Joey Hess
2ca1e12c5f
changelog
2008-06-30 23:38:07 -04:00
Joey Hess
8e43bc0e0f
Configure CGI.pm to disable file uploads by default.
2008-06-30 20:01:10 -04:00
Joey Hess
2e42045539
releasing version 2.51
2008-06-29 14:18:33 -04:00
Joey Hess
b2eceeb7b9
improve wording
2008-06-28 23:13:42 -04:00
Joey Hess
b66f9a1981
call format hooks when generating page previews
...
* toc: Revert change in 2.45 that made it run at sanitize time. This breaks
use of toc in a sidebar.
* Call format hooks when generating page previews, thus fixing toc display
there, as well as fixing inlins to again display in page previews, since
it's started using format hooks. This also allows several other things,
like embed, that use format hooks, to work during page preview time.
* Format hooks should not rely on getting an entire html document, as they
will only get the body during page preview.
* toggle: Deal with preview mode when adding javascript.
2008-06-28 23:08:24 -04:00
Joey Hess
00503f25cd
smiley: Generate links relative to the destpage. (Fixes a reversion from 2.41.)
2008-06-28 16:58:43 -04:00
Joey Hess
f0df195049
new txt plugin, was previously contrib/plaintext
2008-06-24 20:48:45 -04:00
Joey Hess
50542d15ef
Add support for the universal edit button
...
<http://universaleditbutton.org/ >
Not forcing a rebuild on upgrade just for this.
2008-06-21 16:56:47 -04:00
Joey Hess
f552d7572f
changelog
2008-06-21 16:24:50 -04:00
Joey Hess
98095ccac4
creole: New plugin from Bernd Zeimetz. Closes : #486930
2008-06-19 19:11:18 -04:00
Joey Hess
3a204fabbb
Version the suggests of xapian-omega to a version known to be new enough to work with ikiwiki. Reportedly, version 0.9.9 is too old to work. Closes : #486592
2008-06-19 18:58:21 -04:00
Joey Hess
bd7edfd9ca
textile: The Text::Textile perl module has some regexps that fail if input is flagged as utf-8, but contains invalid characters such as 0x92. To prevent it from crashing, re-encode the content before calling it, which will ensure that it's really utf-8.
2008-06-16 15:43:37 -04:00
Joey Hess
4da54999de
meta: Store "description" in pagestate for use by other plugins.
...
map: Support show=description.
2008-06-15 19:08:50 -04:00
Joey Hess
b4caecc2ba
add hnb copyright
2008-06-15 16:28:48 -04:00
Joey Hess
8f8543389e
finish including hnb plugin
2008-06-15 16:27:08 -04:00
Joey Hess
71d984b310
map: Add a "show" parameter. "show=title" can be used to display page titles, rather than the default page name. Based on a patch from Jaldhar H. Vyas, Closes : #484510
2008-06-15 16:11:11 -04:00
Joey Hess
5e6a6b1086
append index.html to url generated by urlto("")
...
This special case crops up when generating the parentlink to the toplevel
index page. urlto("") had been generating a link to "./" (or "../" etc)
for that, which is fine, if the web server redirects that to the toplevel
index.html. It's less fine if there is no web server.
I actually ran into the problem first when using gopher. (Yes, yes, don't
laugh.. see upcoming tip.) But it also crops up when browsing local wiki
files.
Of course, the index.html is stripped back off if usedirs is enabled.
2008-06-15 15:04:26 -04:00
Joey Hess
00ca6f042e
releasing version 2.50
2008-06-13 15:22:56 -04:00
Joey Hess
5807f1de04
fix two build bugs
...
* ikiwiki-mass-rebuild: Make group list comparison more robust.
* search: Work around xapian bug #486138 by only stemming locales
in a whitelist.
2008-06-13 13:05:44 -04:00
Joey Hess
ecfb14f7d1
Don't generate empty title attributes, etc, and allow setting defaults for class and id too.
2008-06-08 00:02:33 -04:00
Joey Hess
f6b47b0d1c
img: Support captions.
2008-06-07 23:45:40 -04:00
Joey Hess
d258793c3f
a bit more about upgrades
2008-06-07 15:41:29 -04:00
Joey Hess
77edb81bee
releasing version 2.49
2008-06-07 15:26:43 -04:00
Joey Hess
3215b5a982
finishing touches on the new search plugin
...
- Add a Help link.
- If the pageterm is too long, hash it.
2008-06-04 15:24:28 -04:00
Joey Hess
e4119f048c
The search interface now allows searching for a page by title ("title:foo"), as well as for pages that contain a given link ("link:bar").
2008-06-04 14:13:21 -04:00
Joey Hess
1dddec0ba9
Pass a destpage parameter to the sanitize hook.
...
Because the search plugin needed it, also because it's one of the few
plugins that didn't already have it.
I also considered adding it to htmlize, but I really cannot imagine caring
what the destpage is when htmlizing. (I'll probably be poven wrong later.)
2008-06-04 01:24:23 -04:00
Joey Hess
1546b48b97
move indexing to sanitize hook
...
I think this will give better results overall.
I made %IkiWiki::preprocessing accessible and used it to avoid indexing
at unnecessary points.
2008-06-04 00:58:46 -04:00
Joey Hess
ce826411b2
more search improvements
2008-06-04 00:38:40 -04:00
Joey Hess
fab1333b67
Filter hooks are no longer called during the scan phase. This will prevent wikilinks added by filters from being scanned properly. But no known filter hook does that, and calling filters unncessarily during scan slowed down complex filters such as the one used to update the xapian index.
2008-06-04 00:15:15 -04:00
Joey Hess
8a6a5320ed
search: Converted to use xapian-omega.
...
Everything is done except for the actual indexing. I plan to do incremental
indexing as pages change.
2008-06-03 15:29:54 -04:00
Joey Hess
c1289de1ef
cve id
2008-05-31 20:16:18 -04:00
Joey Hess
99e5e6dd08
inline: The optimisation in 2.41 broke nested inlines. Detect those and avoid overoptimising.
2008-05-31 15:10:23 -04:00
Joey Hess
0353882a66
ikiwiki-mass-rebuild: Don't trust $! when setting $)
...
A better fix, just check that what $) returns is what it was asked to set,
and ignore $! entirely.
2008-05-31 14:46:16 -04:00
Joey Hess
c00890a2f0
ikiwiki-mass-rebuild: under $! before setting $) to avoid strange errno issue
...
This fixes a problem sgran saw on alioth. Apparently nss-db sets errno to
ENOENT as a side effect trying to read an optional file, but succeeds
anyway. Then, somehow, errno remains set across the library calls made by
$).
So unset it first as a workaround; there's probably a nss-db, libc, and/or
perl bug underneath.
2008-05-31 14:37:05 -04:00
Joey Hess
0a35e8a352
haiku: Generate valid xhtml.
2008-05-30 19:10:58 -04:00
Joey Hess
8d72885b47
releasing version 2.48
2008-05-30 18:21:27 -04:00
Joey Hess
1715c0399e
updated French translation
2008-05-30 18:17:50 -04:00
Joey Hess
e943812dc9
hashed password support, and empty password security fix
...
This implements the previously documented hashed password support.
While implementing that, I noticed a security hole, which this commit
also fixes..
2008-05-30 17:35:34 -04:00
Joey Hess
9d93029f01
teximg: If the log isn't written, avoid ugly error messages.
2008-05-29 19:29:40 -04:00
Joey Hess
b0a7b2f3d7
teximg: Fix logurl.
2008-05-29 19:28:46 -04:00
Joey Hess
4152dca09e
documentation for use of hashed passwords
...
Everything but the actual coding to support them.
2008-05-29 15:17:19 -04:00
Joey Hess
d5d56a24bd
When calling decode_utf8 on known-problimatic content in aggregate, explicitly pass 0 (FB_DEFAULT) as the second parameter. Apparently perl 5.8 needs this to avoid crashing on malformed utf-8, despite its docs saying it is the default.
2008-05-28 15:38:04 -04:00
Joey Hess
6725413516
Add rel=nofollow to edit links. This may prevent some spiders from pounding on the cgi following edit links.
2008-05-28 03:09:04 -04:00
Joey Hess
6b68c6ff72
releasing version 2.47
2008-05-25 14:28:33 -04:00
Joey Hess
5efaed6de6
Avoid unsightly warning message when evaling broken pagespecs.
...
Also improve error message when a pagespec fails to parse.
2008-05-22 13:11:25 -04:00
Joey Hess
f6f25758a8
Perls older than 5.10 need to use the old method of decoding utf-8 in CGI values. Neither method will work for all versions of perl, so check version number at runtime.
2008-05-21 15:30:56 -04:00
Joey Hess
19945b5358
typo
2008-05-15 18:22:01 -04:00
Joey Hess
0438de905b
ENV can be used in the setup file to override environment variable setting, such as TZ or PATH.
2008-05-15 18:20:52 -04:00
Joey Hess
0bf5248427
git: Skip over signed-off-by and similar lines in commit messages when generating recentchanges.
2008-05-15 18:03:44 -04:00
Joey Hess
8a888a8fed
inline: Display a message if the 'pages' parameter is missing, before it just expanded to nothing.
2008-05-15 17:22:54 -04:00
Joey Hess
833610a5b4
orphans: As a special case, the toplevel index page is never considered an orphaned page.
2008-05-15 16:47:44 -04:00
Joey Hess
2c6f41e59c
If PERL5LIB is set to the libdir when building ikiwiki, calculate and hardcode a proper 'use lib' statement anyway. This fixes a gotcha, since PERL5LIB won't work once ikiwiki is running via a wrapper or as a cgi.
2008-05-14 02:42:01 -04:00
Joey Hess
fba4a198b5
mdwn: Add a multimarkdown setup file option.
2008-05-13 12:43:25 -04:00
Joey Hess
344b50d783
releasing version 2.46
2008-05-12 20:57:28 -04:00
Joey Hess
fb3d5b4800
Fixes for behavior changes in perl 5.10's CGI
...
Something has changed in CGI.pm in perl 5.10. It used to not care
if STDIN was opened using :utf8, but now it'll mis-encode utf-8 values
when used that way by ikiwiki. Now I have to binmode(STDIN) before
instantiating the CGI object.
In 57bba4dac1
, I changed from decoding
CGI::Formbuilder fields to utf-8, to decoding cgi parameters before setting
up the form object. As of perl 5.10, that approach no longer has any effect
(reason unknown). To get correctly encoded values in FormBuilder forms,
they must once again be decoded after the form is set up.
As noted in 57bba4da
, this can cause one set of problems for
formbuilder_setup hooks if decode_form_utf8 is called before the hooks, and
a different set if it's called after. To avoid both sets of problems, call
it both before and after. (Only remaining problem is the sheer ugliness and
inefficiency of that..)
I think that these changes will also work with older perl versions, but I
haven't checked.
Also, in the case of the poll plugin, the cgi parameter needs to be
explcitly decoded before it is used to handle utf-8 values. (This may have
always been broken, not sure if it's related to perl 5.10 or not.)
2008-05-12 20:44:22 -04:00
Joey Hess
f867b6b9b6
add suggests for s3 perl module
2008-05-12 17:12:40 -04:00
Joey Hess
0850cde5a6
implemented pruning, s3 support now complete-ish
2008-05-07 23:51:25 -04:00
Joey Hess
ec866f8370
Optimised file statting code when scanning for modified pages; cut the number of system calls in half. (Still room for improvement.)
2008-05-07 14:11:56 -04:00
Joey Hess
b144831e46
pinger/pingee now tested and working
2008-05-06 19:06:53 -04:00
Joey Hess
880d098dab
template change documentation
2008-05-06 14:33:03 -04:00
Joey Hess
64f9dfee32
typo
2008-05-05 20:44:18 -04:00
Joey Hess
1f88cad3a2
aggregate: Add support for web-based triggering of aggregation for people stuck on shared hosting without cron. (Sheesh.) Enabled via the `aggregate_webtrigger` configuration optiom.
2008-05-05 20:20:45 -04:00
Joey Hess
545054c356
releasing version 2.45
2008-05-05 15:17:44 -04:00
Joey Hess
3a9dfb8361
enhancesments for shared hosting
...
* Add a Bundle::Ikiwiki to the source for use with CPAN to install *all*
the modules ikiwiki can use.
* Add a cpan directory containing a CPAN::MyConfig that can ease use of
CPAN to install in a home directory on shared hosting providers.
* With these changes, it's pretty easy to install onto nearlyfreespeech.net
and probably other shared hosting providers like dreamhost. Added
a tip page documentng the process for nearlyfreespeech.
2008-05-05 14:51:26 -04:00
Joey Hess
f06267fc3b
git: Put -- before the filename when calling git rev-list to avoid warning message when the file doesn't exist.
2008-05-02 13:03:42 -04:00
Joey Hess
b2dea99417
Fix ugly display when editing a page that has vanished.
...
srcfile now has an optional second parameter to avoid it throwing an error
if the source file does not exist.
2008-05-02 13:02:07 -04:00
Joey Hess
6f852e88e3
anonk: Add anonok_pagespec configuration setting that can be used to allow anonymous users to edit only matching pages. Closes : #478892
2008-05-01 14:58:23 -04:00
Joey Hess
bb51e81762
img: Support a title attribute, will be passed through to html. Closes : #478718
2008-04-30 12:58:36 -04:00
Joey Hess
788f83c97d
Add missing de.po. Closes : #471540
2008-04-29 16:28:07 -04:00
Joey Hess
dbb5d11196
Deal with different paths to perl when removing -T flag.
2008-04-28 15:37:17 -04:00
Joey Hess
9f02ee8634
Add PREFIX/bin to the hardcoded PATH within ikiwiki.
2008-04-28 13:44:37 -04:00
Joey Hess
9652cdfe2e
toc: Add the table of contents at sanitize time, rather than at format time. This allows the toc to be displayed when previewing an edit. It also avoids headers in the page template from showing up in the toc.
2008-04-26 15:13:01 -04:00
Joey Hess
7d7f85bbb5
Correct a bug in pagespec matching, where a empty pagespec matched all pages.
...
This manifested as wikis with no locked pages treating them all as locked.
The bug was introduced in version 2.41.
Medium urgency upload due to above fix.
2008-04-24 13:49:15 -04:00
Joey Hess
a46261fec2
Allow libtext-markdown-perl to satisfy dependencies, as a an alternative to the markdown package.
2008-04-21 15:14:39 -04:00
Joey Hess
3912a9f5e9
add CVE link
2008-04-20 15:25:51 -04:00
Joey Hess
f1228946bd
Bring back the svnrepo setup file option. This is needed for recentchangediff to work with svn repos.
2008-04-17 14:37:55 -04:00
Joey Hess
18cb252e74
releasing version 2.43
2008-04-16 18:44:58 -04:00
Joey Hess
14b59caba3
Recommend a recent git-core for git init. Closes: 475609
2008-04-11 20:06:23 -04:00
Joey Hess
2beb279806
Give the full path to the hyperestraier helpfile in estseek.conf.
2008-04-10 17:50:43 -04:00
Joey Hess
b698bf2408
Use bzr --quiet to avoid it outputting stuff and messing up http headers. (Scott Bronson)
2008-04-10 17:44:40 -04:00
Joey Hess
e4395a567b
Fix broken rcs_update for bzr. (Scott Bronson)
2008-04-10 17:41:43 -04:00
Joey Hess
e1d456a86f
Fix missing import of escapeHTML in userlink. (Scott Bronson)
2008-04-10 17:39:51 -04:00
Joey Hess
7f51c69491
releasing version 2.42
2008-04-10 17:24:08 -04:00
Joey Hess
72b5ef2c5f
Fix CSRF attacks against the preferences and edit forms. Closes : #475445
...
The fix involved embedding the session id in the forms, and not allowing the
forms to be submitted if the embedded id does not match the session id.
In the case of the preferences form, if the session id is not embedded,
then the CGI parameters are cleared. This avoids a secondary attack where the
link to the preferences form prefills password or other fields, and
the user hits "submit" without noticing these prefilled values.
In the case of the editpage form, the anonok plugin can allow anyone to edit,
and so I chose not to guard against CSRF attacks against users who are not
logged in. Otherwise, it also embeds the session id and checks it.
For page editing, I assume that the user will notice if content or commit
message is changed because of CGI parameters, and won't blndly hit save page.
So I didn't block those CGI paramters. (It's even possible to use those CGI
parameters, for good, not for evil, I guess..)
The only other CSRF attack I can think of in ikiwiki involves the poll plugin.
It's certianly possible to set up a link that causes the user to unknowingly
vote in a poll. However, the poll plugin is not intended to be used for things
that people would want to attack, since anyone can after all edit the poll page
and fill in any values they like. So this "attack" is ignorable.
2008-04-10 16:35:30 -04:00
Joey Hess
04e7467807
need to handle urls to images the same
...
Also, simplified finding the url to the top of the site.
2008-04-03 16:37:05 -04:00
Joey Hess
de8c34df59
aggregate: Correct a mistake in the code that dummy up a guid for feeds lacking one.
2008-04-03 02:36:01 -04:00
Joey Hess
5b8f2742f3
releasing version 2.41
2008-03-29 21:17:15 -04:00
Joey Hess
f6bd81db15
Added a hardlink option in the setup file, useful if the source and dest are on the same filesystem and the wiki includes large media files, which would normally be copied, wasting time and space.
2008-03-29 21:02:47 -04:00
Joey Hess
d2911a20a6
inline: Allow the "feedshow" parameter to take values greater than the value for "show".
2008-03-23 17:39:03 -04:00
Joey Hess
479f75abf4
defer po and pot file updating until package build time
...
This allows make to be run without polluting the tree with lots of po file
changes.
2008-03-21 16:32:23 -04:00
Joey Hess
ca8852b434
external: Work around XML RPC's lack of support for null by passing a special sentinal value.
2008-03-21 15:12:15 -04:00
Joey Hess
213eb2e408
Changed to a binary index file, written using Storable, for speed
...
During refresh of a wiki with 800 files, loadindex was using more total
time than any other function, and saveindex was also in the top ten.
Rewriting them to use Storable makes them three times as fast.
0.7 seconds is saved on my laptop in profiling mode.
2008-03-21 09:07:44 -04:00
Joey Hess
bf7360347e
Precompile pagespecs, about 10% overall speedup
...
About 12% of ikiwiki runtime was spent in pagespec_match. It was evaling
the same pagespec code over and over again. This changes pagespec_translate
to return memoized, precompiled functions that can be called to match against
a given pagespec.
This also allows getting rid of the weird variable scoping trick that had
to be in effect for pagespec_translate to be called -- the variables are
now just fed into the function it returns.
On my laptop, this drops build time for the docwiki from about 60 to 50
seconds.
2008-03-21 06:36:07 -04:00
Joey Hess
f937c1fb80
crazy optimisation to work around slow markdown
...
Markdown is slow. Especially if it has to process an enormous page. The
most common enormous page is currently the recentchanges page, which gets
processed a lot, and contains very little actual markdown. Most of it is a
big <div>, which markdown skips ... slowly.
This is a rather sick optimisation to work around markdown's speed issues.
Now inline inserts a small, dummy div, allows markdown to quickly render
the actual page content, then replaces the dummy with the actual inlined
pages later.
Results: Rendering just a recentchanges page, with diffs included, dropped
from 4.5 seconds to 2.7 seconds on my laptop. Building the entire wiki
dropped from 46.6 seconds to 39.5 seconds.
(It would be better if inline were a *post*-processor directive.)
2008-03-21 04:48:26 -04:00
Joey Hess
be4e3ad587
typo
2008-03-21 02:43:56 -04:00
Joey Hess
44824dba1b
smiley: Detect smileys inside pre and tags, and do not expand.
2008-03-21 02:43:20 -04:00
Joey Hess
628467125c
Close meta tag for redir properly.
2008-03-21 00:24:06 -04:00
Joey Hess
c92e9b34ec
Store userinfo in network byte order for easy portability. (Old files will be automatically converted.)
2008-03-19 22:46:51 -04:00
Joey Hess
127d97066b
Time::Duration is no longer used, remove from docs and recommends.
2008-03-19 21:59:40 -04:00
Joey Hess
556ec23914
German translation update. Closes : #471540
2008-03-18 16:36:19 -04:00
Joey Hess
52e16d4ec9
* Record new pages in %pagesources temporarily when previewing so that
...
things that need to know the page source or type can query it from there.
Fixes previewing of tables when creating a new page.
2008-03-17 21:28:31 -04:00
Joey Hess
4690a450eb
update
2008-03-17 17:17:53 -04:00
Joey Hess
8a29361c32
* Detect invalid pagespecs and do not merge them in add_depends,
...
as that can result in a broken merged pagespec that matches nothing.
2008-03-17 14:04:59 -04:00
Joey Hess
52d9f8e9f3
* Correct bug in encoding of %pagestate keys, fixes edittemplate.
2008-03-17 13:08:16 -04:00
Joey Hess
ba480baa9e
* external: Add getargv and setargv methods to allow access to ikiwiki's
...
@ARGV.
2008-03-15 14:19:49 -04:00
Joey Hess
5a7a89ffc5
* htmltidy: Pass --markup yes, in case tidy's config file disabled it.
2008-03-15 13:58:08 -04:00
Joey Hess
e7ce86db11
* external: Fix support of XML::RPC::fault.
2008-03-15 13:49:22 -04:00
Joey Hess
618a317f57
update
2008-03-15 13:22:29 -04:00
Joey Hess
75cddc22d3
update
2008-03-15 13:20:52 -04:00
Joey Hess
8484b3d5e6
* French translation update. Closes : #471010
2008-03-15 12:35:42 -04:00
Joey Hess
7b6686ce70
* Fix expiry of old recentchanges changeset pages.
2008-03-14 18:55:17 -04:00
Joey Hess
99c65a4c0e
* Use absolute url for feedurl when filling out the feed templates.
...
Closes : #470530
2008-03-12 18:49:41 -04:00
Joey Hess
f7bdc2385d
* Use forcebaseurl to make page previews be displayed with the html base
...
set to the destination page. This avoids need for hacks to munge the urls
in preview mode, which fixes several bugs.
* Several destpage fixes in plugins.
2008-03-12 14:21:48 -04:00
Joey Hess
5cc97e1df4
changelog
2008-03-12 10:47:17 -04:00
Joey Hess
2fa9da9f16
* monotone: Require version 0.38 or greater, and stop using the mtnmergerc
...
option. (Brian May)
2008-03-12 10:46:04 -04:00
Joey Hess
c2dd8de9a8
update
2008-03-11 15:54:09 -04:00
Joey Hess
816d124a64
add changelog messages
2008-03-11 15:52:47 -04:00
Joey Hess
fc4c1b7ec8
* Remove locking code in git rcs_commit. I'm not sure if this was ever
...
correct, and it's certianly not correct now, since the wiki is locked
before rcs_commit is ever called, and should not be unlocked by
rcs_commit either.
2008-03-07 12:25:40 -05:00
Joey Hess
eff0e7aa8a
* Fix example exclude regexp. Closes : #469691
2008-03-06 12:09:10 -05:00
Joey Hess
4401e5b9ed
* Updated Spanish translation from Victor Moral.
2008-03-06 12:04:24 -05:00
Joey Hess
eec482aa65
test for Text::Markdown::[Mm]arkdown and use the available one
...
Markdown is such a splintered mess.. The current debian package provides
only Text::Markdown::Markdown, while all versions of Text::Markdown support
Text::Markdown::markdown, and old versions also support the capitalised version,
while new ones don't.
It's getting to the point where `grep /markdown/i %symbol_table` is the only
sane way to figure out what function to call..
2008-03-04 20:29:52 -05:00
Joey Hess
0217eebf49
* Use Text::Markdown::markdown, since version 1.0.16 of Text::Markdown
...
no longer supports Text::Markdown::Markdown. All old versions of
Text::Markdown also support the lower-case version.
2008-03-04 20:17:55 -05:00
Joey Hess
d93aaed791
* Add recentchangesdiff plugin that adds diffs to the recentchanges feeds.
...
* rcs_diff is a new function that rcs modules should implement.
* Implemented rcs_diff for git, svn, and tla (tla version untested).
Mercurial and monotone still todo.
2008-03-03 15:53:34 -05:00
martin f. krafft
c10cfb27d1
Add robots tag to meta plugin
...
Add special handling for <meta name="robots" ...> which needs not be
scrubbed as it's harmless.
Signed-off-by: martin f. krafft <madduck@madduck.net>
(cherry picked from commit b15d0299a7f7b147e89d8a202d6cca1c21491af2)
2008-03-02 18:04:09 -05:00
Adeodato Simó
a8f08ab8e1
Make directives generated by shortcuts accept a `desc` parameter.
...
(cherry picked from commit 252da396bfa728b99af7c9bb304a7b5f3f6d94e6)
2008-03-02 18:04:09 -05:00
Joey Hess
c7b376377f
releasing version 2.40
2008-02-29 23:23:16 -05:00
Joey Hess
95b77d9c4d
add changelog entry
2008-02-29 22:54:19 -05:00
Joey Hess
af20ee2b76
* ikiwiki-makerepo: Don't fail if the third argument ends in a slash.
2008-02-24 17:56:39 -05:00
Joey Hess
4eabb3cb7a
* inline: When forcing urls absolute for rss feeds, skip mailto and other
...
such urls.
2008-02-24 17:07:56 -05:00
Joey Hess
bd55d276b3
Fix links generated by preprocessor directives when previewing.
...
As was already done for linkfication, links generated in a prevew page
are relative to the top of the wiki, so it has to be told that the destpage
is there.
I was using "" to indicate this, but that may confuse some preprocessor
plugins, which treat parameters with an empry value specially (sparkline is one
such). Instead, use "/", which is more accurate anyway and works just as well.
2008-02-24 16:37:11 -05:00
Joey Hess
d14bde197e
* Disable taint checking for all builds as people keep complaining about it,
...
and since all versions of perl seem to be hopelessly broken.
2008-02-24 15:42:43 -05:00
Joey Hess
f7303db5a1
* Fix another preview will_render bug. This one involved inline,
...
which forced a scan of the page to make available metadata that
appeared after the inline directive. Problem is that scan made it forget
about any other files rendered due to the page. The scan also turns out
to be unnecessary now, since meta persistently stores state and it's
always available. So it was just removed.
2008-02-24 15:36:25 -05:00
Joey Hess
5f1a97d954
retroactively add bug closure and CVE ids
2008-02-20 16:46:31 -05:00
Joey Hess
a59af82bb8
* tla: Remove call to escapeHTML when constructing recentchanges message;
...
the html is escaped at a different level. Closes : #466495
* bzr, mercurial: Remove unused import of escapeHTML.
2008-02-20 16:45:02 -05:00
Joey Hess
1c06aed378
* monotone: Add code to default mergerc file to run
...
_MTN/ikiwiki-netsync-hook when a commit is merged in from the net.
2008-02-14 16:10:33 -05:00
Joey Hess
553136ec1f
* Preview limits the page dropdown to what's selected previously
...
(as preserving the full list across preview would be tricky). Userdirs
were still being offered as an option there, remove them.
* Fix a bug where user A created a page concurrently with user B, and
when B previewed it would redirect B to A's new page, losing B's work.
Instead, don't redirect and let conflict handling resolve it.
2008-02-14 15:42:14 -05:00
Joey Hess
8be2b60aac
* The search plugin needs to override <base> to point to the directory
...
containing ikiwiki.cgi, but this should not change the urls to the style
sheets etc. Add a new forcebareurl parameter to misctemplate to allow
it to do that.
2008-02-14 15:20:49 -05:00
Joey Hess
4eabe04ced
* Depend on HTML::Scrubber, since the scrubber is enabled by default and
...
dies if its can't be loaded.
2008-02-13 13:17:07 -05:00
Joey Hess
49adc59474
* Setting NOTAINT=1 had no effect when building ikiwiki itself, fix this.
2008-02-12 17:17:49 -05:00
Joey Hess
491c62f5b0
fix name of plugin in changelog
2008-02-11 23:05:18 -05:00
Joey Hess
1de1fb15a0
* camelcase: Convert to use new linkify and scan hooks rather than the old
...
hack.
2008-02-11 23:04:19 -05:00
Joey Hess
4763514861
* Add the linkify and scan hooks. These hooks can be used to implement
...
custom, first-class types of wikilinks.
* Move standard wikilink implementation to a new wikilink plugin, which
will of course be enabled by default.
2008-02-11 22:48:27 -05:00
Josh Triplett
5163646e26
Remove trailing whitespace from README.Debian
2008-02-10 22:55:48 -08:00
Josh Triplett
2294200e70
Remove trailing whitespace
2008-02-10 22:54:56 -08:00
Joey Hess
4aab5f0a73
* Generate XML RPC messages with the encoding set to utf-8 instead
...
of XML::RPC's default of us-ascii. Allows interoperation with
python's xmlrpc library, which threw invalid encoding exceptions and
caused the rst plugin to hang.
2008-02-11 00:11:49 -05:00
Joey Hess
1510725aef
* Danish translation update from Jonas Smedegaard. Closes : #465152
2008-02-10 19:05:33 -05:00
Joey Hess
78c7f4dc71
attribution
2008-02-10 18:46:53 -05:00
Josh Triplett
728dfd9595
Allow the smb: URI scheme.
2008-02-10 15:08:56 -08:00
Josh Triplett
502cd00ec7
Allow the snews: URI scheme.
2008-02-10 15:05:11 -08:00
Josh Triplett
ec9d3ab549
Do not allow the steam: URI scheme.
2008-02-10 14:59:08 -08:00
Josh Triplett
3cda22a27f
Match literal '.' in URI schemas containing '.', rather than matching any character
2008-02-10 14:50:30 -08:00
Joey Hess
bbcf878f75
* meta: Check that the urls provided for authorurl, permalink, and openid
...
are safe and can't contain javascript.
2008-02-10 17:17:44 -05:00
Josh Triplett
d20e24b636
Also filter the attributes cite, longdesc, and usemap, which can contain URIs
2008-02-10 13:59:37 -08:00
Josh Triplett
34115a34e0
Move about: fix to version 2.31.3 in the changelog
2008-02-10 13:36:52 -08:00
Josh Triplett
a7be7bdf56
Do not allow the about: URI scheme
...
Some browsers interpret about: URIs like a limited version of data:
URIs. In particular, some versions of Internet Explorer interpret
arbitrary HTML content in about: URIs.
2008-02-10 13:23:28 -08:00
Joey Hess
6aa25f2757
update
2008-02-10 15:38:57 -05:00
Joey Hess
852994d950
changelog munging
2008-02-10 14:17:27 -05:00
Joey Hess
d7e0c035e5
* htmlscrubber security fix: Block javascript in uris.
...
* Add htmlscrubber test suite.
2008-02-10 13:16:40 -05:00
Joey Hess
c041e97c29
fix versions
2008-02-10 02:13:09 -05:00
Josh Triplett
122f6df325
Merge branch 'master' into prefix-directives
...
Conflicts:
debian/changelog
templates/change.tmpl
2008-02-09 23:02:52 -08:00
Joey Hess
1eeb683f1a
releasing version 2.31
2008-02-10 01:11:48 -05:00
Joey Hess
f1fcb5be9c
* Page templates can now use CTIME to show when the page was created.
2008-02-09 23:05:48 -05:00
Josh Triplett
6b35ec682b
Mention user wikilists in README.Debian
2008-02-08 18:12:38 -08:00
Josh Triplett
e183aa198f
Use plural "wikis" for consistency
2008-02-08 17:58:43 -08:00
Joey Hess
63e316f362
* Don't die if running with --getctime and rcs_getctime throws an error.
...
There are several cases (recentchanges files, aggregated files)
where some source files are not in revision control.
2008-02-07 22:11:54 -05:00
Joey Hess
ce0e242d21
update after merge
2008-02-05 16:06:50 -05:00
Joey Hess
f92505d78b
Merge branch 'master' into prefix-directives
2008-02-05 15:59:42 -05:00
Joey Hess
bf522a347f
* inline: Add new `allowrss` and `allowatom` config options. These can be
...
used if you want a wiki that doesn't default to generating rss or atom
feeds, but that does allow them to be turned on for specific blogs.
2008-02-04 18:36:50 -05:00
Joey Hess
d1c4899a22
* inline: When previewing, still call will_render on rss/atom files,
...
just avoid actually writing the files. This is necessary because ikiwiki
saves state after a preview (in case it actually *did* write files),
and if will_render isn't called its security checks will get upset
when the page is saved. Thanks to Edward Betts for his help tracking this
tricky bug down.
2008-02-04 17:58:23 -05:00
Joey Hess
1c60510600
add monotone to list
2008-02-03 18:23:31 -05:00
Joey Hess
749c1e36d9
* monotone changes by Brian May:
...
- On commits, replace "mtn sync" bidirectional with "mtn push" single
direction. No need to pull changes when doing a commit. mtn sync
is still called in rcs_update.
- Support for viewing differences via patches using viewmtn.
2008-02-03 18:14:39 -05:00
Joey Hess
9d54cc4659
implement aggregate_locking design
...
Now aggregation will not lock the wiki. Any changes made during aggregaton are
merged in with the changed state accumulated while aggregating. A separate
lock file prevents multiple concurrent aggregators. Garbage collection
of orphaned guids is much improved. loadstate() is only called once
per process, so tricky support for reloading wiki state is not needed.
(Tested fairly thuroughly.)
2008-02-03 16:48:26 -05:00
Joey Hess
e57749b702
* recentchanges: Exipre all *._change pages, even if the directory
...
they're in has changed.
2008-02-03 14:51:03 -05:00
Joey Hess
340fe9707c
* recentchanges: Improve handling of links on the very static changes pages
...
by thunking to the CGI, which can redirect to the page, or allow it to be
created if it doesn't exist.
2008-02-03 14:48:20 -05:00
Joey Hess
1f6591f0a6
* aggregate: Revert use of forking to not save state, that was not the right
...
approach.
2008-02-03 03:04:19 -05:00
Joey Hess
9f60272831
* poll: This plugin turns out to have edited pages w/o doing any locking.
...
Oops. Convert it from a cgi to a sessioncgi hook, which will work
much better.
2008-02-03 00:26:00 -05:00
Joey Hess
80915c830a
* cgi hooks are now run before ikiwiki state is loaded.
...
* This allows locking the wiki before loading state, which avoids some
tricky locking code when saving a web edit.
2008-02-03 00:23:04 -05:00
Joey Hess
0779013683
* aggregate: Forking a child broke the one state that mattered: Forcing
...
the aggregating page to be rebuilt. Fix this.
2008-02-02 23:56:13 -05:00
Joey Hess
6a7c3d1209
* Revert preservation of input file modification times in output files,
...
since this leads to too many problems with web caching, especially with
inlined pages. Properly solving this would involve tracking every page
that contributes to a page's content and using the youngest of them all,
as well as special cases for things like the version plugin, and it's just
too complex to do.
2008-02-02 23:40:57 -05:00
Joey Hess
e3c21fd5e8
releasing version 2.30
2008-02-02 17:51:04 -05:00
Joey Hess
07abbabd6a
remove mention of commit mails
2008-02-02 17:41:06 -05:00
Joey Hess
fbe2ab4419
remove mention of commit mails
2008-02-02 17:40:05 -05:00
Joey Hess
61ffa4a816
rename ikiwiki-prefix-directives into ikiwiki-transition
...
If we have transitions of this sort in the future, this program will
hopefully be used to handle them too.
2008-01-30 17:22:59 -05:00
Joey Hess
002cf74f18
* Copyright file updates.
2008-01-29 20:42:32 -05:00
Joey Hess
8427187a39
update
2008-01-29 19:56:53 -05:00
Joey Hess
336a276446
changelog
2008-01-29 19:42:19 -05:00
Joey Hess
70f61689d6
improve versioning, not that it really matters
2008-01-29 19:42:11 -05:00
Joey Hess
f6b8eccbe4
version bzr dep, 0.90 is needed for --author
2008-01-29 19:40:20 -05:00
Joey Hess
cddc335b2b
Merge git://git.samba.org/jelmer/ikiwiki
2008-01-29 19:28:51 -05:00
Joey Hess
3803266b8f
merged the recentchanges branch
...
misc fixes
2008-01-29 17:50:11 -05:00
Joey Hess
1d31f3405a
doc updates, add NEWS item
2008-01-29 17:27:01 -05:00
Joey Hess
64a8c828b8
* meta: Add pagespec functions to match against title, author, authorurl,
...
license, and copyright. This can be used to create custom RecentChanges.
* meta: To support the pagespec functions, metadata about pages has to be
retained as pagestate.
* Fix encoding bug when pagestate values contained spaces.
2008-01-29 17:16:51 -05:00
Joey Hess
47ee266163
improve support for internal pages
...
This makes it a lot quicker to deal with lots of recentchanges pages
appearing and disappearing. It avoids needing to clutter up pagespecs with
exclusions for those pages, by making normal pagespecs not match them.
2008-01-29 15:05:49 -05:00
Joey Hess
d72753e100
updates
2008-01-29 01:03:44 -05:00
Joey Hess
d7fdd04b5a
* Removed support for sending commit notification mails. Along with it went
...
the svnrepo and notify settings, though both will be ignored if left in
setup files.
2008-01-29 00:36:58 -05:00
Joey Hess
2ff726e875
don't render internal-use pages, and document them
2008-01-29 00:07:55 -05:00
Joey Hess
2d3dc86d07
* prettydate,ddate: Don't ignore time formats passed to displaytime
...
function.
2008-01-28 23:48:27 -05:00
Joey Hess
3436fed081
* inline: The template can check for FIRST and LAST, which will be
...
set for the first and last inlined page. Useful for templates that build
tables and the like.
2008-01-28 21:22:04 -05:00
Jelmer Vernooij
f2d559df32
Add optional dependency on bzr.
2008-01-28 07:31:05 +01:00
Josh Triplett
1b03a06c8c
Add new preprocessor directive syntax¸ using a '!' prefix.
...
Add a prefix_directives option to the setup file to turn this syntax
on; currently defaults to false, for backward compatibility. Support
optional '!' prefix even with prefix_directives off, and use that in
the underlay to support either setting of prefix_directives. Add NEWS
entry with migration information.
2008-01-27 16:14:38 -08:00
Josh Triplett
a93652df9d
Add debian/.gitignore, with ignores for Debian build products
2008-01-26 22:28:44 -08:00
Josh Triplett
2ec5768aac
Remove a trailing space from debian/changelog (noticed by dch)
2008-01-26 16:43:12 -08:00
Josh Triplett
295619dfa0
debian/changelog entry for commit 37b4fadcee
...
Add missing debian/changelog entry for previous commit
37b4fadcee
, "Add trailing comma to
commented-out umask in sample ikiwiki.setup".
2008-01-26 16:42:40 -08:00
Joey Hess
4f872b5633
* aggregate: Fork a child process to handle the aggregation. This simplifies
...
the code, since that process can change internal state as needed, and
it will automatically be cleaned up for the parent process, which proceeds
to render the changes.
2008-01-24 17:22:39 -05:00
Joey Hess
eac410da67
update changelog
2008-01-17 11:23:32 -05:00
Joey Hess
ba6b8e5e3e
* aggregate: Don't let feeds set creation times for pages in the future.
2008-01-16 02:01:00 -05:00
Joey Hess
d312709c41
* Old versions of git-init don't support --git-dir or GIT_DIR with
...
--bare. Change ikiwiki-makerepo to use a method that should work with
those older versions too.
2008-01-11 15:12:02 -05:00
Joey Hess
01461d3537
releasing version 2.20
2008-01-10 14:58:47 -05:00
Joey Hess
d028c29772
docs/changelog
2008-01-09 20:05:56 -05:00
Joey Hess
141d363888
In preferences, allow the subscriptions and email fields to be cleared
2008-01-09 17:59:56 -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
2b9ce0129b
* mdwn: When htmlizing text, if it's a single line with no newline,
...
remove the enclosing paragraph and newline markdown wraps it in.
This allows removing several hacks around this markdown behavior from
other plugins that htmlize fragements of pages.
2008-01-09 14:35:23 -05:00
Joey Hess
57ff2ecaed
* template: Remove bogus htmlize pass added in 2.16.
...
* template: Htmlize template variables, but also provide a raw version
via `<TMPL_VAR raw_variable>`.
2008-01-09 14:17:25 -05:00
Joey Hess
5d3c225ad7
clarification
2008-01-09 02:50:02 -05:00
Joey Hess
deb39a1f14
* meta: Run in scan mode again (more intelligently) and re-add support for
...
meta link.
* Fix support for the case where metadata appears after an inline directive.
This was broken in version 2.16.
2008-01-09 02:38:43 -05:00
Joey Hess
b31e8c0826
* inline: Add copyright/license info on a per-post basis to atom
...
feeds if available. (rss doesn't allow such info on a per-post basis)
* meta: Allow copyright/license metadata to contain arbitrary markup.
2008-01-09 01:05:54 -05:00
Joey Hess
13cf99822d
releasing version 2.19
2008-01-08 21:01:40 -05:00
Joey Hess
86781fc43e
* aggregate: Include copyright statements from rss feed as meta copyright
...
directives.
* aggregate: Yet another state saving fix (sigh).
* aggregate: Add hack to support feeds with invalidly escaped html entities.
2008-01-08 20:41:25 -05:00
Joey Hess
4c1a4402f9
* htmlscrubber: Further work around #365971 by adding tags for 'br/', 'hr/'
...
and 'p/'.
2008-01-07 18:32:50 -05:00
Joey Hess
e35eb5a418
* Add a prereq on Data::Dumper 2.11 or better, needed to dump q// objects.
2008-01-07 18:12:12 -05:00
Joey Hess
c487b847e2
* Improved the canedit hook interface, allowing a callback function to be
...
returned (and not run in some cases) rather than the plugins directly
forcing a user to log in.
* opendiscussion: allow editing of the toplevel discussion page,
and, indirectly, allow creating new discussion pages.
2008-01-07 16:34:13 -05:00
Joey Hess
45de8dc710
* opendiscussion: allow editing of the toplevel discussion page
2008-01-07 16:10:32 -05:00
Joey Hess
9dbbbd0efa
* Only try postsignin if no other action matched. Fixes a bug where the
...
user goes back from the signin screen and does something else.
* Improve behavior when trying to sign in with no cookies.
2008-01-07 15:56:39 -05:00
Joey Hess
ceffae8af1
* aggregate: Only save state if it was already loaded. This didn't used to
...
* table: Fix dependency tracking for external data files. Closes : #458387
2008-01-05 02:23:31 -05:00
Joey Hess
9f2b52cdb0
* aggregate: Only save state if it was already loaded. This didn't used to
...
matter, but after recent changes, state is not always loaded, and saving
would kill it.
2008-01-05 01:27:36 -05:00
Joey Hess
76e941a480
* aggregate: Only save state if it was already loaded.
2008-01-05 01:26:09 -05:00
Joey Hess
57bba4dac1
* Stop testing Encode::is_utf8 in decode_form_utf8: That doesn't work.
...
* decode_form_utf8 only fixed the utf-8 encoding for fields that were
registered at the time it was called, which was before the
formbuilder_setup hook. Fields added by the hook didn't get decoded.
But it can't be put after the hook either, since plugins using the hook
need to be able to use form values. To fix this dilemma, it's been changed
to a decode_cgi_utf8, which is called on the cgi query object, before the
form is set up, and decodes *all* cgi parameters.
2008-01-01 19:58:45 -05:00
Joey Hess
2269cfda30
* Split error messages for failures to drop real uid and gid.
...
* Retry dropping uid and gid, possibly this will help with the "Resource
temporarily unavailable" failures I've experienced under xen.
2008-01-01 18:48:34 -05:00
Joey Hess
6b8a7a6bee
releasing version 2.17
2007-12-30 15:04:25 -05:00
Joey Hess
f0f52e602d
* aggregate: Fix stupid mistake introduced when converting it to use
...
the needsbuild hook. This resulted in feeds not being removed when pages
were updated, and probably other bugs.
* aggregate: Avoid uninitialised value warning when removing a feed that
has an expired guid.
2007-12-30 14:49:25 -05:00
Joey Hess
3e784ea8a1
* map: Fix handling of common prefix to handle the case where it's
...
in a subdirectory. Patch by Larry Clapp.
2007-12-28 17:22:17 -05:00
Joey Hess
63f62ef520
* conditional: Improve regexp testing for simple uses of pagespecs
...
that match only the page using the directive, adding 'included()'
and supporting negated pagespecs and added whitespace.
2007-12-28 16:55:20 -05:00
Joey Hess
c2afda7f90
* img: Allow the link parameter to point to an exterior url.
2007-12-28 16:14:43 -05:00
Joey Hess
2332b40595
* img: Avoid nesting images when linking to another image. Closes : #457780
2007-12-26 10:49:15 -05:00
Joey Hess
c10b9ca3be
update changelog
2007-12-22 13:11:56 -05:00
Joey Hess
b30fed47ea
* Improved parentlinks special case for index pages.
2007-12-19 16:44:33 -05:00
Joey Hess
0a26c630eb
releasing version 2.16
2007-12-18 19:50:40 -05:00
Joey Hess
67dcf175cb
* Work around perl taint checking bug #411786 , where perl sometimes randomly
...
sets the taint flag on untainted variables, by disabling taint checking
in the deb. This sucks.
2007-12-17 19:25:44 -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
f40c6928f4
* Re-organise dependencies and recommends now that recommends are installed
...
by default.
2007-12-16 17:16:56 -05:00
Joey Hess
58f1ef0784
* git: Correct display of multiline commit messages in recentchanges.
2007-12-16 16:52:39 -05:00
Joey Hess
c3fed25ad4
* brokenlinks: Don't list the same link multiple times. (%links might
...
contain multiple copies of the same link)
2007-12-16 16:42:18 -05:00
Joey Hess
9459cc55ab
* meta: Drop support for "meta link", since supporting this for internal
...
* map: Don't inline images.
2007-12-16 16:00:13 -05:00
Joey Hess
96817b0032
* meta: Drop support for "meta link", since supporting this for internal
...
links required meta to be run during scan, which complicated its data
storage, since it had to clear data stored during the scan pass to avoid
duplicating it during the normal preprocessing pass.
* If you used "meta link", you should switch to either "meta openid" (for
openid delegations), or tags (for internal, invisible links). I assume
that nobody really used "meta link" for external, non-openid links, since
the htmlscrubber ate those. (Tell me differently and I'll consider bringing
back that support.)
* meta: Improved data storage.
* meta: Drop the hackish filter hook that was used to clear
stored data before preprocessing, this hack was ugly, and broken (cf:
liw's disappearing openids).
* aggregate: Convert filter hook to a needsbuild hook.
2007-12-16 15:56:09 -05:00
Joey Hess
5b2ab63f78
* Allow editing a page and deleting all content, while still disallowing
...
creating a new page that's entirely empty.
2007-12-12 19:11:29 -05:00
Joey Hess
f92a5ddbbb
document prior commit
2007-12-12 16:56:30 -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
214bc2b65b
* Allow dashes in preprocessor directive commands, and shortcuts.
2007-12-12 16:13:15 -05:00
Joey Hess
849f65a343
* Avoid unnecessary stat calls to get mtime when rendering pages, use
...
cached value.
* Preserve input file modification times in output files.
2007-12-12 14:43:35 -05:00
Joey Hess
c06643a435
* Ensure that web edited pages always end in a newline.
2007-12-12 13:41:21 -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
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
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
fd6d85aa79
* Added a version plugin that saves state about what's using it, to force
...
pages to rebuild when ikiwiki's version changes.
2007-12-08 18:33:08 -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
2fbca21390
updates
2007-12-08 16:19:39 -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
2c78477387
* meta: Add redir support, based on a patch by Thomas Schwinge.
2007-12-08 14:58:29 -05:00
Joey Hess
e30c3e3bb9
* Remove .otl file from sandbox to avoid build ugliness. Closes : #454181
2007-12-03 14:48:01 -05:00
Joey Hess
06d77d1756
releasing version 2.15
2007-12-01 11:51:34 -05:00
Joey Hess
91fe16f35c
* Add umask configuration option. Closes : #443329
2007-11-27 16:46:02 -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
491847ed53
* Add a new ikiwiki-makerepo program, that automates setting up a repo
...
and importing existing content for svn, git, and mercurial. This makes
the setup process much simpler.
* Reorganised git documentation.
* Actually install the ikiwiki-update-wikilist program.
2007-11-27 00:34:17 -05:00
Joey Hess
e15e3202eb
releasing version 2.14
2007-11-26 15:30:44 -05:00
Joey Hess
f2e5709a33
* Let CC be used to control what compiler is used to build wrappers.
...
* Use 'cc' instead of gcc as the default compiler.
2007-11-25 15:50:31 -05:00
Joey Hess
e3be983ba6
releasing version 2.13
2007-11-24 17:23:18 -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
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
80d16f80bf
* Allow trailing slashes after page names in wikilinks.
2007-11-17 16:26:34 -05:00
Joey Hess
6ccd9313d2
* More compact output for the brokenlinks plugin.
2007-11-17 16:16:34 -05:00
Joey Hess
e9ffdc9c4f
* Fix mercurial historyurl in example setup file.
2007-11-17 14:43:49 -05:00
Joey Hess
466a094928
* Better error message when a setup file has a syntax error.
...
Closes : #451666
2007-11-17 14:06:11 -05:00
Joey Hess
90b83ee32a
The ikiwiki zombie army release.
...
* Correct markdown in example index page in setup. Closes : #451469
2007-11-16 12:53:03 -05:00
Joey Hess
cb80809aec
* Add wrappergroup config option, which can be used to cause wrappers
...
to be created owned by some group other than the default. Useful
then there's a shared repository with access controlled by a group,
to let ikiwiki run setgid to that group.
* ikiwiki-mass-rebuild: Run build with the user in all their groups.
2007-11-14 09:27:11 -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
426d94b500
* ikiwiki.setup is licensed same as the basewiki, not GPLed.
2007-11-13 16:04:07 -05:00
Joey Hess
b8919ebb9e
* Add liblwpx-paranoidagent-perl to recommends of Debian package,
...
this is needed to do OpenID really securely.
2007-11-13 14:41:08 -05:00
Joey Hess
9d7d82bc61
releasing version 2.12
2007-11-12 14:40:24 -05:00
Joey Hess
8ffa59e610
* The first git commit legitimately has no parents. Avoid recentchanges
...
spewing uninitialised value warnings and debug messages about it.
Dummying up a parent of 0000000 allows gitweb to work too.
2007-11-12 12:53:46 -05:00
Joey Hess
eebd2aab99
* In the example setup file, use mode 6755 for the git post-update hook.
...
It needs to be setgid if the master repo is a shared repository, so
that pushes into the working copy repository happen as the same group,
avoiding permissions problems.
2007-11-12 12:28:31 -05:00
Josh Triplett
899d836683
Add xmlns attribute on html element in templates; pages can now validate.
2007-11-08 12:59:02 -08:00
Josh Triplett
c9ab08a171
Update changelog for table plugin fix
2007-11-08 11:42:08 -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
ada249e0dd
* Don't truncate git commit messages to the first line in RecentChanges,
...
show the full message.
2007-10-31 18:35:37 -04:00
Joey Hess
3506f4ba07
* Improve the RecentChanges display for git merges, by passing -c instead
...
of -m to git-log, and by skipping display of commits that change no
pages.
2007-10-31 18:32:22 -04:00
Joey Hess
b8887c1cd7
* Avoid using commands like git-diff and instead use "git diff".
...
In some configurations, only the main git command is in the path.
2007-10-31 17:37:33 -04:00
Joey Hess
c5d9c0d6b6
* Avoid a race in the git rcs_commit function, by not assuming HEAD will
...
stay the same for the duration of the function.
2007-10-31 17:17:03 -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
1a3cc7af02
releasing version 2.11
2007-10-26 03:31:54 -04:00
Joey Hess
730a3fb4b7
Run git-commit -q (though it doesn't do much good due to its stderr abuse).
2007-10-26 03:22:44 -04:00
Joey Hess
1e1e1f5046
* ikiwiki-mass-rebuild: Patch from HenrikBrixAndersen to fix order
...
* ikiwiki-mass-rebuild: Don't clear PATH from the environment.
2007-10-25 23:12:23 -04:00
Joey Hess
f947f8c4b2
* ikiwiki-mass-rebuild: Patch from HenrikBrixAndersen to fix order
...
of permissions dropping code to work on FreeBSD.
2007-10-25 07:56:54 -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
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 Hess
6a64743737
ikiwiki is now stored in a git repository
...
Note that all the sha1s did change from those in the earlier ikiwiki git
repos gated from svn. Thank you, git-svnimport, for the pain.
2007-10-24 22:21:06 -04: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
3613f72a3b
* If gitorigin_branch is set to the empty string, don't push or pull.
...
Useful for laptop clones of remote wikis.
2007-10-22 01:47:30 +00:00
joey
19cfec2654
* Correct a pair of logic errors that triggered if svnpath was empty.
2007-10-21 22:57:11 +00:00
joey
673bbf9790
suggest python, since the rst formatter is written in it
2007-10-21 01:13:41 +00:00
joey
a22d9f9721
* Support git authors of the form "joey <joey>", which is common when
...
importing from a svn repo.
2007-10-21 00:27:11 +00:00
joey
4ee04161eb
* Danish translation from Jonas Smedegaard. Closes : #446952
2007-10-16 21:54:31 +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
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
eec289e281
* Fix strange stderr-hiding code in the git module, allow error messages
...
to be passed on to stderr. Also fixes a potential bug, since git error
meesages were treated as if they came from git stdout.
2007-10-10 23:27:11 +00:00
joey
65d56aa012
Vcs- fields now official
2007-10-10 22:19:53 +00:00
joey
278b16c79a
* In the cgi edit path, reload the index file before rendering. A bug
...
showed up where a web edit that added a page caused a near-concurrent
web edit to fail in will_render. While it would be hard to reproduce this,
my analysis is that the failing cgi started first, loaded the index file
(prior to locking) then the other cgi created the new page and rendered
it, and then the failing cgi choked on the new file when _it_ tried to
render it. Ensuring that the index file is loaded after taking the lock
will avoid this bug.
2007-10-10 18:40:54 +00:00
joey
3fd86def96
* French translation update. Closes : #445923
...
* Fix --get-ctime with git, needed to remove srcdir from filename.
2007-10-10 18:15:15 +00:00
joey
f948133a61
* Tidy ctime debug output for git.
2007-10-04 09:00:08 +00:00
joey
dfbdb843ec
releasing version 2.9
2007-09-30 19:30:50 +00:00
joey
4f0620e703
clean up bad wiki links, add news item
2007-09-29 18:47:53 +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
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
f9f38ae31c
* Save index after previewing page edit, since even previewing can create
...
files in some situations, and this is appropriate in some cases, such as
the teximg plugin's error log file.
Such files will be automatically cleaned up at an appopriate later time.
2007-09-22 18:31:52 +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
3cf42a466c
* Fix copyright and licence styling.
2007-09-20 18:06:55 +00:00
joey
c41941fcc8
releasing version 2.8
2007-09-17 01:36:26 +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
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
4c36a292b0
* Redid the debian/copyright file, using the proposed new copyright file
...
format. Included many details not previously listed in the old file.
2007-09-11 00:34:26 +00:00
joey
ac20e957c4
link the GPL to GPL-2 since GPL is now GPL 3.
2007-09-11 00:25:04 +00:00
joey
79c499a6a7
releasing version 2.7
2007-09-09 02:08:13 +00:00
joey
2de411ac86
* Exclude external plugin from syntax check since it uses a module that is
...
not in the build depends. Closes : #441171
2007-09-07 17:06:42 +00:00
joey
926c04e844
commit.
...
* Add the ikiwiki-update-wikilist command.
2007-09-06 00:32:11 +00:00
joey
6b5ab21959
* Change git test suite to reflect change in log for initial repo creation
...
commit.
2007-09-05 23:45:39 +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
18ed1a3bd6
* Updated Spanish translation from Victor Moral.
2007-09-04 17:31:00 +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
4dcca5b48e
add changelog entries
2007-08-30 02:49:47 +00:00
joey
67c6ff9b08
* mercurial: Fix rcs_getctime (thanks, bma)
2007-08-29 02:16:45 +00:00
joey
5b8e1cc369
thank goodness for test suites
2007-08-29 02:09:43 +00:00
joey
7813bcf08a
* mercurial: Pass --style defaults to hg log to ensure right format is used.
2007-08-29 02:01:23 +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
25294defb8
Don't allow newlines in link text in a wikilink.
2007-08-28 22:54:54 +00:00
joey
58318b3ef9
* Allow -cgi -wrapper to be passed on the command line to generate a
...
wrapper.
* Fix some taint issues with generating wrappers using the command line.
2007-08-28 21:14:03 +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
6d3d4129f0
fix newsion number
2007-08-27 22:03:46 +00:00
joey
6c89a635bb
* Add an editcontent hook.
2007-08-26 21:33:25 +00:00
joey
a036817125
releasing version 2.6.1
2007-08-26 18:08:45 +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
abc5919087
* Fix bug when blogging by cgi, introduced in last version.
2007-08-26 17:32:15 +00:00
joey
9653873e29
releasing version 2.6
2007-08-24 22:09:25 +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
7946c67d1f
* Avoid ugly gettext messages if LANG is empty. Closes : #439035
2007-08-21 21:19:53 +00:00
joey
50e1b43408
* Add monotone support, contributed by William Uther.
2007-08-21 03:10:35 +00:00
joey
4b06890971
* Add proper Homepage field to Debian package (needs uber-new dpkg).
2007-08-20 20:23:33 +00:00
joey
a9b7f01ec8
* Add color parameter to postsparkline. Closes : #438900
2007-08-20 18:57:21 +00:00
joey
ce7596dad9
* Applied Jeremie Koenig's pluggable editpage buttons patch:
...
- add a title to the editpage form;
- pass a reference to the list of buttons to the formbuilder_setup
hooks, so we can add ours;
- relax asumption about the possible submit values (use "Save Page"
explicitly);
- de-hardcode the submit buttons from the editpage template
(This was needed for compatability with a bug in CGI::FormBuilder
3.0401, but ikiwiki already needs a newer version.)
* Pass buttons to all other formbuilder_setup hooks too.
2007-08-17 05:34:59 +00:00
joey
c5ad5c8276
* Various minor fixes and stylistic improvements suggested by Perl::Critic.
2007-08-15 08:08:32 +00:00
joey
d392f5776a
* Fix bug when editing file from underlaydir, need to rcs_add it even though
...
a page creation isn't occuring.
2007-08-14 20:11:45 +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
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
22e83e75c8
typo
2007-08-13 04:13:22 +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
7922a663c0
* Support pagespec "functions" with no parameters, like included() in the
...
conditional plugin.
2007-08-11 23:31:57 +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
3ef2f4b529
* Updated French translation from Cyril Brulebois. Closes : #437181
2007-08-11 21:25:28 +00:00
joey
b72780e70b
* Add sessioncgi hook.
...
* Updated Spanish translation from Victor Moral.
2007-08-10 18:05:04 +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
8e2fb374e0
* Add sessioncgi hook.
2007-08-05 21:38:27 +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
2e6bbb2bec
* Add --set-option command line switch.
2007-08-04 06:28:43 +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
0931723fab
belated note about upgrades to 2.5
2007-07-29 21:57:39 +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
6a1e462cdd
releasing version 2.5
2007-07-27 02:03:14 +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
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
72c95e8434
* Fix re-rendering of pages when a linked to page goes away. This was broken
...
in version 1.50 with the addition of %destsources. Thanks, Ethan
Glasser-Camp.
2007-07-26 19:41:04 +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
4936b3db88
* Correct some issues with escaped preprocessor directives.
2007-07-20 17:55:19 +00:00
joey
c92ab9cddd
* Wrap the editpage template in the standard misctemplate, this allows the
...
pagetemplate hook to work for that page.
* Above change fixes the favicon plugin to work on edit pages.
2007-07-16 05:24:31 +00:00
joey
40261f2f9d
releasing version 2.4
2007-07-15 23:43:16 +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
64ec439f1f
bug closure
2007-07-13 22:39:34 +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
e0da57358c
get confused. So it's best for ikiwiki to follow the compatability
...
* Support building on systems that lack asprintf.
* mercurial getctime is currently broken, apparently by some change in
mercurial version 0.9.4. Turn the failing test case into a TODO test case.
2007-07-09 00:39:55 +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
5fe490c7d7
massive naming and userlink patch from Paweł Tęcza
2007-07-07 23:48:00 +00:00
joey
b1560f7275
* Correct a longstanding bug that could cause the edit form to be empty.
...
This turns out to have occured if the cgi wrapper was created by an
ikiwiki invocation that included --rebuild. Thanks to Carl Worth for
tracking that down.
2007-06-30 00:48:39 +00:00
joey
45e269b768
* French update from Jean-Luc Coulon. Closes : #430771
2007-06-28 17:47:25 +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
9a122f001a
* Corrected a typo in an error handler in the image plugin.
2007-06-19 18:46:43 +00:00
joey
e00a8931a0
add freebsd port
2007-06-18 20:26:47 +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
aadb214220
* Fix wrapper generator and untaint code's handling of strings contining
...
newlines.
2007-06-03 16:24:22 +00:00
joey
bf228acd0a
* Add test suite for preprocessor directive parsing.
2007-06-02 05:05: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
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
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
ffc06c8e4d
* Fix FTBFS in test suite introduced in last version. Closes : #425891
2007-05-24 20:21:45 +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
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
9fa9080f2c
* Updated Spanish translation from Victor Moral.
2007-05-21 17:18:52 +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
d3d528b5c4
* Add a test ensuring that the basewiki is self-contained and has no broken
...
links.
2007-05-20 01:00:21 +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
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
joey
190202dd4e
* Make all templates have a footer div to ease themeing. Required template
...
and style sheet updates, and unless you're using customised versions,
you'll want to rebuild wikis on upgrade to this version to avoid
inconsistencies.
* Allow WIKINAME to to used in footers, as an example of something to put
there.
2007-05-11 20:09:58 +00:00
joey
f23ebaad2e
* Apply patch from Pawel to avoid using -L in Makefile as it's not available
...
in older finds.
2007-05-10 18:59:02 +00:00
joey
301e2d93c4
* Updated Czech translation from Miroslav Kure.
2007-05-09 20:01:55 +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
joshtriplett
563ea1c56f
Remove doc-wiki-only item from the changelog.
2007-05-09 01:27:57 +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
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
9026ae05c2
* Fix a bug that prevented clearing email or subscriptions.
2007-04-30 21:32:24 +00:00
joey
65be0598a9
* Use div layout for the signin and preferences forms, so that they can be
...
styled using the stylesheet, rather than by creating signin and prefs
templates.
* Make the openid login form nicely styled.
2007-04-30 21:27:58 +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
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
joshtriplett
e739073c38
* fieldset support appeared in CGI::FormBuilder 3.05, so increase
...
version in Depends on libcgi-formbuilder-perl to 3.05
2007-04-30 02:21:17 +00:00
joey
69d27a2ecd
2.0 stuff
2007-04-29 23:19:25 +00:00
joey
1e62e4f87f
* Enable openid logins by default.
...
* Enable usedirs by default.
2007-04-29 22:54:14 +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
joshtriplett
e97b63c95a
* Avoid using GNU extensions to cp during "make install", which did
...
not work on FreeBSD. Thanks to Henrik Brix Andersen for the patch.
2007-04-29 21:53:26 +00:00
joey
3340087f66
releasing version 1.51
2007-04-29 04:57:39 +00:00
joey
5c36a5cfc6
* Apply patch from hb that uses the full path to a file when adding a file
...
using the mercurial backend. Not 100% sure why it failed w/o the full
path, but this still passes the test suite, and indeed, is how the test
suite calls hg add.
2007-04-29 03:25:09 +00:00
joey
a1d9abab8c
* Updated Spanish translation from Victor Moral.
2007-04-29 02:16:13 +00:00
joey
89abde117a
* Updated Czech translation from Miroslav Kure.
2007-04-28 17:35:01 +00:00
joey
6bbade916e
* Updated Polish translation from Pawel Tecza.
2007-04-27 20:26:54 +00:00
joey
1eee32c5b5
* Make pagespec_match return an object that can be stringified to tell
...
* Include wikiname in syslogged messages.
2007-04-27 17:48:11 +00:00
joshtriplett
bf006f771b
* Fix bestlink to use pagecase for pages in userdir, to support pages
...
with non-lowercase filenames.
2007-04-27 09:11:14 +00:00
joey
8fa8bd0adb
the kind of perl code that can only be written at 4:30 am
...
(Get a good message when a PageSpec fails due to a negated success by
creating success objects with a reason string, which morph into failure
objects when negated.)
2007-04-27 08:34:09 +00:00
joey
f8a7fb227b
* Make pagespec_match on failure return a value that is false, but in a
...
scalar context, evaluates to a reason why the match failed.
* Add testpagespec plugin, which might be useful to see why a pagespec isn't
matching something.
2007-04-27 07:55:40 +00:00
joey
7cc6eb4ea4
* Updated Gujarati translation from Kartik Mistry. Closes : #421198
2007-04-27 05:31:15 +00:00
joey
ee1ad53c4c
* pagespec_match() has changed to take named parameters, to better allow
...
for extended pagespecs. The old calling convention will still work for
back-compat for now.
* The calling convention for functions in the IkiWiki::PageSpec namespace
has changed so they are passed named parameters.
* Plugin interface version increased to 2.00 since I don't anticipate any
more interface changes before 2.0.
2007-04-27 02:55:52 +00:00
joey
b14ac07025
* Add user(name) to the PageSpec for commit subscriptions.
2007-04-27 00:30:49 +00:00
joey
01f41560e3
* Fix sending of commit mails when new pages are added via the web.
2007-04-26 23:29:19 +00:00
joey
80b0165ff8
* Avoid .svn directories when installing from svn checkout.
2007-04-26 22:58:01 +00:00
joey
89c6564565
* Due to template changes and style sheet changes that depend on them,
...
wiki rebuilds are recommended on upgrade to this version.
2007-04-26 19:52:25 +00:00
joey
160fd34187
more footer improvements
2007-04-26 19:49:06 +00:00
joey
fe52c28bd6
* Move the footer div to enclose tags and links too.
...
* More style sheet updates, remove the hack that used the tags div to create
the footer border.
2007-04-26 19:33:28 +00:00
joshtriplett
0458338319
* Change basewiki CSS to not put a border around images used as links.
2007-04-24 20:53:36 +00:00
joey
71d2d93027
* Fix aggregator to not warn when a feed contains no body content at all.
...
* Work around bug #420636 by, if XML::Parser crashes, running the feed
content though Encode::decode_utf8.
2007-04-23 18:36:44 +00:00
joey
1e62d2bc0c
* In mercurial backend, untaint ipaddr when using it as the user for the
...
commit. Thanks, Alexander Wirt. Closes : #420428
2007-04-22 17:45:39 +00:00
joey
3af6dea3b5
* Minor template improvements by Alessandro.
2007-04-18 23:35:48 +00:00
joey
c5975243a5
* Support setting svnpath to "" for wikis that are rooted at the top of
...
their svn repositories, with no trunk directory.
2007-04-16 19:07:52 +00:00
joey
a98a8feaec
releasing version 1.50
2007-04-15 20:10:35 +00:00
joey
fedaead1d0
* Add .dpkg-tmp to prune regexp, so that if ikiwiki is run right as it's
...
being upgraded by dpkg it will ignore dpkg temp files in the basewiki.
2007-04-15 18:10:39 +00:00
joey
e855e30d01
* Add feedshow parameter to inline, which can be useful for eg, removing
...
old posts from feeds when permalinks change.
2007-04-14 20:58:02 +00:00
joey
9b145798c7
* Patch from Tuomov to link to the directory in feeds when usedirs is in
...
effect. Note that this changes permalinks, so if you are already using
usedirs you'll have to deal with that on upgrade to this version.
2007-04-14 20:46:41 +00:00
joey
fb802f8d2d
* Apply patch from Ethan to improve an error message that should never
...
happen.
2007-04-14 20:07:03 +00:00
joey
dd03d57678
* Internal version number and installdir substitutions were lost, fix.
2007-04-13 18:41:06 +00:00
joey
01b058a285
* Add postformtext parameter to inline.
2007-04-12 04:13:55 +00:00
joshtriplett
42761921d0
* Add libtext-typography-perl to Suggests for the typography plugin.
2007-04-10 07:25:23 +00:00
joshtriplett
e21c689d3c
* Add libdigest-sha1-perl to Suggests, for sparkline and graphviz.
2007-04-10 07:22:11 +00:00
joshtriplett
ae719636f5
* Add libtext-csv-perl to Suggests, for the table plugin.
2007-04-10 07:16:27 +00:00
joshtriplett
d4c489ed93
* Conflicts/Replaces/Provides the unofficial ikiwiki-plugin-table
...
package, because ikiwiki now provides the table plugin, and thus has
a file overlap with ikiwiki-plugin-table.
2007-04-10 06:46:54 +00:00
joey
13c7a51f1f
* Optimise displaytime, trimming maybe 6% off the build time.
2007-04-10 01:49:16 +00:00
joshtriplett
15d61ff4ed
spelling
2007-04-10 01:27:12 +00:00
joey
47cc9ee7bf
credit
2007-04-10 01:25:50 +00:00
joey
06b955b84a
* Add a new %destsources hash, which maps between a destination file and
...
the source page used to create it, ie it's the reverse of %renderedfiles.
* Use %destsources in htmllink and urlto for 20-50% speedup.
2007-04-10 01:18:03 +00:00
joey
88ffeae6ee
* Add support for PROFILE=1 to the Makefile, this turns on profiling of the
...
wiki build using Devel::Profiler (Dprof can't handle ikiwiki).
2007-04-10 00:26:15 +00:00
joshtriplett
83c0daccce
* Add myself as a co-maintainer, with Joey's approval.
2007-04-09 23:36:06 +00:00
joey
98994a4719
use err facility when logging errors to syslog
2007-04-09 23:09:43 +00:00
joshtriplett
5e239902b2
* Enhance helponformatting and related documentation to supply more
...
information about available preprocessor directives.
2007-04-09 21:53:36 +00:00
joshtriplett
54a4151306
* Add a graphviz plugin.
...
* Suggests: graphviz
2007-04-09 09:09:02 +00:00
joey
c36f5afce8
releasing version 1.49
2007-04-08 20:24:18 +00:00
joshtriplett
f2b60470c6
* Remove stray semicolon in linkmap.pm.
2007-04-07 00:30:09 +00:00