James Vega
d95cdfec34
Remove supybot-plugin-package from the set of installed files.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit e393ea5917
)
2010-08-24 19:21:49 -04:00
James Vega
56d97e0eeb
Remove supybot-plugin-package.
...
It was never fully fleshed out. If someone wants to finish it, they can
rewrite it or dig it out of the history and finish it.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 899391e4dc
)
2010-08-24 19:16:20 -04:00
James Vega
c5df44204d
Use '2x' to reference Python version in README.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 96aaf159f6
)
2010-08-24 19:16:10 -04:00
James Vega
2688467a31
Re-word the private message FAQ since +E UMODE is no longer default.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit dc3cdbd849
)
2010-08-24 19:15:51 -04:00
James Vega
0bd9a8b6f4
Use the correct URLs for the PySqlite website.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 927c8c963a
)
2010-08-24 19:15:27 -04:00
James Vega
dcdbd5bea4
Update references to PySqlite URL
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit f475525237
)
2010-08-24 19:15:17 -04:00
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
Benjamin P. Burhans
750fb2ccdc
Check for empty word list in BadWords plugin before filtering.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 6418b3d8c3
)
2010-08-24 19:13:09 -04:00
James Vega
3e984c71d0
Clarify databases.types.cdb.maximumModifications' help and use a proper type.
...
The code expects a float between 0 and 1 inclusive but was simply using
registry.Float. registry.Probability matches the behavior we want.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit e9a896c736
)
2010-08-24 19:12:44 -04:00
James Vega
5a0f96fc8e
Reply with an error when getBanmask doesn't have a valid channel.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 459bc616b1
)
2010-08-24 19:12:21 -04:00
James Vega
bdf9e8836b
Ensure getBanmask has a channel variable as per makeBanmask's requirement
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 260570bd4f
)
2010-08-24 19:12:09 -04:00
Štěpán Němec
bc1c159d27
QuoteGrabs plugin: Add an `ungrab' command.
...
Also add a missing error check in the `list' db method.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit e922918564
)
2010-08-24 19:09:43 -04:00
Štěpán Němec
d7d5ccea50
scripts/supybot: Unify the `os.linesep' vs '\n' usage.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 2242b26025
)
2010-08-24 19:03:43 -04:00
Štěpán Němec
4cc8fdecdc
Note plugin: Fix erroneous use of __contributors__.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit a693162059
)
2010-08-24 19:03:27 -04:00
James Vega
6bebc383b4
ChannelStats.rank now starts from 1 instead of 0
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 169aee3bc0
)
2010-08-24 19:02:58 -04:00
James Vega
5b8bae5d5f
Escape '-' where necessary in supybot.1
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit aa9db7ba23
)
2010-08-24 19:02:43 -04:00
Ricky Zhou
6299ef5c22
Account for negative times in timeElapsed.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit aa2337791a
)
2010-08-24 19:02:16 -04:00
James Vega
885d60a132
QuoteGrabs: QuoteGrabsRecord at arg needs to be an int.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit cbf68e53e3
)
2010-08-24 19:02:05 -04:00
James Vega
d43d083f44
User: getHostmasks should always return a string
...
Since it was calling irc.reply() in one case, we had both that irc.reply being
sent and the irc.reply() of what getHostmasks returned (None in that case).
Bad!
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit dcb247494e
)
2010-08-24 19:01:55 -04:00
James Vega
965f4e79b8
User: Fix hostmask.list to show the user's name not the repr user object
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 9dccada152
)
2010-08-24 19:01:44 -04:00
James Vega
7aeedea6f6
Updated ChannelIdDatabasePlugin's getCommandHelp signature
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit c9329303d3
)
2010-08-24 19:01:26 -04:00
James Vega
26cefc78f4
Channel: alert should not require the caller to have op capability
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit ba29f0787c
)
2010-08-24 19:01:12 -04:00
James Vega
2b0b74dfe0
Google: Keep the list of supported languages in one place.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 461f943d97
)
2010-08-24 19:01:00 -04:00
James Vega
65a180798f
QuoteGrabs: Fix incorrect argument order to _grab
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 874508867f
)
2010-08-24 19:00:34 -04:00
Ricky Zhou
4eb30069bf
Try using simplejson instead if json-py is installed.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 416a6e8dd2
)
2010-08-24 19:00:14 -04:00
James Vega
8bb49e8873
supybot-wizard: Handle os.makedirs errors on Windows
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 3c898fa483
)
2010-08-24 19:00:05 -04:00
James Vega
a1286f8f43
release.py: Remove the archives after uploading to Sourceforge
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit b170d5f9c3
)
2010-08-24 18:59:57 -04:00
James Vega
024a77af48
Updated to 0.83.4.1+git.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 332a614eef
)
2010-08-24 18:59:46 -04:00
James Vega
a8d2e35fb1
Initial pass at Sphinx documentation.
...
Rename all existing documentation files to *.rst.
Fix up some of the formatting to work better as reStructuredText.
Add Sphinx's output directories to gitignore.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-08-24 18:24:52 -04:00
James Vega
166f32dcb0
Ensure channel-specific reply.whenNotAddressed works.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-07-26 19:48:37 -04:00
James Vega
3090cffe2c
Include String plugin for Utilities' tests.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-07-11 11:04:33 -04:00
James Vega
0bfa0d153c
ShrinkUrl: Add serviceRotation config.
...
When configured, the outFilter and shrinkSnarfer use cycle through
serviceRotation's list of services. Otherwise, the default service is used.
Closes: deb#539858
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-07-11 10:47:37 -04:00
James Vega
acffde68ab
Services: Don't filter outgoing JOIN messages on disabled networks
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-06-27 19:48:36 -04:00
James Vega
0c62204809
Use conf.registerGlobalValue to ensure generated values are properly setup.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-06-24 00:37:40 -04:00
James Vega
c10d964604
Elide ignored replies from nested command output.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-06-24 00:33:04 -04:00
James Vega
d78f7b6ac5
Services: Properly register the NickServ.password group and child values.
...
Closes: Sf#3019174
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-06-21 19:35:35 -04:00
James Vega
0e22e218f0
supybot: Remove extraneous sys.stdin.close()
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-06-20 09:40:57 -04:00
James Vega
f926804f40
Services: Fix conflict with callbacks.Commands.isDisabled
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-06-19 22:38:27 -04:00
Daniel Folkinshteyn
432228c736
fix google calc to work when doing a currency conversion.
...
made the calcre more generic, so it finds stuff on both math and currency.
nothing a little exploration of google html page source couldn't solve.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-06-19 18:01:38 -04:00
Daniel Folkinshteyn
8daebd1240
make Misc.apropos return plugin name even if command is in only one plugin.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-06-19 17:20:20 -04:00
James Vega
9e73f4482c
Services: Disable most of the plugin on networks in the disabled list.
...
Notify the user when trying to use the commands on a disabled network, ignore
noJoinsUntilIdentified, and don't try communicating with services.
Closes: Sf#3018464
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-06-19 16:59:13 -04:00
James Vega
adc5d62bbf
Twisted: Send all available ircmsgs and reduce delay between checks
...
All ircmsgs that takeMsg will return should be processed each time
checkIrcForMsgs is called since there may be multiple available in the
fastqueue.
Reduced the time between calls of checkIrcForMsgs so the delay between
normally queued ircmsgs stays close to the configured throttleTime.
Closes: Sf#3018148
2010-06-18 20:33:43 -04:00
James Vega
a278d17f2b
Socket: Ensure driver is flagged as disconnected after a socket error.
...
Users were occasionally hitting a situation where the socket had errored,
causing a reconnect, but the socket wasn't closed nor the driver marked as
disconnected. This resulted in run() continuing to try and use the driver,
which would cause another error, schedule another reconnect, log an error, ad
infinitum.
Closes: Sf#2965530
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-05-24 23:36:29 -04:00
James Vega
f03a3f6c85
utils/web.py: Only try catching socket.sslerror if built with SSL support
...
Closes: Sf#2998820
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-05-24 15:44:25 -04:00
James Vega
57e894de58
Anonymous: Implement support for allowPrivateTarget config.
...
Closes: Sf#2991515
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-05-24 15:21:58 -04:00
Daniel Folkinshteyn
40941e044a
fix bug in RSS.announce.list:
...
Because the 'channel' argument was declared optional, calling announce.list
off-channel without a channel argument caused an error.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-05-24 14:46:04 -04:00
Jeremy Fincher
6135a88741
Updates and tweaks to some ircutils functions.
2010-05-18 12:48:36 -05:00
James Vega
5ccb242657
Re-add re import since capability-checking code relies on it.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-05-15 21:55:05 -04:00
Štěpán Němec
18ef6dadfc
Topic plugin: Restore topic automatically after join if not set.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-05-11 18:23:33 -04:00