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
James Vega
50973a10fb
Remove #! lines.
2004-09-20 03:01:50 +00:00
Jeremy Fincher
8fd64a6325
Fixed the issues with backup files that were the exact same as the original.
2004-09-16 20:00:41 +00:00
Jeremy Fincher
4fec6def71
Allow multiple authentication.
2004-09-13 02:01:00 +00:00
Jeremy Fincher
ee70224aa3
Changed callCommand to give a name rather than a method; added invalidCommand throttling, ctcp throttling, and whole bunch of other crap.
2004-09-08 23:34:48 +00:00
Jeremy Fincher
f4c384a274
Changed supybot.capabilities to an ircdb.CapabilitySet instead of a ircutils.IrcSet.
2004-08-27 04:48:16 +00:00
Jeremy Fincher
fbb348b6e7
Copyright updates. Again, more is left to be done, but this is my part.
2004-08-23 13:14:06 +00:00
Jeremy Fincher
0f598271dc
Speeling fixes.
2004-08-18 23:15:27 +00:00
Jeremy Fincher
b6ba7955ac
With some clearer thinking, I believe this is the proper implementation of tmpDir. If there's something wrong with it, send me a note or write a test and it'll be fixed.
2004-08-01 12:46:03 +00:00
Jeremy Fincher
823bfb040f
Added utils.AtomicFile and converted our uses of 'w' to it. This rocks.
2004-07-31 10:21:07 +00:00
Jeremy Fincher
9250d3ab32
Tons of differences, moved some registry values around, also changed some internal attributes of registry thingies.
2004-07-31 05:00:43 +00:00
Jeremy Fincher
f9c61271ea
w00, less path mungingEXCLAIMEXCLAIM
2004-07-24 05:18:26 +00:00
James Vega
315810d08e
yay! no more stray whitespace
2004-07-21 19:36:35 +00:00