Joey Hess
680cd2fbc3
skeleton of web setup plugin
2008-08-02 16:41:35 -04:00
Joey Hess
25c35b6e90
banned_users move to setup file, stage 1
2008-08-01 17:39:17 -04:00
Joey Hess
190a845fe1
hide deprecated values if empty after save
2008-08-01 17:39:17 -04:00
Joey Hess
f41448d9ca
rcs plugin loading reorg
...
Move rcs plugin load to loadplugins; move duplicate rcs detection logic out
of individual plugins and into loadplugins. Avoids checkconfig failing when
run twice.
2008-08-01 16:45:05 -04:00
Joey Hess
bb394fdae8
admin prefs move to setup file, stage 1
...
The locked pages configuration is moving to a locked_pages option in the
setup file, and the allowed attachments configuration to
allowed_attachments. The admin prefs page can still be used for these, but
that's depreacted and will only be shown if there's currently a value.
2008-08-01 16:45:04 -04:00
Joey Hess
041923a89e
Merge branch 'master' into autoconfig
...
Conflicts:
IkiWiki/Plugin/git.pm
debian/changelog
po/ikiwiki.pot
2008-07-31 19:35:37 -04:00
Joey Hess
f7b8f2297c
Add test for old versions of git that don't support --cleanup=verbatim, and munge empty commit messages.
2008-07-31 19:23:54 -04:00
Joey Hess
6c8a8dd13b
add guard against enabling multiple rcs plugins
2008-07-30 14:32:48 -04:00
Joey Hess
12c5786df4
Merge branch 'tova' into autoconfig
...
Conflicts:
debian/changelog
2008-07-29 15:54:45 -04:00
Joey Hess
f0090d8c57
check generated pages in
...
I considered not checking them in, or making the checkin configurable.
However, then they would remain not checked in if edited by a user, which is
probably not desired.
Note that passing undef as the username/ip to rcs_commit_staged may not
result in ideal behavior; the commit may seem to come from "anonymous" with
some revision control systems. Most of them handle it a bit better and just
have it come from whatever user is running the build.
2008-07-29 15:51:25 -04:00
Joey Hess
a02c3f46ea
initial draft
2008-07-29 15:39:01 -04:00
Joey Hess
37245a9988
add refresh hook
2008-07-29 15:04:34 -04:00
Joey Hess
73af360e99
fix cgiurl check
2008-07-27 19:21:56 -04:00
Joey Hess
9be28d7865
handle options with no value and no example value
2008-07-27 19:19:04 -04:00
Joey Hess
9607452346
typo
2008-07-27 16:11:06 -04:00
Joey Hess
950850f639
add new wiki to wikilist
2008-07-27 16:01:29 -04:00
Joey Hess
929a70a16d
password prompt for admin user
2008-07-27 15:44:11 -04:00
Joey Hess
c755bfd1d8
automator improvements
2008-07-27 15:16:03 -04:00
Joey Hess
3d4c32dace
lose the ugly $rawsetup, use a function
2008-07-27 15:08:10 -04:00
Joey Hess
3d139e4312
rcs hook setup for the two I know
2008-07-27 01:50:43 -04:00
Joey Hess
f28b57526c
setup automator
...
"ikiwiki -setup /etc/ikiwiki/simple.setup"
can be used set up a new wiki in seconds
2008-07-27 01:39:11 -04:00
Joey Hess
e1f7146041
avoid clobbering example diffurl
2008-07-27 00:54:15 -04:00
Joey Hess
4ef96e2d99
Merge branch 'master' into autoconfig
2008-07-26 23:22:42 -04:00
Joey Hess
618e3c1075
use new style error handling
2008-07-26 23:15:35 -04:00
Enrico Zini
e3713772f7
Added cutpaste plugin.
...
I'm wondering if cutandpaste wouldn't be a better name.
2008-07-26 23:08:17 -04:00
Enrico Zini
02078c406c
Handle the case when HTML got tidied.
...
This fixes debian bug #492529 .
2008-07-26 23:05:57 -04:00
Joey Hess
6a64d13352
allow --dumpsetup to be used w/o specifying srcdir and destdir
...
shortcut tried to use srcdir in checkconfig; change it to not so this will
work.
2008-07-26 23:00:44 -04:00
Joey Hess
67a63e7860
fixups
2008-07-26 22:38:43 -04:00
Joey Hess
6154dd03cb
finish with rcs plugin conversion
2008-07-26 22:28:18 -04:00
Joey Hess
14cd75746a
Version control backends promoted to first-class plugins
2008-07-26 22:27:24 -04:00
Joey Hess
82f0facb62
fixups
2008-07-26 21:14:07 -04:00
Joey Hess
42ac4ec009
remove default values in getsetup
...
They were a bit confusing, since they did not actually set the default, and
example values are sufficient.
2008-07-26 21:07:15 -04:00
Joey Hess
c83fd4a328
wrapper setup reorg
...
Flattened the wrapper setup, as this lets it be handled better by the
setup generation code.
2008-07-26 21:00:11 -04:00
Joey Hess
38618838c9
add example wrapper and fix formatting
2008-07-26 19:49:45 -04:00
Joey Hess
cecd3bf725
historyurl can be undef
2008-07-26 19:37:25 -04:00
Joey Hess
8051316904
add missing setup options, tweak others' display
2008-07-26 19:28:15 -04:00
Joey Hess
bb872ea1e8
filter out demo plugins
2008-07-26 19:11:31 -04:00
Joey Hess
52bbdbb1a5
load all plugins when generating setup
2008-07-26 19:10:11 -04:00
Joey Hess
f892cc8c50
two typos
2008-07-26 19:05:52 -04:00
Joey Hess
477654003f
clarify wording
2008-07-26 18:33:18 -04:00
Joey Hess
56b9b85e33
tla done too
2008-07-26 18:31:27 -04:00
Joey Hess
2bbe1bf9af
move more settings out to rcs
2008-07-26 18:29:33 -04:00
Joey Hess
90b310b93c
getsetup-ize svn and bzr
2008-07-26 18:26:56 -04:00
Joey Hess
21af3ae336
add folding
2008-07-26 18:14:21 -04:00
Joey Hess
b277e00d4e
add gensetup for hg
2008-07-26 18:13:16 -04:00
Joey Hess
66739016fa
add gensetup for git
2008-07-26 18:10:01 -04:00
Joey Hess
9bcb649efe
typos
2008-07-26 17:58:20 -04:00
Joey Hess
0e0ee9b2ce
make monotone use hooks, add getsetup
...
Rather than every monotone rcs_ function calling check_config, just put it
in a checkconfig hook. (But the chdir still needs to be done by every
hook.)
2008-07-26 17:49:25 -04:00
Joey Hess
cab1ac75c9
refactor
2008-07-26 15:43:25 -04:00
Joey Hess
b073359b18
refactor
2008-07-26 15:39:41 -04:00
Joey Hess
1c00717cb2
can now dump fully functional setup files
2008-07-26 15:34:38 -04:00
Joey Hess
cd029da493
typo
2008-07-26 14:56:10 -04:00
Joey Hess
26db34e1d6
adminemail may be undefined
2008-07-26 14:54:50 -04:00
Joey Hess
79f637a436
typo
2008-07-26 14:44:49 -04:00
Joey Hess
49e86d2562
turn booleans into questions
2008-07-26 14:43:47 -04:00
Joey Hess
abab46f983
add info for all common setup file options, and most internal ones
2008-07-26 14:39:12 -04:00
Joey Hess
1ba84c3a6b
predefine pingurl
2008-07-26 14:38:58 -04:00
Joey Hess
c2507d33cb
allow account_creation_password to not be defined
2008-07-26 14:02:36 -04:00
Joey Hess
6b19afb3ef
fixes
2008-07-26 13:10:52 -04:00
Joey Hess
9169c3247f
standardising and documenting getsetup
2008-07-26 13:07:48 -04:00
Joey Hess
255172215e
fixes
2008-07-26 12:53:07 -04:00
Joey Hess
5bea644fdd
add dumpsetup option; refactor
2008-07-26 12:46:31 -04:00
Joey Hess
62cd2e0a5d
setup dumping improvements
2008-07-26 12:01:10 -04:00
Joey Hess
e727d5b6e9
more formatting
2008-07-26 02:04:30 -04:00
Joey Hess
fe2fe5aa4b
improve formatting
2008-07-26 01:58:36 -04:00
Joey Hess
278ae9afea
add ability to generate setup files
...
quite nice ones, too, with comments and everything
2008-07-26 01:35:26 -04:00
Joey Hess
0d7bc7402c
fix plugin name
2008-07-26 00:45:32 -04:00
Joey Hess
426200b34a
avoid fatal error in sanitize
2008-07-26 00:45:21 -04:00
Joey Hess
84c905ec20
finish adding getsetup hooks to plugins
2008-07-26 00:38:13 -04:00
Joey Hess
d0bd30824e
Merge branch 'master' into autoconfig
2008-07-25 19:27:15 -04:00
Joey Hess
b7bf566f55
attachment: Use relative paths when inserting links.
2008-07-25 19:22:29 -04:00
Joey Hess
1f8b0460c3
added getsetup hooks for all plugins up to recentchanges
2008-07-25 18:05:55 -04:00
Joey Hess
cf6c2f142f
add getsetup
...
Also, avoid dying with a fatal error if multimarkdown is enabled and the
module doesh't load.
2008-07-25 17:52:00 -04:00
Joey Hess
bf6198baf3
add getconfig for inline
...
Also, moved the pingurl getopt parsing to inline.
2008-07-25 17:24:52 -04:00
Joey Hess
a71b9a1cf1
fix feed urls
...
The fix for colons involved adding "./" to some urls. Due to the weird way
inline called urlto, these snuck into feed urls and permalinks. Fix it by
adding an optional third parameter to urlto.
2008-07-25 16:16:44 -04:00
Jelmer Vernooij
3575798564
bzr: Version directories on the fly, ignore directories when retrieving
...
changes.
Now passes t/bazaar.t again.
2008-07-25 20:13:45 +02:00
Joey Hess
c401cf4f0c
Merge commit 'jelmer/master'
2008-07-25 12:03:34 -04:00
Joey Hess
89e0de5bc4
improved, possibly faster getelementsbyclass by willu
2008-07-25 01:43:37 -04:00
Joey Hess
99b59f2d62
toggle: Fix incompatability between javascript and webkit.
2008-07-25 01:24:20 -04:00
Jelmer Vernooij
7538d356c8
Support staging commands in bzr backend.
2008-07-24 22:43:57 +02:00
Joey Hess
58e2b2c99c
mercurial: Add support for rename, delete, and also diff. (William Uther)
2008-07-24 14:17:04 -04:00
Joey Hess
c2f621cb1c
fix encoding issues with link conversion
...
Have to convert link text to page name going in.
And on the way out, need to replace spaces with underscores in the link
text, which is not normally done with titles.
2008-07-24 12:36:10 -04:00
Joey Hess
8b3d2ab0bc
test suite and partial fix for encoding issues in link renaming
2008-07-23 21:04:11 -04:00
Joey Hess
c9961ab1e9
add todo
2008-07-23 19:38:09 -04:00
Joey Hess
762bf0b887
foldage
2008-07-23 19:25:46 -04:00
Joey Hess
985a34b09e
fixup editpage links on rename
2008-07-23 19:20:11 -04:00
Joey Hess
7befc6deb3
link fixup on rename working
2008-07-23 19:12:05 -04:00
Joey Hess
4918c164e8
preserve case of subpage
2008-07-23 19:03:37 -04:00
Joey Hess
8b063a24d9
case preservation
2008-07-23 18:57:27 -04:00
Joey Hess
4691a2ad39
add renamepage hooks
...
Implemented for regular wikilinks, with a test suite.
2008-07-23 18:14:20 -04:00
Joey Hess
96dab37a8e
Merge branch 'master' into tova
2008-07-23 17:34:01 -04:00
Gabriel McManus
d9062864ee
Rebuild pages that change their type.
...
Previously, if a page changed its type but not its mtime
(e.g. mv page.txt page.mdwn), then it would not be rebuilt.
Now, check if the source of a page has changed,
in which case force a rebuild of that page.
(cherry picked from commit b6a3b8a683fed7a7f6d77a5b3f2dfbd14c849843)
2008-07-23 16:00:26 -04:00
Joey Hess
335a6a59e6
Merge branch 'master' into tova
2008-07-23 15:00:07 -04:00
Joey Hess
1d1767192c
attachment: Do not escape _ when determining attachment filenames.
2008-07-23 14:58:39 -04:00
Joey Hess
29f32d0ba3
add a list of broken links after the rename
2008-07-22 20:30:54 -04:00
Joey Hess
1c9a3cb82b
add a rename summary
2008-07-22 20:17:03 -04:00
Joey Hess
d76c10cba2
Split out error messages from editpage.tmpl into several separate templates.
2008-07-22 19:58:34 -04:00
Joey Hess
2b9615194e
fix gettext
2008-07-22 19:44:31 -04:00
Joey Hess
421559b230
edit page fixup in postrename
2008-07-22 18:17:11 -04:00
Joey Hess
89b3bb7e38
check for absolute paths
2008-07-22 17:38:31 -04:00