Valentin Lorentz
e86768b61a
Misc: Fix testTell.
2013-01-04 22:01:36 +01:00
Valentin Lorentz
3dba9088b0
Merge remote-tracking branch 'supybot/master' into testing
...
Conflicts:
INSTALL
plugins/ChannelLogger/README.txt
plugins/ChannelStats/README.txt
plugins/Google/plugin.py
plugins/Google/test.py
plugins/Plugin/test.py
plugins/Web/test.py
setup.py
src/callbacks.py
src/ircdb.py
src/irclib.py
src/utils/str.py
test/test_irclib.py
2013-01-01 21:11:24 +01:00
Valentin Lorentz
93586d71f4
Add support for extended banmasks. Closes GH-105.
2012-12-02 19:04:48 +01:00
Valentin Lorentz
25855e5547
Fix crash when loading user with two nicks or more.
2012-11-07 19:00:41 +01:00
Valentin Lorentz
e9755a6486
Add fix missing in previous commit.
2012-11-04 01:28:24 +01:00
Valentin Lorentz
fba70d15bc
Add configuration variable conf.supybot.capabilities.private.
...
This variable is a list of capabilities that are considered as 'private',
ie. the bot won't tell anyone but admins that a user has it, nor will the
bot give a list of users with this capability.
2012-10-29 20:15:14 +01: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
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
4ffaff0638
Don't use utils.str.chars anymore.
2012-08-05 09:54:34 +02:00
Valentin Lorentz
b5c99b1ce1
Fix capability checks.
2012-08-04 15:57:51 +02:00
Valentin Lorentz
d52e501ae8
Use open() instead of file().
2012-08-04 13:13:16 +02:00
Valentin Lorentz
18b16d84ed
Change the minimal number of non-wildcard characters in hostmask from 8 to 3. Closes GH-276.
2012-04-04 15:08:49 +02:00
Daniel Folkinshteyn
a98b2df392
core: make sure owner is never ignored. also simplify the logic flow in ignore checking.
...
Thanks m4v for the patch!
2011-11-26 19:09:19 +01:00
Valentin Lorentz
e8814fc07a
Add checkCapabilityButIgnoreOwner converter
2011-01-27 19:32:43 +01:00
Jeremy Fincher
dd4bc64e32
Changed a few caches to use CacheDict to ensure no without-bound growth on caches.
2009-04-02 11:45:00 -05:00
James Vega
0d4ff7f3dc
ircdb.py: Use a more concise return statement
2009-03-11 13:37:27 -04:00
James Vega
a3e4fc5b1d
Change the modeline to use softtabstop instead of tabstop.
2006-02-11 15:52:51 +00:00
James Vega
9c34b231aa
src/ircdb: checkPassword should return false when password is None instead of trying to continue with the check.
2005-10-14 12:58:41 +00:00
Jeremy Fincher
14acfcafe4
Forgot a .split() that was causing the channel-database parsing to fail on bans.
2005-08-01 21:08:21 +00:00
Jeremy Fincher
5582e69268
Fixed ircdb.py to give full exception traces when unexpected exceptions occur.
2005-08-01 21:01:46 +00:00
Jeremy Fincher
5ce2baa2d2
It should be possible to identify without flushing.
2005-03-27 09:59:44 +00:00
James Vega
9971e991fe
Fix the modelines.
2005-03-23 20:07:45 +00:00
Kevin Murphy
5e5e2f3336
Fixed some typos
2005-02-23 17:40:44 +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
James Vega
68ef3d86a4
Fix some grammar in the help string.
2005-02-10 03:16:54 +00:00
Jeremy Fincher
e6beec2989
Removed some more unused imports.
2005-02-04 03:11:02 +00:00
James Vega
68d3b830da
Remove the use of format() in logger functions since they handle it natively.
2005-02-01 13:43:57 +00:00
James Vega
de89bf0265
Update usage of utils.str functions.
2005-01-31 14:52:27 +00:00
James Vega
28cb5abc65
Update usage of functions in utils.gen.
2005-01-31 13:06:43 +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
f2a34f78c8
We should assert after we call the callable.
2005-01-06 15:55:09 +00:00
Jeremy Fincher
6002089619
Changed some non-public checkCapability methods to be prefixed with an underscore.
2004-12-27 06:58:26 +00:00
Jeremy Fincher
a82e806a2d
Removed supybot.databases.users.hash. Now we always hash by default, though the configuration file still supports unhashed passwords (useful for allowing owners to change passwords by editing the file).
2004-12-20 19:47:53 +00:00
James Vega
787625c757
Let's report the correct value for the asserts that failed
2004-10-29 12:46:39 +00:00
Jeremy Fincher
afff2734f4
Made the asserts more verbose.
2004-10-29 00:45:56 +00:00
James Vega
ca0c0fad49
Change user.hostmasks to an IrcSet
2004-10-26 17:37:44 +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
04a6fb1d4d
Fix for jamessan's bug.
2004-10-22 16:58:11 +00:00
Jeremy Fincher
a238ed6298
Fixed TODO #1047283 .
2004-10-22 06:21:34 +00:00
Jeremy Fincher
1958a76897
Some XXX comments, a little update here and there relating to users always having an id.
2004-10-15 11:21:50 +00:00
Jeremy Fincher
b2fbbef197
Fixed bug with duplicate hostmasks.
2004-10-09 04:57:16 +00:00
James Vega
4557b867fe
Prevent people from adding hostmasks that don't explicitly match other users'
...
hostmasks but will match when you check hostmaskPatternEqual aka bug #1043045
2004-10-08 13:59:45 +00:00
Jeremy Fincher
550bcdad5d
Fix for bug #1036861 .
2004-10-03 09:21:06 +00:00
Jeremy Fincher
f8375acdad
Fixed not to raise some exceptions during testing.
2004-09-29 18:53:23 +00:00
Jeremy Fincher
3dec784447
A whole lot more asserts and an isCapability predicate.
2004-09-28 07:17:18 +00:00
Jeremy Fincher
816f494d8c
Changed two warnings to errors.
2004-09-22 22:24:34 +00:00
Jeremy Fincher
f9a432c9ec
Let's make sure we give our users an id attribute.
2004-09-21 18:37:45 +00:00