James Vega
f0852a9e45
utils.web: Provide access to the raw httpUrlRe/urlRe strings
...
Using the compiled regexps for a PluginRegexp method's __doc__ doesn't work.
Closes Sourceforge #2879862
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 25fc2de643
)
2010-08-24 19:14:58 -04:00
James Vega
bb4e09886a
Use utils.web.httpUrlRe for the Web/ShrinkUrl snarfer regexes.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit ca917d3528
)
2010-08-24 19:14:36 -04:00
James Vega
d59ac366b3
ShrinkUrl: Add shrinkSnarfer.showDomain config
...
As requested by BeteNoire, add a config option to disable showing the domain
of the URL shrunk by the snarfer.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-03-07 23:46:50 -05:00
James Vega
99696986f6
Only tag the ircmsg if we actually get one back from irc.reply. We don't in situations like: @topic fit [tiny $url]
2009-03-11 13:37:24 -04:00
James Vega
a3e4fc5b1d
Change the modeline to use softtabstop instead of tabstop.
2006-02-11 15:52:51 +00:00
Jeremy Fincher
490fb0b140
Changed prefixName to prefixNick, which is more appropriate, and has always bothered me. Better now than later.
2005-06-01 21:08:30 +00:00
James Vega
9971e991fe
Fix the modelines.
2005-03-23 20:07:45 +00:00
James Vega
606e92a47f
Add supybot.plugins.ShrinkUrl.bold
2005-03-09 23:29:49 +00:00
Jeremy Fincher
156084c225
Fixed some bugs introduced with the latest refactoring of callCommand, etc.
2005-02-17 22:39:44 +00:00
Jeremy Fincher
2693d404b4
Refactored _callCommand to put it in its appropriate place.
2005-02-16 02:17:05 +00:00
Jeremy Fincher
b0cb616709
Changed callbacks.Privmsg to be callbacks.Plugin, and callbacks.PrivmsgCommandAndRegexp to be callbacks.Plugin.
2005-02-09 07:04:04 +00:00
Jeremy Fincher
18f8044621
Converted ShrinkUrl to use format.
2005-02-01 09:41:39 +00:00
Jeremy Fincher
3d57c404ba
Added ShrinkUrl in the new plugin format.
2005-02-01 09:09:49 +00:00