Commit Graph

5155 Commits (e30b96babacb6ac48e571105c9f0627f68cf3bca)

Author SHA1 Message Date
Joey Hess 10a2895b3b * shortcut: Expand %S to the raw input text, not url-encoded. 2007-12-12 16:50:29 -05:00
Joey Hess d1b02ff659 comment 2007-12-12 16:49:15 -05:00
Joey Hess 7eafa95f33 * Htmlize parameters passed to the template preprocessor directive before
inserting them into the html template. This ensures that markdown
  acts on them, even if the value is expanded inside a block-level html
  element in the html template. Closes: #454058
* Use a div in the note template rather than a span.
2007-12-12 16:42:54 -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 849f65a343 * Avoid unnecessary stat calls to get mtime when rendering pages, use
cached value.
* Preserve input file modification times in output files.
2007-12-12 14:43:35 -05:00
Joey Hess c06643a435 * Ensure that web edited pages always end in a newline. 2007-12-12 13:41:21 -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 3922ba15ba don't duplicate code from editpage, just pull the values it sets out of the
formbuilder object
2007-12-12 03:35:23 -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 81feba2e04 web commit by http://harningt.myopenid.com/: IRC discussion about usage semantics 2007-12-10 16:40:27 -05:00
Joey Hess 031ec6a47c Merge branch 'master' of ssh://git.kitenet.net/srv/git/ikiwiki.info 2007-12-10 15:14:07 -05:00
Joey Hess 58049e97c1 * Fix file pruning code to work if ikiwiki is run with "." as the srcdir. 2007-12-10 15:12:56 -05:00
Joey Hess 0a56f05b53 web commit from 193.205.5.2: poll vote (It's fast enough) 2007-12-10 11:56:17 -05:00
Joey Hess 64d550b14a Merge branch 'master' of ssh://git.kitenet.net/srv/git/ikiwiki.info 2007-12-09 12:38:28 -05:00
Joey Hess ae471ccf04 close 2007-12-09 12:37:05 -05:00
Joey Hess a1d4e3ba47 web commit from 85.25.141.60: poll vote (It's fast enough) 2007-12-09 11:34:46 -05:00
Joey Hess c8cb931890 reorg 2007-12-09 00:05:07 -05:00
Joey Hess aa57c5ab5e remove test code 2007-12-09 00:01:18 -05:00
Joey Hess e78c25d1b2 logic fix 2007-12-08 23:57:25 -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 5959a32f97 real redir cycle detection 2007-12-08 19:39:32 -05:00
Joey Hess a829e5b865 ensure state is dropped when a page stops embeddeding the version 2007-12-08 19:12:50 -05:00
Joey Hess b4b452f4ee forgot to add 2007-12-08 19:05:01 -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 ff97b0358b bug fix 2007-12-08 18:25:22 -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 2fbca21390 updates 2007-12-08 16:19:39 -05:00
Joey Hess ba145e0617 add reminder 2007-12-08 16:00:17 -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 7b125b45b0 update 2007-12-08 15:36:34 -05:00
Joey Hess b8681e19d1 wikilink fix 2007-12-08 15:17:37 -05:00
Joey Hess ccf99970a7 drop redir loop detection code
it won't work for incremental builds

for now, relying on browsers to notice loops
2007-12-08 15:05:41 -05:00
Joey Hess 2c78477387 * meta: Add redir support, based on a patch by Thomas Schwinge. 2007-12-08 14:58:29 -05:00
Thomas Schwinge 655d7925c6 Here is a patch to add a forwarding functionality to the meta plugin 2007-12-08 14:37:41 -05:00
Joey Hess 7e661e1ed3 please don't add random garbage pages 2007-12-08 12:57:20 -05:00
Joey Hess 2472b27149 web commit by blubb 2007-12-08 12:07:13 -05:00
Joey Hess 6798739295 web commit by blubb 2007-12-08 12:06:52 -05:00
Joey Hess b2906e0668 response 2007-12-07 21:15:43 -05:00
Joey Hess 4f5916db5c Merge branch 'master' of ssh://git.kitenet.net/srv/git/ikiwiki.info 2007-12-07 01:10:10 -05:00
Joey Hess 267885009f display if group setting fails 2007-12-07 01:09:48 -05:00
Joey Hess 83ba627018 web commit by DouglasCalvert 2007-12-06 22:30:21 -05:00
Joey Hess 262fd5549b update local template from remote and use it again (if there's a reason not
to have it local, please leave a comment..)
2007-12-06 13:02:34 -05:00
Joey Hess 5fc0010ff4 web commit by maxx 2007-12-06 03:07:06 -05:00
Joey Hess 02b54c2fd7 fixups 2007-12-05 18:49:56 -05:00