James McCoy
cef93a6cfd
Use relative imports for all packages under the supybot namespace
...
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2012-09-17 22:12:11 -04:00
skizzhg
84931cd0ea
conf.py: Fix typo.
2012-09-10 18:10:18 +02:00
Valentin Lorentz
eaf6877700
httpserver: Add favicon support.
2012-09-03 10:35:54 +02:00
James McCoy
82ecf36fcd
Update my name/contact information
...
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2012-09-01 10:16:48 -04:00
James McCoy
232aa86a1e
Merge branch 'maint/0.83.4'
2012-09-01 09:13:52 -04:00
Valentin Lorentz
fc9daa9953
Make supybot.reply.oneToOne channel-specific.
2012-08-10 12:27:25 +00:00
Valentin Lorentz
45bf9db03c
Merge branch 'py3k-backport' into testing
...
This branch provides support of Python 3 via 2to3 (without dropping
Python 2 support).
2012-08-08 21:46:29 +02:00
Valentin Lorentz
e3d170d9fe
Add support for network-specific umodes.
2012-08-06 15:59:00 +02:00
Valentin Lorentz
14200e002a
Rename cdb.open to cdb.open_db and open cdb files in binary mode.
2012-08-05 15:47:30 +02:00
Valentin Lorentz
0c99a65afa
src/conf.py: Use classic comparison instead of str.translate.
2012-08-04 22:47:16 +02:00
Valentin Lorentz
21409af405
Revert "Add ° as a prefix character."
...
This reverts commit 0af7d791cc
.
° is differently encoded in unicode and latin1.
2012-08-02 13:26:44 +00:00
Valentin Lorentz
0af7d791cc
Add ° as a prefix character.
2012-08-02 13:15:50 +00:00
Valentin Lorentz
ef78c86974
Add configuration variable supybot.reply.format.url.
2012-07-31 13:12:33 +00:00
Daniel Folkinshteyn
a31350f14a
Consolidate the version string to reside in one central place to ease change making.
...
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2012-06-17 10:42:44 -04:00
Valentin Lorentz
b7bc11deea
Prevent the 'hostmask' converter from returning '*!*@*' while 'foo!*@*' was given.
2012-05-22 23:10:40 -04:00
skizzhg
977f3f5110
Fix typoes in core.
2012-04-23 21:55:21 +02:00
Valentin Lorentz
92027d1046
Fix help for supybot.directories.backup.
2012-04-17 11:49:03 +02:00
Valentin Lorentz
cf073bbd73
Fix duplicated sentence in supybot.directories.backup's help.
2012-04-14 11:09:11 +00:00
Valentin Lorentz
a5e8f8ede8
Allow supybot.directories.backup to be /dev/null.
2012-03-15 20:22:46 +01:00
nyuszika7h
6e699816d0
Channel: Make supybot.alwaysJoinOnInvite channel-specific. Closes GH-159.
2012-01-02 14:15:01 +01:00
Valentin Lorentz
fc3d3e6c01
Prevent the 'hostmask' converter from returning '*!*@*' while 'foo!*@*' was given.
2011-12-27 11:55:50 +01:00
Valentin Lorentz
0caf7dba5b
Fix network registration (SASL password should not be set up on registration).
2011-12-03 12:36:16 +01:00
James McCoy
8b73f78b3e
Merge branch 'maint/0.83.4'
...
Conflicts:
plugins/Misc/plugin.py
src/ircutils.py
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-11-13 15:26:19 -05:00
Valentin Lorentz
61157f1a70
Remove buggy configuration variable help.
2011-10-29 12:23:19 +02:00
Valentin Lorentz
be438b45c2
Add configuration variable supybot.servers.http.robots.
2011-10-29 12:13:09 +02:00
Valentin Lorentz
e253fe1543
Allow network-specific nicks. Closes GH-134.
2011-10-27 12:31:37 +02:00
nyuszika7h
25dcadfe68
conf.py: remove surrounding spaces around '=' for sasl_username.
2011-09-14 11:39:00 +02:00
nyuszika7h
e140fc76f5
conf.py: Change username to sasl_username and add it as last argument.
2011-09-13 19:55:31 +02:00
nyuszika7h
c8c2f125a1
conf.py: remove part about server-specific password for supybot.networks.<network>.sasl.password.
2011-09-13 17:01:18 +02:00
nyuszika7h
dcaefbdcf5
Add SASL support to core.
2011-09-13 11:07:52 +02:00
Valentin Lorentz
be585ecea9
Merge remote-tracking branch 'supybot/maint/0.83.4' into testing
...
Conflicts:
src/ircutils.py
2011-08-23 16:41:52 +02:00
skizzhg
94548c4dd6
src/conf.py: fix typos.
2011-08-06 18:51:46 +02:00
Valentin Lorentz
952db3a6bd
supybot.servers.http.keepAlive defaults to False.
2011-06-24 18:12:43 +02:00
Valentin Lorentz
13e4f45e30
Add an embedded HTTP server to Supybot.
2011-06-24 14:31:29 +02:00
Valentin Lorentz
693ba6aba0
Don't tell owner to contact an admin. Closes GH-20.
2011-06-22 21:37:34 +02:00
Valentin Lorentz
3e76a72e7c
Use limnoria as a default ident (instead of supybot)
2011-06-13 11:25:19 +02:00
James Vega
543e78828b
Add utils.net.isIPV4, with utils.net.isIP checking v4 or v6
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2011-06-06 21:44:15 -04:00
Daniel Folkinshteyn
05c9482759
Consolidate the version string to reside in one central place to ease change making.
2011-04-26 10:23:18 +02:00
Valentin Lorentz
872e92eaff
Merge branch 'testing'
2011-03-08 15:21:31 +01:00
Valentin Lorentz
44458d4b57
Change version number to 0.83.4.1+git+fr3
2011-02-27 12:01:51 +01:00
Daniel Folkinshteyn
e939cfd124
update Karma plugin and test code to use sqlite3.
...
This involved also updating src/conf.py to look for sqlite3 and add it to supybot.conf.databases list,
since karma uses the plugins.DB() constructor for its database, which checks the available databases list.
2011-02-25 19:11:58 +01:00
Valentin Lorentz
0223e9c210
Change release number to 0.83.4.1+git+fr2
2011-01-29 10:29:05 +01:00
Valentin Lorentz
713aae9017
Change the version suffix
2010-11-02 14:06:06 +01:00
Valentin Lorentz
51edf7325c
Merge branch 'l10n-fr' into testing
2010-10-31 18:37:15 +01:00
Valentin Lorentz
4c03aef9a6
Internationalize a string in conf.py
2010-10-31 13:41:36 +01:00
Valentin Lorentz
44c3eb1825
Changes version
2010-10-24 13:54:35 +02:00
Valentin Lorentz
6b26861c23
Internationalize callbacks.py, commands.py, and conf.py ; and generated the messages.pot
2010-10-20 18:27:58 +02:00
Valentin Lorentz
4a5b98507f
Revert 9a2eea4272
2010-10-10 16:54:46 +02:00
Valentin Lorentz
9a2eea4272
Change the version name
2010-10-10 16:34:34 +02:00
James Vega
2a18d07a2e
Default to strict RFC compliance.
...
It's better to force people to use an RFC nick and change it after they
connect than to let non-RFC nicks get used and not be able to connect to the
network.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 07e283f450
)
2010-08-24 19:26:13 -04:00
James Vega
9ddf07ce97
Allow Banmask.makeBanmask to work when dynamic.channel is None.
...
This gives back the ability to generate a banmask based on the global banmask
settings instead of per-channel settings.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 8a98653d3b
)
2010-08-24 19:23:25 -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
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
07e283f450
Default to strict RFC compliance.
...
It's better to force people to use an RFC nick and change it after they
connect than to let non-RFC nicks get used and not be able to connect to the
network.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-11-18 20:02:53 -05:00
James Vega
8a98653d3b
Allow Banmask.makeBanmask to work when dynamic.channel is None.
...
This gives back the ability to generate a banmask based on the global banmask
settings instead of per-channel settings.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-11-01 10:26:08 -05:00
James Vega
e9a896c736
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>
2009-09-11 18:09:38 -04:00
Jeremy Fincher
b9d6277e30
Added supybot.abuse.flood.command.invalid.notify, a configuration variable determining whether the bot will notify infractors of their ignoring.
2009-06-09 10:40:05 -05:00
James Vega
332a614eef
Updated to 0.83.4.1+git.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-25 13:38:22 -04:00
James Vega
27a4ef0ed3
Updated to 0.83.4.1.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-25 13:38:12 -04:00
James Vega
3535f6a702
Updated to 0.83.4+git.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-18 03:49:52 -04:00
James Vega
f32c886692
Updated to 0.83.4.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-18 03:49:42 -04:00
James Vega
6986fc7abe
Do not store the install directory in directories.plugins
...
We automatically determine the directory anyway, so there's no need to clutter
the config file with it. Instead, simply include the directory when we
perform the search for the plugin.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-03-12 14:50:46 -04:00
James Vega
46a4076988
Add .gitignore
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-02-27 14:17:31 -05:00
James Vega
775fe6fd4c
Move plugins.Channel.banmask to protocols.irc.banmask
...
Also add protocols.irc.banmask.makeBanmask as a common function for
getting a banmask from a hostmask.
2009-03-11 13:37:27 -04:00
James Vega
a84a0423ad
Only import cdb if it's needed
2009-03-11 13:37:27 -04:00
James Vega
0d5462f446
Remove "Twisted is used if detected" from supybot.drivers.module
...
This description is no longer accurate as the autodetection code has
been disabled for almost 3 years.
2009-03-11 13:37:27 -04:00
James Vega
0278318ed9
Add +svn to the version
2009-03-11 13:37:24 -04:00
James Vega
7bb3b1ec60
Merge the changes from the python25compat branch into the trunk
2009-03-11 13:37:24 -04:00
James Vega
29778f5ada
Fix the registry type for supybot.replies.possibleBug.
2007-05-09 01:03:28 +00:00
James Vega
f91318e8f1
src/conf.py: Don't use a NormalizedString for supybot.replies.possibleBug since it breaks up the URL.
2006-10-05 13:35:09 +00:00
James Vega
99630bc3f5
Bump versions to 0.83.2+darcs
2006-07-27 14:53:34 +00:00
James Vega
a3e4fc5b1d
Change the modeline to use softtabstop instead of tabstop.
2006-02-11 15:52:51 +00:00
James Vega
84b1c7b59a
src/conf.py: Update the help string for supybot.drivers.module. It no longer refers to asyncore and specifies that Twisted is used by default if detected.
2006-01-16 13:44:59 +00:00
James Vega
0af83d2e24
src/conf, plugins/Owner, plugins/Network: Add support for specifying an ssl connection via Network.connect.
2005-12-14 04:20:04 +00:00
James Vega
fe72d703df
+darcs
2005-09-02 02:23:49 +00:00
James Vega
0974d70ca4
Version 0.83.1
2005-09-02 02:13:51 +00:00
James Vega
92b7925fb0
+darcs
2005-08-31 00:04:54 +00:00
James Vega
b701d0f436
UNDO: +darcs
2005-08-30 23:43:51 +00:00
James Vega
b74c0e6200
+darcs
2005-08-30 23:43:51 +00:00
James Vega
2e38b5ed06
Version 0.83.0
2005-08-30 23:39:46 +00:00
James Vega
c268aab9bd
+darcs
2005-05-30 04:36:01 +00:00
James Vega
14752347e2
Initial changelog and version changes for 0.83.0rc3.
2005-05-30 04:28:24 +00:00
Jeremy Fincher
49e74670a4
Made the maxReconnectWait configurable.
2005-05-19 23:38:13 +00:00
James Vega
23c0d23a01
src/conf.py: addhostmask is now "hostmask add"
2005-05-18 02:38:41 +00:00
James Vega
8693dbd5cc
Update version numbers for 0.83.0rc2.
2005-05-12 15:59:02 +00:00
James Vega
ae5b51fe97
Add +darcs to version.
2005-05-06 15:07:34 +00:00
James Vega
6666e25327
Forgot to update the version numbers.
2005-05-06 14:19:12 +00:00
Jeremy Fincher
b48ca7ab71
Added supybot.protocols.irc.queuing.rateLimit.join, to throttle joins.
2005-04-14 01:35:35 +00:00
Jeremy Fincher
73f639b55f
Changed supybot.protocols.irc.refuseToQueueDuplicateMessages to supybot.protocols.irc.queuing.duplicates.
2005-04-14 00:56:26 +00:00
James Vega
aea980ce41
Update ValidChannel exceptions to contain the invalid channel.
2005-04-04 03:05:52 +00:00
James Vega
9971e991fe
Fix the modelines.
2005-03-23 20:07:45 +00:00
Ali Afshar
32e0b29fcd
SSL server support for Twisted driver.
2005-03-04 14:36:17 +00:00
Jeremy Fincher
08b4359be0
Fix for bug #1143733 .
2005-02-18 18:41:38 +00:00
Jeremy Fincher
e6645df9aa
Removed the generated value, which is less than useful.
2005-02-18 08:30:35 +00:00
James Vega
90c000793d
utils.gen.* functions shouldn't explicitly be called since they're all in the utils namespace.
2005-02-15 13:57:57 +00:00
Jeremy Fincher
adff889c44
Added a skeletal Plugin plugin.
2005-02-09 07:07:11 +00:00
Jeremy Fincher
3a7202bfbe
More ignorance can never hurt.
...
Added supybot.plugins.Relay.ignores, a channel configuration variable that allows people to specify hostmasks that are ignored.
2005-02-09 00:39:11 +00:00
Daniel DiPaolo
4125f97381
Updating version from 0.80.0 to 0.80.1+darcs
2005-02-04 02:17:18 +00:00
Jeremy Fincher
e6beec2989
Removed some more unused imports.
2005-02-04 03:11:02 +00:00
Jeremy Fincher
6b75be6e60
Changed supybot.protocols.irc.queueDuplicateMessages.
...
Changed supybot.protocols.irc.queueDuplicateMessages to
supybot.protocols.irc.refuseToQueueDuplicateMessages, and changed the default
to be to allow duplicate messages, rather than to reject them.
2005-02-03 20:13:49 +00:00
Jeremy Fincher
f6e132dde4
Added test_format.py, added floating point formatting to format, and fixed a bug in the %t format.
2005-02-01 11:57:50 +00:00
Jeremy Fincher
f44be3b864
Allow timestamps in format to be None, indicating the current time.
2005-02-01 09:53:08 +00:00
James Vega
28cb5abc65
Update usage of functions in utils.gen.
2005-01-31 13:06:43 +00:00
Jeremy Fincher
a19a979499
Robustified and improved utils.str.format a bit; added a simple test.
2005-01-28 15:23:18 +00:00
Jeremy Fincher
1f1d85f249
Removed an unused variable (_srcDir)
2005-01-28 15:22:59 +00:00
Jeremy Fincher
5fd6bbb52d
Completely restructured our utils modules.
...
Tons of changes. Here's the summary of things that matter most:
* There is no more supybot.fix.
* There is no more supybot.webutils; now there is supybot.utils.web.
* It's no longer webutils.WebError, but just utils.web.Error.
* You shouldn't import itertools, ideally, but instead import utils.iter.
* No more using imap/ifilter in commands unless absolutely necessary. It's
premature optimization and annoying.
* utils.str.format isn't quite ready yet, but will be soon. That'll be the
next big thing to fix in our code.
2005-01-27 06:59:08 +00:00
Jeremy Fincher
5019d10a1b
Updated license years.
2005-01-19 13:33:05 +00:00
Jeremy Fincher
8ca625d339
Initial import.
2005-01-19 13:14:38 +00:00
James Vega
dbfec8afb9
Add supybot module
2007-04-22 20:10:26 +00:00
James Vega
0ea4c3c12a
Updated to 0.80.1+CVS
2005-01-18 21:07:55 +00:00
James Vega
e68f1d26ba
Updated to 0.80.1.
2005-01-18 19:46:13 +00:00
James Vega
c961614d98
Updated to 0.80.0.
2005-01-17 06:57:37 +00:00
James Vega
e7e557868d
Updated to 0.80.0.
2005-01-17 04:54:17 +00:00
James Vega
3f284f2ece
Update to 0.80.0rc3+cvs
2005-01-13 02:59:38 +00:00
James Vega
b12c8697b7
Updated to 0.80.0rc3.
2005-01-13 02:52:21 +00:00
James Vega
c6b50e75f0
This makes channelSpecific *much* more useful, aka not broken. Closes Bug #1100919
2005-01-12 19:26:32 +00:00
Jeremy Fincher
59c4dab684
Extra help can't hurt.
2005-01-12 02:48:24 +00:00
James Vega
102c2d7af3
Updated to 0.80.0rc2
2005-01-11 14:45:12 +00:00
James Vega
534313a165
Updated to 0.80.0rc2.
2005-01-11 14:40:36 +00:00
James Vega
225c565aee
Add/update supybot.databases.plugins.channelSpecific{,.link{,.allow}}
...
channelSpecific.link replaces channelSpecific.channel
2005-01-08 07:22:46 +00:00
Jeremy Fincher
dae2a02231
Updated to 0.80.0pre6.
2004-12-22 10:36:36 +00:00
Jeremy Fincher
07435be632
That assert just plain wasn't working out. Also, changed how supybot.user works so it stays up-to-date with the current version of the bot.
2004-12-20 19:46:35 +00:00
Jeremy Fincher
d31ff4532a
Added an assert.
2004-12-20 19:00:50 +00:00
Jeremy Fincher
38814a3da0
Updated to 0.80.0pre5.
2004-12-20 07:12:12 +00:00
Jeremy Fincher
481752fddd
Forgot to set the password to private, oops.
2004-12-18 13:52:38 +00:00
James Vega
360cba9c63
Updated to 0.80.0pre4.
2004-12-17 07:33:21 +00:00
James Vega
dcfe723b74
Updated to 0.80.0pre4.
2004-12-17 07:16:35 +00:00
Jeremy Fincher
664c468130
Updated to respect channel-value-ish-ness of reply.showSimpleSyntax.
2004-12-16 14:16:56 +00:00
Jeremy Fincher
b9067089b1
Removed an XXX.
2004-12-16 09:30:45 +00:00
Jeremy Fincher
eb03f94f07
Moved eval/exec commands to sandbox/Debug.py, removed allowEval option.
2004-12-16 07:13:14 +00:00
Jeremy Fincher
af1d04291d
Reimplementation of channeldb converter, respecting the channelValueness of supybot.databases.plugins.channelSpecific, and turned supybot.databases.plugins.channelSpecific.channel into a channelValue so channels can link their databases to other channels.
2004-12-13 06:18:41 +00:00
Jeremy Fincher
0efb17dd81
Variable name change, humanTimestampFormat => reply.format.time
2004-12-10 06:21:53 +00:00
Jeremy Fincher
fc2751d04d
Allow a short representation of time elapsed.
2004-12-08 07:26:19 +00:00
Jeremy Fincher
1a63af3b26
Fix for bug #1081086 . Be sure to read the reasoning in the bug itself.
2004-12-08 06:16:08 +00:00
Jeremy Fincher
5af655391a
New way of handling channel keys.
2004-12-07 00:29:20 +00:00
Jeremy Fincher
955bf08255
Rudimentary sorting.
2004-12-02 05:37:04 +00:00
Jeremy Fincher
1e0b039ff4
Updated help.
2004-12-01 20:21:51 +00:00
James Vega
4ce65826a1
Expand a little on the supybot.defaultIgnore help. Also, went ahead and
...
changed the timestampformat from a GlobalValue to ChannelValue like the XXX
told me to.
2004-11-11 14:40:04 +00:00
Jeremy Fincher
591e66664d
Better.
2004-11-04 06:38:07 +00:00
Jeremy Fincher
f515617529
Disable unregister by default.
2004-11-04 06:06:18 +00:00
Jeremy Fincher
040888405c
Refactoring of error-related configuration variables.
2004-11-04 05:34:24 +00:00
Jeremy Fincher
8e3e8f8e70
Added an XXX.
2004-10-27 07:51:08 +00:00
Jeremy Fincher
a2dfa3bd15
Trying out vhost stuff.
2004-10-27 00:17:55 +00:00
Jeremy Fincher
e378b34138
Added a configurable more length.
2004-10-26 18:54:03 +00:00
Jeremy Fincher
0408beb0fb
Fix for bug with instant mores; also change supybot.reply.truncate to supybot.reply.mores (i.e., it's not just a group now, it's a boolean).
2004-10-26 18:42:53 +00:00
James Vega
cbd5abbab7
A bunch more %r -> %s conversions as well as wrap updates, new policy for
...
Channel.voice and some bug fixes for Debian
2004-10-25 22:59:03 +00:00
Jeremy Fincher
03b740ec9d
Finally removed supybot.channels.
2004-10-24 07:55:41 +00:00
James Vega
dac65f455f
alwaysLoadDefault => alwaysLoadImportant
2004-10-20 15:08:04 +00:00
Jeremy Fincher
4a2d2a99d8
An XXX, fixed isNick to allow keyword arguments.
2004-10-15 11:22:13 +00:00
Jeremy Fincher
3dceea823d
Added supybot.reply.whenAddressedByNick.atEnd.
2004-10-09 02:48:08 +00:00