Commit Graph

70 Commits

Author SHA1 Message Date
Jeremy Fincher
cdda36f9fb Fixed the self-lart bug. 2003-11-21 17:42:41 +00:00
Jeremy Fincher
eb6e112f70 Changed some maps/filters to imaps/ifilters for efficiency reasons (I was bored, basically). 2003-11-15 04:37:04 +00:00
Jeremy Fincher
2e0b225d0c Changed the needed= keyword arg in privmsgs.getArgs to required=. 2003-11-11 13:20:06 +00:00
James Vega
f6c83b38d1 Fix insult so that it doesn't reply to the person that called it. Also fixed
the instult tests so that the check the entire response, not just a regex
2003-11-04 22:51:20 +00:00
Jeremy Fincher
c1e9205545 Stylistic update; there are things better than lambdas... 2003-11-04 08:26:52 +00:00
James Vega
d50d435363 For some reason I was replacing the bot's name with the user's name 2003-10-31 18:43:08 +00:00
James Vega
afc74b96f0 Fix replacement of my/me not obeying word boundaries. Also created tests to
ensure it stays fixed.
2003-10-29 20:27:09 +00:00
James Vega
85e863f92c Parse 'my' in @lart and @praise (Closes: RFE #828950) 2003-10-23 15:23:01 +00:00
James Vega
6cae1b5ec4 Rewrote @insult and cleaned up the tests for all of FunDB so that they are
more deterministic
2003-10-23 12:35:43 +00:00
James Vega
8a378601b3 As part of the renaming madness, removed any ^db prefix 2003-10-23 02:12:07 +00:00
Stéphan Kochen
5c1fc0114d Added optional <id> argument to FunDB's excuse 2003-10-22 19:52:05 +00:00
Stéphan Kochen
a67748ec5f Changed --id=<id> to just <id> in praise and lart. 2003-10-21 15:36:39 +00:00
Stéphan Kochen
69c214785b Fixed a small buggeeeeh where lart and praise work without a victim. 2003-10-21 14:34:41 +00:00
Stéphan Kochen
5b1026e1f9 Added --id=<id> to praise and lart (RFE #827075) 2003-10-21 13:23:26 +00:00
Jeremy Fincher
79ea3b1363 Moved bestuptime over to the Status plugin. 2003-10-14 06:39:31 +00:00
James Vega
84f931bb9f Lots of pylint cleanups 2003-10-11 21:03:02 +00:00
Jeremy Fincher
ec0de6431d Changed baseplugin not to require 'from baseplugin import *' because fix is now munging builtins. 2003-10-05 12:56:56 +00:00
Jeremy Fincher
ac78a1c2cb Stylistic changes. 2003-10-02 16:07:53 +00:00
Jeremy Fincher
3a329b04f9 Added the uptimeEnder to world.flushers instead of just running it atexit. 2003-09-22 09:55:00 +00:00
Jeremy Fincher
3af8f1c790 Added private and action keywords to IrcObjectProxy.reply and converted FunDB to use them. 2003-09-18 07:26:21 +00:00
James Vega
b95985c3aa dbchange now updates the added_by field 2003-09-16 18:53:09 +00:00
James Vega
292bb2550e Removed requested_by and use_count from {lart,excuse,insult,praise} tables 2003-09-16 18:11:16 +00:00
James Vega
7719b8dad3 Fixed a couple typos in dbinfo 2003-09-16 17:16:11 +00:00
James Vega
32b0b65475 plugins/FunDB.py: added support for dbchange
test/test_FunDB.py: added testing for dbchange
2003-09-16 16:49:17 +00:00
Jeremy Fincher
41d266f207 Updated ircdb to have persistent user ids. 2003-09-12 20:06:58 +00:00
Jeremy Fincher
e6556ec101 Removed zipcode stuff. 2003-09-11 09:56:59 +00:00
James Vega
ecdcc63756 Switched a couple error messages to use conf.replyNotRegistered 2003-09-08 08:58:56 +00:00
Jeremy Fincher
4ca8f91fa9 Added WHERE clause for making sure started <> 0. 2003-09-07 08:09:23 +00:00
Jeremy Fincher
b68908ed00 Convert not to care how long its messages are. 2003-09-07 06:01:25 +00:00
Jeremy Fincher
20036816c8 Converted uses of utils.pluralize to utils.nItems. 2003-09-05 06:49:14 +00:00
Jeremy Fincher
55e3478668 Uh, I thought I committed this already...moved functions from fix.py to utils.py. 2003-09-05 00:16:28 +00:00
Jeremy Fincher
9b2a114d0c Changed the name of the uptimeEnder function so it shows up more clearly in atexit._exithandlers. 2003-09-02 08:08:54 +00:00
Jeremy Fincher
ee8deced50 Cosmetic; semicolon instead of comma. 2003-09-01 08:46:14 +00:00
Jeremy Fincher
3fd04637af Attempt to solve the atexit-closed-database problem. 2003-09-01 08:40:41 +00:00
Jeremy Fincher
8b1a47b295 Attempt to solve the atexit-closed-database problem. 2003-09-01 08:38:25 +00:00
James Vega
862489d205 Modified a docstring 2003-09-01 07:44:08 +00:00
James Vega
aa9f8a997e Added new lart/praise functionality. Now accepts a reason for larting/praising something 2003-09-01 06:11:02 +00:00
Jeremy Fincher
44972da513 Cleaned up makeDb. 2003-09-01 05:51:32 +00:00
Jeremy Fincher
30d3747f1d Added utils.pluralize. 2003-09-01 05:42:35 +00:00
James Vega
01adb33deb Fix a typo 2003-09-01 05:03:27 +00:00
James Vega
0061e42c97 Added tableDict, tableExists() and createTables to clean up/fix makeDB() 2003-09-01 04:45:26 +00:00
Jeremy Fincher
488fd6dd32 Forgot self. 2003-08-31 08:43:56 +00:00
Jeremy Fincher
cc2689ddb8 Forgot to import world. 2003-08-31 08:42:51 +00:00
Jeremy Fincher
883287c261 Added bestuptime command. 2003-08-31 08:42:07 +00:00
Jeremy Fincher
9550971042 Added ability for commands to raise callbacks.CannotNest if they are not nestable. 2003-08-27 07:45:48 +00:00
Jeremy Fincher
5eafec7121 Made morehelp better for dbadd. 2003-08-25 20:13:04 +00:00
James Vega
b86205ae8b Changed out some try blocks for if/else 2003-08-23 05:21:45 +00:00
James Vega
3c2ce0164a Added support for: created by, requested by, # requests to lart/praise/excuse/insult related functions
Added more error checking
Added a simple pluralizer
Added tests to stress lart/praise/excuse/insult portions of FunDB
2003-08-22 21:34:33 +00:00
James Vega
11c7124203 Added notification of which record number was added when adddb is called. 2003-08-22 08:10:58 +00:00
James Vega
0b6fce1e06 Replaced the last of the specific functions with the general getdb.
Fixed some sql statements and cleaned up some responses.
2003-08-22 07:04:47 +00:00