ikiwiki.git
12 years agolockedit: Support specifying which users (and IP addresses) a page is locked for...
Joey Hess [Wed, 8 Oct 2008 21:47:38 +0000 (17:47 -0400)] 
lockedit: Support specifying which users (and IP addresses) a page is locked for. This supports most of the ACL type things users have been wanting to be done. Closes: #443346 (It does not control who can read a page, but that's out of scope for ikiwiki.)

12 years agofix name of admin() pagespec test
Joey Hess [Wed, 8 Oct 2008 21:12:06 +0000 (17:12 -0400)] 
fix name of admin() pagespec test

12 years agoremove page_locking page, move content to plugins/lockedit
Joey Hess [Wed, 8 Oct 2008 21:09:24 +0000 (17:09 -0400)] 
remove page_locking page, move content to plugins/lockedit

Also, removed obsolte para about using the prefs page to configure locked
pages, that interface is obsolete, hidden by default, and the locked_pages
setup file setting is used instead.

12 years ago(no commit message)
bstpierre [Tue, 7 Oct 2008 16:34:52 +0000 (12:34 -0400)] 

12 years ago(no commit message)
bstpierre [Tue, 7 Oct 2008 16:33:25 +0000 (12:33 -0400)] 

12 years agoUpdated Spanish translation from Victor Moral.
Joey Hess [Tue, 7 Oct 2008 15:51:52 +0000 (11:51 -0400)] 
Updated Spanish translation from Victor Moral.

12 years agoavoid $_ in a few other for loops
Joey Hess [Mon, 6 Oct 2008 20:19:54 +0000 (16:19 -0400)] 
avoid $_ in a few other for loops

These were probably not currently buggy, but let's avoid bugs being
introduced by the functions called clobbering $_.

12 years agoremove: Avoid $_ breakage. (Stupid, stupid perl.)
Joey Hess [Mon, 6 Oct 2008 20:10:47 +0000 (16:10 -0400)] 
remove: Avoid $_ breakage. (Stupid, stupid perl.)

This avoids another one of those $_ scoping issues where a deep call to a
function that changes $_ clobbers the array that is being looped over.

12 years agoremove post, since this is intended to be an example people copy and use,
Joey Hess [Mon, 6 Oct 2008 16:53:55 +0000 (12:53 -0400)] 
remove post, since this is intended to be an example people copy and use,
it should not get cluttered up

12 years agodone, documented workaround
intrigeri [Mon, 6 Oct 2008 09:28:53 +0000 (05:28 -0400)] 
done, documented workaround

12 years ago(no commit message)
foob [Mon, 6 Oct 2008 09:16:34 +0000 (05:16 -0400)] 

12 years ago(no commit message)
foob [Mon, 6 Oct 2008 09:15:50 +0000 (05:15 -0400)] 

12 years ago(no commit message)
lschiere [Mon, 6 Oct 2008 04:32:20 +0000 (00:32 -0400)] 

12 years agoadd news item for ikiwiki 2.66
Joey Hess [Sun, 5 Oct 2008 23:25:15 +0000 (19:25 -0400)] 
add news item for ikiwiki 2.66

12 years agoreleasing version 2.66
Joey Hess [Sun, 5 Oct 2008 23:24:38 +0000 (19:24 -0400)] 
releasing version 2.66

12 years agofix lintian warning
Joey Hess [Sun, 5 Oct 2008 23:17:24 +0000 (19:17 -0400)] 
fix lintian warning

12 years agomake set -e
Joey Hess [Sun, 5 Oct 2008 23:17:16 +0000 (19:17 -0400)] 
make set -e

12 years agoclose
Joey Hess [Thu, 2 Oct 2008 21:52:20 +0000 (17:52 -0400)] 
close

12 years agotag
Joey Hess [Thu, 2 Oct 2008 21:49:51 +0000 (17:49 -0400)] 
tag

12 years agofix tag
Joey Hess [Thu, 2 Oct 2008 21:43:03 +0000 (17:43 -0400)] 
fix tag

12 years agorename
Joey Hess [Thu, 2 Oct 2008 21:42:33 +0000 (17:42 -0400)] 
rename

12 years agoclose
Joey Hess [Thu, 2 Oct 2008 21:40:07 +0000 (17:40 -0400)] 
close

12 years agodone
Joey Hess [Thu, 2 Oct 2008 21:39:08 +0000 (17:39 -0400)] 
done

12 years agotag
Joey Hess [Thu, 2 Oct 2008 21:38:13 +0000 (17:38 -0400)] 
tag

12 years agotag
Joey Hess [Thu, 2 Oct 2008 21:36:53 +0000 (17:36 -0400)] 
tag

12 years agotag
Joey Hess [Thu, 2 Oct 2008 21:35:46 +0000 (17:35 -0400)] 
tag

12 years agotag
Joey Hess [Thu, 2 Oct 2008 21:34:52 +0000 (17:34 -0400)] 
tag

12 years agotag
Joey Hess [Thu, 2 Oct 2008 21:33:55 +0000 (17:33 -0400)] 
tag

12 years agowishlist
Joey Hess [Thu, 2 Oct 2008 21:33:25 +0000 (17:33 -0400)] 
wishlist

12 years agomove
Joey Hess [Thu, 2 Oct 2008 21:32:53 +0000 (17:32 -0400)] 
move

12 years agothis is a wishlist todo item, rename too
Joey Hess [Thu, 2 Oct 2008 19:12:57 +0000 (15:12 -0400)] 
this is a wishlist todo item, rename too

12 years agoresponse
Joey Hess [Thu, 2 Oct 2008 19:11:17 +0000 (15:11 -0400)] 
response

12 years agothoughts
Joey Hess [Thu, 2 Oct 2008 19:01:03 +0000 (15:01 -0400)] 
thoughts

12 years agoping
Joey Hess [Thu, 2 Oct 2008 18:54:52 +0000 (14:54 -0400)] 
ping

12 years agoclose
Joey Hess [Thu, 2 Oct 2008 18:53:11 +0000 (14:53 -0400)] 
close

12 years agomove to todo, response
Joey Hess [Thu, 2 Oct 2008 18:51:21 +0000 (14:51 -0400)] 
move to todo, response

12 years agotypo
Joey Hess [Thu, 2 Oct 2008 18:49:40 +0000 (14:49 -0400)] 
typo

12 years agofix bug closure
Joey Hess [Thu, 2 Oct 2008 18:48:35 +0000 (14:48 -0400)] 
fix bug closure

12 years agoUpdated French translation. Closes: #500929
Joey Hess [Thu, 2 Oct 2008 18:03:04 +0000 (14:03 -0400)] 
Updated French translation. Closes: #500929

12 years agoremove, rename: Allow acting on attachments as a page is being created.
Joey Hess [Thu, 2 Oct 2008 16:53:53 +0000 (12:53 -0400)] 
remove, rename: Allow acting on attachments as a page is being created.

12 years agoattachment: Support adding attachments to pages even as they are being created.
Joey Hess [Thu, 2 Oct 2008 16:48:06 +0000 (12:48 -0400)] 
attachment: Support adding attachments to pages even as they are being created.

12 years agodon't special case preview
Joey Hess [Thu, 2 Oct 2008 16:42:46 +0000 (12:42 -0400)] 
don't special case preview

Whenever the edit form is submitted, but not saved, the page location
select should reduce to the currently selected value. This was only done
when previewing before, but is also needed in order to support the case of
adding an attachment to a page that is just being created.

Before this change, the attachment plugin would get a weird value in
$form->field("page"), that did not reflect the actual page location.

12 years agoupdate
Joey Hess [Wed, 1 Oct 2008 21:31:21 +0000 (17:31 -0400)] 
update

12 years agoinline: Fix handling of rootpage that doesn't exist.
Joey Hess [Wed, 1 Oct 2008 21:29:03 +0000 (17:29 -0400)] 
inline: Fix handling of rootpage that doesn't exist.

It makes sense to use bestlink to determine which page rootpage refers to,
but if no page matches, just use the raw value.

12 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Wed, 1 Oct 2008 21:24:50 +0000 (17:24 -0400)] 
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

12 years agofirst review
Joey Hess [Wed, 1 Oct 2008 21:23:46 +0000 (17:23 -0400)] 
first review

12 years ago(no commit message)
Plareplane [Wed, 1 Oct 2008 21:01:58 +0000 (17:01 -0400)] 

12 years agoadd padding between inlined page title and content
Joey Hess [Wed, 1 Oct 2008 20:49:56 +0000 (16:49 -0400)] 
add padding between inlined page title and content

Some aggregated contents do not include a span element, so there was zero
padding without this.

12 years agotypo
Joey Hess [Wed, 1 Oct 2008 19:55:50 +0000 (15:55 -0400)] 
typo

12 years agoMerge branch 'tova'
Joey Hess [Wed, 1 Oct 2008 19:54:10 +0000 (15:54 -0400)] 
Merge branch 'tova'

12 years agoremove external image
Joey Hess [Wed, 1 Oct 2008 19:34:12 +0000 (15:34 -0400)] 
remove external image

The image is no longer on manoj's machine, and this wiki should not
rely on images hosted by third parties.

Manoj, if you'd like to add this image into ikiwiki's docs, we could talk
about that.

12 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Wed, 1 Oct 2008 18:47:49 +0000 (14:47 -0400)] 
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

12 years agofix subpage rename bug with indexpages
Joey Hess [Wed, 1 Oct 2008 18:43:28 +0000 (14:43 -0400)] 
fix subpage rename bug with indexpages

If indexpages is enabled, then foo/index.mdwn will look like a subpage
of foo, so an additional check is needed to avoid trying to rename it
twice.

12 years agoMerge branch 'master' into tova
Joey Hess [Wed, 1 Oct 2008 18:30:08 +0000 (14:30 -0400)] 
Merge branch 'master' into tova

12 years agotypo
Joey Hess [Wed, 1 Oct 2008 18:06:52 +0000 (14:06 -0400)] 
typo

12 years agotypo
Joey Hess [Wed, 1 Oct 2008 18:06:52 +0000 (14:06 -0400)] 
typo

12 years ago(no commit message)
bremner [Wed, 1 Oct 2008 12:12:14 +0000 (08:12 -0400)] 

12 years agoMerge branch 'master' into tova
Joey Hess [Wed, 1 Oct 2008 01:04:22 +0000 (21:04 -0400)] 
Merge branch 'master' into tova

Conflicts:

debian/changelog

12 years agohttpauth: Document that ikiwiki.cgi has to be in a directory subject to authenticatio...
Joey Hess [Wed, 1 Oct 2008 01:03:51 +0000 (21:03 -0400)] 
httpauth: Document that ikiwiki.cgi has to be in a directory subject to authentication. Closes: #500524

12 years agoThe plugins have been rewritten and now should function properly.
tschwinge [Tue, 30 Sep 2008 21:44:47 +0000 (17:44 -0400)] 
The plugins have been rewritten and now should function properly.

12 years agoMerge branch 'master' into tova
Joey Hess [Tue, 30 Sep 2008 20:35:44 +0000 (16:35 -0400)] 
Merge branch 'master' into tova

12 years agodon't say rebuilding wiki when refreshing
Joey Hess [Tue, 30 Sep 2008 19:40:08 +0000 (15:40 -0400)] 
don't say rebuilding wiki when refreshing

If run w/o --refresh, it should still say "refreshing wiki", if there's no
setup file specifed.

12 years agointeresting bug
Joey Hess [Tue, 30 Sep 2008 19:16:45 +0000 (15:16 -0400)] 
interesting bug

12 years agoadd test for empty, and for entirely negated pagespecs
Joey Hess [Tue, 30 Sep 2008 19:06:12 +0000 (15:06 -0400)] 
add test for empty, and for entirely negated pagespecs

12 years agoclose
Joey Hess [Tue, 30 Sep 2008 16:58:17 +0000 (12:58 -0400)] 
close

12 years agomention a demo site for plugin
bremner [Tue, 30 Sep 2008 14:04:48 +0000 (10:04 -0400)] 
mention a demo site for plugin

12 years agoResponse
http://www.cse.unsw.edu.au/~willu/ [Tue, 30 Sep 2008 06:16:20 +0000 (02:16 -0400)] 
Response

12 years agoremove testing code, accidentially committed
Joey Hess [Mon, 29 Sep 2008 23:09:53 +0000 (19:09 -0400)] 
remove testing code, accidentially committed

12 years agosupport indexpages
Joey Hess [Mon, 29 Sep 2008 23:08:12 +0000 (19:08 -0400)] 
support indexpages

12 years agoupdate
Joey Hess [Mon, 29 Sep 2008 23:02:02 +0000 (19:02 -0400)] 
update

12 years agoRemoved the pagefile function, which was confusingly close in name to
Joey Hess [Mon, 29 Sep 2008 22:56:24 +0000 (18:56 -0400)] 
Removed the pagefile function, which was confusingly close in name to
newpagefile.

Note that newpagefile is not used here (or in recentchanges) because
the internal use pages they generate are transient and unlikely to
benefit from being put each in their own subdir.

12 years agouse newpagefile
Joey Hess [Mon, 29 Sep 2008 22:52:42 +0000 (18:52 -0400)] 
use newpagefile

12 years agoadd newpagefile function
Joey Hess [Mon, 29 Sep 2008 22:51:16 +0000 (18:51 -0400)] 
add newpagefile function

12 years agosupport indexpages when renaming pages
Joey Hess [Mon, 29 Sep 2008 22:29:53 +0000 (18:29 -0400)] 
support indexpages when renaming pages

Note that the page filename code used here and in editpage are identical..

12 years agoclose todo about this
Joey Hess [Mon, 29 Sep 2008 22:24:36 +0000 (18:24 -0400)] 
close todo about this

12 years agosupport indexpages when creating new pages
Joey Hess [Mon, 29 Sep 2008 22:19:44 +0000 (18:19 -0400)] 
support indexpages when creating new pages

Initial draft, may need to factor new page filename code out into helper
function if other plugins need to do the same..

12 years agoMerge branch 'master' into tova
Joey Hess [Mon, 29 Sep 2008 22:11:32 +0000 (18:11 -0400)] 
Merge branch 'master' into tova

12 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Mon, 29 Sep 2008 22:10:19 +0000 (18:10 -0400)] 
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

12 years agoavoid unnecessarily rebuilding pages with complex conditionals
Joey Hess [Mon, 29 Sep 2008 22:05:39 +0000 (18:05 -0400)] 
avoid unnecessarily rebuilding pages with complex conditionals

I noticed that ikiwiki/formatting was beilg rebuilt when any page changed.
This turned out to be because it contained a complex conditional
"enabled(foo) or enabled(bar)", and the conditional plugin did not notice
that this consisted only of enabled() tests, and copied it unchanged into
add_depends. Thus, the page's dependencies were satisfied by any page
change.

The fix is to beef up the parser so that it can handle that and more
complex conditionals, and detect if they consist only of such tests.

12 years agoAdd indexpages option
Joey Hess [Mon, 29 Sep 2008 21:30:30 +0000 (17:30 -0400)] 
Add indexpages option

This is the easy part of supporting foo/index.mdwn sources for page foo.

Note that if foo.mdwn exists too, there will be a warning about multiple
sources for the same page, and which is used is indeterminate.

indexpages should also cause web based editing to create index source pages
by default; this and other fallout of the option not yet implemented.

12 years agoupdate
Joey Hess [Mon, 29 Sep 2008 21:26:39 +0000 (17:26 -0400)] 
update

12 years agomore changes for removal of blog page
Joey Hess [Mon, 29 Sep 2008 21:23:38 +0000 (17:23 -0400)] 
more changes for removal of blog page

12 years agouse gettext
Joey Hess [Mon, 29 Sep 2008 21:06:56 +0000 (17:06 -0400)] 
use gettext

12 years ago(no commit message)
http://josephturian.blogspot.com/ [Mon, 29 Sep 2008 20:17:26 +0000 (16:17 -0400)] 

12 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Mon, 29 Sep 2008 17:26:52 +0000 (13:26 -0400)] 
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

12 years agofix handing of case of file first created by preview but then saved
Joey Hess [Mon, 29 Sep 2008 17:25:31 +0000 (13:25 -0400)] 
fix handing of case of file first created by preview but then saved

To handle this, avoid populating %renderedfiles in preview,
and in expiry, check if the file is in %renderedfiles, if it is
do not delete it since it was saved.

12 years ago(no commit message)
http://josephturian.blogspot.com/ [Mon, 29 Sep 2008 04:03:23 +0000 (00:03 -0400)] 

12 years agoresponse
chrysn [Sun, 28 Sep 2008 09:47:20 +0000 (05:47 -0400)] 
response

12 years agoresponse
Joey Hess [Sun, 28 Sep 2008 01:13:35 +0000 (21:13 -0400)] 
response

12 years agoThoughts on the new wikistate variable
http://www.cse.unsw.edu.au/~willu/ [Sun, 28 Sep 2008 00:03:15 +0000 (20:03 -0400)] 
Thoughts on the new wikistate variable

12 years agoeditpage: Be more aggressive (and less buggy) about cleaning up temporary files rende...
Joey Hess [Sat, 27 Sep 2008 21:04:25 +0000 (17:04 -0400)] 
editpage: Be more aggressive (and less buggy) about cleaning up temporary files rendered during page preview.

12 years agoAdd %wikistate, which is like %pagestate except not specific to a given page, and...
Joey Hess [Sat, 27 Sep 2008 20:45:27 +0000 (16:45 -0400)] 
Add %wikistate, which is like %pagestate except not specific to a given page, and is preserved across rebuilds.

12 years agoReorganize index file, add a format version field.
Joey Hess [Sat, 27 Sep 2008 20:34:09 +0000 (16:34 -0400)] 
Reorganize index file, add a format version field.

Upgrades to the new index format should be transparent.

The version field is 3, because 1 was the old textual index, 2 was the
pre-versioned format.

This also includes some efficiency improvements to index loading, by
not copying a hash and using a reference.

12 years agothoughts
Joey Hess [Sat, 27 Sep 2008 20:15:16 +0000 (16:15 -0400)] 
thoughts

12 years ago(no commit message)
Plareplane [Sat, 27 Sep 2008 19:23:49 +0000 (15:23 -0400)] 

12 years agotemplate: Make edit link for new templates ensure the page is located under toplevel...
Joey Hess [Sat, 27 Sep 2008 19:18:36 +0000 (15:18 -0400)] 
template: Make edit link for new templates ensure the page is located under toplevel templates directory.

12 years agohtmltidy robustness fixes
Joey Hess [Sat, 27 Sep 2008 18:27:16 +0000 (14:27 -0400)] 
htmltidy robustness fixes

* htmltidy: Avoid returning undef if tidy fails. Also avoid returning the
  untidied content if tidy crashes. In either case, it seems best to tidy
  the content to nothing.
* htmltidy: Avoid spewing tidy errors to stderr.

12 years agoExport pagetitle, titlepage, linkpage.
Joey Hess [Sat, 27 Sep 2008 18:14:36 +0000 (14:14 -0400)] 
Export pagetitle, titlepage, linkpage.

12 years agotypo
Joey Hess [Sat, 27 Sep 2008 18:12:24 +0000 (14:12 -0400)] 
typo

12 years ago(no commit message)
http://smcv.pseudorandom.co.uk/ [Sat, 27 Sep 2008 18:14:27 +0000 (14:14 -0400)]