Commit Graph

296 Commits (f8dbe2657cb4ed768815c5cf699ecb922e796934)

Author SHA1 Message Date
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 128cb30e7a add upgrade note 2006-08-22 19:41:15 +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 90a5d232b3 update 2006-08-19 05:07:44 +00:00
joey 9c2b8c4b3e add python-docutils 2006-08-19 05:05:42 +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 48826f37a5 update 2006-08-02 00:17:42 +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
joey d9633de2ce * fortune plugin (trivial) 2006-07-29 21:53:57 +00:00
joey 8f2d8142e4 * Allow preprocessor directives to be expanded in inlined blog pages.
However, to avoid inlining loops etc, don't expand inline directives in
  inlined pages.
2006-07-29 21:38:50 +00:00
joey 0549229bab 1.12 is not released yet 2006-07-29 21:12:08 +00:00
joey 6a9e16374f * Locale patch from Faidon:
- Adds a locale setting to setup files.
  - Proper local time, if the locale configuration option is used.
  - Support for UTF-8 (or ISO-8859-X) filenames in SVN. Before this patch,
    commiting (or even rcs_updating) on repositories with UTF-8 filenames was
    impossible.
2006-07-29 21:04:31 +00:00
joey 48f9d39339 * htmltidy plugin from Faidon. 2006-07-29 20:50:20 +00:00
joey 35c90a5b58 "Viva l'Italia!"
* Polygen plugin from Enrico.
2006-07-29 20:01:29 +00:00
joey 3a2dfb94cb * Build-depend on libtext-wikiformat-perl, so that the syntax check of
the wikiformat plugin works. Thanks, Emanuele Aina.
 * Patch from Alessandro Dotti Contra to clean up backlinks and navbar
   display, running them through pagetitle. This removes ugly underscores and
   other gunk from the display, much nicer. You may want to rebuild your wiki
   when upgrading to get the cleanup globally.
2006-07-29 19:16:55 +00:00
joey d76c73eb86 * New pagestats plugin from Enrico, which can generate a table counting
the backlinks for each page, or a del.icio.us style cloud.
2006-07-29 17:44:41 +00:00
joey 267f98e2e1 * Put categories in rss feeds for tagged items. 2006-07-29 07:25:17 +00:00
joey a0653933d3 * Add exclude option in setup files, works same as --exclude. 2006-07-28 17:48:24 +00:00
joey 409e62021c * Add getopt hook type, this allows plugins to add new command-line options.
* Add --tagbase option to tag plugin.
2006-07-28 05:26:49 +00:00
joey a01ecafb65 releasing version 1.11 2006-07-28 00:52:21 +00:00
joey 2cb3bd781e add news 2006-07-28 00:25:13 +00:00
joey 8fd9c9accb Hope encrico doesn't mind, but I changed the location and layout of the
tags on the templates. This way seems to fit better with the links. Also
some css cleanup, avoid hardcoded <i> etc.
2006-07-28 00:21:13 +00:00
joey dea23a1031 * Switch pagetemplate hooks to using named parameters.
* Pass a "destpage" parameter to preprocessor and pagetemplate hooks.
  This will be the page that a source page will be part of, which is
  different than the source page for inlined pages.
* Audited all plugins to endure they pass page, destpage to htmllink
  appropriatly. This means inlining of various plugins will not work
  properly, with correct links generated.
2006-07-27 23:41:58 +00:00
joey 20eacc2c1f - Adds a tag plugin that allows more easily tagging pages.
The meta plugin can also still be used for that, but the tag plugin
    also lists a page's tags at the bottom of the page.
  - Allows preprocessor directives to have parameters with no specified
    value.
  - Fixes preprocessor directive parameter parsing so that
    foo=bar baz now means "foo=bar" and a "baz" with no value.
* Run pagetemplate hooks when inlining pages so that inlines pages also
  list their tags.
* Make all plugins with pagetemplate hooks check that variables exist
  on the template before setting them.
2006-07-27 23:08:03 +00:00
joey 5017ffd8a5 * Patch from Enrico that
- allows preprocessor directives to have parameters with no specified
    value
  - fixes preprocessor directive parameter parsing so that
    foo=bar baz now means "foo=bar" and a "baz" with no value
  - Add a tag plugin that allows more easily tagging pages.
    The meta plugin can also still be used for this.
2006-07-27 21:38:02 +00:00
joey 3a2cb0ecff * Fix CamelCase regexp to not break [[FooBar|BazBar]] WikiLinks. 2006-07-26 22:09:55 +00:00
joey d9c118dbf1 * Run page through any relevant filters when generating a page preview.
* Noticed a bug in the wikitext markup plugin -- it made CamelCase links the
  default throughout the wiki, not only on wikitext pages. Decided to call
  this a feature, and split the camelcase support out into a separate plugin
  that is independant of wikitext.
2006-07-26 21:54:44 +00:00
joey 52c00acfa3 releasing version 1.9 2006-07-26 21:37:15 +00:00
joey b187641376 * Patch from Recai to allow selection of page type when creating a new page.
Default page type is inherited from the link clicked on to create the new
  page.
2006-07-26 21:23:06 +00:00
joey ed8d6bcf23 * Consolidated all decode_utf8 in FormBuilder's fields to make the code more
readable and avoid future mistakes. The patch seems to work and for the
  first time I have a UTF-8 username ;-) (Faidon)
* Use form->field consistently, not form->param.
2006-07-11 21:20:14 +00:00
joey afedd60d79 * Match 'web commit from' in SVN and git, these are web commits too.
(Faidon)
2006-07-11 20:55:14 +00:00
joey f389b08a0c * Fix from Faidon for a XML parser issue that breaks utf-8 for
RecentChanges. Avoid using XML::SAX::PurePerl, which is buggy in this
  area, and also way slow.
2006-07-11 20:18:11 +00:00
joey 50c21744ca * Display CGI processing errors if present. 2006-07-10 21:13:41 +00:00
joey 1bdfa4d8b5 * Support a w3mmode, which lets w3m run ikiwiki using its local CGI
support, to edit pages etc without a web server.
2006-07-07 21:00:48 +00:00
joey 0f22d66c96 * Add wikitext markup plugin, which supports ".wiki" pages written in the
original wiki syntax, CamelCase links and all.
2006-07-07 18:28:27 +00:00
joey 89697f2c7a * Patch from Recai to fix utf8 issues in git backend. 2006-07-05 20:54:10 +00:00
joey 97e6f39dd0 * Patch from Faidon to use svn --limit when possible for recentchanges,
speeds up recentchanges a lot for wikis with more history.
2006-07-05 17:40:07 +00:00
joey 01fc6c0a4e * Improve display of parentlinks and page title of toplevel index page. 2006-07-04 20:04:33 +00:00
joey c00e923351 releasing version 1.8 2006-07-04 16:47:28 +00:00
joey 014a387996 * Memoize abs2rel, which is still kinda slow, for another 30% speedup
in time to build the doc wiki.
2006-07-04 16:34:27 +00:00
joey 87a1d3ff8f * Encode & in diffurl in examples, to conform to pedantic rules.
* Speed up RecentChanges by another 40% or so with some memoization.
2006-07-04 16:18:18 +00:00
joey e059c9eff9 * Make RecentChanges use a table and some CSS, should be much more readable.
No code changes involved.
* Encode & in diffurl in examples, to conform to pedantic rules.
2006-07-04 06:07:32 +00:00
joey ebc6120f99 * Work around very innefficient behavior in File::Spec::abs2rel. Result
is a savings of 2 pointless fork/execs per link calculation, which
    results in ~25% speedup of ikiwiki building its own doc wiki, and
    about 35% speedup displaying RecentChanges!
2006-07-04 03:42:19 +00:00
joey 7b87549558 * Don't sent pings if the wiki is being rebuilt. 2006-07-04 01:02:04 +00:00
joey 349ff86006 * Make ikiwiki --setup --refresh rebuild wrappers, so wrapper rebuild
will be automatically done on all upgrades.
2006-07-04 00:28:59 +00:00
joey ef6d8d7e2f sanitise them, like any other page type.
* Rebuilding wrappers is necessary on upgrade to this version.
2006-07-04 00:21:48 +00:00
joey 8d4c474f3b * Add a html plugin, which can be used to write wikis in raw html,
if you'd ever want to do such a thing. Slightly tricky, since ikiwiki
  defaults to not processing .html files, since w/o this plugin they would
  be copied unsanitised. With this plugin, it will process, and html
  sanitise, them like any other page type.
2006-07-03 22:31:20 +00:00
joey 6551c1e560 * Support htmlize plugins and make mdwn one such plugin, which is enabled by
default (of course!). Based on a patch by Faidon Liambotis.
2006-07-03 22:08:04 +00:00
joey 7ea8df24b3 * Introduce add_plugins and disable_plugins config options in setup files.
This allows adding or removing plugins w/o overriding the whole list of
  default plugins, which makes it easier to upgrade when new default plugins
  are added.
2006-07-03 21:29:56 +00:00
joey 929b9de9c2 Encode is used in nearly all code paths so stop loading it on demand 2006-07-03 20:18:16 +00:00
joey fa9517e5bb * Support pages with utf8 filenames. Patch by Faidon Liambotis. 2006-07-03 20:12:27 +00:00
joey d1d212203c * Centralised all calls to HTML::Template and force all the templates
to be read as utf8.
2006-07-02 19:06:08 +00:00
joey b74ddf69ce perl bugnum and refix 2006-07-02 17:46:23 +00:00
joey 1452b3adf3 so make sure to let perl know it should be handled as utf8. Also,
* Improve layout of edit page so formatting help link is always visible w/o
  getting in the way of the preview.
2006-07-02 17:44:43 +00:00
joey ac7b1c32b1 * POSIX::strftime doesn't know about encodings and doesn't return a utf8
flagged string even if the locale causes it to generate utf8 output,
  so make sure to let perl know it should be handled as utf8. Also, 
  the optimised version used for standard time formats won't work if the
  user has changed locale, so drop it. Thanks, Faidon Liambotis.
* Fix re-encoding of the comments field to utf8 if a commit fails
  due to a conflict. Thanks, Faidon Liambotis.
* Let svn know that commits have utf8 commit messages. Thanks, Faidon
  Liambotis.
* Add insane double encode/decode to utf8 around call to markdown.
  This works around a truely strange bug, which is apparently a bug in
  perl, which I lack space to describe here (see t/crazy-badass-perl-bug.t)
2006-07-02 04:02:08 +00:00
joey 0bb605baf8 * Parse svn log as xml for improved utf8 and security. Note that this makes
ikiwiki depend on XML::Simple. Patch by Faidon Liambotis.
2006-07-02 02:18:31 +00:00
joey 25b35c3c74 * Honor LC_CTIME when formatting a time for display. Thanks, Faidon
Liambotis.
2006-07-02 00:32:12 +00:00
joey b0e7e2e123 * Support pinging services such as Technorati using XML-RPC to notify them
about changes to rss feeds.
2006-06-27 01:13:03 +00:00
joey 5fa878cc75 * Fix orphans plugin to not count a link to a nonexistant page as a reason
for a page not being an orphan.
2006-06-25 07:21:53 +00:00
joey e3dd54af7d releasing version 1.7 2006-06-19 03:36:37 +00:00
joey 77c7582f72 * Patch from Recai to fix git recentchanges code to work with git 1.4 which
changed some output.
* Copyright update.
2006-06-19 03:33:23 +00:00
joey 895a7b7594 * Updated logo from Recai with some kerning and alingment tuning. 2006-06-18 23:40:17 +00:00
joey ad9f5def1a releasing version 1.6 2006-06-18 23:27:25 +00:00
joey 55efcad7a1 * New SVG logo from Recai. 2006-06-18 21:19:00 +00:00
joey d7921d4022 note on perl warnings 2006-06-17 02:54:53 +00:00
joey 4d460d1f82 - Add 'use encoding "utf8"' to CGI.pm to avoid warnings about wide
character in print.
2006-06-17 02:15:00 +00:00
joey f5eb3df1fa * More utf-8 fixes from Recai, partly to things I broke above:
- The serious problem is that writefile() saves the content in undecoded
    format in CGI, hence all (non-ascii) chars are corrupted permanently.
  - Comment field in edit page is not decoded and all the non-ascii chars in
    this field are corrupted as the result.  We should decode it as we do it
    for the content.
2006-06-17 01:44:19 +00:00
joey 0cd2cfb039 * Put back the encode_utf8 in the input to markdown; it's really not utf-8
safe.
2006-06-16 04:42:06 +00:00
joey 202c4d522f * -CSD does not affect modules, so readfile() was not using the utf-8 input
layer, which led to lots of problems; make it force read files as utf-8.
  Closes: #373203
* writefile() likewise needs to use the utf8 output layer.
* Remove the -CSD from ikiwiki's hashbang since it's useless to have it
  there.
* Revert some of the decode_utf8 changes in CGI.pm that seem unnecessary
  given the readfile fix.
* Add utf-8 testcases for readfile and htmlize.
2006-06-15 06:37:33 +00:00
joey 070f255d6c * YA utf-8 patch from Recai, this time to fix previewing a page so that
the text in the input box is re-encoded back to utf-8.
2006-06-15 03:44:27 +00:00
joey 9fa5eebfb9 releasing version 1.5 2006-06-12 00:13:43 +00:00
joey 0db14b8ac1 add perl to build deps 2006-06-12 00:03:40 +00:00
joey 2ce6d15b8b * Patch from Recai Oktaş to improve utf-8 support, it should now use proper
utf-8 for edit and other fields, and for recentchanges. There may still
  be utf-8 issues with the preferences page though.
2006-06-11 18:51:49 +00:00
joey 5774373046 * Fix absolute url munging in rss generation to support https, ftp, etc urls
not just http urls.
2006-06-08 06:07:45 +00:00
joey 30afedcfe2 * Add support for using git instead of subversion as the RCS backend,
tremendous thanks to Recai Oktaş for this.
* Doc updates for git.
2006-06-02 05:32:20 +00:00
joey d534483b9b * Reorganised the doc wiki's todo/* pages, using a link/tag to flag
* Allow pagetemplate plugins to override *anything* in the template.
* Add a meta plugin, which allows specifying various metadata about pages,
  like license and author. It also allows for inserting html link and meta
  tags into html, overriding the title, and adding hidden WikiLinks, which
  can be useful when using link-based globbing for page categorisation.
* Remove preprocessor directives from inlined pages.
* Allow simple preprocessor directive values to be specified w/o quotes.
2006-06-02 04:49:12 +00:00
joey 0b8aacfb96 * Reorganised the doc wiki's todo/* pages, using a [[done]] tag to flag
when a todo item is done, instead of the previous moving it to a different
  subdir.
2006-06-02 02:07:21 +00:00
joey ad247de723 * Patch from Dr. Zini to add link() and backlink() to globlists. This allows
for some handy stuff like:
  - Using links as a kind of tag; creating blog pages that list all pages
    containing a given tag/link or not containing some other tag.
  - Subscribing to mail notifications whenever a change is made to a page
    that is a backlink of page foo. Ie, "Please notify me of changes in all
    pages that link to my home page in the wiki"
  - Locking any pages that are linked to from a particular page, so that
    lists of locks can be exposed in the wiki.
2006-06-02 01:17:26 +00:00
joey 140658bc51 * More security review. 2006-06-01 20:44:12 +00:00
joey 7a1e12675e * Add --timeformat config option to allow changing how dates are displayed.
Note that as a side effect, dates will now be displayed using the local
  timezone, not as GMT.
2006-05-29 05:09:43 +00:00
joey 30fef2703a releasing version 1.4 2006-05-27 19:16:41 +00:00