Commit Graph

1253 Commits (158c6c3ac8a8975741587b55a298f10e632e993e)

Author SHA1 Message Date
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 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 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 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 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 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 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 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
joey 4de163b997 * Fix display of escaped wikilinks containing anchors. 2007-04-06 21:20:14 +00:00
joey 8fa477fa28 * Fix smiley plugin to scan smileys.mdwn after it's updated, which fixes
a bug caused by committing changes to smilies.mdwn.
2007-04-06 20:36:29 +00:00
joey 8d03891eba * Reorder the icon in the template above the stylesheets, to avoid icon
flashing during page load.
2007-04-06 17:31:00 +00:00
joey f5a2ba0164 * Updated French translation from JLC. Closes: #417982 2007-04-06 17:14:23 +00:00
joshtriplett b4b0638751 * Add XS-Vcs-Browser field. 2007-04-06 03:28:05 +00:00
joshtriplett 0fa01750ce * Add Homepage field. 2007-04-06 03:23:49 +00:00
joshtriplett 3f75c43e17 * Improvements to Description in debian/control:
* Note that some plugins have additional dependencies, found among the
    Recommends and Suggests.
  * ikiwiki supports both RSS and Atom feeds.
  * Fix typos.
2007-04-06 03:21:12 +00:00
joshtriplett a4d5000f04 * Add neutral smileys ":|" and ":-|", and question icon smiley "(?)",
with images taken from phpBB (GPL) and converted with gif2png.
2007-04-06 02:53:36 +00:00
joshtriplett 92433bae25 * Use pngcrush and optipng on all PNG files. 2007-04-06 02:46:19 +00:00
joey d25e91e127 * Fix tags to page names that contain special characters. 2007-04-04 21:08:01 +00:00
joey 83618add81 * Fix a bug that caused link(foo) to succeed if page foo did not exist. 2007-04-04 20:57:13 +00:00
joey aee4621bae * Fix a bug in the img plugin that caused thumbnailed files to not be
* Make the OpenID library a reccommendation of the Debian package, rather
  than just a suggests, since OpenID is enabled by default.
2007-04-04 00:40:57 +00:00
joey bf9e8bc900 * Fix a big in the img plugin that caused thumbnailed files to not be
tracked properly.
2007-04-01 20:53:03 +00:00
joey 02b9f69ba5 * Finally apply the index.html patch, with thanks to everyone who worked
on and supported creating it (especially Tumov). This adds a "usedirs"
  option that makes ikiwiki use foo/index.html instead of foo.html as
  output page names. It is not yet enabled by default.
2007-04-01 19:59:42 +00:00
joey a2cfdaaec5 * Hide excess backlinks and expand using CSS trick; control quantiy via
the numbacklinks setting.
2007-03-31 08:48:10 +00:00
joey d73eb7d9b2 * Add a templates page to the basewiki. It will automatically list all
available templates. Rename the old templates page to wikitemplates.
* Include the note template in the basewiki.
* Add a popup template in the basewiki. CSS based on some by Martin Krafft.
* Make the note, popup, and plugin templates detect missing variables and be
  self-documenting, listing the available variables.
2007-03-31 06:55:12 +00:00
joey 35ab3237fa * Fix urls generated by mirrorlist plugin. 2007-03-31 00:41:22 +00:00
joey 0302056332 * Add --post-commit option, which allows for the case of a split web server
and RCS server (or a push mirror). With this the RCS server can have a
  real post-commit hook that sshs back to the web server, and runs ikiwiki
  in post-commit mode to update the wiki.
2007-03-29 18:27:00 +00:00
joey e0cff15163 releasing version 1.48 2007-03-28 17:52:19 +00:00
joey c936ba1719 * Fix mercurial backend to deal with empty commit messages. 2007-03-24 15:14:53 +00:00
joey bbb0b3e72f * Finally fixed the longstanding inline removal bug.
* Renamed %oldpagemtime to a more accurately named %pagemtime and fix it to
  actually store pages' mtimes.
* Add "mtime" sort parameter to inline plugin.
2007-03-24 15:10:58 +00:00
joey 5a6a93544f * Make ikiwiki's stylesheet support printing by hiding parts of the page
that shouldn't appear in a printout: Search box, actions bar,
  blog post form, tags, backlinks, and feed buttons.
2007-03-22 00:02:48 +00:00
joey d3df4c133c typo 2007-03-21 23:16:44 +00:00
joey 2a0d91af2f * Fix link() PageSpecs to not just look at the raw link text, but at where
that given link points based on the page doing the linking. Note that this
  could make such PageSpecs match different things than before, if you
  relied on the old behavior of them only matching the raw link text.
* This required changing the match_* interface, adding a third parameter.
* Allow link() PageSpecs to match relative, as is allowed with globs.a
* Add postform option to inline plugin.
* Add an bug tracker to the softwaresite example.
2007-03-21 23:11:09 +00:00
joey 1ecd251ffa releasing version 1.47 2007-03-21 19:16:18 +00:00
joey c8b4ba354f * Fix a security hole that allowed insertion of unsafe content via the meta
plugins's support for inserting html link and meta tags. Now such content
  is passed through the htmlscrubber like everything else.
* Unfortunatly, that means that some valid uses of those tags are no longer
  usable, and special case methods needed to be added for including
  stylesheets, and for doing openid delegation. If you use either of these
  in your wiki, it will need to be modified. See the meta plugin docs
  for details.
2007-03-21 18:52:56 +00:00
joey 72ed9e455c the real bug turned out to be in the meta plugin 2007-03-21 06:46:06 +00:00
joey 03e5438155 oh, this is confusing, it needs escaping in <title>, but not when it's used
inline, already escaped there
2007-03-21 06:22:06 +00:00
joey 1c65ca4922 * Fix a few bugs around page titles containing html. The worst of these
is an actual security hole as it allows insertion of html into the title
  element of a page, which is not processed by the htmlscrubber.
2007-03-21 06:05:21 +00:00
joey 16112c3294 response 2007-03-18 22:27:09 +00:00
joey cb0c642aed * Applied a patch from Michał to make the mercurial backend pass --quiet to
hg.
2007-03-18 22:20:44 +00:00
joey 26213f8ee4 * Detect the case of two people independently creating the same page at the
same time, and let the second person resolve the conflict.
2007-03-17 23:57:03 +00:00
joey 50a9ef4753 * Make ikiwiki -verbose -setup with a setup file that enabled syslog logging
output the verbose build log to stdout, rather than to the syslog.
2007-03-17 23:32:48 +00:00
joey 188f1931c2 * Fix some broken logic in cgi creation of a subpage when a toplevel page
with the same name already exists, and generally simplify the edit code.
2007-03-17 23:20:27 +00:00
joey b154c971a9 * French update. Closes: #414597 2007-03-12 19:52:52 +00:00
joey e5ddd9b581 * Fix a bug with inlined create page links, including Discussion links on
blog post pages. The links will now create pages relative to the page that
  actually contains the link.
2007-03-11 04:59:03 +00:00
joey ec1dc5b00f releasing version 1.45 2007-03-11 02:29:15 +00:00
joey 89673afc6b add postsparkline plugin, providing sparkliney stats goodness for blog
posts
2007-03-11 00:24:31 +00:00
joey 66a65b5ddd * Correct a deadlock that could occur in post-commit if the aggregate plugin
was enabled and tried to lock the already locked wiki.
2007-03-08 11:04:59 +00:00
joey c1b698e418 * The underscore escaping support exposed a bug in edit links: Such links
were titlepage escaped in the urls, and then doubly escaped by the CGI
  when editing. To fix this, I removed the titlepage escaping in the edit
  urls.
* That means that *every edit link* on the wiki is potentially changed.
  Rebuilding wikis on upgrade to this version therefore necessary; enabled
  that in postinst.
2007-03-08 06:03:59 +00:00
joey 5d57a8436f * Add a table plugin, derived from the one written by Victor Moral. 2007-03-07 11:40:22 +00:00
joey b365d864c5 My fix to support encoded underscores in page titles broke links to pages
with underscores in their filenames, since the link code also used
titlepage. Create a new linkpage function and have the link code use that
instead.
2007-03-07 09:48:59 +00:00
joey c69d6f669a * The slash escaping when adding to a blog from the CGI was not working
since it ended up being double-escaped. Instead, just remove slashes.
* Fix some nasty issues with page name escaping during previewing
  (introduced in 1.44).
2007-03-07 09:23:13 +00:00
joey 1af4def09a typo sparline => sparkline 2007-03-07 05:35:35 +00:00
joey d4d535f17c * Add a sparline plugin. 2007-03-07 05:33:45 +00:00
joey 1202b4fd7b * Add preview parameter to preprocesser calls, use this rather than the
previous ugly hack used to avoid writing rss feeds in previews.
* Fix the img plugin to avoid overwriting images in previews. Instead it
  does all the work to make sure the resizing works, and dummys up a resized
  image using width and height attributes.
* Also fixes img preview display, the links were wrong in preview before.
2007-03-06 22:37:05 +00:00
joey b9f7a57f94 * Add titlepage template for inline plugin. 2007-03-06 19:16:46 +00:00
joey 10b8557946 * Add "template" option to inline plugin to allow for use of customised
templates.
2007-03-02 04:00:42 +00:00
joey 3660b1c7a1 * Allow for underscores to appear in page titles, if encoded appropriately
(__95__) in filenames. Previously, all underscores were replaced with
  spaces. Thanks, Enrico Zini for noticing that bug.
2007-03-02 00:37:22 +00:00
joey 1dbaf7a91c releasing version 1.44 2007-02-25 01:20:53 +00:00
joey 072967e62a * Patch from Ethan to improve behavior if a page is deleted or moved while
someone is editing it.
* Some cleanup of field setting in the failed edit and conflict handling
  code.
2007-02-24 00:39:06 +00:00
joey 2dfe3efcb7 * Correct a bug that could lead to infinite looping after signin in some
circumstances.
2007-02-24 00:20:36 +00:00
joey ba0d82e7ea * Patch from HenrikBrixAndersen to fix a broken use of foreach in the
search plugin.
2007-02-23 19:36:31 +00:00
joey 1e5d95e07b * French translation update. Closes: #411899 2007-02-21 18:34:36 +00:00
joey c60477228c * Since the CGI had to drop the wiki lock to avoid deadlocking the
commit hook, it was possible for one CGI to race another one and "win"
  the commit of both their files. This race has been fixed by adding a new
  commitlock, which when locked by the CGI, disables the commit hook
  (except for commit mails). The CGI then takes care of the updates the
  commit hook would have done.
2007-02-21 08:55:28 +00:00
joey 92e5781212 * Elegant patch from Ethan to clean up the display of page names in the
dropdown when creating a new page.
2007-02-21 00:17:50 +00:00
joey d0804acdc2 * Smarter detection of no-op changes to po files. 2007-02-20 23:13:49 +00:00
joey 135e5fc63a * perl is broken: print "" || die fails! Work around this insanity. 2007-02-20 22:19:28 +00:00
joey b90d4ccc06 test commit 2007-02-20 09:43:44 +00:00
joey e41cd25f4f typo 2007-02-20 04:28:16 +00:00
joey aae1bc4905 build ikiwiki.out and use it to build the wiki, so that NOTAINT can take effect during the build too if necessary 2007-02-20 04:24:54 +00:00
joey 0be3937a0f I belive that this patch was from Ben 2007-02-20 04:16:40 +00:00
joey 8b3a840a74 * Detect old versions of xgettext and avoid using them. 2007-02-20 04:10:31 +00:00
joey 2725887734 * Make img plugin not fail immediately if Image::Magick is not available.
This lets ikiwiki not build depend on perlmagic.
2007-02-20 03:59:35 +00:00
joey d442f1b2fc * Don't error out if estcmd fails, just print a warning message. estcmd is
to fragile to let it kill ikiwiki.
2007-02-20 03:17:09 +00:00
joey fa52a730ff * Changed calling convention for httmllink slightly. The first three
parameters remain the same, but additional options are now passed in using
  named parameters.
* Change plugin interface version to 1.02 to reflect this change.
* Add a new anchor option to htmllink. Thanks Ben for the idea.
* Support anchors in wikilinks.
* Add a "more" plugin based on one contributed by Ben to allow implementing
  those dreaded "Read more" links in blogs.
2007-02-20 03:05:47 +00:00
joey 1081aa1ee5 fix a bug 2007-02-20 01:49:52 +00:00
joey 34f1c2aee8 * Allow setting NOTAINT=1 when building the wiki to remove taint checking
flags, which can be useful on some hosting providers.
2007-02-20 01:09:48 +00:00
joey 7884f69eaf * Add a openidlogin-bg.gif to wikiicons and have the stylesheet use it for the
OpenID login form rather than linking to a remote logo, to avoid various
  issues. Since there is not yet a license for the actual OpenID logo, this
  file is currently a blank image. Users who want to can copy
  http://openid.net/login-bg.gif into their wiki.
2007-02-19 23:42:46 +00:00
joey 8bfcca5b47 * Patch to fix validaton of atom feeds by fixing the category tags. 2007-02-19 04:42:30 +00:00
joey 596019fb2b releasing version 1.43 2007-02-19 04:37:47 +00:00
joey c9d7926df4 * New domain name for ikiwiki: ikiwiki.info. Update your links. 2007-02-18 20:24:40 +00:00
joey fa386be22e * Add explicit module prereqs to Makefile.PL 2007-02-18 18:01:55 +00:00
joey ecf37caff9 * Avoid potential syslog format string issue, although only older versions
of perl are vulnerable and it is not known to really be exploitable from
  ikiwiki.
2007-02-17 21:34:42 +00:00
joey 43be4c519e * Updated Czech translation. 2007-02-17 19:02:53 +00:00
joey 0cfc607314 * Add a prettydate plugin that formats dates in a more readable fashion.
(I had to get a pretty date somehow today..)
2007-02-15 07:53:04 +00:00
joey f850acc6ad * Patch from Ethan to allow using meta tags to set creation dates of pages. 2007-02-15 05:48:40 +00:00
joey d4c61b7281 * Many changes to make ikiwiki very resistant to write failures
including out of disk space situations. ikiwiki should never leave
  truncated files, and if the error occurs during a web-based file edit,
  the user will be given an opportunity to retry.
  Inspired by the many ways Moin Moin destroys itself when out of disk. :-)
* Fix syslogging of errors.
2007-02-15 02:22:08 +00:00
joey 96125d8da5 * Allow multiple tag settings to appear in a single page. 2007-02-14 04:05:08 +00:00
joey 6fc66f83de * Fix the template, toggle, and conditional plugins to filter text before
preprocessing it.
* Fix smiley plugin to support smileys at the very beginning or end of
  the content.
2007-02-14 00:11:19 +00:00
joey 88e8f08c8f * Make the basewiki be full of symlinks to pages that should be the same
in the doc wiki. This will allow direct edits to alter the base wiki
  without manual munging.
2007-02-13 23:10:45 +00:00
joey 87ecd8bcda * Updated Spanish translation. 2007-02-12 18:50:41 +00:00
joey 479c7a1ea6 * Allow plugins to add new types of tests that can be used in PageSpecs.
* Add a "conditional" plugin, which allows displaying text if a condition
  is true. It is enabled by default so conditional can be used in the
  basewiki.
* Use conditionals in the template for plugins, so that plugin pages
  say if they're currently enabled or not, and in various other places
  in the wiki.
2007-02-12 02:44:47 +00:00
joey 9729c20898 releasing version 1.42 2007-02-10 20:38:50 +00:00
joey 29e6ff03b0 * Fix a security hole that allowed a web user to edit images and other
non-page format files in the wiki. To exploit this, the file already had
  to exist in the wiki, and the web user would need to somehow use the web
  based editor to replace it with malicious content.
  (Sorry Josh, this means you can't edit style.css directly anymore,
  although I do appreciate your fixes, actually..)
2007-02-10 20:37:36 +00:00
joey ace6a60b1b * viewcvs is now viewvc (in Debian unstable), update everything to use the
new name.
2007-02-09 05:34:40 +00:00
joey 7b6063c6dd typo 2007-02-08 21:24:43 +00:00
joey 56f8e6344c * Drop the BSD license for the templates and basewiki, and just allow them
to be used as close to public domain as possible.
2007-02-08 21:19:21 +00:00
joey 1eb59c4760 * Add "reverse" option to inline to invert sort orders. 2007-02-08 19:48:00 +00:00
joey f442856769 improve 2007-02-07 00:49:05 +00:00
joey 58141a0ebc * Patch based on a patch from Ethan to support relative matching in
PageSpecs, by using "./". pagespec_match() has grown a new third parameter
  to support this.
2007-02-06 21:17:25 +00:00
joey 46f0f5bdc2 * Add feedshow option to allow reducing the number of items included in
an rss or atom feed.
2007-02-05 21:54:36 +00:00
joey 97aea86162 code checking for locked pages into a new "lockedit" plugin. Both are
* Avoid using lots of memory when copying large non-html files.
  Yes, you can keep videos in the wiki..
2007-02-03 03:27:33 +00:00
joey 5f162cfd34 * Add canedit hook, allowing arbitrary controls over when a page can be
edited.
* Move code forcing signing before edit to a new "signinedit" plugin, and
  code checking for locked pages into a new "lockedit" plugin. Both are 
  enabled by default.
* Remove the anonok config setting. This is now implemented by a new
  "anonok" plugin. Anyone with a wiki allowing anonymous edits should
  change their configs to enable this new plugin.
* Add an opendiscussion plugin that allows anonymous users to edit
  discussion pages, on a wiki that is otherwise wouldn't allow it.
* Lots of CGI code reorg and cleanup.
2007-02-02 02:33:03 +00:00
joey d67c4817aa * Fix several more missing translations of Discussion. 2007-01-31 07:18:06 +00:00
joey 344ab0a16b * Fix for missing backlinks() in pagestats plugin. 2007-01-31 07:13:51 +00:00
joey 2dc010d66a * Fix one more missing translation of Discussion. 2007-01-31 07:10:11 +00:00
joey b61df3d54d releasing version 1.41 2007-01-30 07:37:44 +00:00
joey 64ca9a921a * Fix openid signin secret generation code. This fixes the bug that made
all openid signins fail the first time, and then succeed the second
  time.
2007-01-30 07:21:06 +00:00
joey ab71299293 * More gettext fun. 2007-01-28 02:24:43 +00:00
joey 9904d10ed9 * When building the doc wiki, build with LANG=C. 2007-01-28 01:53:26 +00:00
joey 5a128f3d63 * Replace underscores in shortcut texts with spaces when formatting for
display. This allows using a shortcut like [[wikipedia War_of_1812]],
  which links to the correct remote page, but is displayed nicely.
2007-01-28 01:01:33 +00:00
joey 4ff60ef1c5 * Always call rcs_update after a commit during a web edit, to work around
the problem described in bugs/svn_fails_to_update. Thanks to Ethan for the
  analysis and patch.
2007-01-28 00:26:55 +00:00
joey c566e16d9e * Improve use of svn merge, by specifying the file to merge, rather than
chdiring to the srcdir (which wasn't right when merging in a subdir).
  Thanks Ethan.
2007-01-28 00:06:01 +00:00
joey 8c5350bcf8 * French translation update. Closes: #408593 2007-01-27 23:57:08 +00:00
joey 72dbbe3a2c * Make gitorigin_branch and gitmaster_branch configurable via the setup
file. Closes: #408599
2007-01-27 23:56:17 +00:00
joey f6e917fcce * Fix handling of discussion links on discussion pages when l10n is used. 2007-01-18 15:06:57 +00:00
joey d8c3baf7a3 * Added smileys for Moin Moin compatability. 2007-01-18 14:46:51 +00:00
joey 04cde27a0e * Gettext 1.04 or up is needed for the OO interface that ikiwiki needs,
if an older version is installed, just don't gettext strings, instead of
  crashing.
2007-01-16 03:37:39 +00:00
joey d2805a5de8 releasing version 1.40 2007-01-15 02:43:30 +00:00
joey fa8bbbb0b3 * Fix bogus use of CDATA in atom feeds. Closes: #406898 2007-01-14 22:56:42 +00:00
joey b56e98cbe3 * Add French translation by Jean-Luc Coulon. Closes: #406881 2007-01-14 20:45:10 +00:00
joey e1c0576029 * Fix missing categories in rss/atom feeds. 2007-01-14 20:14:36 +00:00
joey 20fd72e221 releasing version 1.39 2007-01-14 05:25:25 +00:00
joey c4b1712212 * Change the RecentChanges page to show the path of changed pages. 2007-01-14 04:30:53 +00:00
joey 5608aa078e * In the aggregator, check for and deal with post filenames that are
longer than the maximum file length.
2007-01-14 04:17:53 +00:00
joey b695d6bdec add translation 2007-01-14 04:01:35 +00:00
joey 8c8ce06a1b * Search in default location for templates as a fallback when templatedir is
pointed elsewhere, so that only modified templates need to be copied into
  a templatedir. Based on work by JeremyReed.
2007-01-12 20:48:19 +00:00
joey 389f23a60b * Add a Gujarati translation by Kartik Mistry. Closes: #406635 2007-01-12 19:58:44 +00:00
joey 6601637493 * Add a Bulgarian translation by Damyan Ivanov. Closes: #406580 2007-01-12 00:00:21 +00:00
joey 92e26031ee * Fix encoding issue with use of Locale::Gettext. Seems that the OO
interface returns proper utf-8 decoded strings, unlike the traditional
  interface, so use the OO interface.
2007-01-11 23:29:22 +00:00
joey bd94e24566 * Add a Czech translation by Miroslav Kure. 2007-01-11 23:27:43 +00:00
joey 1702ef1c39 * Add a Swedish translation by Daniel Nylander. Closes: #406410 2007-01-11 03:24:57 +00:00
joey d1636b6323 * Include the pot file in the source tarball. Closes: #405890 2007-01-10 20:33:19 +00:00
joey b31dc8d994 * Fix --locale to control LC_ALL now. 2007-01-10 20:25:00 +00:00
joey 3f3f3e46ad * Add a rawhtml plugin that allows copying raw html files from the srcdir. 2007-01-08 21:00:18 +00:00
joey c7c546948a releasing version 1.38 2007-01-06 04:23:52 +00:00
joey 7bc7eb106e * Added a Polish translation by Paweł Tęcza. 2007-01-05 18:15:11 +00:00
joey 3b5f0e6ce9 * Added a Spanish translation by Victor Moral.
* A few translation infrastructure fixes.
2007-01-03 20:01:36 +00:00
joey e5348d2d70 * Corrected a bum regexp in openid munging. 2007-01-03 05:33:50 +00:00
joey c8787a2793 releasing version 1.37 2006-12-31 22:32:34 +00:00
joey ea266ea22f fixes 2006-12-31 20:56:35 +00:00
joey c494e2f974 * Escape shashes in page titles entered in the blog post form.
* Munge openids of the form somehost.com/user (trial, may revert)
2006-12-31 20:50:22 +00:00
joey f62d23f008 * If a userdir is configured, links to pages in it can be made without
specifying the path. This allows for easy signing of comments by linking
  to your page in the userdir.
2006-12-29 05:33:20 +00:00
joey 7819f34a50 * Add a textile format plugin contributed by mazirian. 2006-12-29 05:18:39 +00:00
joey b5e2afa943 * Allow disabling of plugins included in goodstuff. 2006-12-29 04:49:55 +00:00
joey 178ab4c51c * Don't put discussion links on discussion pages. 2006-12-29 04:45:09 +00:00
joey 912521ef07 * Initial work on internationalization of the program code. po/ikiwiki.pot
is available for translation.
* Export gettext() from IkiWiki module.
2006-12-29 04:38:40 +00:00
joey 8323bc5214 * Improve code that ignores files in the underlaydir if the srcdir has a
file building the same page. Now it will work even if the extensions of
  the source files differ.
2006-12-28 22:15:38 +00:00
joey ad4578ea5a test3 2006-12-24 06:09:13 +00:00
joey a87dcb0faa test2 2006-12-24 06:02:14 +00:00
joey adbbaaebe2 test 2006-12-24 06:01:38 +00:00
joey 65ddd9ee21 update 2006-12-24 05:52:51 +00:00
joey 8199187870 update 2006-12-24 05:49:43 +00:00
joey 56c5b85fd0 update 2006-12-24 05:48:15 +00:00
joey f16ddc4caa update 2006-12-24 05:47:07 +00:00
joey 0e847c08a5 update 2006-12-24 05:45:56 +00:00
joey 8216924629 update 2006-12-24 05:45:01 +00:00
joey 5be3971934 update 2006-12-24 05:43:52 +00:00
joey 9ae094f162 update 2006-12-24 05:41:02 +00:00
joey db4450814d update 2006-12-24 05:39:59 +00:00
joey 7b136d4d1c update 2006-12-24 05:39:27 +00:00
joey 3f6a06985d update 2006-12-24 05:38:18 +00:00
joey 7b8c512378 update 2006-12-24 05:24:26 +00:00
joey e14ab045d3 typo 2006-12-24 05:22:15 +00:00
joey f4e3e47e12 * Ikiwiki used to use svn as its RCS by default unless configured otherwise,
now it defaults to using no RCS unless configured to do so.
2006-12-23 06:55:18 +00:00
joey 201d11da0a the problem with coding while drunk -- idiotic mistakes 2006-12-23 06:48:56 +00:00
joey 829e0b1b65 * Avoid creating edit links when not in cgi mode.
* Avoid displaying discussion links at all, if there's not a discussion
  page, when not in cgi mode.
2006-12-23 06:18:55 +00:00
joey 61b85443d1 * Fixed permissions of some files that were 600 in the tarball. (Did not
affect the deb).
2006-12-23 05:49:54 +00:00
joey d83d11e6b8 * Add mirrorlist plugin. 2006-12-23 01:07:11 +00:00
joey aaee7f4ab9 releasing version 1.36 2006-12-22 20:56:43 +00:00
joey 2476447a5b changed my mind about how to disambiguate links, it seems to make more
sense to start them with a /
2006-12-21 22:15:11 +00:00
joey 31d0021e9c * Add support for links of the form [[../foo]], this links to the page
* Fix code to make absolute urls for rss feeds, was missing some urls.
* Fix double-escaping of html entities in titles etc in rss feeds
  that occured if escaped characters were present in the page filename.
2006-12-21 21:52:06 +00:00
joey a00bc110b1 typo 2006-12-21 20:17:53 +00:00
joey ff6941cef9 * Add support for links of the form [../foo]], this links to the page
foo a level higher in the directory hierarchy than the one it would link
  to by default.
2006-12-21 20:11:18 +00:00
joey 0dc8b91226 * Patch from Emanuele Aina to fix modification time code in mercurual
backend.
2006-12-21 19:40:11 +00:00
joey 472dabbb60 * Turn $config{wiki_file_prune_regexps} into an array that is easier to
manipulate.
* Only exclude rss and atom files from processing if the inline plugin
  is enabled and that feed type is enabled. Else it's just a copyable file
  type.
* Move rss and atom option handling code into the inline plugin.
* Applied a rather old patch from Recai to fix the "pruning is too strict"
  issue. Now you can have wiki source directories inside dotdirs and the
  like, if you want.
2006-12-21 19:36:15 +00:00
joey 83109863f6 * Fix an issue with inlining a page with a rss feed inside another
page with an rss feed.
2006-12-21 13:51:50 +00:00
joey 321b529cd8 fix man page perms in install 2006-12-19 17:09:03 +00:00
joey 389ad222ec * Add userdir config setting. 2006-12-19 16:58:55 +00:00
joey 50c7f7ab04 * Fix sometimes broken links to Discussion pages from blog pages. 2006-12-14 19:41:41 +00:00
joey c269d5c789 * Use POST for poll to avoid some robots. 2006-12-14 19:04:42 +00:00
joey c0cf13dbb0 * Fix various links on the hyperestradier pages. 2006-12-04 10:50:46 +00:00
joey a60d98461f releasing version 1.35 2006-12-02 00:29:55 +00:00
joey 8af8d085d6 * The hack used to make the pagetemplate hook have access to the editpage
template won't work with CGI::FormBuilder 3.0401, so disable it for now.
* CGI::FormBuilder 3.0401 seems to work ok now with ikiwiki, although
  there might still be bugs lurking..
2006-12-02 00:19:55 +00:00
joey f65fa0ad68 * Fix daemonisation code to only do daemon setup things after forking the
child process.
2006-12-02 00:12:26 +00:00
joey 951522ebc3 * More build deps updates.
* /dev/null fortune failures
* Add libtime-duration-perl to build deps, as it's used by the svn module
2006-11-28 18:16:04 +00:00
joey abd262cf58 * Allow /etc/ikiwiki/wikilist to list just the names of users, if so then
* Fix url absolution code in inline plugin to support class and id fields in
  links and imgs, and to support anchor urls.
2006-11-28 09:10:42 +00:00
joey c9983bc7d8 * Allow /etc/ikiwiki/wikilist to list just the names of users, if so then
~user/.ikiwiki/wikilist will be read.
2006-11-28 05:46:13 +00:00
joey d17e756e1c releasing version 1.34.1 2006-11-27 17:39:22 +00:00
joey e30262ced7 releasing version 1.34 2006-11-27 01:52:23 +00:00
joey 1cc030f96b git test suite 2006-11-26 20:10:09 +00:00
joey c8a59c1c10 * Git backend improvements, including bug fixes and better robustness. 2006-11-26 20:05:57 +00:00
joey b20d4f6681 * Mercurial backend improvements, including --get-ctime support. 2006-11-26 20:01:43 +00:00
joey 5800d2160c add a poll plugin 2006-11-26 19:46:11 +00:00
joey 82ab2ebb08 * Add softwaresite example. 2006-11-22 14:59:26 +00:00
joey 04a9dbfe7d updates 2006-11-22 14:28:38 +00:00
joey 9e05810f81 rename 2006-11-22 06:15:32 +00:00
joey a405b46c3b * Add toggle plugin.
* Introduce the nicebundle. This is a kind of plugin, that just enables
  many other plugins. It's an easy way to boost ikiwiki from its default,
  basic wiki, to a full-featured wiki, without manually picking the right
  set of plugins. New plugins will be added to the nicebundle from time to
  time.
2006-11-22 02:28:42 +00:00
joey ffb2700043 * Add a test suite for the mercurial backend, contributed by Emanuele Aina.
* Add a test suite for the svn backend.
* Daemonize before sending RPC pings, since that can take a while
  and/or hang.
* Daemonize before sending commit mails, as that can also take a long
  time/hang if the mail server is unhappy.
* Factor out commit mail sending code into new function.
2006-11-21 17:47:53 +00:00
joey 5bc73d7fac * Rename ikiwiki.pl so MakeMaker doesn't see it, and install it.
* Add some code to the build system that tries to determine if the
  lib installation directory is in @INC. If it's not, munge ikiwiki
  to hardcode the path to the lib directory. This should allow installing
  ikiwiki in nonstandard locations, including home directories, by just
  setting PREFIX at build time.
* Fix nested examples directory in deb.
2006-11-20 22:12:43 +00:00
joey 3e593eb9c0 * Add "last" parameter to hook function. Very basic ordering, and hopefully
nothing more spohisticated will be needed.
* Add formbuilder_setup and formbuilder hooks.
* Split out a passwordauth module, that holds all the traditional password
  based authentication etc code. It's enabled by default, but can be disabled
  if you want only openid or some other auth method.
2006-11-20 20:37:27 +00:00
joey d389b0e4a4 * Avoid locking the wiki at all when handling some basic cgi stuff
(searches, recentchanges).
2006-11-20 12:03:35 +00:00
joey eac31eff5c shortcut stuff 2006-11-20 11:31:23 +00:00
joey e43cd269d2 * Add openidsignup config option.
* Make the openid plugin support the callbacks from myopenid.com via its 
  affiliate program.
* Change how post signin actions are propigated through the signin process;
  they're now stored in the session.
2006-11-20 09:40:09 +00:00
joey 702b8721d3 * Add an openid plugin to support logging in using OpenID.
* Web commits by OpenID users will record the full OpenID url for the user,
  but in recentchanges, these urls will be converted to a simplified display
  form+link.
* Modified svn, git, tla backends to recognise such web commits.
2006-11-20 02:46:58 +00:00
joey 54cf5a62ca * Make auth methods pluggable.
* Move httpauth support to a plugin.
* Add an openid plugin to support logging in using OpenID.
2006-11-20 01:52:18 +00:00
joey 8d3b07d946 releasing version 1.33 2006-11-15 23:33:11 +00:00
joey 513368c403 * Work with hyperestraier 1.4.9. 2006-11-13 20:07:55 +00:00
joey 96eb9bb3fa * Work around a strange bug in CGI::FormBuilder 3.0401 that makes
FORM-SUBMIT unusable on customised formbuilder templates. For now,
  hardcode the submit buttons in editpage.tmpl instead of using the
  template variable, which is ok, since the buttons are static.
2006-11-10 07:46:41 +00:00
joey 54c90b2d41 * Fix img plugin's handling of adding dependencies for images that do not
yet exist.
2006-11-09 20:58:24 +00:00
joey 35ee7e44a6 * Make sure to check for errors from every eval. 2006-11-08 21:03:33 +00:00
joey 6e1986cf12 * Patch from Ethan Glasser Camp to add a skip option to the inline plugin. 2006-11-08 20:39:48 +00:00
joey cb3f89f429 * Enable utf8 file IO in aggregate plugin.
* Fix some issues with the new registration form.
2006-11-08 20:13:59 +00:00
joey 3a3219c0e0 * Avoid syntax errors in templates used by the template plugin crashing
ikiwiki.
2006-11-05 23:44:20 +00:00
joey b78e93098b * Fix issue with aggregate plugin updating expired pages. 2006-11-04 19:20:24 +00:00
joey f82a7d2668 releasing version 1.32 2006-11-03 19:48:58 +00:00
joey 66f4b2c22a Closes: #396702 2006-11-02 18:03:38 +00:00
joey 369cf45ace * Patch from James Westby to support podcasting, photoblogging, vidcasting,
or what have you, by creating enclosures for non-page items that are
  included in feeds.
2006-11-01 06:45:59 +00:00
joey 5a82103526 * Implemented expiry options for aggregate plugin.
* Use precalculated backlinks info when determining if files need an update
  due to a page they link to being added/removed. Mostly significant if
  there are lots of pages.
* Remove duplicate link info when saving index. In some cases it could
  pile up rather badly. (Probably not the best way to deal with this
  problem.)
2006-11-01 05:41:37 +00:00
joey c3a530ab93 * Improve login/register process, the login dialog has only name and
password fields, which allows more web browsers to regognise it as a login
  field, and is less confusing.
2006-10-30 23:28:01 +00:00
joey 285b9d8b99 * Add perlmagick to build-depends so syntax check of img plugin works. 2006-10-30 19:31:45 +00:00
joey 1a8beaf4c6 * Install the source of the examples into /usr/share/doc/ikiwiki/examples. 2006-10-28 23:46:45 +00:00
joey 4109ef94fd * Add a default stylesheet entry for the pagecloud.
* Add examples page with some examples of things that can be done using
  ikiwiki, like a weblog. The examples can be copied into a user's wiki
  for a quick start, without needing to learn everything about how to put
  them together.
2006-10-28 23:41:39 +00:00
joey 9890790fa5 * Now that links are calculated in a separate pass, it can also
* Stylish update to the ikiwiki logo, thanks to Recai Oktaş and Selçuk
  Erdem.
2006-10-28 17:18:50 +00:00
joey db3b72c482 instead of over and over. Typical speedup is ~4x. Max possible speedup:
8x.
* Add "scan" parameter to hook(), which is used to make the hook be called
  during the scanning pass, as well as the render pass. The meta and tag
  plugins need to use the new scan parameter, so will any others that modify
  %links.
* Now that links are calculated in a separate pass, it can also 
  precalculate backlinks in one pass, which is O(N^2) instead of the
  previous code that was O(N^3). A very nice speedup for wikis with lots
  (thousands) of pages.
2006-10-28 05:07:56 +00:00
joey 49bf877701 * Add a separate pass to find page links, and only render each page once,
instead of over and over. This is up to 8 times faster than before!
  (This could have introduced some subtle bugs, so it needs to be tested
  extensively.)
2006-10-28 03:27:10 +00:00
joey 230789cc47 releasing version 1.31 2006-10-28 03:17:35 +00:00
joey 63b745e5c9 update 2006-10-28 01:20:13 +00:00
joey b6509c74a9 * Add basic spam fighting tool for admins: An admin's prefs page now allows
editing a list of banned users who are not allowed to log in.
2006-10-28 00:35:33 +00:00
joey e5c4eae640 * Add missing dependency on the URI perl module. 2006-10-27 17:11:30 +00:00
joey 771791104c * Change the rss feed title from the wikiname to the page title, with
an exception for the wiki's toplevel index page, which will still use the
  wikiname as the feed title.
* Sanitize possibly problimatic characters out of the polygen grammar names,
  just in case. Should not be exploitable anyway, since it only tries to run
  polygen after finding the specified grammar file.
2006-10-22 21:12:50 +00:00
joey e54d901565 * Add an img plugin, based on Christian Mock's img plugin, but stripped
down to the bare essentials. Useful for handling large images on websites.
2006-10-21 21:59:44 +00:00
joey 182748a9c1 * Change the rss feed title from the wikiname to the page title.
Overriding the page title with meta title already overrode the rss feed
  tittle.
2006-10-20 21:17:36 +00:00
joey a2a65751a2 * Patch from Pawel Tecza to cp -a the templates in the Makefile. 2006-10-17 17:48:52 +00:00
joey 43ebaa6f7b releasing version 1.30 2006-10-16 19:26:53 +00:00
joey 7c18261b80 * Wrap entire technortati ping operation in an eval to catch all possible
failure modes, after I observed a simple ->value crashing ikiwiki when
  a ping failed.
2006-10-16 19:03:33 +00:00
joey b02bbe8253 * Fix a subtle bug in will_render that broke some builds, by only clearing
items from renderedfiles the first time per build.
2006-10-16 18:51:13 +00:00
joey 6aa477fe8b Fix support for --pingurl at the command line. 2006-10-16 18:33:59 +00:00
joey b973ed8269 * Add no_override parameter to hook().
* Add a shortcut plugin, inspired by Victor Moral's contributed shortcuts 
  plugin, but featuring a more ikiwiki-ish syntax and with shortcuts that
  can be configured using a page in wiki.
2006-10-15 19:33:52 +00:00
joey 15fb13d301 releasing version 1.29 2006-10-14 03:48:17 +00:00
joey 3ef0a67811 * Patch from Recai to limit recentchanges to displaying max 10 files for a
given changeset (to avoid large number of file changes excessively
  bloating the page).
2006-10-14 03:12:30 +00:00
joey 9256360490 * Make the aggregate plugin emphasize error messages. 2006-10-13 18:31:18 +00:00
joey 85bcc483e3 correct 2006-10-09 00:05:14 +00:00
joey be55f6fd7c * Atom feed support based on a patch by Clint Adams.
* Add feeds=no option to inline preprocessor directive to turn off all types
  of feeds. feeds=rss will still work, and feeds=atom was also added, for
  fine control.
* $IkiWiki::version now holds the program version, and is accessible to
  plugins.
2006-10-08 23:57:37 +00:00
joey 8c0f961264 update 2006-10-08 22:20:41 +00:00
joey cefbe6210f * Change %renderedfiles to store an array of files rendered from a given
source file, to allow tracking of extra rendered files like rss feeds.
* Note that plugins that accessed this variable will need to be updated!
  The plugin interface has been increased to version 1.01 for this change.
* Add will_render function to the plugin interface, used to register that a
  page renders a destination file, and do some security checks.
* Use will_render in the inline and linkmap plugins.
* Previously but no longer rendered files will be cleaned up.
* You will need to rebuild your wiki on upgrade to this version.
2006-10-08 21:56:50 +00:00
joey 67b513e8c4 * Patch from Alec Berryman adding a http_auth config item that allows
using HTTP Authentication instead of ikiwiki's built in authentication.
  Useful for eg, large sites with their own previously existing user auth
  setup. Closes: #384534
2006-10-02 22:56:09 +00:00
joey 711d4c075e * Patch from Paul Tötterman to use CP in the Makefile. 2006-09-28 23:11:24 +00:00
joey b78e139c50 * Don't fail syntax check if Text::Typography isn't installed.
Closes: #389406
2006-09-26 06:08:24 +00:00
joey db8c6d8550 * Don't rm -rf ikiwiki on distclean, since a) there's no such file
and b) those poor Mac OSX users and their case insensative files!
2006-09-25 21:41:45 +00:00
joey 9f45c3080e * Fix a forkbomb in various calls to IPC::Open2, which has a highly
braindead interface. Closes: #389383
2006-09-25 21:38:25 +00:00
joey 48e004acb1 * inline: Add ability to sort by page name, based on a patch from
Benjamin A'Lee.
2006-09-25 21:13:14 +00:00
joey dc1b6a11f3 releasing version 1.27 2006-09-24 16:57:55 +00:00
joey d782a418cd reorder 2006-09-23 04:07:32 +00:00
joey 3d30413049 update 2006-09-23 00:05:27 +00:00
joey c35444826c * Add --render mode, which can be used to preview an edit at the command
line by test rendering a single page.
2006-09-21 21:34:29 +00:00
joey c7140ad90b * Add typography (SmartyPants) plugin by Recai. 2006-09-21 20:28:40 +00:00
joey 62e1a2ceed estseek patch (slightly altered) and other replies 2006-09-18 20:53:17 +00:00
joey f276e42430 typo 2006-09-18 20:11:35 +00:00
joey 396341b2c3 * Yet another fix for those poor case-insensative `OSX users.
* chomp trailing newlines at the end of templates read in by the template
  plugin, to allow use of the template preprocessor directive in
  whitespace-sensative situations. Closes: #387073
2006-09-18 19:28:09 +00:00
joey 55c18993b8 * README.Debian: typo Closes: #388110 2006-09-18 18:08:10 +00:00
joey fa96eab120 * Updated ikiwiki.svgz from Recai, includes an icon and is used to generate
a multi-resolution favicon.ico.
2006-09-16 15:12:01 +00:00
joey 22ddd81dd2 * Numerous tla fixes from Clint. 2006-09-16 04:09:06 +00:00
joey 528454b9af * Version the libcgi-session-perl dependency, some features that need
the new version are used in some cases (sslcookie).
2006-09-16 02:40:50 +00:00
joey 0df2ad5dfe * Support Text::Markdown from CPAN, which has a different interface from
the original markdown or the one in Debian.
2006-09-16 01:50:29 +00:00
joey a1888db132 foo 2006-09-16 01:25:51 +00:00
joey 26774c931c * Patch from James Westby to deal with the case where you're editing a
new page, hit cancel, and need to be redirected to somewhere sane.
2006-09-16 01:23:14 +00:00
joey 39fd60f1ab * Deal with CPAN installing Markdown as Text::Markdown, while it's
installed as just Markdown by apt.
2006-09-16 01:14:30 +00:00
joey 0f25ec8eb6 * pagetemplate hooks are now also called when generating cgi pages.
* Add a favicon plugin, which simply adds a link tag for an icon to each
  page (and cgis).
2006-09-16 00:52:26 +00:00
joey 5598b315b5 foo 2006-09-15 17:26:36 +00:00
joey 993b20f990 * Yet another fix for those poor case-sensative OSX users. 2006-09-15 17:23:30 +00:00
joey dfedb0351d * Patch from Recai to fix a wide character warning from the search plugin
during setup if the wikiname contains utf8.
2006-09-15 17:10:53 +00:00
joey c1b3572d4d * Add a stub local.css to avoid problems with 404's. 2006-09-15 17:09:08 +00:00
joey 96b395705a * Fix a baseurl problem in hyperestradier search results. 2006-09-15 03:15:34 +00:00
joey 9575948b51 hail UB313! 2006-09-14 22:28:04 +00:00
joey 1e7be2d3dd * Patch from Recai to kill utf-8 on the wiki name when generating the
session cookie.
2006-09-11 16:24:05 +00:00
joey d0b025468a * Patch from Recai to use utf8 when reading the setup file, so that
utf8 wikinames from there will be used properly.
2006-09-10 18:16:43 +00:00
joey 68c67a5f41 * If an inlined page has a permalink, link the page title to that. 2006-09-10 04:19:46 +00:00
joey 70c5e7f0c8 typo 2006-09-09 23:11:10 +00:00
joey 9bae900242 * Add a module version number to IkiWiki, so you can "use IkiWiki '1.00'"
to declare which version of the interface your plugin needs.
2006-09-09 23:07:27 +00:00
joey dae0f48e91 * Work on firming up the plugin interface:
- Plugins should not need to load IkiWiki::Render to get commonly
    used functions, so moved some functions from there to IkiWiki.
  - Picked out the set of functions and variables that most plugins
    use, documented them, and made IkiWiki export them by default,
    like a proper perl module should.
  - Use the other functions at your own risk.
  - This is not quite complete, I still have to decide whether to
    export some other things.
* Changed all plugins included in ikiwiki to not use "IkiWiki::" when
  referring to stuff now exported by the IkiWiki module.
* Anyone with a third-party ikiwiki plugin is strongly enrouraged
  to make like changes to it and avoid use of non-exported symboles from
  "IkiWiki::".
* Link debian/changelog and debian/news to NEWS and CHANGELOG.
* Support hyperestradier version 1.4.2, which adds a new required phraseform
  setting.
2006-09-09 22:50:27 +00:00
joey aa2b3b8f63 * Add a googlecalendar plugin. A bit special-purpose, but it shows
one way to to deal with user-supplied content that could cause XSS
  issues w/o the htmlscrubber, and won't survive the scrubber.
2006-09-09 07:11:51 +00:00
joey 0e224e9f9c * Add a missing -n to tla undo call.
* otl2hmtl can't be safely used with IPC::Open2 since it sometimes
  writes before consuming its whole stdin. Avoid this deadlock.
* Fix alt tags for outline checkboxes.
2006-09-08 20:33:49 +00:00
joey 757b627414 * Add a missing -n to tla undo call. 2006-09-08 19:19:56 +00:00
joey 19bb1c5211 releasing version 1.25 2006-09-08 06:04:45 +00:00
joey eff2ddbe9a * Add a linkmap plugin (requires graphviz). 2006-09-07 05:31:01 +00:00
joey 7ba4a844a8 * Include <link rel> tag for RSS feeds, used by some aggregators and
firefox to find the feed.
2006-09-06 21:03:39 +00:00
joey f7f3b0bb7d * Add support for mercurial, contributed by Emanuele Aina. 2006-09-06 20:31:55 +00:00
joey 9439a374d0 update 2006-09-06 20:01:37 +00:00
joey 40ca2cf3c7 typo 2006-09-04 06:16:29 +00:00
joey 99d52a1794 * Add support for tla, contributed by Clint Adama. Closes: #385936 2006-09-04 06:15:54 +00:00
joey b6075d6163 move html escaping 2006-09-04 04:29:18 +00:00
joey ea95624e2d * Drop real uid/gid in the suid wrapper, thus allowing commits to remote
subversion repos and fixing some other issues.
2006-09-04 03:38:02 +00:00
joey 7f243ae21a * Add proper waitpid calls for open2ed processes throughout to avoid
zombies; this hit htmltidy especially badly.
2006-09-03 20:11:39 +00:00
joey 35a4bc6d0e releasing version 1.24 2006-09-03 19:55:59 +00:00
joey f0393523c8 * Fix another destpage issue in the inline directive. Closes: #385512
again.
2006-09-03 19:54:44 +00:00
joey 92065444d9 * Simplify the data structure returned by rcs_recentchanges to avoid
each rcs plugin needing to form complex strings on its own.
2006-09-03 19:53:23 +00:00
joey fdaab0fddd releasing version 1.23 2006-09-03 16:25:47 +00:00
joey 2fc39b28b2 releasing version 1.22 2006-09-02 05:32:59 +00:00
joey bd4cd357a1 * Add processed date to aggregate preprocessor directive status output. 2006-09-02 02:07:44 +00:00
joey a04c959af5 remove some unimportant changelog entries to cut it down a bit.. 2006-08-29 05:26:55 +00:00
joey 47df37addf rebuild needed due to css changes 2006-08-28 20:04:10 +00:00
joey 1aeb64e148 * Patch from James Westby to add an actions option to inline; this
adds Edit and Discussion links at the end of blog entries.
2006-08-28 19:43:07 +00:00
joey 4895955cea * Change htmlize, format, and sanitize hooks to use named parameters. 2006-08-28 18:17:59 +00:00
joey e16746a52f * Add toc (table of contents) plugin. 2006-08-28 07:40:20 +00:00
joey 4ad7c9d625 * Patch from James Westby to add a --sslcookie switch, which forces
cookies to only be sent over ssl connections to avoid interception.
* Factor out the cgi header printing code into a new function.
* Fix preferences page on anonok wikis; still need to sign in to get
  to the preferences page.
2006-08-27 20:25:05 +00:00
joey a61d531edb * Added a ddate plugin. 2006-08-27 03:55:45 +00:00
joey 2bec3518c2 * Patch from James Westby to add a template for the search form.
* Cache search form for speedup.
2006-08-26 21:57:59 +00:00
joey 38ce4c3cef * Patch from James Westby to allow a description to be set for rss feeds. 2006-08-26 17:36:46 +00:00
joey 6fc3b624f2 * Generalised preprocesser loop protection code. 2006-08-25 19:06:37 +00:00
joey f4d99ac1ca * Use DESTDIR and not PREFIX to specify installation prefix for packaging.
* Support running "perl Makefile.PL PREFIX=foo" to build ikiwiki to run
  from a different directory.
2006-08-25 02:12:43 +00:00
joey 56d0ceee2e * Make all pages pull in a local.css style sheet, if present. This won't
be included in ikiwiki, but can be created to make local styling changes
  w/o needing to merge in every new change to the distributed style.css.
2006-08-24 20:45:09 +00:00
joey d4ca3b3f50 * Change order of linkify and preprocess; first preprocess and then linkify.
This allows passing a wikilink inside a parameter to a preprocessor
  directive without it being expanded to html, and leaking out of the
  parameter, which had required some non-obvious use of triple-quoting
  to avoid. Note that any preprocessor plugins that output something
  that looks like a wikilink will now have it treated as such; AFAIK
  this doesn't change any behavior though except for the template plugin.
* Enable preprocessor directives when previewing an edit.
2006-08-23 20:23:57 +00:00
joey aa04f54ae9 * Patch from Jordà Polo to make Setup::Standard support hashes in config
files.
2006-08-23 18:41:32 +00:00
joey c9dbcd29e5 * Make pagespec merge code smarter about merging duplicate pagespecs. 2006-08-23 06:44:47 +00:00
joey 9d7375c3b2 * Allow preprocessor directives to contain python-like triple-quoted
text blocks, for easy nesting of quotes inside.
* Add a template plugin.
* Use the template plugin to add infoboxes to each plugin page listing basic
  info about the plugin.
2006-08-23 05:41:07 +00:00
joey 78b279c3d8 * Allow preprocessor directives to span multiple lines, both to make
long ones with lots of values easier to write, and to allow for ones with
  multi-line quoted values.
2006-08-23 03:25:40 +00:00
joey fddedd1834 remove removed fix 2006-08-22 17:55:24 +00:00
joey 43f2ba5def revert broken parentlinks fix, which was broken, explain why
add plugins/contrib page to avoid broken link on this wiki
2006-08-22 17:54:10 +00:00
joey 467d5b5e2a * Fix a bug introduced last version to do with nested inlines. 2006-08-22 17:02:01 +00:00
joey d0295d9dc0 * Clean up behavior with broken parentlinks. 2006-08-21 22:45:17 +00:00
joey cf3021ef3f * Fixed a bug with previews of subpages having broken links to top-level
pages.
* Change how the stylesheet url is determined in the templates: Remove
  STYLEURL and add BASEURL to all templates (some already had it). This
  new more general variable can be used to link to other things (eg, images)
  from the template, as well as stylesheets.
2006-08-21 22:27:02 +00:00
joey e32b07ed2b releasing version 1.21 2006-08-20 20:53:56 +00:00
joey 132e41500f * Fix utf-8 in blog post form. 2006-08-20 20:45:55 +00:00
joey 63edea27bc * Add first draft at a Restructured Text (rst) plugin, by Sergio
Talens-Oliag. Note that this has many known issues -- see the caveats on
  the plugin's page.
* Credit everyone who wrote a plugin on the plugins' wiki pages.
2006-08-19 05:05:02 +00:00
joey ccd3a7e2c2 * Fix ikiwiki-mass-rebuild to work in the way the postinst uses it. 2006-08-19 02:58:47 +00:00
joey 7f58a84dea * Add otl format plugin, which handles files as created by vimoutliner. 2006-08-18 21:48:03 +00:00
joey 2eac55e90e * Add a map plugin contributed by Alessandro Dotti Contra. 2006-08-18 16:18:45 +00:00
joey c6ee9cbf45 * Support inlining pages raw, rather than creating a blog.
* Clean up yes/no parameter parsing in inline plugin.
* Implemented better cycle detection in the inline plugin; nested inlines
  will now work.
2006-08-18 03:56:18 +00:00
joey 69d1592a17 * Call filter hooks on inlined page content. 2006-08-18 00:44:46 +00:00
joey cedb48765b * Add a tail fin^W^Wsidebar plugin by Tuomo Valkonen.
* If a page links to itself, mark up the link text in a span with
  class="selflink" so that it can be styled. I don't have a useful style
  defined for that though.
2006-08-18 00:24:22 +00:00
joey 9556c4a889 * Fix a bug in the aggregator introduced last version that caused all
aggregator state to be lost during a non-aggregating build.
2006-08-17 23:09:55 +00:00
joey 480a49af47 * Catch failing IPC::Open2 in tidy plugin and retry in case this is a
transient failure to fork (which I've seen happen in the wild).
2006-08-17 20:39:00 +00:00
joey 24fcf2b97d * Add --syslog config option, to log to the syslog. 2006-08-16 21:17:49 +00:00
joey f738b155b1 * Relicense the templates and basewiki under the 2-clause BSD license.
Since these can easily become part of other people's websites, they
  should be under as permissive a license as possible.
2006-08-16 20:38:11 +00:00
joey 97e10558fe releasing version 1.19 2006-08-16 17:50:51 +00:00
joey 53cf5ca9a3 * Fix an infinite loop in the aggregator when finding a unique filename. 2006-08-16 17:37:36 +00:00
joey df30eda283 * Add some locking to prevent 2 aggregators from running at once. 2006-08-16 17:32:30 +00:00
joey d6a576077d up 2006-08-13 05:58:36 +00:00
joey be092a67c2 * Fix a bug in page type determination during online editing. 2006-08-13 05:56:01 +00:00
joey dd74a51c96 releasing version 1.18 2006-08-13 02:19:52 +00:00
joey 4b36dee35a * The last release accidentially installed ikiwiki as ikiwiki.pl, now fixed.
* Add --version.
* Man page format fixups.
* Add a %pagecase which maps lower-case page names to the actual case
  used in the filename. Use this in bestlinks calculation instead of
  forcing the link to lowercase.
* Also use %pagecase in various other places that want to check if a page
  with a given name exists.
* This means that links to pages with mixed case names will now work,
  even if the link is in some other case mixture, and mixed case pages
  should be fully supported throughout ikiwiki.
* Recommend rebuilding wikis on upgrade to this version.
2006-08-13 02:03:43 +00:00
joey d39717a1cb * If the meta plugin overides the page title, set a title_overridden
variable in the template to true. This allows doing things with the
  templates conditional on the title being overriden.
2006-08-12 17:51:32 +00:00
joey 3fcc926c5f releasing version 1.17 2006-08-12 16:56:04 +00:00
joey 2eff1c64ab * Set die_on_bad_params => 0 for all templates, to allow users to modify
them without annoyances.
* Suck in the page content when generating an inline archive page, to work
  around the meta plugin's lack of caching of title metadata across runs.
2006-08-12 16:36:35 +00:00
joey 627c20808a update 2006-08-10 04:13:59 +00:00
joey cade16fbb6 * Improve markdown loading. First, try to load it as a properl perl module,
in case it was installed as one. Then fall back to trying
  /usr/bin/markdown.
* Document in install page how to install markdown, since it has no
  installation procedure in the upstream tarball.
2006-08-10 04:11:58 +00:00
joey 119e3e209d * Display an error message if /usr/bin/markdown can't be loaded. 2006-08-10 03:03:34 +00:00
joey 9dee2ec20e * Ship ikiwiki executable as ikiwiki.pl in source to avoid issues on
case-sensative filesystems like OSX.
2006-08-08 14:55:14 +00:00
joey 2ea8fbe2d9 misc changes 2006-08-05 21:15:50 +00:00
joey 7a05087f47 * Turn on HTML::Template loop_context_vars; not actually used in stock
templates but can be useful for things like making comma-delimited lists
  of tags or what have you.
2006-08-05 03:21:14 +00:00
joey a41abc80ac * Turn off tidy indentation too. 2006-08-05 02:31:38 +00:00
joey d98b2480f9 * Move tidy back to sanitize hook, found out how to only show body. 2006-08-05 02:28:04 +00:00
joey e8ec0187da * Disable tidy generator tag. 2006-08-05 01:09:04 +00:00
joey a69bb505ab releasing version 1.16 2006-08-05 00:57:02 +00:00
joey 485a017a88 * Fix dates in rss feeds if running localised, so they're still rfc 822. 2006-08-05 00:45:03 +00:00
joey 0708bb8aec * Don't run tidy with -xml as that fails if the input is not well-formed.
Run it with -asxhtml instead, so it will output well-formed xhtml no
  matter what the input.
* Disable tidy warnings too.
* Add a new format hook, and make tidy use it, since tidy can really only
  operate on and output complete html documents, not the body chunks
  that sanitise gets.
2006-08-04 07:41:02 +00:00
joey acaee3d0bc * Fix the htmltidy plugin, which wasn't working due my breaking it when
I added it..
2006-08-04 07:04:16 +00:00
joey 91e416b5f3 * Also generate rel=bookmark links for permalinks. 2006-08-04 04:29:18 +00:00
joey d8819689b1 * Add xhtml files to the default prune regexp. 2006-08-04 02:35:54 +00:00
joey d3713b0164 * Encode link and guid urls in rss feeds to avoid illegal utf8 slipping in. 2006-08-04 01:57:32 +00:00
joey 5077165953 revert this, it seems wrong 2006-08-04 01:47:07 +00:00
joey 819b31d46c * Various CSS and formatting changes. 2006-08-04 00:47:28 +00:00
joey c5919df5f3 * Make aggregator save permalinks and author name to pages as metadata.
* Add permalink and author support to meta plugin, affecting RSS feeds
  and blog pages.
* Change titlepage() to encode utf-8 alnum characters. This is necessary
  to avoid UTF-8 creeping into filenames in urls. (There are still
  some other ways that it can get in.)
2006-08-04 00:01:51 +00:00
joey e8b39b0941 * Try to handle relative links in aggregated feeds. However,
the current support is a crude hack due to limitations of XML::Feed:
  xml:base is not supported, neither is Content-Location. And of course,
  relative links in RSS feeds are ill-undefined..
2006-08-03 21:50:47 +00:00
joey 4bc87e86ed releasing version 1.15 2006-08-03 17:02:17 +00:00
joey 1253db7de2 * Added created_before and created_after PageSpec limits. 2006-08-03 16:55:52 +00:00
joey 14d107ee6b * Remove CDPATH and other env vars perl taint checking doesn't like.
Closes: #381279
2006-08-03 16:13:48 +00:00
joey df5ee4d123 releasing version 1.14 2006-08-02 15:35:37 +00:00
joey ee84ed3770 * Fix stupid bug in date matching, patch from Roland Mas. Closes: #381132
* Added many unit tests for pagespec_match.
2006-08-02 15:33:26 +00:00
joey 98f6f5e580 * Memoize pagespec translation, this speeds up a build of the ikiwiki tree
by 10% or so.
2006-08-02 03:39:19 +00:00
joey 2c0b310cc2 releasing version 1.13 2006-08-02 01:31:39 +00:00
joey 2794d7ef5a * Renamed GlobLists to PageSpecs.
* PageSpecs can now include nested parens, "and", and "or". This remains
  backwards compatible to the old GlobList format. It's implemented by
  treating the GlobList as a very limited microlanguage that is transformed
  to perl code that does the matching.
* The old GlobList format is deprecated, and I encourage users to switch to
  using the new PageSpec format. Compatability with the old format will be
  removed at some point, possibly by 2.0.
* Wiki rebuild needed on upgrade to this version due to PageSpec change.
* Add support for creation_month and creation_year to PageSpec.
  Closes: #380680
* Changes to index file encoding.
2006-08-02 00:14:31 +00:00
joey 53d81ebcd6 * Patch from Roland Mas to support an rss=no parameter to inline directives.
Closes: #380743
2006-08-01 20:08:42 +00:00
joey 8abe719f81 * Fix issue with unicode filenames and updating the hyper estradier search
index. (Aka Please Please Please, let that be the last one.)
2006-07-31 01:24:18 +00:00
joey e4ccc4f3b0 fix title metadata on blogs, reorg needed to do it, simplified tag some 2006-07-31 00:34:18 +00:00
joey 908e004b4c * Title metadata of inlined pages now shows up in blogs, although not yet
in their rss feeds.
2006-07-30 23:51:48 +00:00
joey 8883001615 * Change meta tags to use html entity-escaped text for values, so that
quotes and such can be represented in title tags.
* Depend and build-depend on HTML::Parser for HTML::Entities which is used
  for the above.
* Make --rebuild also cause --aggregate to re-download and write aggregated
  pages.
* Avoid outputting duplicate meta info.
* Include title metadata on aggregated posts for capitalised and un-munged
  titles.
2006-07-30 22:58:48 +00:00
joey e49ff966a3 * ikiwiki can now download and aggregate feeds with its new aggregate
plugin, so it's possible to implement a Planet using ikiwiki!
* --setup --refresh no longer rebuilds wrappers. Use --setup --refresh
  --wrappers to do that.
* Add %IkiWiki::forcerebuild to provide a way for plugins like aggregate
  to update pages that haven't changed on disk.
2006-07-30 04:31:08 +00:00
joey ab75c0323b * Add a run_hooks function for the common task of running all hooks of a
given type.
* Add a savestate hook.
* Don't put blog post forms on pages if there's no cgiurl set.
* Reformat front page.
2006-07-30 00:20:11 +00:00
joey 7f1313c052 * Tag plugins according to type. 2006-07-29 22:15:45 +00:00