Commit Graph

8766 Commits (794dbd24767c8ca856af22d280e3ce3a41e0d8d7)

Author SHA1 Message Date
Joey Hess 794dbd2476 fix moveprefs transition 2008-12-31 14:54:22 -05:00
Joey Hess 2b0473f090 move to correct location 2008-12-31 14:12:37 -05:00
Joey Hess 523650d9c2 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-12-31 14:08:15 -05:00
Joey Hess ffec680608 Merge branch 'next' 2008-12-31 13:33:10 -05:00
intrigeri dc7c11261d need_global_renamepage_hook: proposed solution implemented in my po branch
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-12-31 19:31:34 +01:00
http://ptecza.myopenid.com/ b5e01d54f0 * Now unofficial Ikiwiki backports for Ubuntu Intrepid 2008-12-31 03:43:43 -05:00
Joey Hess 3e8b7a6b19 websetup: Avoid a crash when a new array setup item has been added in a new ikiwiki release, and is thus not present in the setup file yet.
This happened with camelcase_ignore. The code tried to convert the undef
value for it into an array.
2008-12-31 00:44:54 -05:00
Joey Hess 0daa4eb521 make sure value is defined before using it as an array 2008-12-31 00:08:46 -05:00
Joey Hess 47fc59c584 French translation update from Philippe Batailler. Closes: #510216 2008-12-30 13:38:27 -05:00
http://smcv.pseudorandom.co.uk/ 8c571160cf planning a future plugin 2008-12-29 17:25:12 -05:00
Joey Hess caf091eae3 update 2008-12-29 15:58:20 -05:00
Joey Hess 1ca191b570 Merge branch 'master' into next 2008-12-29 15:08:32 -05:00
Joey Hess f34dc3d8bd htmlbalance: Demand-load HTML::TreeBuilder to avoid failing test suite if it is not present. 2008-12-29 15:08:18 -05:00
Joey Hess 82e6902a67 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-12-29 14:59:48 -05:00
Joey Hess ee598e42f6 some initial instructions for publishing wikis on github 2008-12-29 14:58:54 -05:00
http://blog.mithis.net/ 3032909090 2008-12-29 02:01:49 -05:00
http://blog.mithis.net/ 1ac4637d4f 2008-12-29 01:26:34 -05:00
Joey Hess 00e55ed171 1st comment spam 2008-12-28 22:31:22 -05:00
Joey Hess f982a620f2 formatting 2008-12-28 22:23:15 -05:00
Joey Hess 0711c0c548 comments: Add cache avoidance.
This got lost when we added the jump-to-comment anchor.
2008-12-28 22:20:22 -05:00
Joey Hess d8f16c4d95 clarify cgiurl setting 2008-12-28 22:03:34 -05:00
Joey Hess c256a53fcb Replace blank OpenID placeholder logo with an unofficial OpenID logo developed by Anna Hess. The official logo does not seem destined to be free. 2008-12-28 16:19:47 -05:00
Joey Hess 17b2afe721 Merge branch 'master' into next
Conflicts:

	debian/changelog
	po/ikiwiki.pot
2008-12-28 15:12:11 -05:00
Joey Hess 82d94d4d4a add news item for ikiwiki 2.72 2008-12-28 15:05:33 -05:00
Joey Hess ec14786c90 releasing version 2.72 2008-12-28 15:05:05 -05:00
Joey Hess 25879952b1 typo 2008-12-26 21:45:12 -05:00
Joey Hess c4f3d0554a Merge branch 'master' into next 2008-12-26 16:11:13 -05:00
Joey Hess 7da319efc6 inline: Run format hook first
inline has a format hook that is an optimisation hack. Until this hook
runs, the inlined content is not present on the page. This can prevent
other format hooks, that process that content, from acting on inlined
content. In bug ##509710, we discovered this happened commonly for the
embed plugin, but it could in theory happen for many other plugins (color,
cutpaste, etc) that use format to fill in special html after sanitization.

The ordering was essentially random (hash key order). That's kinda a good
thing, because hooks should be independent of other hooks and able to run
in any order. But for things like inline, that just doesn't work.

To fix the immediate problem, let's make hooks able to be registered as
running "first". There was already the ability to make them run "last".

Now, this simple first/middle/last ordering is obviously not going to work
if a lot of things need to run first, or last, since then we'll be back to
being unable to specify ordering inside those sets. But before worrying about
that too much, and considering dependency ordering, etc, observe how few
plugins use last ordering: Exactly one needs it. And, so far, exactly one
needs first ordering. So for now, KISS.

Another implementation note: I could have sorted the plugins with
first/last/middle as the primary key, and plugin name secondary, to get a
guaranteed stable order. Instead, I chose to preserve hash order. Two
opposing things pulled me toward that decision:

1. Since has order is randomish, it will ensure that no accidental
   ordering assumptions are made.
2. Assume for a minute that ordering matters a lot more than expected.
   Drastically changing the order a particular configuration uses could
   result in a lot of subtle bugs cropping up. (I hope this assumption is
   false, partly due to #1, but can't rule it out.)
2008-12-26 16:09:23 -05:00
Joey Hess 733c7592b7 update 2008-12-26 15:29:04 -05:00
Joey Hess c2d2ff0199 deprecate embed plugin too
I see that this plugin's lists of safe content are already well out of
date, and htmlscrubber_skip offers a non whitelist based approach, so let's
deprecate this plugin for 3.0.
2008-12-26 15:27:49 -05:00
Joey Hess dbd95c67bc add link to untrusted git push 2008-12-26 15:06:00 -05:00
Joey Hess 6f1539320b Merge branch 'master' into next 2008-12-26 14:07:25 -05:00
Joey Hess 9db06329c9 comments: Deal with users entering unqualified or partial urls.
People seem to be able to expect to enter www.foo.com and get away with it.
The resulting my.wiki/www.foo.com link was not ideal.

To fix it, use URI::Heuristic to expand such things into a real url. It
even looks up hostnames in the DNS if necessary.
2008-12-26 14:07:19 -05:00
Joey Hess 914c839ceb Merge branch 'master' into next
Conflicts:

	IkiWiki/Plugin/googlecalendar.pm
2008-12-25 16:36:16 -05:00
Joey Hess 0d406010ff googlecalendar: Add runtime deprecation warning. 2008-12-25 16:31:58 -05:00
Joey Hess 5f55ee0b78 more 3.0 docs, changelog 2008-12-24 19:55:43 -05:00
Joey Hess 04f064e78a make ikiwiki-transition prefix_directives take a setup file
This is easier to remeber, and less error-prone than passing it all the
pages in the wiki.
2008-12-24 19:48:42 -05:00
Joey Hess c1fa208f25 remove top-level directive page from basewiki 2008-12-24 16:29:31 -05:00
Joey Hess 3fbe2569ff remove deprecated googlecalendar plugin 2008-12-24 16:22:35 -05:00
Joey Hess 7ba65e7f4b remove deprecated admin prefs
A new ikiwiki-transition moveprefs subcommand can pull the old data out of
the userdb and inject it into the setup file.

Note that it leaves the old values behind in the userdb too. I did this
because I didn't want to lose data if it fails writing the setup file for
some reason, and the old data in the userdb will only use a small amount of
space. Running the command multiple times will mostly not change anything.
2008-12-24 16:16:03 -05:00
Joey Hess c58f0eaa70 typo 2008-12-24 15:26:50 -05:00
Joey Hess e3b7d18929 close 2008-12-23 20:08:01 -05:00
Joey Hess c9e65fded1 camelcase: Add camelcase_ignore setting. 2008-12-23 19:11:03 -05:00
http://puck.openid.org/ 20731f761f 2008-12-23 18:05:38 -05:00
http://puck.openid.org/ 4d1d4db927 2008-12-23 17:48:05 -05:00
Joey Hess 3f3ff3f812 update 2008-12-23 17:36:57 -05:00
Joey Hess 70dc0355bd Merge branch 'master' into next
Conflicts:

	IkiWiki.pm
2008-12-23 17:22:57 -05:00
Joey Hess f65311bddb hack to avoid globlist deprecaton message false positive 2008-12-23 17:19:27 -05:00
Joey Hess 149fbf97d6 update 2008-12-23 17:14:47 -05:00
Joey Hess c8cde4858e Add deprecation warning for GlobLists, which will stop working in 3.0. 2008-12-23 17:13:57 -05:00