ikiwiki.git
18 years agoMajor code reoganisation, splitting up the single big file. The two goals
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.

18 years agoremove accidental makemaker cruft
joey [Thu, 23 Mar 2006 05:21:17 +0000 (05:21 +0000)]
remove accidental makemaker cruft

18 years agounderlays are *hard*. feh
joey [Thu, 23 Mar 2006 04:44:32 +0000 (04:44 +0000)]
underlays are *hard*. feh

18 years agofound & fixed another symlink attack
joey [Thu, 23 Mar 2006 04:33:35 +0000 (04:33 +0000)]
found & fixed another symlink attack

18 years agofix config restoration after wrapper gen
joey [Thu, 23 Mar 2006 04:07:58 +0000 (04:07 +0000)]
fix config restoration after wrapper gen

18 years ago-s == --setup
joey [Thu, 23 Mar 2006 04:05:26 +0000 (04:05 +0000)]
-s == --setup

18 years agofix oops in %config handling
joey [Thu, 23 Mar 2006 04:02:19 +0000 (04:02 +0000)]
fix oops in %config handling

18 years agoAt Branden's request, clean up the hardcoded ".ikiwiki" everywhere, and add
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.

18 years ago*warning* any wrappers built with a previous version of ikiwiki need to be
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.

18 years agoimprove
joey [Thu, 23 Mar 2006 02:31:51 +0000 (02:31 +0000)]
improve

18 years agoimprove
joey [Thu, 23 Mar 2006 02:30:51 +0000 (02:30 +0000)]
improve

18 years agoFix a bad use of implicit return for admin-less wikis. I got lucky..
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..

18 years agoadd another example
joey [Thu, 23 Mar 2006 01:49:55 +0000 (01:49 +0000)]
add another example

18 years agoweb commit by joey
www-data [Thu, 23 Mar 2006 01:48:01 +0000 (01:48 +0000)]
web commit by joey

18 years agoadded adminuser settings, globlist support, and used this to implement page
joey [Thu, 23 Mar 2006 01:40:46 +0000 (01:40 +0000)]
added adminuser settings, globlist support, and used this to implement page
locking

18 years agoweb commit by joey
www-data [Wed, 22 Mar 2006 19:04:41 +0000 (19:04 +0000)]
web commit by joey

18 years agoprefs page implemented
joey [Tue, 21 Mar 2006 02:38:17 +0000 (02:38 +0000)]
prefs page implemented

18 years agonote that format of historyurl changed too..
joey [Tue, 21 Mar 2006 01:27:05 +0000 (01:27 +0000)]
note that format of historyurl changed too..

18 years agoweb commit by joey
www-data [Tue, 21 Mar 2006 01:21:58 +0000 (01:21 +0000)]
web commit by joey

18 years agoweb commit by joey
www-data [Tue, 21 Mar 2006 01:20:09 +0000 (01:20 +0000)]
web commit by joey

18 years agoadd --diffurl, if set RecentChanges has links to svn diffs
joey [Tue, 21 Mar 2006 01:18:01 +0000 (01:18 +0000)]
add --diffurl, if set RecentChanges has links to svn diffs

18 years agoadded last changed timestamp for pages
joey [Mon, 20 Mar 2006 19:56:37 +0000 (19:56 +0000)]
added last changed timestamp for pages

18 years agoweb commit by joey
www-data [Mon, 20 Mar 2006 18:27:13 +0000 (18:27 +0000)]
web commit by joey

18 years agoadd
joey [Mon, 20 Mar 2006 08:04:39 +0000 (08:04 +0000)]
add

18 years agofix subpage creation
joey [Mon, 20 Mar 2006 05:51:22 +0000 (05:51 +0000)]
fix subpage creation

18 years agoadd
joey [Mon, 20 Mar 2006 05:11:41 +0000 (05:11 +0000)]
add

18 years agofix setup file error
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

18 years agough, use subpages for discussion as a special case
joey [Sun, 19 Mar 2006 23:56:50 +0000 (23:56 +0000)]
ugh, use subpages for discussion as a special case

18 years agoswitch default new page location to not be a subpage
joey [Sun, 19 Mar 2006 22:57:24 +0000 (22:57 +0000)]
switch default new page location to not be a subpage

18 years agodon't lock before setup
joey [Sun, 19 Mar 2006 22:51:07 +0000 (22:51 +0000)]
don't lock before setup

18 years agoweb commit by joey
www-data [Sun, 19 Mar 2006 22:01:43 +0000 (22:01 +0000)]
web commit by joey

18 years agoweb commit by joey
www-data [Sun, 19 Mar 2006 22:00:58 +0000 (22:00 +0000)]
web commit by joey

18 years agoweb commit by joey
www-data [Sun, 19 Mar 2006 22:00:23 +0000 (22:00 +0000)]
web commit by joey

18 years agoweb commit by joey
www-data [Sun, 19 Mar 2006 21:59:09 +0000 (21:59 +0000)]
web commit by joey

18 years agoweb commit by joey
www-data [Sun, 19 Mar 2006 21:58:42 +0000 (21:58 +0000)]
web commit by joey

18 years agoweb commit by joey
www-data [Sun, 19 Mar 2006 21:56:42 +0000 (21:56 +0000)]
web commit by joey

18 years agofoo
joey [Sun, 19 Mar 2006 21:54:42 +0000 (21:54 +0000)]
foo

18 years agoweb commit by joey
www-data [Sun, 19 Mar 2006 21:52:44 +0000 (21:52 +0000)]
web commit by joey

18 years agobasewiki integration
joey [Sun, 19 Mar 2006 21:51:39 +0000 (21:51 +0000)]
basewiki integration

18 years agoweb commit by joey
www-data [Sun, 19 Mar 2006 21:49:20 +0000 (21:49 +0000)]
web commit by joey

18 years agoadded basewiki
joey [Sun, 19 Mar 2006 21:44:15 +0000 (21:44 +0000)]
added basewiki

18 years agomispaste
joey [Sun, 19 Mar 2006 21:42:36 +0000 (21:42 +0000)]
mispaste

18 years agolink to helponformatting from the edit page
joey [Sun, 19 Mar 2006 21:31:11 +0000 (21:31 +0000)]
link to helponformatting from the edit page

18 years agoweb commit by joey
www-data [Sun, 19 Mar 2006 21:30:21 +0000 (21:30 +0000)]
web commit by joey

18 years agoadd helponformatting page
joey [Sun, 19 Mar 2006 21:25:47 +0000 (21:25 +0000)]
add helponformatting page

18 years agoweb commit by joey
www-data [Sun, 19 Mar 2006 20:49:26 +0000 (20:49 +0000)]
web commit by joey

18 years agoweb commit by joey
www-data [Sun, 19 Mar 2006 20:43:23 +0000 (20:43 +0000)]
web commit by joey

18 years agoweb commit by joey
www-data [Sun, 19 Mar 2006 20:42:12 +0000 (20:42 +0000)]
web commit by joey

18 years agoweb commit by joey: conflict and merge is done!
www-data [Sun, 19 Mar 2006 20:36:50 +0000 (20:36 +0000)]
web commit by joey: conflict and merge is done!

18 years agoweb commit by joey
www-data [Sun, 19 Mar 2006 20:36:05 +0000 (20:36 +0000)]
web commit by joey

18 years agonon-conficting commit to test merging..
joey [Sun, 19 Mar 2006 20:35:59 +0000 (20:35 +0000)]
non-conficting commit to test merging..

18 years agoconflict detection, merging, etc should be done now, I think
joey [Sun, 19 Mar 2006 20:34:59 +0000 (20:34 +0000)]
conflict detection, merging, etc should be done now, I think

18 years agoweb commit by joey: conflict test
www-data [Sun, 19 Mar 2006 20:34:10 +0000 (20:34 +0000)]
web commit by joey: conflict test

18 years agoweb commit by joey: conflict test
www-data [Sun, 19 Mar 2006 20:17:20 +0000 (20:17 +0000)]
web commit by joey: conflict test

18 years agoweb commit by joey: conflict test
www-data [Sun, 19 Mar 2006 20:12:15 +0000 (20:12 +0000)]
web commit by joey: conflict test

18 years agocommitting changes for conflict test
joey [Sun, 19 Mar 2006 20:10:58 +0000 (20:10 +0000)]
committing changes for conflict test

18 years agosecond try at merging and conflicts support
joey [Sun, 19 Mar 2006 19:51:11 +0000 (19:51 +0000)]
second try at merging and conflicts support

18 years agostupid mistakes
joey [Sun, 19 Mar 2006 19:29:41 +0000 (19:29 +0000)]
stupid mistakes

18 years agoweb commit by joey
www-data [Sun, 19 Mar 2006 19:27:59 +0000 (19:27 +0000)]
web commit by joey

18 years agoweb commit by joey
www-data [Sun, 19 Mar 2006 19:24:40 +0000 (19:24 +0000)]
web commit by joey

18 years agofirst cut at svn merge and conflict
joey [Sun, 19 Mar 2006 19:09:57 +0000 (19:09 +0000)]
first cut at svn merge and conflict

18 years agoweb commit by joey
www-data [Sat, 18 Mar 2006 21:39:58 +0000 (21:39 +0000)]
web commit by joey

18 years agooops, add unlock _before_ svn commit
joey [Sat, 18 Mar 2006 21:36:36 +0000 (21:36 +0000)]
oops, add unlock _before_ svn commit

18 years agoweb commit by joey: thoughts on conflict resolution, gobbing, locking
www-data [Sat, 18 Mar 2006 21:34:01 +0000 (21:34 +0000)]
web commit by joey: thoughts on conflict resolution, gobbing, locking

18 years agofix
joey [Fri, 17 Mar 2006 18:44:14 +0000 (18:44 +0000)]
fix

18 years agoweb commit by joey: test commit
www-data [Fri, 17 Mar 2006 18:43:04 +0000 (18:43 +0000)]
web commit by joey: test commit

18 years agounlock wiki during svn commit to prevent deadlock with post-commit hook
joey [Fri, 17 Mar 2006 18:34:33 +0000 (18:34 +0000)]
unlock wiki during svn commit to prevent deadlock with post-commit hook

18 years agoweb commit by BrandenRobinson: Explain why letting users specify regexes is bad.
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.

18 years agofix update of links to removed pages
joey [Thu, 16 Mar 2006 22:25:17 +0000 (22:25 +0000)]
fix update of links to removed pages

18 years agoweb commit by joey
www-data [Thu, 16 Mar 2006 22:07:51 +0000 (22:07 +0000)]
web commit by joey

18 years agoneed to use CGI in rcs_recentchanges to get escapeHTML
joey [Thu, 16 Mar 2006 22:01:33 +0000 (22:01 +0000)]
need to use CGI in rcs_recentchanges to get escapeHTML

18 years agoadd a header to page preview section
joey [Thu, 16 Mar 2006 21:47:48 +0000 (21:47 +0000)]
add a header to page preview section

18 years agopreview done
joey [Thu, 16 Mar 2006 21:44:16 +0000 (21:44 +0000)]
preview done

18 years agook, so we don't want to re-load page content into the form on preview..
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..

18 years agodd page preview
joey [Thu, 16 Mar 2006 21:39:45 +0000 (21:39 +0000)]
dd page preview

18 years agooptimise svn log a bit
joey [Thu, 16 Mar 2006 21:20:33 +0000 (21:20 +0000)]
optimise svn log a bit

18 years agoweb commit by joey
www-data [Thu, 16 Mar 2006 21:11:17 +0000 (21:11 +0000)]
web commit by joey

18 years agoweb commit by joey
www-data [Thu, 16 Mar 2006 21:09:41 +0000 (21:09 +0000)]
web commit by joey

18 years agoweb commit by joey
www-data [Thu, 16 Mar 2006 21:07:32 +0000 (21:07 +0000)]
web commit by joey

18 years agoweb commit by BrandenRobinson: Add brainstorming about email change notification.
www-data [Thu, 16 Mar 2006 21:06:46 +0000 (21:06 +0000)]
web commit by BrandenRobinson: Add brainstorming about email change notification.

18 years agolock wiki and refuse to traverse symlinks
joey [Thu, 16 Mar 2006 21:06:33 +0000 (21:06 +0000)]
lock wiki and refuse to traverse symlinks

18 years agoweb commit by joey
www-data [Thu, 16 Mar 2006 21:06:32 +0000 (21:06 +0000)]
web commit by joey

18 years agoweb commit by BrandenRobinson: Fix missing end brackets in wikilink.
www-data [Thu, 16 Mar 2006 20:59:19 +0000 (20:59 +0000)]
web commit by BrandenRobinson: Fix missing end brackets in wikilink.

18 years agoweb commit by joey
www-data [Thu, 16 Mar 2006 20:45:43 +0000 (20:45 +0000)]
web commit by joey

18 years agoweb commit by joey
www-data [Wed, 15 Mar 2006 06:10:26 +0000 (06:10 +0000)]
web commit by joey

18 years agoescape html from commit logs
joey [Wed, 15 Mar 2006 06:03:03 +0000 (06:03 +0000)]
escape html from commit logs

18 years agoweb commit by joey
www-data [Wed, 15 Mar 2006 06:02:57 +0000 (06:02 +0000)]
web commit by joey

18 years agoweb commit by joey
www-data [Wed, 15 Mar 2006 05:56:48 +0000 (05:56 +0000)]
web commit by joey

18 years agoweb commit by joey: wikilink escaping supported now
www-data [Wed, 15 Mar 2006 05:54:35 +0000 (05:54 +0000)]
web commit by joey: wikilink escaping supported now

18 years agoweb commit by joey
www-data [Wed, 15 Mar 2006 05:53:38 +0000 (05:53 +0000)]
web commit by joey

18 years agoimprove
joey [Wed, 15 Mar 2006 05:49:06 +0000 (05:49 +0000)]
improve

18 years agofixes
joey [Wed, 15 Mar 2006 04:59:39 +0000 (04:59 +0000)]
fixes

18 years agoman page generation
joey [Wed, 15 Mar 2006 04:40:32 +0000 (04:40 +0000)]
man page generation

18 years agodebianise
joey [Wed, 15 Mar 2006 04:05:53 +0000 (04:05 +0000)]
debianise

18 years agoconfig files now based on perl modules
joey [Wed, 15 Mar 2006 03:24:34 +0000 (03:24 +0000)]
config files now based on perl modules
add MakeMaker foo for module

18 years agosometims I hate perl
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

18 years agoadd a special case for discussion pages when determining the links from a
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

18 years agofix two bugs in page location in new page creation
joey [Tue, 14 Mar 2006 06:19:16 +0000 (06:19 +0000)]
fix two bugs in page location in new page creation

18 years agofix Discussion links to not take the BestLink.
joey [Tue, 14 Mar 2006 06:04:44 +0000 (06:04 +0000)]
fix Discussion links to not take the BestLink.

As a bonus we now have meta Disussion/Discussion pages available, etc. Oh
well.. :-)

18 years agoremove quotes, actualy messed up ikiwiki $(wrapper --params) --foo
joey [Tue, 14 Mar 2006 05:51:57 +0000 (05:51 +0000)]
remove quotes, actualy messed up ikiwiki $(wrapper --params) --foo