Commit Graph

2098 Commits (e44ccca13c61bd9105ad3de24506523d8d9bdb93)

Author SHA1 Message Date
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 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 549579ae98 thoughts 2006-08-23 02:19:56 +00:00
joey d0fb93d800 update 2006-08-21 23:23:14 +00:00
joey 6aeb671ac8 update 2006-08-19 05:18:28 +00:00
joey 5d9010682e update 2006-08-19 05:17:12 +00:00
joey dac483cedc update 2006-08-19 05:15:53 +00:00
joey c902401cae update 2006-08-19 05:15:25 +00:00
joey e1fa002cb4 update 2006-08-19 05:15:00 +00:00
www-data 677580cb05 web commit by joey: heh heh heh 2006-08-19 05:13:21 +00:00
www-data ff10dd2fde web commit by StruanJudd 2006-08-18 20:01:17 +00:00
joey 9adb841c92 thoughts on some future stuff 2006-08-18 04:12:29 +00:00
www-data 6c25e904b2 web commit by joey 2006-08-18 00:27:04 +00:00
www-data 006af093ef web commit by joey 2006-08-18 00:26:28 +00:00
www-data 619d22866a web commit by joey 2006-08-18 00:25:46 +00:00
www-data 3357e70453 web commit by IanBrandt 2006-08-16 21:08:07 +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 85ecbc6c4e meh 2006-08-12 18:00:17 +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 9dbe10e3f0 more slashery 2006-08-03 16:59:46 +00:00
joey 3eea683d71 meh 2006-08-02 05:37:13 +00:00
joey e8e56100ec meh 2006-08-02 05:35:51 +00:00
joey 044a5eba9a thoughts 2006-08-02 05:32:10 +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 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 2604c3217e one more change; use the page that pulls in a feed as the anchor for the
default directory
2006-07-31 01:05:22 +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 61ac8f2f51 improce 2006-07-30 07:59:04 +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 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
www-data e0c78351a8 web commit by joey 2006-07-28 00:30:05 +00:00
www-data 584c998753 web commit by joey 2006-07-28 00:29:42 +00:00
www-data 4c5611637e web commit by joey 2006-07-28 00:28:27 +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 06dc80b662 foo 2006-07-26 23:36:14 +00:00
joey 75ff5530b4 add 2006-07-26 22:31:57 +00:00
joey 429c13f476 done 2006-07-26 21:26:13 +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 1cd1f073ff web commit from 127.0.0.1 2006-07-07 19:38:35 +00:00
joey 2379299a24 fix 2006-07-05 00:34:30 +00:00
joey 9308b11e28 meta done a while ago 2006-07-05 00:31:33 +00:00
joey 01fc6c0a4e * Improve display of parentlinks and page title of toplevel index page. 2006-07-04 20:04:33 +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 08890fdd7f misc updated 2006-07-03 22:35:30 +00:00
joey fe5689ec16 updates 2006-07-02 19:52:46 +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 cbfe2af8b5 make the bugs page work like the todo page 2006-06-23 00:51:19 +00:00
www-data 9289f684bb web commit by joey 2006-06-22 23:36:52 +00:00
www-data 11a2708b77 web commit by ChristofferSawicki 2006-06-17 22:18:50 +00:00
joey 6640131ea5 add 2006-06-11 19:08:11 +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 f1b3b728c1 bah, globlists are not anded.. 2006-06-02 02:19:49 +00:00
joey 0e9312b2a5 add 2006-06-02 02:17:56 +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 abf5543e0c cannot reproduce a problem 2006-05-29 05:10:23 +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 65d0aee407 * --getctime had bitrotted (well I only ever used it the once so far..),
* When inlining a page in another one, links from the inlined page are now
  expanded the same as they are when rendering the inlined page as a
  standalone page. So rather than being expanded from the POV of the
  inlining page, they are expanded from the POV of the inlined page.
  For example, a link from blog/foo to "bar" will now link to blog/bar
  if it exists. Previously this needed to be a link explicitly to 
  "blog/bar"; such links will also continue to work.
  (This was slightly complex to do as the link still has to be constructed
  relative to the inlining page.)
2006-05-26 16:11:53 +00:00
joey 29507e94a4 utf-8 support seems to be working now 2006-05-26 15:33:14 +00:00
joey 282893be81 * Rebuilding on upgrade to this version is recommended.
* Add a html validity check to the test suite, using the wdg-html-validator,
  if available.
* Make the html valid when there is nothing in the actions list by adding an
  empty <li> to the end of it.
* Reordered some function call parameters for consistency.
2006-05-26 08:24:36 +00:00
joey 0fe24ee312 update 2006-05-26 01:12:36 +00:00
joey 5466a1daf9 * The page name and parent links has switched from using a <h1> to a styled
<span>, so pages can use <h1> internally instead of needing to use <h2>.
* Updated all of ikiwiki's own wiki pages for that.
* Add pagetemplate hook, which can be used by plugins that want to mess
  around with adding new stuff to the page template.
* Remove headercontent; the search plugin now adds the search box to the
  header by registering a pagetemplate hook, and other plugins should do
  similarly.
2006-05-26 01:10:58 +00:00
joey 7a0ff2b293 add 2006-05-13 16:35:37 +00:00
joey a17d6ee669 add 2006-05-13 16:12:23 +00:00
joey 065f298986 update 2006-05-12 05:17:29 +00:00
joey f0f3a430f3 * Add libc6-dev to dependencies, needed to build wrappers. 2006-05-08 23:00:42 +00:00
joey b2bd444f31 * Allow discussion links on pages to be turned off with --no-discussion. 2006-05-05 18:20:52 +00:00
joey 6652de5e1a * Removed --sanitize and --no-sanitize, replaced with --plugin htmlscrubber
and --disable-plugin htmlscrubber.
2006-05-05 05:41:11 +00:00
joey f924740b93 add 2006-05-05 03:05:46 +00:00
www-data 2b51c7deab web commit by joey 2006-05-04 15:13:51 +00:00
joey ca2755b20c remove test page; it was in TODO before removal 2006-05-04 15:02:51 +00:00
www-data e2da5b4f6e web commit by joey 2006-05-04 15:01:33 +00:00
www-data 2eb31dbba9 web commit by joey 2006-05-04 15:00:50 +00:00
joey 9fbbc89ad5 update 2006-05-04 14:50:53 +00:00
www-data eb5fcadbff web commit by ThomasSchwinge 2006-05-04 10:55:02 +00:00
www-data 2f373283e0 web commit by ThomasSchwinge 2006-05-04 10:48:19 +00:00
www-data d80d029587 web commit by ThomasSchwinge 2006-05-04 10:45:21 +00:00
www-data 071fa74492 web commit by joey 2006-05-04 05:39:28 +00:00
www-data dab9dd0f2d web commit by joey 2006-05-04 05:04:59 +00:00
www-data 7505e53eef web commit by joey 2006-05-04 04:36:43 +00:00
joey be56970d05 * Added smiley plugin, nicely controlled and documented by the smileys page.
* Copied in some smileys from Moin Moin.
2006-05-04 04:29:37 +00:00
www-data b3d24f6a63 web commit by joey 2006-05-04 02:29:28 +00:00
www-data 79be3eec61 web commit by joey 2006-05-03 22:38:53 +00:00
www-data 4ff8a41f07 web commit by joey 2006-05-03 21:59:00 +00:00
www-data 7762cd5711 web commit by joey 2006-05-03 21:58:17 +00:00
www-data 0aadc597d4 web commit by joey 2006-05-03 21:56:29 +00:00
joey 99292550fd * Add an orphans plugin for finding pages that nothing links to.
* Removed backlinks page, which it turns out nothing used.
2006-05-02 06:15:31 +00:00
www-data 1533abb567 web commit by joey 2006-05-02 03:02:46 +00:00
www-data f6d7d1ce76 web commit by joey 2006-05-02 03:02:18 +00:00
joey 54d5308cd8 * Added plugin system, currently only supporting for PreProcessorDirectives.
* Added a pagecount plugin, enabled by default.
* Support PreProcessorDirectives with no parameters, ie "[[pagecount ]]".
* Fixed/optimised backlinks code, to avoid rebuilding pages to update
  backlinks when the backlinks hadn't really changed.
* Moved inline page support, rss generation etc into the inline plugin,
  enabled by default.
* Added brokenlinks plugin, not enabled by default, but rather handy.
* Fix several broken links in the doc wiki.
2006-05-02 02:34:33 +00:00
joey 819a31ed24 * Rename inlinepage to depends, so that it can be used to refer to more
dependency relationships than just inlining. This will require a rebuild
  on upgrade to this version.
* Move the rss link, put it in the blogpost form if there is one and at the
  top if not. This is both nicer because easier to find, and it cleans up
  the code which had used inlinepage as a flag for adding the link later.
* Allow the depends GlobList to be built up from multiple sources (such as
  plugins) during a page render.
* Which means that more than one blog is now supported to appear on a
  single page. (With some limitations.)
2006-05-01 22:27:37 +00:00
www-data 3de6aab0a4 web commit by joey 2006-05-01 21:26:43 +00:00
www-data d29786a5fb web commit by joey 2006-05-01 21:26:04 +00:00
www-data 88415ffef9 web commit by joey 2006-05-01 21:18:58 +00:00
www-data 7a5c8c632b web commit by joey 2006-05-01 21:14:30 +00:00
www-data 02430a23a6 web commit by joey 2006-05-01 21:12:06 +00:00
www-data 2bea9c696e web commit by joey 2006-05-01 21:07:08 +00:00
www-data 7833fc9677 web commit by joey 2006-05-01 20:54:03 +00:00
www-data 81678dccf2 web commit by joey 2006-05-01 20:52:09 +00:00
www-data d89d6c9b5b web commit by joey 2006-05-01 20:51:48 +00:00
www-data 66efef353b web commit by joey 2006-05-01 20:49:07 +00:00
www-data 0fa97c6232 web commit by joey 2006-05-01 20:47:41 +00:00
www-data b86c3a105c web commit by joey 2006-05-01 20:47:04 +00:00
www-data 2bd70be030 web commit by joey 2006-05-01 20:46:22 +00:00
www-data 1e1564cc60 web commit by joey: no need to make finalise a plugin, we have templates now.. 2006-04-25 06:26:32 +00:00
www-data c7364c1dda web commit by joey 2006-04-25 06:25:27 +00:00
joey d7aecf6ddc implemented html sanitisation 2006-04-25 03:18:21 +00:00
www-data 779e167d0d web commit by joey 2006-04-25 00:38:19 +00:00
joey 698aeb2016 update 2006-04-24 23:05:17 +00:00
joey 7a5ae22e5a Convert postprocessordirectives into preprocessordirectives, so they are
expanded before markdown. Consequences:

 - No need to worry about markdown messing with parameters of
   preprocessordirectives. (If you had to escape stuff in one before, you'll
   need to undo that escaping now.)
 - No need for ugly </p> hacks before inlined subpages. Instead, subpages
   are wrapped in a <div>, and this prevents markdown from touching them.
   (This can also be used to add style to subpages.)
 - rss generation is less of a hack.
2006-04-04 20:57:46 +00:00
joey ca57400d53 markdown's overzelous _ and * expansion inside words can't really be fixed
outside of markdown
2006-04-04 19:59:00 +00:00
joey f50bd57bce proper binmode settings so that with -CSD, ikiwiki will support unicode
however, due to robustness, that's not enabled by default yet
2006-04-04 19:34:50 +00:00
www-data 13722d7b76 web commit by WillThompson: Safety of arbitrary regexen 2006-04-03 15:39:15 +00:00
www-data 9d86fb0b02 web commit by joey 2006-03-31 19:49:11 +00:00
www-data 7fb3d3df12 web commit by joey 2006-03-31 19:48:35 +00:00
www-data cf48c10cc0 web commit by JeroenSchot 2006-03-30 22:19:06 +00:00
joey 22d501e5de update 2006-03-30 18:36:07 +00:00
www-data a5583ab1e9 web commit by JeroenSchot: moved to done. 2006-03-30 12:31:28 +00:00
www-data c631877d90 web commit by JeroenSchot 2006-03-30 12:27:52 +00:00
joey 0d9539d577 added --hyperestraier switch, which turns on search support
(ok, the way I run estseek.cgi is admittedly pretty nasty, but it works..)
2006-03-29 22:21:23 +00:00
www-data a4eaf05620 web commit by JeroenSchot: idea about markdown enclosing. 2006-03-29 19:08:49 +00:00
www-data 212d7eb246 web commit by joey 2006-03-29 18:52:09 +00:00
joey 975ae0944c Implemented --underlaydir, and moved files provided by underlay out of doc
so I don't need to maintain two copies anymore.

You might also want to remove the files provided in the basewiki underlay
from your wiki, if you have not created custom local versions of them, so
that these pages will be automatically updated in future ikiwiki upgrades.
2006-03-29 18:21:01 +00:00
joey 5591d621b9 css support 2006-03-29 07:24:03 +00:00
www-data 1b375d7818 web commit by joey 2006-03-29 03:32:57 +00:00
www-data f55e219d4f web commit by joey 2006-03-29 03:30:26 +00:00
www-data 0db7de08af web commit by joey 2006-03-29 03:29:23 +00:00
joey e41dd1e24e html validation fixes:
- escape & in urls (also clean up cgi url generation)
 - since markdown wraps inlined pages in <p></p>, close and re-open
   the paragraph tags when generating the embedded html
 - added XHTML 1.0 doctypes to templates
 - fixed <hr /> and <br /> in templates
 - add an alt attribute to inline images, based on the WikiLink to the
   image. Allows things like [[my_image|img.png]] to customise alt text.
2006-03-29 03:18:21 +00:00
www-data bfe959167a web commit by joey 2006-03-29 02:34:04 +00:00
joey d9f1b12149 support [[linktext|pagename]] links 2006-03-28 23:31:53 +00:00
www-data 9645f0ccbc web commit by JeroenSchot: summarize current html problems. 2006-03-28 19:15:41 +00:00
www-data 90b2b991f7 web commit by joey 2006-03-26 05:35:19 +00:00
joey 9092356173 added --getctime 2006-03-26 02:30:44 +00:00
joey 0a4c1396de add logo 2006-03-25 18:14:27 +00:00
joey 61c909e2f2 implemented upgradehooksh 2006-03-24 21:36:37 +00:00
www-data 0630d97438 web commit by joey 2006-03-24 20:53:54 +00:00
www-data cf7ef6e686 web commit by joey 2006-03-24 07:24:23 +00:00
www-data 45dac61b1f web commit by joey 2006-03-24 07:17:39 +00:00
www-data e1765f446f web commit by joey 2006-03-24 05:46:01 +00:00
www-data 387132923b web commit by joey 2006-03-24 05:36:11 +00:00
joey 49524c429e add blog post template 2006-03-24 05:03:16 +00:00
www-data 5e7a3e7428 web commit by joey 2006-03-24 04:29:14 +00:00
joey 34497b82f6 up 2006-03-24 04:07:28 +00:00
joey 48f63526a2 add 2006-03-24 04:04:37 +00:00
joey cd152fa990 add a blog for done items too 2006-03-24 02:35:22 +00:00
joey 5c8351541d awesome new blog-based todo page 2006-03-24 02:28:53 +00:00