Commit Graph

510 Commits (a3f224cb6cf82b89cf0cbadbd661fd5d71ebf8ae)

Author SHA1 Message Date
Joey Hess e57749b702 * recentchanges: Exipre all *._change pages, even if the directory
they're in has changed.
2008-02-03 14:51:03 -05:00
Joey Hess 340fe9707c * recentchanges: Improve handling of links on the very static changes pages
by thunking to the CGI, which can redirect to the page, or allow it to be
  created if it doesn't exist.
2008-02-03 14:48:20 -05:00
Joey Hess 6c1cb3f985 web commit by tschwinge: Another minor bug. 2008-02-03 12:18:26 -05:00
Joey Hess 58ef55c798 web commit by tschwinge: Thanks!, and a bug report. 2008-02-03 12:16:06 -05:00
Joey Hess 80915c830a * cgi hooks are now run before ikiwiki state is loaded.
* This allows locking the wiki before loading state, which avoids some
  tricky locking code when saving a web edit.
2008-02-03 00:23:04 -05:00
Joey Hess 2952288db4 move suggestion to a todo item 2008-01-30 16:30:16 -05:00
Joey Hess 64a8c828b8 * meta: Add pagespec functions to match against title, author, authorurl,
license, and copyright. This can be used to create custom RecentChanges.
* meta: To support the pagespec functions, metadata about pages has to be
  retained as pagestate.
* Fix encoding bug when pagestate values contained spaces.
2008-01-29 17:16:51 -05:00
Joey Hess 8b31c53366 added configuration for recentchanges
I kept it to a simple global configuration, rather than using the
preprocessor directive for recentchanges, because that had chicken and egg
problems and seemed overcomplicated. This should work reasonably well,
though it would be good to add some more metadata so that more customised
recentchanges pages can be made.
2008-01-29 15:51:32 -05:00
Joey Hess 7e52cc90b2 update 2008-01-29 15:08:25 -05:00
Joey Hess 47ee266163 improve support for internal pages
This makes it a lot quicker to deal with lots of recentchanges pages
appearing and disappearing. It avoids needing to clutter up pagespecs with
exclusions for those pages, by making normal pagespecs not match them.
2008-01-29 15:05:49 -05:00
Joey Hess 95c5cbc721 document the new refresh hook 2008-01-29 13:07:17 -05:00
Joey Hess dd809404ec omit recentchanges from various metadata pages 2008-01-29 12:52:29 -05:00
Joey Hess 2ff726e875 don't render internal-use pages, and document them 2008-01-29 00:07:55 -05:00
Joey Hess 5921b86fcc proof of concept implementation of static recentchanges
Currently hardcoded to write to recentchanges/*, and the page format needs
to be rethought to be usable for aggregation, but it basically works.
2008-01-28 23:56:26 -05:00
Joey Hess 035d5bca48 web commit by http://id.loopysoft.com/matt/: Slight typo fix 2008-01-23 02:14:35 -05:00
Joey Hess 06bd32f9da improve formatting and minor reword 2008-01-16 13:34:06 -05:00
Joey Hess 50b59896d9 web commit by JeremyReed: Document account_creation_password -- some of this text taken from original todo. 2008-01-16 11:14:33 -05:00
Joey Hess b887fe4508 web commit by rdennis: set initial state of toggle plugin 2008-01-11 08:57:03 -05:00
Joey Hess deb39a1f14 * meta: Run in scan mode again (more intelligently) and re-add support for
meta link.
* Fix support for the case where metadata appears after an inline directive.
  This was broken in version 2.16.
2008-01-09 02:38:43 -05:00
Joey Hess b31e8c0826 * inline: Add copyright/license info on a per-post basis to atom
feeds if available. (rss doesn't allow such info on a per-post basis)
* meta: Allow copyright/license metadata to contain arbitrary markup.
2008-01-09 01:05:54 -05:00
Joey Hess 08cb5f7bad Merge branch 'master' of ssh://git.kitenet.net/srv/git/ikiwiki.info 2008-01-07 16:40:45 -05:00
Joey Hess c487b847e2 * Improved the canedit hook interface, allowing a callback function to be
returned (and not run in some cases) rather than the plugins directly
  forcing a user to log in.
* opendiscussion: allow editing of the toplevel discussion page,
  and, indirectly, allow creating new discussion pages.
2008-01-07 16:34:13 -05:00
Joey Hess e92c51f5e5 web commit by http://madduck.myopenid.com/ 2008-01-06 12:00:20 -05:00
Joey Hess d2cda64c97 web commit by tschwinge: Answer. 2008-01-02 05:39:47 -05:00
Joey Hess a22dfe6fef response 2008-01-01 19:11:27 -05:00
Joey Hess 2f33fee799 web commit by tschwinge: Report an inconvenience. 2008-01-01 18:41:44 -05:00
Joey Hess 1bed865360 Merge branch 'master' of ssh://git.kitenet.net/srv/git/ikiwiki.info 2007-12-28 16:15:23 -05:00
Joey Hess c2afda7f90 * img: Allow the link parameter to point to an exterior url. 2007-12-28 16:14:43 -05:00
Joey Hess c0c02243e5 web commit by AlexandreDupas: Fix typo. 2007-12-28 10:43:48 -05:00
Joey Hess c11ded60a8 web commit by AlexandreDupas: Patch for new header options 2007-12-28 07:09:01 -05:00
Joey Hess 79b1d4075c web commit by JoshTriplett: Fix typo. 2007-12-23 18:43:33 -05:00
Thomas Schwinge 1ac0fd03bb IkiWiki/Plugin/meta.pm <redir>: Support for specifying anchors. 2007-12-22 13:10:55 -05:00
Joey Hess f25b6aff42 web commit by tschwinge: Default content for *copyright* and *license*. 2007-12-21 09:32:32 -05:00
Joey Hess 71d1fb4326 web commit by tschwinge: Confirmed. Removing this. 2007-12-19 17:03:37 -05:00
Joey Hess ada6f506c1 important note about pagestate persistence 2007-12-16 16:19:16 -05:00
Joey Hess 96817b0032 * meta: Drop support for "meta link", since supporting this for internal
links required meta to be run during scan, which complicated its data
  storage, since it had to clear data stored during the scan pass to avoid
  duplicating it during the normal preprocessing pass.
* If you used "meta link", you should switch to either "meta openid" (for
  openid delegations), or tags (for internal, invisible links). I assume
  that nobody really used "meta link" for external, non-openid links, since
  the htmlscrubber ate those. (Tell me differently and I'll consider bringing
  back that support.)
* meta: Improved data storage.
* meta: Drop the hackish filter hook that was used to clear
  stored data before preprocessing, this hack was ugly, and broken (cf:
  liw's disappearing openids).
* aggregate: Convert filter hook to a needsbuild hook.
2007-12-16 15:56:09 -05:00
Joey Hess c43fc8607e web commit by tschwinge: Umeet 2007: talk about OpenID by Stephane Bortzmeye. 2007-12-16 13:00:51 -05:00
Joey Hess b10c46a1f3 followup to other question 2007-12-12 16:25:40 -05:00
Joey Hess 214bc2b65b * Allow dashes in preprocessor directive commands, and shortcuts. 2007-12-12 16:13:15 -05:00
Joey Hess fe0c0b6fc3 reformat 2007-12-12 03:39:02 -05:00
Joey Hess 3898a75388 formatting fixups 2007-12-12 03:37:17 -05:00
Joey Hess 4745391360 * Change formbuilder hook to not be responsible for displaying a form,
so that more than one plugin can use this hook.
  I believe this is a safe change, since only passwordauth uses this hook.
  (If some other plugin already used it, it would have broken passwordauth!)
2007-12-12 03:15:30 -05:00
Joey Hess c46b17983d works, but I'm not entirely happy with it yet
It would be better if it were a formbuilder hook. But the formbuilder hook
is wacked.. I may need to change how that hook works, which would mean
changing the only current user of it, passwordauth).
2007-12-12 02:45:44 -05:00
Joey Hess 8576fe4c49 incomplate edittemplate plugin 2007-12-12 01:52:26 -05:00
Joey Hess 035a57f209 web commit by tschwinge: Two and a half issues. 2007-12-11 18:55:29 -05:00
Joey Hess aa57c5ab5e remove test code 2007-12-09 00:01:18 -05:00
Joey Hess 5023f2301d * The calendar plugin stores state about when it needs to be updated,
and forces rebuilds of the pages that contain calendars. So
  running ikiwiki --refresh at midnight is now enough, no need for a full
  wiki rebuild each midnight.
* calendar: Work around block html parsing bug in markdown 1.0.1 by
  enclosing the calendar in an extra div.
2007-12-08 23:54:34 -05:00
Joey Hess fa90bdf4bf fix up some links 2007-12-08 20:04:18 -05:00
Joey Hess b4b452f4ee forgot to add 2007-12-08 19:05:01 -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