Commit Graph

120 Commits

Author SHA1 Message Date
Jeremy Fincher
1a62fed0b6 Woohoo, fixed the bug with register in tests! 2004-02-13 09:01:21 +00:00
Jeremy Fincher
96eecfd477 Fixed most tests and made some stricter policy changes, as well handled the case of getUserId returning several hostmasks a little better. 2004-02-08 09:25:14 +00:00
Jeremy Fincher
0ab86752a7 *Really* fixed supybot-adduser now. 2004-02-07 22:23:12 +00:00
Jeremy Fincher
9f33b4c1bd Oops, didn't give the appropriate namespace. 2004-02-04 04:56:37 +00:00
Jeremy Fincher
5d98b1a5bc Converted ignores to a separate file, rather than a registry value. 2004-02-04 00:39:52 +00:00
Jeremy Fincher
40e3c861c0 Forgot to re-add the user/channel databases to the flushers. 2004-02-03 04:10:22 +00:00
Jeremy Fincher
3bd50b1d6a Fixed testing, w00t! 2004-02-03 03:07:54 +00:00
Jeremy Fincher
e8e5e11a51 Changed command to badCommand. 2004-02-02 03:24:03 +00:00
Jeremy Fincher
b119f94ed4 Converted to a new user/channel database format. 2004-02-02 02:56:16 +00:00
Jeremy Fincher
651db477ae No need for user 0 now; just change it to None. 2004-02-02 00:27:14 +00:00
Jeremy Fincher
4b1083931d Changed channel capabilities to use commas. 2004-01-20 21:53:13 +00:00
Jeremy Fincher
c96b0f6ca9 Reduced several log.infos to log.debugs. 2004-01-19 20:26:20 +00:00
Jeremy Fincher
6ca78924f3 HUUUUUUUUGE Configuration change. 2004-01-18 07:58:26 +00:00
Jeremy Fincher
1c03464fd9 Huge commit to finish refactoring of replies. 2004-01-08 23:03:48 +00:00
Jeremy Fincher
7b983bc921 Added some better logging. 2003-12-16 20:56:05 +00:00
Jeremy Fincher
890d2a5f4e Added an iteritems to ChannelsDictionary and made it into an IterableMap. 2003-12-03 05:26:14 +00:00
Jeremy Fincher
b39e1237fc Added __iter__ to UsersDB for a cleaner interface. 2003-12-01 23:24:25 +00:00
Jeremy Fincher
e34d9deecd Fixed RFE #851183, ircdb.users.numUsers. 2003-12-01 23:17:26 +00:00
Jeremy Fincher
24f95e6a75 Small efficiency/readability fixes. 2003-12-01 12:04:02 +00:00
Jeremy Fincher
48166f4895 Huge update to the logging infrastructure. 2003-11-26 18:21:12 +00:00
Jeremy Fincher
a4284e7924 Added __revision__ strings. 2003-11-25 08:38:19 +00:00
Jeremy Fincher
a966513c7d Changed commit behavior of UsersDB and ChannelsDictionary to commit on setUser/delUser/newUser and setChannel, respectively. 2003-11-24 22:32:33 +00:00
Jeremy Fincher
9a7de79467 Made removeHostmask remove all the matching hostmasks. 2003-11-19 15:35:01 +00:00
Jeremy Fincher
dc93f865db Changed some maps/filters to imaps/ifilters for efficiency reasons (I was bored, basically). 2003-11-15 04:46:09 +00:00
Jeremy Fincher
944ef33dce Fixed the reloading sets.Set bug more cleanly. 2003-11-03 23:23:28 +00:00
Jeremy Fincher
aae6f52c9e Fixed bug with reloading of sets module. 2003-11-03 23:10:29 +00:00
Jeremy Fincher
d174226c5c Added the ability to do hashed passwords. 2003-10-28 15:13:53 +00:00
Jeremy Fincher
44227181b7 Converted ChannelsDictionary to use a PersistentDictionary. 2003-10-24 09:58:51 +00:00
Jeremy Fincher
9eff6d997e Removed/commented out some debug.printfs. 2003-10-12 12:42:43 +00:00
Jeremy Fincher
7528215674 Fixed handling of secure flag by IrcUser.setAuth. 2003-10-11 10:20:15 +00:00
Jeremy Fincher
970c819e79 Changed fix.py to munge __builtins__ rather than requiring a "from fix import *" statement. 2003-10-05 12:47:19 +00:00
Jeremy Fincher
8ef808a039 Some bugs were being shadowed for some reason, and there were bugs in the handling of the owner privilege that hadn't been found because those tests had been shadowed. 2003-10-05 11:42:58 +00:00
Jeremy Fincher
66fc538a3a Changed the anti-capability prefix to - instead of !. 2003-10-05 11:13:20 +00:00
Jeremy Fincher
b9d265c102 Added docstrings, removed some unused methods. 2003-10-04 12:00:56 +00:00
Jeremy Fincher
3d990599fe Fix for escaping ValueError from ircdb.checkCapability. 2003-10-03 22:19:22 +00:00
Jeremy Fincher
36984d3fa5 Added RFE #801859: no-hostmask (secure) option for users. 2003-10-03 09:57:52 +00:00
Jeremy Fincher
b50a01db7d Made sure IrcUser.removeCapability raises KeyError on capabilities the user doesn't have. 2003-09-23 17:04:53 +00:00
Jeremy Fincher
e75b92853b Fixed bug with channel capabilities for channels with . in their name. 2003-09-22 09:18:13 +00:00
Jeremy Fincher
1ad12d2fcf Fixed an oversight. 2003-09-18 10:25:20 +00:00
Jeremy Fincher
476ef32f47 Changed conf.py to remove some useless files (rawlogfile and ignoresfile weren't used) and changed ircdb to do the os.path.join itself. 2003-09-18 07:44:25 +00:00
Jeremy Fincher
feb85382af Made usernames case-insensitive. 2003-09-14 07:05:41 +00:00
Jeremy Fincher
2d0671b6f6 Changed delhostmask to removehostmask and fixed a bug. 2003-09-14 02:52:40 +00:00
Jeremy Fincher
36163997d2 Added documentation. 2003-09-13 17:29:56 +00:00
Jeremy Fincher
5a15783e7a Made sure chanop capability supercedes everything else. 2003-09-13 12:59:22 +00:00
Jeremy Fincher
41d266f207 Updated ircdb to have persistent user ids. 2003-09-12 20:06:58 +00:00
Jeremy Fincher
5296d51dc2 Changed some asserts to raise ValueError instead. 2003-09-06 18:32:10 +00:00
Jeremy Fincher
ca646716b1 Removed spaces at the end of lines. 2003-08-20 16:26:23 +00:00
Jeremy Fincher
06c36d283a Change to satisfy PyChecker. 2003-08-20 07:19:56 +00:00
Jeremy Fincher
1cae9664a7 Upgraded to 2.3. 2003-07-31 06:20:58 +00:00
Jeremy Fincher
35d0a3cb22 Decreased size of checkCapability by moving some duplicated code out to another function with no good name. 2003-04-21 05:38:13 +00:00
Jeremy Fincher
2456082661 New test-passing implementation of checkCapability with debug.printfs commented out. 2003-04-21 05:23:31 +00:00
Jeremy Fincher
959459d063 Finally passes all tests. 2003-04-20 21:52:53 +00:00
Jeremy Fincher
6aa1e8a7ed Changed many dictionaries to the more appropriate ircutils.IrcDict. 2003-04-11 20:42:21 +00:00
Jeremy Fincher
a5a1211f76 Added check to make sure a user's hostmask doesn't mask another's. 2003-04-08 07:28:45 +00:00
Jeremy Fincher
1b79a300f9 Added check for owner capability in IrcUser.checkCapability 2003-04-06 12:32:12 +00:00
Jeremy Fincher
6d3c060208 Made sure all authentication was removed on bot exit. 2003-04-05 13:54:12 +00:00
Jeremy Fincher
ae18871f7f Fixed bug found in IrcChannel.checkCapability 2003-04-04 09:12:42 +00:00
Jeremy Fincher
33b4aa052c Changed debug.debugMsg to debug.msg. 2003-04-03 10:06:11 +00:00
Jeremy Fincher
36f7c77132 Added needed import and change debug.printfs to debug.debugMsg. 2003-04-03 08:29:21 +00:00
Jeremy Fincher
c49bd6f88f Fixed handling of channel capabilities 2003-04-02 11:08:34 +00:00
Jeremy Fincher
aa9c867b14 Fixed spurious exception atexit. 2003-03-31 09:26:51 +00:00
James Vega
50cb2887b2 Modified how entries are added to self.revcache 2003-03-31 02:53:07 +00:00
Jeremy Fincher
ce03a98ae9 Fixed a few errors found by PyChecker 2003-03-28 07:55:21 +00:00
Jeremy Fincher
85e7e3ae05 Removed CHANGELOG and TODO, not very useful these days 2003-03-28 07:38:16 +00:00
Jeremy Fincher
f785d97167 Fixed users/channels instantiation to allow for non-existent files 2003-03-27 06:57:09 +00:00
Jeremy Fincher
ff8a967647 Moved startup to world. 2003-03-25 23:42:37 +00:00
Jeremy Fincher
96b03bf6e7 Fixed checkCapability to handle anti capabilities during startup 2003-03-25 23:14:26 +00:00
Jeremy Fincher
657526b985 Fixed makeAntiCapability to Do The Right Thing in the face of channel-like capabilities 2003-03-25 22:47:58 +00:00
James Vega
c803e5e9d8 Added vim:set ... : strings to source in order to keep file formatting
consistent between developers. Jeremy should be adding the equivalent
settings for emacs soon.
2003-03-24 08:41:19 +00:00
Jeremy Fincher
7801c84d84 Initial revision 2003-03-12 06:26:59 +00:00