ikiwiki.git
14 years agoprototyping improvements
joey [Thu, 23 Mar 2006 08:10:09 +0000 (08:10 +0000)]
prototyping improvements

14 years agoanother sub, wow
joey [Thu, 23 Mar 2006 08:04:34 +0000 (08:04 +0000)]
another sub, wow

14 years agolock wiki here too
joey [Thu, 23 Mar 2006 07:58:43 +0000 (07:58 +0000)]
lock wiki here too

14 years agoslightly better latout
joey [Thu, 23 Mar 2006 07:55:36 +0000 (07:55 +0000)]
slightly better latout

14 years agomissing include
joey [Thu, 23 Mar 2006 07:55:25 +0000 (07:55 +0000)]
missing include

14 years agoproper main sub and loadindex optimisation for cgis
joey [Thu, 23 Mar 2006 07:51:52 +0000 (07:51 +0000)]
proper main sub and loadindex optimisation for cgis

14 years agobenchmarking suggests that meoization doesn't help even when doing a
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

14 years agoGetopt::Long is a huge, heavy perl module. So why use 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.

14 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.

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

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

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

14 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

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

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

14 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.

14 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.

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

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

14 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..

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

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

14 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

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

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

14 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..

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

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

14 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

14 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

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

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

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

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

14 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

14 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

14 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

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

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

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

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

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

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

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

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

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

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

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

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

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

14 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

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

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

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

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

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

14 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!

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

14 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..

14 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

14 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

14 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

14 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

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

14 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

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

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

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

14 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

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

14 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

14 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

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

14 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

14 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

14 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.

14 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

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

14 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

14 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

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

14 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..

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

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

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

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

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

14 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.

14 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

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

14 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.

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

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

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

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

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

14 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

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

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

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