Commit Graph

5816 Commits (82ecf0aa9dbf42352401cbcab1fb19bfece45c02)

Author SHA1 Message Date
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
joey 325d5c791f added adminuser settings, globlist support, and used this to implement page
locking
2006-03-23 01:40:46 +00:00
www-data 33b7f3444c web commit by joey 2006-03-22 19:04:41 +00:00
joey 5fe80a6371 prefs page implemented 2006-03-21 02:38:17 +00:00
joey b7d3a12c5c note that format of historyurl changed too.. 2006-03-21 01:27:05 +00:00
www-data 8ca32b69a6 web commit by joey 2006-03-21 01:21:58 +00:00
www-data c9594a0921 web commit by joey 2006-03-21 01:20:09 +00:00
joey 773731743d add --diffurl, if set RecentChanges has links to svn diffs 2006-03-21 01:18:01 +00:00
joey b7c86dda2f added last changed timestamp for pages 2006-03-20 19:56:37 +00:00
www-data 3a6d0d3a77 web commit by joey 2006-03-20 18:27:13 +00:00
joey 0751429ba0 add 2006-03-20 08:04:39 +00:00
joey 1dac1cfc01 fix subpage creation 2006-03-20 05:51:22 +00:00
joey 5cc3d4e4a3 add 2006-03-20 05:11:41 +00:00
joey ba335c94c7 fix setup file error
improve svn log regexp to deal with file copies/moves
2006-03-20 05:09:30 +00:00
joey d1cef7a6ab ugh, use subpages for discussion as a special case 2006-03-19 23:56:50 +00:00
joey 5604901eac switch default new page location to not be a subpage 2006-03-19 22:57:24 +00:00
joey 2f190b3aeb don't lock before setup 2006-03-19 22:51:07 +00:00
www-data ae0475367c web commit by joey 2006-03-19 22:01:43 +00:00
www-data cc5248c5f6 web commit by joey 2006-03-19 22:00:58 +00:00
www-data 1d8e719e6a web commit by joey 2006-03-19 22:00:23 +00:00