Commit Graph

974 Commits (584fe78075793b2b5dc2992125e88188cae0d1c7)

Author SHA1 Message Date
joey 0ff488e380 add a commit type column 2006-07-04 07:21:51 +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 d3f032c4d0 <paravoid> cosmetic and minor, but it makes the output far more readable,
imho
2006-07-04 04:43:33 +00:00
joey 77b38730d4 update 2006-07-04 03:59:37 +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 f877845353 remove leading dot from default_pageext
fix preview to not assume it's the default page type, and instead get the
type from the page
2006-07-04 01:29:45 +00:00
joey 7b87549558 * Don't sent pings if the wiki is being rebuilt. 2006-07-04 01:02:04 +00:00
joey 23ab9057d2 re-improve regexp 2006-07-04 00:31:03 +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 02aed8df36 update 2006-07-04 00:03:36 +00:00
joey ad6f4c5253 improve regexp 2006-07-03 23:59:34 +00:00
joey 5fa050cea0 foo 2006-07-03 22:52:00 +00:00
joey 84815d0ce9 word wrap 2006-07-03 22:49:24 +00:00
joey 66ce94c464 add htmlise 2006-07-03 22:42:11 +00:00
joey c1160151d3 fix 2006-07-03 22:39:27 +00:00
joey d7dc7f699b fix 2006-07-03 22:37:32 +00:00
joey 08890fdd7f misc updated 2006-07-03 22:35:30 +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 af029154d6 use "use open" pragma to avoid manually needing to specify utf8 everywhere
and also to set default stdio mode

change filetype to return undef, not "unknown"
2006-07-03 22:14:52 +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
www-data 117e71ec9b web commit by KellyClowers 2006-07-03 17:40:28 +00:00
joey 1f6f598a2a fix path to git hook script 2006-07-03 16:43:30 +00:00
joey fe5689ec16 updates 2006-07-02 19:52:46 +00:00
joey 628e2ad5e0 modify to actually work 2006-07-02 19:47:22 +00:00
joey 24a4bf8977 ugh, this is a tricky one.. 2006-07-02 19:46:57 +00:00
joey e71ca35ac6 remove the blog_list sub, only used one place and simplifies code to do
away with it
2006-07-02 19:44:42 +00:00
joey 93351f1275 bug 2006-07-02 19:08:46 +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
www-data 2ed1419c1d web commit by joey: revert 2006-07-02 19:04:43 +00:00
www-data 46a6b7fa71 web commit by joey 2006-07-02 19:03:57 +00:00
joey 0e1bfa69a0 new approach for forcing utf8 -- use a HTML::Template filter 2006-07-02 18:16:44 +00:00
www-data cacc2cefa7 web commit by joey 2006-07-02 18:06:39 +00:00
www-data 48373d7a10 web commit by joey 2006-07-02 18:05:57 +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
www-data c7e06b65fd web commit by ThomasSchwinge: HelpOnFormatting link disappears. 2006-07-02 17:05:19 +00:00
www-data dc35513522 web commit by ThomasSchwinge: Typo fixes. 2006-07-02 16:50:13 +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 a5fdf47147 FUCK UTF8 fuck fuck fuck!!!
(and perl)
2006-07-02 03:54:12 +00:00
www-data 995dfd6cf4 web commit by joey 2006-07-02 02:22:22 +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
www-data 8966b8504c web commit by AlesandroDottiContra 2006-07-01 11:29:00 +00:00
www-data 913b2fc3dc web commit by AlesandroDottiContra 2006-07-01 11:28:21 +00:00
joey 14ca7095cb don't die fatally here 2006-06-27 01:14: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