Commit Graph

6585 Commits (f5295189485a0ade5bd85d42d25b63bc7f7499c8)

Author SHA1 Message Date
joey 4dbd99d99b add 2006-03-24 02:46:57 +00:00
joey 4d0921c7b7 add 2006-03-24 02:44:15 +00:00
joey e910e67424 fixes 2006-03-24 02:42:19 +00:00
www-data e1823922e6 web commit by joey 2006-03-24 02:40:58 +00:00
www-data 76e5fd7bbf web commit by joey 2006-03-24 02:40:42 +00:00
www-data 184f66d708 web commit by joey 2006-03-24 02:38:24 +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
joey b056a106b8 load index before refresh 2006-03-24 02:11:10 +00:00
joey 8926a3bfbe Removed the rss feeds for every page, which wasn't really entirely useful.
Let's only do them for blog pages.
2006-03-24 02:00:40 +00:00
joey 5951c1dc82 add archive pages and fix some bugs 2006-03-24 01:49:42 +00:00
joey 7b4600df3f hold onto your hats, full-fledged blogging has arrived in ikiwiki! 2006-03-24 01:16:32 +00:00
joey ad4760ad78 load index for all cgi scripts, fixes links on RecentChanges 2006-03-23 22:11:05 +00:00
joey 4a4c8680b1 skip old format index file lines for now 2006-03-23 21:55:36 +00:00
joey 4f93b8e2b4 preserve ctimes across rebuilds 2006-03-23 21:54:30 +00:00
joey 72e8ace28d Add file cretion times to the index file.
(Note that it's not really the file creation time, just the first time
ikiwiki saw it.)
2006-03-23 21:52:12 +00:00
joey ca0be85c59 new index file format
*warning* on upgrade to this version of ikiwiki, be sure to run --rebuild
to regenerate the index
2006-03-23 21:39:38 +00:00
joey 4155fd3c96 fix for already relative urls 2006-03-23 21:21:31 +00:00
joey 801a6d61b9 improve description field for rss 2006-03-23 21:17:57 +00:00
joey ca366fc902 add support for generating per-page rss feeds 2006-03-23 21:00:51 +00:00
joey 07e68136bb ugh 2006-03-23 19:29:18 +00:00
joey f178b62b68 who said markdown made it easier to read? :-P 2006-03-23 19:28:12 +00:00
joey a223f4540f support arbitrary characters in page titles, via some ugly use of unicode
character numbers
2006-03-23 19:25:08 +00:00
joey f5a5df14b7 stupid MakeMaker.. 2006-03-23 19:23:48 +00:00
joey 86540c654f design for rss feeds and blogging 2006-03-23 10:29:28 +00:00
joey d6a4e17e16 oops 2006-03-23 10:27:47 +00:00
joey 800dfe6612 foo 2006-03-23 08:13:39 +00:00
joey d59734caf6 move config setting into getopts 2006-03-23 08:11:53 +00:00
joey 28055bbcc5 prototyping improvements 2006-03-23 08:10:09 +00:00
joey 0943c375d4 another sub, wow 2006-03-23 08:04:34 +00:00
joey 5513fb4654 lock wiki here too 2006-03-23 07:58:43 +00:00
joey 5230f4e50b slightly better latout 2006-03-23 07:55:36 +00:00
joey e3b9e716d0 missing include 2006-03-23 07:55:25 +00:00
joey 384327bfd0 proper main sub and loadindex optimisation for cgis 2006-03-23 07:51:52 +00:00
joey bb0193aff3 benchmarking suggests that meoization doesn't help even when doing a
--rebuild, so remove it
2006-03-23 07:42:24 +00:00
joey b645dc5a41 Getopt::Long is a huge, heavy perl module. So why use it?
This {gross,amazing} hack makes all wrapped uses of ikiwiki forgo any
option parsing at all. Options come in preparses via an env var from the
wrapper. As a bonus, Wrapper.pm no longer needs to be updated when command
line options are added to the program. Load time is sped up by around 10%.

ikiwikiwrap --params is no longer supported by this change. You will need
to rebuild your wrappers to take advantage of it.
2006-03-23 07:37:16 +00:00
joey 6c8cf5dd57 Major code reoganisation, splitting up the single big file. The two goals
kept in mind during this are a) to reduce load time for common cases like
cgi and post-commit and b) make the code easier to navigate.

This also modularises RCS support to the extent that it should be possible
to drop in a module for some RCS other than svn, add a switch for it, and
it pretty much just work.

High chance I missed an edge case that breaks something, this is only
barely tested at this point.
2006-03-23 06:51:15 +00:00
joey 7b0346bf82 remove accidental makemaker cruft 2006-03-23 05:21:17 +00:00
joey 03781baeb0 underlays are *hard*. feh 2006-03-23 04:44:32 +00:00
joey 62f1f9732b found & fixed another symlink attack 2006-03-23 04:33:35 +00:00
joey 2eb5893ce7 fix config restoration after wrapper gen 2006-03-23 04:07:58 +00:00
joey c0b1bfd0cd -s == --setup 2006-03-23 04:05:26 +00:00
joey 8978c1d959 fix oops in %config handling 2006-03-23 04:02:19 +00:00
joey e4d9da55d9 At Branden's request, clean up the hardcoded ".ikiwiki" everywhere, and add
checkoptions() that can be used to set defaults for this and other options
based on existing options.

Also involved some cleanups to how gen_wrapper is used.
2006-03-23 04:01:02 +00:00
joey 0b1828f694 *warning* any wrappers built with a previous version of ikiwiki need to be
rebuilt

This changes ikiwiki's syntax to require only 2 parameters (source and
dest) and not three. The templatedir parameter is now an optional
--templatedir.
2006-03-23 02:53:03 +00:00
joey 483f61d228 improve 2006-03-23 02:31:51 +00:00
joey 509479f236 improve 2006-03-23 02:30:51 +00:00
joey bb04b36cc9 Fix a bad use of implicit return for admin-less wikis. I got lucky.. 2006-03-23 02:03:48 +00:00
joey def0274793 add another example 2006-03-23 01:49:55 +00:00
www-data b73debadba web commit by joey 2006-03-23 01:48:01 +00:00