Commit Graph

9154 Commits (c1907ded879f75ef07c5bbab26b84042bafc1b17)

Author SHA1 Message Date
qiang 9b436a0347 2009-01-26 05:35:55 -05:00
Joey Hess ce39f8e000 git: Fix malformed utf8 recieved from git.
If git log outputs malformed utf8 in, eg, usernames, detect it and fix it
up. This avoids commits such as f71abc92aa
breaking things.
2009-01-25 23:13:14 -05:00
Joey Hess 51cd34afff update 2009-01-25 23:02:11 -05:00
Joey Hess ff9a61b481 update 2009-01-25 22:59:20 -05:00
Joey Hess 0c287d85bb typo 2009-01-25 22:44:38 -05:00
Joey Hess 42b3e13739 format moderation queue only at end, avoid O(N^3) bug
It was calling format hooks for each comment on the page.
When relativedate is enabled, that made it insert <script> tags
for each comment. And the browser loaded the same script over and over,
which was slow on its own. But that was nothing compared to running
the onload even over and over.. especially since the hook system
added a new call to the hook each time it loaded.

For a page with 10 comments, that caused the relativedate DOM parsing
code to run 1000 times, I think. Anyway, it was sloow. Now it runs once.
2009-01-25 22:30:28 -05:00
Joey Hess 9d4f396b13 add reject all marked defer checkbox 2009-01-25 22:25:45 -05:00
Joey Hess 4e21af7671 sort comment queue by time, newest first 2009-01-25 19:45:56 -05:00
Joey Hess 7a7e28c55f add a button to prefs page for comment moderation 2009-01-25 19:04:45 -05:00
Joey Hess 9a5085e512 clean up comment preview
Remove actions from it, and avoid a broken title link.
2009-01-25 18:56:47 -05:00
Joey Hess 35ea80bdfe Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2009-01-25 18:50:35 -05:00
Joey Hess 731fc9e7a2 comments: Add a moderation web interface. 2009-01-25 18:49:57 -05:00
Joey Hess 2ecb9e8e79 remove hr under comment actions
The horizontal line was only meant to be displayed under
the actions at the top of a page.
2009-01-25 18:35:18 -05:00
Joey Hess 8129266dad add alt tag 2009-01-25 17:51:00 -05:00
GuenterLadwig 4f098cfd05 2009-01-25 16:41:24 -05:00
GuenterLadwig d5cd831218 2009-01-25 16:40:29 -05:00
GnterLadwig f71abc92aa 2009-01-25 16:37:32 -05:00
GnterLadwig fe8dc7fa42 2009-01-25 16:34:27 -05:00
Joey Hess c154fa5d6c comments: If comment content checks fail, store the comment (in .ikiwiki/comments_pending) for moderator review. 2009-01-25 15:42:13 -05:00
Joey Hess 0cfb159bb0 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2009-01-25 14:40:32 -05:00
Joey Hess ee74e61ffc blogspam: Fix use of blogspam_options and blogspam_server config settings. 2009-01-25 14:37:04 -05:00
Rocco 31a6f1735c vote for Template::Toolkit 2009-01-25 03:39:52 -05:00
Joey Hess caa6a784b0 clarify description of verbose
It enables debug prints, so not just during building, but at runtime.
2009-01-24 13:04:59 -05:00
http://joey.kitenet.net/ a6eb921b9d 2009-01-24 12:43:32 -05:00
qiang 1f87dd2c7d 2009-01-24 12:37:53 -05:00
Joey Hess 7bdc8896df typo 2009-01-23 20:08:52 -05:00
Joey Hess a471ac68c8 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2009-01-23 16:54:13 -05:00
Joey Hess 1c369f1440 mention identica group 2009-01-23 16:46:49 -05:00
qiang 54265c655c 2009-01-23 04:50:07 -05:00
qiang 4a74d70ff5 2009-01-23 04:44:24 -05:00
justin 65af0cceaa followup on pagespec negation 2009-01-22 21:29:53 -05:00
Joey Hess ef856a5f7a typo 2009-01-22 21:10:05 -05:00
Joey Hess e1ff06b634 fix uninitialized value warnings
I suspect these are only triggered by spammers.
2009-01-22 20:58:49 -05:00
Joey Hess 6fb0ab580e fix typo 2009-01-22 20:53:47 -05:00
Joey Hess ede3962a54 response 2009-01-22 15:30:14 -05:00
justin 89587a07f4 question on locked_pages and users() in pagespec 2009-01-21 23:37:55 -05:00
Joey Hess d2579c0c12 one fleeting second thought 2009-01-21 23:12:44 -05:00
Joey Hess 7c67348882 response 2009-01-21 23:09:16 -05:00
Joey Hess 7c00c46bca Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2009-01-21 23:04:48 -05:00
justin a2738b949a Question about user tests 2009-01-21 23:03:08 -05:00
Joey Hess fd03fd9e0a add 2009-01-21 23:01:37 -05:00
Gabriel McManus 950137eb6c img: only provide alt text if it was specified
if suitable alternate text is unknown, then it should not be given.
empty alt text is suitable mainly for purely decorative images.
(cherry picked from commit 3cd7f67f0cf894f4fd5ba16f68e82e4f7bdbfdc5)
2009-01-21 21:17:57 -05:00
kgjenkins c88f823e4c added version 2009-01-21 17:52:10 -05:00
kent 7ceddcd067 2009-01-20 21:04:25 -05:00
Joey Hess b4bbddbf3e add human-readable error when unknown pagespec function is called
It used to replace unknown functions with "0" when translating a pagespec.
Instead, replace it with a FailReason object. This way, the pagespec will
still evaluate as before (possibly successfully if other terminals exist),
but a human-readable error will be shown if the result is displayed.

Also, an empty pagespec used to be replaced with "0", to avoid a eval
error. Also use a FailReason here.
2009-01-20 16:35:18 -05:00
Joey Hess afc1f1d63f cleanup 2009-01-20 11:33:47 -05:00
Joey Hess c174c955ec response 2009-01-20 11:32:48 -05:00
Joey Hess b5309d2dd7 Remove nonstandard css. Closes: #512378 2009-01-20 11:20:13 -05:00
Joey Hess 3547a2a347 fix removal form display
The form was misdisplayed when displayed via comment removal.
2009-01-20 11:12:49 -05:00
Joey Hess a9585d231e Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2009-01-20 11:12:17 -05:00