Commit Graph

247 Commits (2335443eb6f8c7934984064d92805b4c5ccc8975)

Author SHA1 Message Date
joey 0d666f4a7c done-ish 2006-11-01 06:03:00 +00:00
joey c4e8a8c62f update 2006-10-28 05:10:13 +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 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 bf4e6716cc responses and reorg 2006-10-08 22:27:48 +00:00
joey 118c481766 remove, redundant 2006-10-08 21:55:55 +00:00
joey f04251bc9a update 2006-10-06 06:33:30 +00:00
joey bcd338531f web commit by EthanGlasserCamp 2006-09-29 15:57:33 +00:00
joey 4e2f082ebb web commit by EthanGlasserCamp: more demanding, unreasonable thoughts about this -- I want a pony 2006-09-28 15:26:12 +00:00
joey 44a08155ee web commit by EthanGlasserCamp: Oops! This doesn't work at all. 2006-09-28 07:21:35 +00:00
joey af05e7badc web commit by EthanGlasserCamp: another entry on my wish list 2006-09-28 06:56:52 +00:00
joey a084682f73 new idea 2006-09-23 04:06:59 +00:00
joey 4dfa87ae86 move, this contains todo items, not bugs 2006-09-21 18:00:45 +00:00
joey 1705e6246e updates 2006-09-10 02:55:42 +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 eff2ddbe9a * Add a linkmap plugin (requires graphviz). 2006-09-07 05:31:01 +00:00
www-data bd70136ca1 web commit by joey 2006-09-07 03:43:17 +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 bd1eb38ed8 comment 2006-09-06 20:49:01 +00:00
joey f7f3b0bb7d * Add support for mercurial, contributed by Emanuele Aina. 2006-09-06 20:31:55 +00:00
www-data 85f7f40863 web commit by tuomov 2006-09-05 08:13:34 +00:00
www-data b8c8977bcb web commit by tuomov 2006-09-05 08:13:15 +00:00
joey 99d52a1794 * Add support for tla, contributed by Clint Adama. Closes: #385936 2006-09-04 06:15:54 +00:00
www-data d71c50b43c web commit by Kyle 2006-09-01 15:00:20 +00:00
www-data 49b2bf5a1a web commit by Kyle 2006-09-01 14:58:35 +00:00
joey 27e5cd4496 update 2006-08-28 20:02:16 +00:00
joey ca98211c95 fix formatting 2006-08-28 19:59:13 +00:00
joey d464c47a15 update 2006-08-28 19:53:33 +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
www-data e3a6ff0044 web commit by JamesWestby 2006-08-28 16:47:59 +00:00
www-data 9b3f3a7e2f web commit by JamesWestby 2006-08-28 15:46:41 +00:00
www-data 048da7194d web commit by JamesWestby 2006-08-28 13:49:15 +00:00
www-data f14ed48b33 web commit by JamesWestby 2006-08-28 12:54:39 +00:00
joey e16746a52f * Add toc (table of contents) plugin. 2006-08-28 07:40:20 +00:00
joey bfe0d3f5c6 format 2006-08-28 00:31:38 +00:00
joey aebcbca4d6 response 2006-08-28 00:27:44 +00:00
www-data 59f8adae6c web commit by JamesWestby 2006-08-28 00:01:11 +00:00
joey 2f5c0a5480 update 2006-08-27 23:16:51 +00:00
joey cbc3bf32f2 fix 2006-08-27 05:38:57 +00:00
www-data 48b485bde0 web commit by JamesWestby 2006-08-27 00:16:15 +00:00
joey 204c4cdfda comment 2 2006-08-26 21:59:23 +00:00
joey 02a2de8ead response 2006-08-26 21:41:49 +00:00
www-data 92885b87ab web commit by JamesWestby 2006-08-26 20:39:23 +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
www-data ef157082ad web commit by JamesWestby 2006-08-26 12:42:12 +00:00
www-data 6aa3f0ef76 web commit by JamesWestby 2006-08-26 09:52:19 +00:00
joey 249c3e097f response 2006-08-26 03:48:39 +00:00
www-data 679e620f15 web commit by JamesWestby 2006-08-26 01:41: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 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