joey [Thu, 23 Mar 2006 07:42:24 +0000 (07:42 +0000)]
benchmarking suggests that meoization doesn't help even when doing a
--rebuild, so remove it
joey [Thu, 23 Mar 2006 07:37:16 +0000 (07:37 +0000)]
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.
joey [Thu, 23 Mar 2006 06:51:15 +0000 (06:51 +0000)]
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.
joey [Thu, 23 Mar 2006 05:21:17 +0000 (05:21 +0000)]
remove accidental makemaker cruft
joey [Thu, 23 Mar 2006 04:44:32 +0000 (04:44 +0000)]
underlays are *hard*. feh
joey [Thu, 23 Mar 2006 04:33:35 +0000 (04:33 +0000)]
found & fixed another symlink attack
joey [Thu, 23 Mar 2006 04:07:58 +0000 (04:07 +0000)]
fix config restoration after wrapper gen
joey [Thu, 23 Mar 2006 04:05:26 +0000 (04:05 +0000)]
-s == --setup
joey [Thu, 23 Mar 2006 04:02:19 +0000 (04:02 +0000)]
fix oops in %config handling
joey [Thu, 23 Mar 2006 04:01:02 +0000 (04:01 +0000)]
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.
joey [Thu, 23 Mar 2006 02:53:03 +0000 (02:53 +0000)]
*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.
joey [Thu, 23 Mar 2006 02:31:51 +0000 (02:31 +0000)]
improve
joey [Thu, 23 Mar 2006 02:30:51 +0000 (02:30 +0000)]
improve
joey [Thu, 23 Mar 2006 02:03:48 +0000 (02:03 +0000)]
Fix a bad use of implicit return for admin-less wikis. I got lucky..
joey [Thu, 23 Mar 2006 01:49:55 +0000 (01:49 +0000)]
add another example
www-data [Thu, 23 Mar 2006 01:48:01 +0000 (01:48 +0000)]
web commit by joey
joey [Thu, 23 Mar 2006 01:40:46 +0000 (01:40 +0000)]
added adminuser settings, globlist support, and used this to implement page
locking
www-data [Wed, 22 Mar 2006 19:04:41 +0000 (19:04 +0000)]
web commit by joey
joey [Tue, 21 Mar 2006 02:38:17 +0000 (02:38 +0000)]
prefs page implemented
joey [Tue, 21 Mar 2006 01:27:05 +0000 (01:27 +0000)]
note that format of historyurl changed too..
www-data [Tue, 21 Mar 2006 01:21:58 +0000 (01:21 +0000)]
web commit by joey
www-data [Tue, 21 Mar 2006 01:20:09 +0000 (01:20 +0000)]
web commit by joey
joey [Tue, 21 Mar 2006 01:18:01 +0000 (01:18 +0000)]
add --diffurl, if set RecentChanges has links to svn diffs
joey [Mon, 20 Mar 2006 19:56:37 +0000 (19:56 +0000)]
added last changed timestamp for pages
www-data [Mon, 20 Mar 2006 18:27:13 +0000 (18:27 +0000)]
web commit by joey
joey [Mon, 20 Mar 2006 08:04:39 +0000 (08:04 +0000)]
add
joey [Mon, 20 Mar 2006 05:51:22 +0000 (05:51 +0000)]
fix subpage creation
joey [Mon, 20 Mar 2006 05:11:41 +0000 (05:11 +0000)]
add
joey [Mon, 20 Mar 2006 05:09:30 +0000 (05:09 +0000)]
fix setup file error
improve svn log regexp to deal with file copies/moves
joey [Sun, 19 Mar 2006 23:56:50 +0000 (23:56 +0000)]
ugh, use subpages for discussion as a special case
joey [Sun, 19 Mar 2006 22:57:24 +0000 (22:57 +0000)]
switch default new page location to not be a subpage
joey [Sun, 19 Mar 2006 22:51:07 +0000 (22:51 +0000)]
don't lock before setup
www-data [Sun, 19 Mar 2006 22:01:43 +0000 (22:01 +0000)]
web commit by joey
www-data [Sun, 19 Mar 2006 22:00:58 +0000 (22:00 +0000)]
web commit by joey
www-data [Sun, 19 Mar 2006 22:00:23 +0000 (22:00 +0000)]
web commit by joey
www-data [Sun, 19 Mar 2006 21:59:09 +0000 (21:59 +0000)]
web commit by joey
www-data [Sun, 19 Mar 2006 21:58:42 +0000 (21:58 +0000)]
web commit by joey
www-data [Sun, 19 Mar 2006 21:56:42 +0000 (21:56 +0000)]
web commit by joey
joey [Sun, 19 Mar 2006 21:54:42 +0000 (21:54 +0000)]
foo
www-data [Sun, 19 Mar 2006 21:52:44 +0000 (21:52 +0000)]
web commit by joey
joey [Sun, 19 Mar 2006 21:51:39 +0000 (21:51 +0000)]
basewiki integration
www-data [Sun, 19 Mar 2006 21:49:20 +0000 (21:49 +0000)]
web commit by joey
joey [Sun, 19 Mar 2006 21:44:15 +0000 (21:44 +0000)]
added basewiki
joey [Sun, 19 Mar 2006 21:42:36 +0000 (21:42 +0000)]
mispaste
joey [Sun, 19 Mar 2006 21:31:11 +0000 (21:31 +0000)]
link to helponformatting from the edit page
www-data [Sun, 19 Mar 2006 21:30:21 +0000 (21:30 +0000)]
web commit by joey
joey [Sun, 19 Mar 2006 21:25:47 +0000 (21:25 +0000)]
add helponformatting page
www-data [Sun, 19 Mar 2006 20:49:26 +0000 (20:49 +0000)]
web commit by joey
www-data [Sun, 19 Mar 2006 20:43:23 +0000 (20:43 +0000)]
web commit by joey
www-data [Sun, 19 Mar 2006 20:42:12 +0000 (20:42 +0000)]
web commit by joey
www-data [Sun, 19 Mar 2006 20:36:50 +0000 (20:36 +0000)]
web commit by joey: conflict and merge is done!
www-data [Sun, 19 Mar 2006 20:36:05 +0000 (20:36 +0000)]
web commit by joey
joey [Sun, 19 Mar 2006 20:35:59 +0000 (20:35 +0000)]
non-conficting commit to test merging..
joey [Sun, 19 Mar 2006 20:34:59 +0000 (20:34 +0000)]
conflict detection, merging, etc should be done now, I think
www-data [Sun, 19 Mar 2006 20:34:10 +0000 (20:34 +0000)]
web commit by joey: conflict test
www-data [Sun, 19 Mar 2006 20:17:20 +0000 (20:17 +0000)]
web commit by joey: conflict test
www-data [Sun, 19 Mar 2006 20:12:15 +0000 (20:12 +0000)]
web commit by joey: conflict test
joey [Sun, 19 Mar 2006 20:10:58 +0000 (20:10 +0000)]
committing changes for conflict test
joey [Sun, 19 Mar 2006 19:51:11 +0000 (19:51 +0000)]
second try at merging and conflicts support
joey [Sun, 19 Mar 2006 19:29:41 +0000 (19:29 +0000)]
stupid mistakes
www-data [Sun, 19 Mar 2006 19:27:59 +0000 (19:27 +0000)]
web commit by joey
www-data [Sun, 19 Mar 2006 19:24:40 +0000 (19:24 +0000)]
web commit by joey
joey [Sun, 19 Mar 2006 19:09:57 +0000 (19:09 +0000)]
first cut at svn merge and conflict
www-data [Sat, 18 Mar 2006 21:39:58 +0000 (21:39 +0000)]
web commit by joey
joey [Sat, 18 Mar 2006 21:36:36 +0000 (21:36 +0000)]
oops, add unlock _before_ svn commit
www-data [Sat, 18 Mar 2006 21:34:01 +0000 (21:34 +0000)]
web commit by joey: thoughts on conflict resolution, gobbing, locking
joey [Fri, 17 Mar 2006 18:44:14 +0000 (18:44 +0000)]
fix
www-data [Fri, 17 Mar 2006 18:43:04 +0000 (18:43 +0000)]
web commit by joey: test commit
joey [Fri, 17 Mar 2006 18:34:33 +0000 (18:34 +0000)]
unlock wiki during svn commit to prevent deadlock with post-commit hook
www-data [Fri, 17 Mar 2006 16:51:14 +0000 (16:51 +0000)]
web commit by BrandenRobinson: Explain why letting users specify regexes is bad.
joey [Thu, 16 Mar 2006 22:25:17 +0000 (22:25 +0000)]
fix update of links to removed pages
www-data [Thu, 16 Mar 2006 22:07:51 +0000 (22:07 +0000)]
web commit by joey
joey [Thu, 16 Mar 2006 22:01:33 +0000 (22:01 +0000)]
need to use CGI in rcs_recentchanges to get escapeHTML
joey [Thu, 16 Mar 2006 21:47:48 +0000 (21:47 +0000)]
add a header to page preview section
joey [Thu, 16 Mar 2006 21:44:16 +0000 (21:44 +0000)]
preview done
joey [Thu, 16 Mar 2006 21:43:30 +0000 (21:43 +0000)]
ok, so we don't want to re-load page content into the form on preview..
joey [Thu, 16 Mar 2006 21:39:45 +0000 (21:39 +0000)]
dd page preview
joey [Thu, 16 Mar 2006 21:20:33 +0000 (21:20 +0000)]
optimise svn log a bit
www-data [Thu, 16 Mar 2006 21:11:17 +0000 (21:11 +0000)]
web commit by joey
www-data [Thu, 16 Mar 2006 21:09:41 +0000 (21:09 +0000)]
web commit by joey
www-data [Thu, 16 Mar 2006 21:07:32 +0000 (21:07 +0000)]
web commit by joey
www-data [Thu, 16 Mar 2006 21:06:46 +0000 (21:06 +0000)]
web commit by BrandenRobinson: Add brainstorming about email change notification.
joey [Thu, 16 Mar 2006 21:06:33 +0000 (21:06 +0000)]
lock wiki and refuse to traverse symlinks
www-data [Thu, 16 Mar 2006 21:06:32 +0000 (21:06 +0000)]
web commit by joey
www-data [Thu, 16 Mar 2006 20:59:19 +0000 (20:59 +0000)]
web commit by BrandenRobinson: Fix missing end brackets in wikilink.
www-data [Thu, 16 Mar 2006 20:45:43 +0000 (20:45 +0000)]
web commit by joey
www-data [Wed, 15 Mar 2006 06:10:26 +0000 (06:10 +0000)]
web commit by joey
joey [Wed, 15 Mar 2006 06:03:03 +0000 (06:03 +0000)]
escape html from commit logs
www-data [Wed, 15 Mar 2006 06:02:57 +0000 (06:02 +0000)]
web commit by joey
www-data [Wed, 15 Mar 2006 05:56:48 +0000 (05:56 +0000)]
web commit by joey
www-data [Wed, 15 Mar 2006 05:54:35 +0000 (05:54 +0000)]
web commit by joey: wikilink escaping supported now
www-data [Wed, 15 Mar 2006 05:53:38 +0000 (05:53 +0000)]
web commit by joey
joey [Wed, 15 Mar 2006 05:49:06 +0000 (05:49 +0000)]
improve
joey [Wed, 15 Mar 2006 04:59:39 +0000 (04:59 +0000)]
fixes
joey [Wed, 15 Mar 2006 04:40:32 +0000 (04:40 +0000)]
man page generation
joey [Wed, 15 Mar 2006 04:05:53 +0000 (04:05 +0000)]
debianise
joey [Wed, 15 Mar 2006 03:24:34 +0000 (03:24 +0000)]
config files now based on perl modules
add MakeMaker foo for module
joey [Wed, 15 Mar 2006 02:45:33 +0000 (02:45 +0000)]
sometims I hate perl
This fixes the bug that made it not update pages linking to a new page
joey [Tue, 14 Mar 2006 06:40:58 +0000 (06:40 +0000)]
add a special case for discussion pages when determining the links from a
page, since all pages implicitly link to their disussion page
joey [Tue, 14 Mar 2006 06:19:16 +0000 (06:19 +0000)]
fix two bugs in page location in new page creation