Commit Graph

12892 Commits (8e50e00d25d321a8689051f7ab7452311c3925d5)

Author SHA1 Message Date
zimek 79b309b358 2010-05-07 21:56:56 +00:00
Joey Hess 2ee820dedd avoid linking directly to ikiwiki.cgi?do=signin
Instead, add a custom do=commentsignin, that calls cgi_signin.

This allows a plugin to inject a custom cgi_signin, that uses a different
do= parameter, and have it be used consitently. (This was the only
place to hardcode a link to do=signin.)
2010-05-07 17:11:23 -04:00
Joey Hess be2669e1e1 todo 2010-05-07 15:00:45 -04:00
Joey Hess 70f121af02 switch to use comments(), and add a count (and a feed) of
comments pending moderation
2010-05-07 14:12:14 -04:00
Joey Hess b50b549cab fix comment matching pagespecs
test isinternal first, because match_glob with internal => 1 also returns
non-internal pages that match. This order should also be faster.

Remove test to see if pagesources is set. isinternal will not succeed if it
is not.
2010-05-07 14:02:30 -04:00
zimek 6a83be2647 2010-05-07 17:56:06 +00:00
Joey Hess fe8f4a7781 better wording 2010-05-07 13:55:08 -04:00
zimek 93ad589b46 2010-05-07 17:51:53 +00:00
zimek 9b18bdf1e1 2010-05-07 17:48:43 +00:00
Joey Hess 2dfdadf10c bugfix 2010-05-07 13:47:29 -04:00
zimek 9417821680 2010-05-07 17:46:39 +00:00
Joey Hess 8d3c89f0c7 bugfixes 2010-05-07 13:44:24 -04:00
zimek 682a6480d9 2010-05-07 17:39:34 +00:00
Joey Hess c420e057f3 response 2010-05-07 13:32:43 -04:00
Joey Hess 30ac000b5a Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2010-05-07 13:28:31 -04:00
Joey Hess be0c2df6db check that pagesources exists before testing 2010-05-07 13:28:14 -04:00
Joey Hess 911184432d Merge branch 'master' into commentreorg 2010-05-07 13:25:56 -04:00
Joey Hess b01a2274c3 fix undef warning when page() tests a deleted file 2010-05-07 13:25:32 -04:00
zimek 4549a4aaa8 2010-05-07 17:22:20 +00:00
Joey Hess 888ac35e11 a bug? 2010-05-07 13:13:57 -04:00
Joey Hess 5dfcaf1f7f applied 2010-05-07 13:04:00 -04:00
Joey Hess ec2790b0ec Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2010-05-07 13:03:30 -04:00
http://smcv.pseudorandom.co.uk/ f9553a06ab patch 2010-05-07 16:56:45 +00:00
Joey Hess 8cd216d748 fix match_comment 2010-05-07 12:55:34 -04:00
Joey Hess db5cee6cb6 reorder 2010-05-07 12:55:24 -04:00
Simon McVittie c2c57f0cfb gitremotes: don't fetch tags, other than from ikiwiki.info
Getting this change in an existing git clone requires removing or
reconfiguring the remotes.
2010-05-07 17:46:21 +01:00
Joey Hess 5e6ed10583 nasty update to ugly hack to allow comment() pagespecs to work 2010-05-07 12:43:51 -04:00
Joey Hess 3adb47ec4f Merge branch 'master' into commentreorg
Conflicts:
	debian/changelog
2010-05-07 12:42:38 -04:00
Joey Hess 25033d9114 Revert markd changes
spammer testing?
2010-05-07 12:18:43 -04:00
http://peter-simons.myopenid.com/ c9f8fef594 2010-05-07 13:34:29 +00:00
markd 43e27cc251 2010-05-07 10:50:55 +00:00
markd da366390cd 2010-05-07 10:48:39 +00:00
Joey Hess 915d9281db call delete hook even if only internal pages are deleted 2010-05-07 00:26:59 -04:00
Joey Hess 1678604fe3 avoid redir loop when going to an internal page that has no permalink 2010-05-07 00:22:05 -04:00
Joey Hess 300001184e done 2010-05-06 23:28:54 -04:00
Joey Hess 575080d6ef respect permalinks 2010-05-06 23:28:40 -04:00
Joey Hess 14826ad927 Delete hooks are passed deleted internal pages.
Necessary so search can remove its indexes for internal pages.
But also, it seems it was an omission not to pass the deleted
pages before.
2010-05-06 23:25:27 -04:00
Joey Hess ea4967f184 inline: Call indexhtml when inlining internal pages, so their text can be indexed for searching. 2010-05-06 23:20:48 -04:00
Joey Hess 121e2ffc2f Renamed postscan hook to indexhtml, to reflect its changed position.
Probably only the search plugin uses it, so this seemed safe.
2010-05-06 23:14:36 -04:00
Joey Hess 4c320176c0 simplify formbuilder stylesheet specification
Since all forms are wrapped in a template that defines the actual
stylesheets, formbuilder just has to be told to turn on stylesheet mode,
not what file is the style sheet.
2010-05-06 22:27:12 -04:00
Joey Hess d3aaf6e01f fix pagediff to not display as "preview"
I think originally, the page preview header was not displayed,
so diff was hacked in using it.
2010-05-06 22:19:14 -04:00
Joey Hess a47e835f3a reordered some sections 2010-05-06 21:58:04 -04:00
Joey Hess 931045301a Gave comment and page editing forms some CSS and accessability love.
In particular, added <label> tags.

(However, could not find a good way to add a label tag for the main
page edit textarea.)
2010-05-06 21:45:17 -04:00
Joey Hess 2e86b8df98 fix param passing to match_glob 2010-05-06 20:46:58 -04:00
Joey Hess d9d910f676 moved comments pending moderation
* comments: Comments pending moderation are now stored in the srcdir
  alongside accepted comments, but with a `._comment_pending` extension.
* This allows easier byhand moderation, as the "_pending" need
  only be stripped off and the comment be committed to version control.
* The `comment_pending()` pagespec can be used to match such unmoderated
  comments, which makes it easy to add a feed of them, or a counter
  indicating how many there are.
* Belatedly added a `comment()` pagespec.
2010-05-06 20:05:53 -04:00
Joey Hess 71b8d2ad41 move meat of type checking to match_page where it belongs 2010-05-06 19:04:56 -04:00
Joey Hess 7f64ff2ae0 url to myopenid affiliate program has changed 2010-05-06 17:32:19 -04:00
Joey Hess 3f925ac735 new todo 2010-05-06 17:28:47 -04:00
Joey Hess f0b83af9aa add 2010-05-06 17:18:08 -04:00
Joey Hess f69026667b typo 2010-05-06 13:55:37 -04:00