Commit Graph

4908 Commits (300e69bbbd22e512f2473286893a413f215e1921)

Author SHA1 Message Date
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
www-data f6cf982152 web commit by joey 2006-03-19 21:59:09 +00:00
www-data a80f0c6e4f web commit by joey 2006-03-19 21:58:42 +00:00
www-data 3eb389ca61 web commit by joey 2006-03-19 21:56:42 +00:00
joey f0ff1625e0 foo 2006-03-19 21:54:42 +00:00
www-data febe494a96 web commit by joey 2006-03-19 21:52:44 +00:00
joey f0d7a5ee1a basewiki integration 2006-03-19 21:51:39 +00:00
www-data 470c46c794 web commit by joey 2006-03-19 21:49:20 +00:00
joey e04018ebc1 added basewiki 2006-03-19 21:44:15 +00:00