Commit Graph

9463 Commits (5dd1e097501a4076c19d4a372ca8528e01508b6e)

Author SHA1 Message Date
Jon Dowland 5dd1e09750 new todo item: more flexible inline postform 2009-04-24 14:26:45 +01:00
NicolasLimare 8656029c02 2009-04-24 05:48:03 -04:00
Joey Hess 528f8f83ea simplifiy 2009-04-23 16:40:45 -04:00
Joey Hess 85ae48b21e Revert "pagespec_match_list * optimisation"
This reverts commit 2f96c49bd1.

I forgot about internal pages. We don't want * matching them!

I left the optimisation in pagecount, where it used to live.
Internal pages probably don't matter when they're just being
counted.
2009-04-23 16:35:56 -04:00
Joey Hess 4030f75765 avoid using pagespec_match_list here
I forgot to check if it was called from preprocess, and it is
not; it's called by a format hook. If an error is thrown from
a format hook, wiki build fails, so we don't want that.
2009-04-23 16:26:54 -04:00
Joey Hess 14d8df55ad simplify 2009-04-23 16:23:52 -04:00
Joey Hess 2f96c49bd1 pagespec_match_list * optimisation
Add an optimisation for the semi-common case of a "*" pagespec. Can
avoid doing any real processing in this case.
2009-04-23 16:20:18 -04:00
Joey Hess 860a867078 formatting 2009-04-23 16:14:35 -04:00
Joey Hess e3ccf393c6 typo 2009-04-23 16:13:40 -04:00
Joey Hess aa306957ba pagespec_match_list added and used in most appropriate places
* pagespec_match_list: New API function, matches pages in a list
  and throws an error if the pagespec is bad.
* inline, brokenlinks, calendar, linkmap, map, orphans, pagecount,
  pagestate, postsparkline: Display a handy error message if the pagespec
  is erronious.
2009-04-23 15:45:30 -04:00
Joey Hess 527d178c12 comments: Add link to comment post form to allow user to sign in if they wish to, if the configuration makes signin optional for commenting. 2009-04-23 14:56:10 -04:00
Joey Hess 748aa7af77 pagespec error/failure distinction and error display by inline
* Add IkiWiki::ErrorReason objects, and modify pagespecs to return
  them in cases where they fail to match due to a configuration or syntax
  error.
* inline: Display a handy error message if the inline cannot display any
  pages due to such an error.

This is perhaps somewhat incomplete, as other users of pagespecs do not
display the error, and will eventually need similar modifications to inline.
I should probably factor out a pagespec_match_all function and make it throw
ErrorReasons.
2009-04-23 14:07:28 -04:00
Joey Hess 2c74f09bb8 relativedate: Deal with clock skew.
If the server has a clock running a bit ahead of the web browsing client,
relativedate could cause somewhat confusing displays like "3 seconds from now"
for just posted things.

As a hack, avoid displaying times in the future if they're less than a
small slip forward. I chose 30 minutes because both client and server could
be wrong in different directions, while it's still close enough that "just
now" is not horribly wrong.
2009-04-23 13:39:42 -04:00
Joey Hess 86d6b40070 two problems 2009-04-22 16:12:54 -04:00
Joey Hess 5e1b3c0c36 plan of attack 2009-04-22 16:00:36 -04:00
Joey Hess 338d4ccff1 fix id 2009-04-22 15:38:50 -04:00
Joey Hess 252edaea66 clarify 2009-04-22 15:36:40 -04:00
Joey Hess 565e5291cd websetup: If setup fails, restore old setup file. 2009-04-22 14:05:37 -04:00
Joey Hess 30308664a6 document how to get to the moderation page 2009-04-22 13:35:17 -04:00
Joey Hess 55377e7336 blogspam: Load RPC::XML library in checkconfig, so that an error can be printed at that point if it's not available, allowing the admin to see it during wiki setup. Closes: #520015 2009-04-22 13:33:20 -04:00
Joey Hess 4fbe1c3d44 websetup: Display stderr in browser if ikiwiki setup fails. 2009-04-22 13:31:56 -04:00
Víctor Moral e88ef0362c updated spanish translation 2009-04-22 12:27:22 -04:00
Joey Hess 3177b3f76b Add python:Depends to control file. Closes: #525086 2009-04-21 21:46:01 -04:00
Joey Hess 039f075d61 response 2009-04-20 13:47:53 -04:00
intrigeri b42195625c pagetitle_function_does_not_respect_meta_titles: proposal 2009-04-20 19:00:12 +02:00
intrigeri f632cb2f8f po: answered Joey, at last
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-04-20 11:53:04 +02:00
simonraven 2cc3f5d057 2009-04-20 05:04:53 -04:00
Joey Hess 4e935d300e clarification, response 2009-04-19 15:19:43 -04:00
simonraven 48e369366e typo 2009-04-19 13:29:53 -04:00
simonraven b2e4201349 2009-04-19 13:28:57 -04:00
Joey Hess 1051da4835 add news item for ikiwiki 3.10 2009-04-18 22:52:17 -04:00
Joey Hess e88a110d62 releasing version 3.10 2009-04-18 22:51:25 -04:00
http://furicle.pip.verisignlabs.com/ 4f53b59df7 typo - but it bugged me... 2009-04-16 17:11:54 -04:00
http://furicle.pip.verisignlabs.com/ 78f5e553e7 2009-04-16 16:55:49 -04:00
Joey Hess 7d0e245e28 it's a wiki, so yes 2009-04-15 14:45:23 -04:00
http://furicle.pip.verisignlabs.com/ f4af769638 2009-04-15 13:55:37 -04:00
http://furicle.pip.verisignlabs.com/ 753c7246c2 2009-04-15 13:50:28 -04:00
http://furicle.pip.verisignlabs.com/ 0cfa75e297 Just dumb keyboard hammering 2009-04-15 13:48:21 -04:00
http://furicle.pip.verisignlabs.com/ 01c8c929bc Just dumb keyboard hammering 2009-04-15 13:46:42 -04:00
http://schmonz.livejournal.com/ 5c0f698121 patching Wrapper.pm no longer necessary as of 2.67 2009-04-14 23:42:53 -04:00
http://www.cse.unsw.edu.au/~willu/ 825366a007 Respond, and close bug 2009-04-14 22:29:57 -04:00
Joey Hess 69a814c011 not a bug 2009-04-14 15:51:25 -04:00
simonraven 79fd3c9733 2009-04-13 15:03:38 -04:00
simonraven b35951026d 2009-04-13 14:59:49 -04:00
simonraven 27d8695490 2009-04-13 14:55:27 -04:00
http://www.cse.unsw.edu.au/~willu/ 461053db6a Add patch 2009-04-13 08:38:25 -04:00
simonraven 91031f7818 2009-04-13 02:35:21 -04:00
simonraven c6981e2025 2009-04-12 20:20:38 -04:00
simonraven 0feb3eda82 2009-04-12 20:16:10 -04:00
simonraven f67c714c50 2009-04-12 06:55:24 -04:00