Commit Graph

18281 Commits (3ba2ef1a54c75a83b6f90a6c01730812ef834086)

Author SHA1 Message Date
http://smcv.pseudorandom.co.uk/ c1c903c54c new bug, new branch 2014-02-21 13:12:17 -04:00
Simon McVittie bb359796b8 protect $@ whenever a block using $@ is non-trivial
As noted in the Try::Tiny man page, eval/$@ can be quite awkward in
corner cases, because $@ has the same properties and problems as C's
errno. While writing a regression test for definetemplate
in which it couldn't find an appropriate template, I received

    <span class="error">Error: failed to process template
    <span class="createlink">deftmpl</span> </span>

instead of the intended

    <span class="error">Error: failed to process template
    <span class="createlink">deftmpl</span> template deftmpl not
    found</span>

which turned out to be because the "catch"-analogous block called
gettext before it used $@, and gettext can call define_gettext,
which uses eval.

This commit alters all current "catch"-like blocks that use $@, except
those that just do trivial things with $@ (string interpolation, string
concatenation) and call a function (die, error, print, etc.)
2014-02-21 17:06:36 +00:00
http://smcv.pseudorandom.co.uk/ 819510caa4 This reverts commit 5321c066db 2014-02-21 12:41:16 -04:00
http://smcv.pseudorandom.co.uk/ 5321c066db 2014-02-21 12:40:54 -04:00
Simon McVittie be3483fe9b git: explicitly specify the branch to push to origin
git's behaviour when doing "git push origin" is configurable, and the
default is going to change in 2.0. In particular, if you've set
push.default to "nothing", the regression test will warn:

fatal: You didn't specify any refspecs to push, and push.default
is "nothing".
'git push origin' failed:  at .../lib/IkiWiki/Plugin/git.pm line 220.
2014-02-21 16:39:17 +00:00
Simon McVittie 5e741c434d Ignore MYMETA.json, produced by recent MakeMaker 2014-02-21 16:39:17 +00:00
http://smcv.pseudorandom.co.uk/ 875f4ec7a8 fix edittemplate vs. template confusion 2014-02-21 12:38:36 -04:00
bastla d2865b5994 oops 2014-02-21 11:24:03 -04:00
Joey Hess 72e92f8003 Merge branch 'master' of ssh://git.ikiwiki.info 2014-02-21 11:19:41 -04:00
bastla 020af308a2 + dk0tu 2014-02-21 11:05:23 -04:00
bastla bf159b51ac Chaosdorf is obviously using Worpress ;) 2014-02-21 11:02:20 -04:00
mchack 3ab731d1e4 2014-02-20 06:26:44 -04:00
mchack f92d4d0c7c 2014-02-20 06:24:59 -04:00
http://smcv.pseudorandom.co.uk/ 66c9f8ef06 despam
This reverts commit 95e7fe3c72
2014-02-19 14:12:30 -04:00
https://www.google.com/accounts/o8/id?id=AItOawn__tFCysLGsfvkdjCr58lkrP0K2YH_lOc 95e7fe3c72 2014-02-19 09:34:54 -04:00
http://smcv.pseudorandom.co.uk/ 665f32302f note httpauth weirdness 2014-02-18 11:08:28 -04:00
https://www.google.com/accounts/o8/id?id=AItOawkg1ahb9sRpZyQp1wuvxpk__x_6llBY5pE 442c53fc2d Forum reply to banned_user check. 2014-02-18 09:10:55 -04:00
http://smcv.pseudorandom.co.uk/ 6a9e0b8bce use adminuser 2014-02-18 08:12:41 -04:00
https://www.google.com/accounts/o8/id?id=AItOawkg1ahb9sRpZyQp1wuvxpk__x_6llBY5pE 4075cf25ca Add forum query about using an inverted banned_user list. 2014-02-18 08:00:11 -04:00
https://www.google.com/accounts/o8/id?id=AItOawkg1ahb9sRpZyQp1wuvxpk__x_6llBY5pE 974a786709 +1'ing 'smcv' idea above my previous entry as I think it's more consistent than mangling a span into a block element. Hope this is OK. 2014-02-18 07:14:27 -04:00
http://smcv.pseudorandom.co.uk/ 3602eea8c2 another way to do this: [[!format]] 2014-02-17 13:31:45 -04:00
Joey Hess d81d20e52c Merge branch 'master' of ssh://git.ikiwiki.info 2014-02-17 12:24:54 -04:00
https://www.google.com/accounts/o8/id?id=AItOawkg1ahb9sRpZyQp1wuvxpk__x_6llBY5pE 205ac1ec79 2014-02-17 12:06:33 -04:00
https://www.google.com/accounts/o8/id?id=AItOawkg1ahb9sRpZyQp1wuvxpk__x_6llBY5pE aa88ad3204 Note work-around for quick changes to the block level formatting of markdown. 2014-02-17 11:57:56 -04:00
http://smcv.pseudorandom.co.uk/ 51bc4e7eb2 implemented 2014-02-14 13:42:37 -04:00
Simon McVittie 1d3b2674c8 Replace Verisign logo with one done in Inkscape
Basically just U+2714 HEAVY CHECK MARK on a circle.
2014-02-14 12:27:18 +00:00
Simon McVittie d233fd8a3d replace AOL logo with one done in Inkscape
Their new logotype is really, really easy to imitate.
2014-02-14 12:26:15 +00:00
Simon McVittie cb24ba61e2 Replace Livejournal icon with something vaguely similar
Drawn in Inkscape and released under the IkiWiki basewiki license.
2014-02-14 12:06:16 +00:00
Simon McVittie f75d8e09d2 openid-selector: remove ClaimID
claimid.com says "After 7 years, 6 months, and 20 days of service,
ClaimID has ceased operations".
2014-02-14 11:37:07 +00:00
Simon McVittie 0ce8222190 Replace Wordpress icon with one taken from its Debian package
I was unable to determine a specific author or copyright holder
for this icon, and listing every potential Wordpress copyright holder
in debian/copyright seems ridiculous.
2014-02-14 11:33:10 +00:00
Simon McVittie b0b3bebff6 Replace Google, Yahoo, Flickr icons with versions by Jakub Steiner
Taken from gnome-online-accounts under LGPL-2.1+.
2014-02-14 11:31:07 +00:00
Simon McVittie b8e2c5aaef Remove MyOpenID from OpenID selector
According to their website, their service will be (was?) shut down
on 1st February 2014.
2014-02-14 10:56:43 +00:00
http://smcv.pseudorandom.co.uk/ 1156f95b92 2014-02-14 06:47:20 -04:00
http://joeyh.name/ a0f554e585 2014-02-12 13:06:00 -04:00
https://www.google.com/accounts/o8/id?id=AItOawl3w7tbNGo_7da1CZiBtWF1DfOaLYS06Eg 71f3a4f4b2 init 2014-02-12 12:38:41 -04:00
Joey Hess 00016e0006 Merge branch 'master' of ssh://git.ikiwiki.info 2014-02-10 11:59:52 -04:00
intrigeri a52dbe92ec Ping for merge request. 2014-02-09 11:04:51 +00:00
Amitai Schlair ee823a02e7 support for Nimble, seems as safe as Markdown 2014-02-06 23:18:13 -05:00
Antoine Beaupré 154c4ea9e6 properly encode and decode from/to utf8 when sending rpc to ikiwiki
somehow, in receive this is not necessary/possible because the xml library expects strings and not unicode
2014-02-03 20:13:28 -05:00
Joey Hess 809a276546 changelog 2014-02-01 16:54:24 -04:00
Tuomas Jormola dc53ca18f2 Bug#737121: ikiwiki: [PATCH] Implement configuration option to set the user agent string for outbound HTTP requests
Package: ikiwiki
Version: 3.20140125
Severity: wishlist

By default, LWP::UserAgent used by IkiWiki to perform outbound HTTP
requests sends the string "libwww-perl/<version number>" as User-Agent
header in HTTP requests. Some blogging platforms have blacklisted the
user agent and won't serve any content for clients using this user agent
string. With IkiWiki configuration option "useragent" it's now possible
to define a custom string that is used for the value of the User-Agent
header.
2014-02-01 16:53:33 -04:00
https://www.google.com/accounts/o8/id?id=AItOawkwqKsWfFCk-NK99S77R2v1JorVCnpzXUA 79e40f0318 2014-01-31 12:59:56 -04:00
https://www.google.com/accounts/o8/id?id=AItOawkwqKsWfFCk-NK99S77R2v1JorVCnpzXUA 09d8381106 2014-01-31 12:58:12 -04:00
http://christian.amsuess.com/chrysn d33a651051 on ikiwiki with gitolite 2014-01-30 11:24:34 -04:00
https://www.google.com/accounts/o8/id?id=AItOawndltpDNFSfEZBR_TIcjeDQRkuuyT1e_3o b3c99d9368 2014-01-28 08:00:27 -04:00
Joey Hess ce8b34f8d2 add news item for ikiwiki 3.20140125 2014-01-25 17:39:40 -04:00
Joey Hess 8e458bd659 update 2014-01-25 17:08:51 -04:00
Joey Hess 90ebe2e57d avoid running this test if File:MimeInfo is not installed
it's needed to get mime types in the feed
2014-01-25 17:08:22 -04:00
Joey Hess 274fbca2ce prep release 2014-01-25 16:41:10 -04:00
zickzackv ffe801504c 2014-01-25 14:11:33 -04:00