Commit Graph

2147 Commits

Author SHA1 Message Date
Grant Bowman
992cbb91ee Upgrade of Fun's eightball command ported from Tellbot, previously
ported from Mozbot's MagicEightBall.bm module.
2004-08-23 06:51:18 +00:00
Jeremy Fincher
5390e58176 Let's notice by default. 2004-08-22 20:45:05 +00:00
Jeremy Fincher
ae048d977a Let's not bother getting database if it's not a channel. Good call. 2004-08-22 18:58:28 +00:00
Jeremy Fincher
02cd153e3d Blech. I should reverse the arguments of makeChannelFilename officially, because I keep messing them up. 2004-08-22 15:04:11 +00:00
Jeremy Fincher
f18f5a7bc2 Typo. 2004-08-22 08:17:19 +00:00
Jeremy Fincher
091ff90cfb Added day and monthname. 2004-08-22 08:06:39 +00:00
Jeremy Fincher
4a36ef95ec Let's make sure is always in the string. 2004-08-21 09:49:45 +00:00
Jeremy Fincher
e9c59b1426 Added punishment of other attempting relay bots. 2004-08-21 08:43:47 +00:00
Jeremy Fincher
5bb43126a6 Changed colorized to color to be consistent with other plugins. 2004-08-21 07:35:45 +00:00
Jeremy Fincher
0e9a7a7057 New implementation of formatting; dropped unformatting entirely. 2004-08-21 07:30:39 +00:00
Jeremy Fincher
247f8f4cc6 Using utils.stackTrace now that it has a compact option. 2004-08-21 07:29:33 +00:00
Jeremy Fincher
3bacc7d0b7 Attempt to document a bit better. 2004-08-21 07:29:11 +00:00
Jeremy Fincher
49c3f0c6f7 Better error messages and help. 2004-08-21 07:27:35 +00:00
Jeremy Fincher
8a9ca0bb06 New implementation of standardSubstitute. 2004-08-21 02:50:54 +00:00
Jeremy Fincher
df1a964a0f standardSubstitute on the default herald. 2004-08-20 23:26:54 +00:00
Jeremy Fincher
aa40c90737 Added networks command. 2004-08-20 22:32:48 +00:00
Jeremy Fincher
452f23946d Changed defaultHerald to default (now that channel values can have children) and added a public boolean for the default herald. 2004-08-20 22:27:29 +00:00
James Vega
eb60864c51 Money is a float not an int. Also, uber simplify Currency.yahoo since they
provide a csv file. Yay, no html parsing!
2004-08-20 19:07:51 +00:00
Jeremy Fincher
eb23fa3b14 Fixed some space problems in Google.calc. 2004-08-20 18:01:36 +00:00
Jeremy Fincher
71c752a7fb Added bender, fixed bugs. 2004-08-20 17:20:52 +00:00
Jeremy Fincher
a904f0e8d2 Oops, didn't think about daemons. 2004-08-20 15:26:03 +00:00
Jeremy Fincher
852e1dcb56 Fix0red. 2004-08-20 06:52:45 +00:00
Jeremy Fincher
5c30fe221c Added mroth's noJoinsUntilIdentified. 2004-08-20 06:38:43 +00:00
Jeremy Fincher
e97d866421 Removed one hack, added another, though I believe we have a net gain (and the hacks are completely unrelated, incidentally). 2004-08-20 06:22:33 +00:00
Jeremy Fincher
fd959370a1 Changed default for cycleToGetOps. 2004-08-20 05:29:58 +00:00
Jeremy Fincher
403afe653a Reversed the arguments to makeChannelFilename. 2004-08-20 05:14:34 +00:00
James Vega
102188d568 utils.nItemsify 2004-08-20 04:10:32 +00:00
Jeremy Fincher
d86ebf4e7f Updated calc. 2004-08-20 04:08:00 +00:00
Jeremy Fincher
cf124a2f2b mroth's google calc. 2004-08-20 03:55:27 +00:00
James Vega
54995c84bc Yahoo does some funky stuff when you try to convert *large* numbers *cough*Vee*cough* 2004-08-19 22:47:30 +00:00
Jeremy Fincher
5be0b319a4 Bugfix. 2004-08-19 18:16:24 +00:00
James Vega
fa84b0c87c Switchamabob 2004-08-19 17:57:55 +00:00
Jeremy Fincher
bfcff00380 s is not equal to newS. 2004-08-19 17:01:04 +00:00
Jeremy Fincher
268c317fa3 Let's make this private. 2004-08-19 16:56:58 +00:00
Jeremy Fincher
e6fb52e565 perlReToReplacer. 2004-08-19 16:53:41 +00:00
Jeremy Fincher
cc4b76a8f3 Updated to allow configuration for multiple nicks as well as to use conf.supybot.nick() by default. 2004-08-19 16:51:18 +00:00
Jeremy Fincher
f8d223095a Updated to rock more. 2004-08-19 15:59:15 +00:00
Jeremy Fincher
9a4a6adc8a Forgotten imports. 2004-08-19 13:57:15 +00:00
Jeremy Fincher
13cca25702 Initial checkin. 2004-08-19 13:49:27 +00:00
Jeremy Fincher
d36459ab0b More spelling/capitalization normalization. 2004-08-19 13:33:34 +00:00
Jeremy Fincher
501b642796 Some extra periods. 2004-08-19 12:19:18 +00:00
Jeremy Fincher
4348b41178 Style updates. 2004-08-19 12:16:52 +00:00
Jeremy Fincher
e11ced5f00 Capitalize supybot. 2004-08-19 12:12:38 +00:00
Jeremy Fincher
17ca364350 Normalized our 'take no arguments' strings. 2004-08-19 11:58:17 +00:00
Grant Bowman
3036e5b206 Updated help text of supybot.plugins.Bugzilla.bugSnarfer to reflect
both URL and bug ### features.
2004-08-19 05:33:15 +00:00
Grant Bowman
4c459c3a72 Bugzilla.py enhancement to allow snarfing "bug ###".
new config variable: supybot.plugins.Bugzilla.snarfTarget
Uses existing supybot.plugins.Bugzilla.bugSnarfer boolean for activation.
Includes update to test_Bugzilla.py.

Developed by Mike Taylor and I.
2004-08-19 05:29:56 +00:00
Jeremy Fincher
0f598271dc Speeling fixes. 2004-08-18 23:15:27 +00:00
Jeremy Fincher
b04f6166a3 Code cleanup. 2004-08-18 20:30:06 +00:00
Jeremy Fincher
dadc37149f Another typo. 2004-08-18 20:08:51 +00:00
James Vega
bb36f4877f If wunderground finds multiple locations, let's return the results for the
first location they list.  Also, default Weather.weather to Weather.wunder
2004-08-18 19:32:15 +00:00
Jeremy Fincher
2e8bd9a012 Oops, typo. 2004-08-18 19:03:44 +00:00
Jeremy Fincher
820c6e8e29 Refactoring for improved handling of errors later. 2004-08-18 18:55:54 +00:00
Jeremy Fincher
cd9ad40591 Let's reorder this, in case it matters sometime. 2004-08-18 18:45:52 +00:00
Jeremy Fincher
e9142dc880 Style cleanups, some refactoring. 2004-08-18 18:45:02 +00:00
Daniel DiPaolo
85cbffc5dd Tyop. 2004-08-18 18:44:18 +00:00
Jeremy Fincher
a1a4a7705b Let's name the workqueue. 2004-08-18 18:43:03 +00:00
Jeremy Fincher
3c866dcee3 Updated help string. 2004-08-18 18:42:01 +00:00
Jeremy Fincher
662a8cccc2 Default dictionary support. 2004-08-18 18:37:59 +00:00
Jeremy Fincher
b876d792e0 Fix for ugly documentation. 2004-08-18 16:12:27 +00:00
Jeremy Fincher
2be2b4e29f ly 2004-08-17 21:00:55 +00:00
Jeremy Fincher
44d9fbe02e Added wildcard support. 2004-08-17 20:59:42 +00:00
Jeremy Fincher
1290d2e3eb Added profiling information as well as the threads command. 2004-08-17 20:28:00 +00:00
James Vega
72f36efc18 Fix some problems in Infobot.py's sqlite implementation and genericize
some other errors to better fit in with db abstraction
2004-08-17 20:01:23 +00:00
Jeremy Fincher
0bdbae6e47 Make sure the MarkovWorkQueue dies. 2004-08-17 16:18:59 +00:00
Jeremy Fincher
451e083aec Updated. 2004-08-17 15:41:19 +00:00
Jeremy Fincher
fe139ce79b Immense improvements to recapturing nick. 2004-08-17 08:29:08 +00:00
James Vega
c7170240f2 Unused import 2004-08-17 05:45:47 +00:00
James Vega
ff8edb48fe Abstract Infobot's DB and default to SqliteInfobotDB over PickleInfobotDB 2004-08-17 05:16:28 +00:00
James Vega
2ad62c502a Add conf.supybot.plugins.Quotes.requireRegistration and fix a bug with
Quotes.random
2004-08-17 03:45:30 +00:00
James Vega
0ee2ff4fbb De-uglified urllib2.URLErrors and cleaned up a couple blocks in plugins/Http.py 2004-08-17 02:52:40 +00:00
James Vega
4a8e60b087 Add showLinks config variable and remove an unnecessary utils.htmlToText 2004-08-17 02:01:26 +00:00
James Vega
5c32fc3e17 I guess not all items have titles 2004-08-17 01:12:51 +00:00
Jeremy Fincher
3d03d6fd9f Allow notes to be auto-sent. 2004-08-16 22:43:10 +00:00
Jeremy Fincher
0f14557342 Typo. 2004-08-16 21:32:32 +00:00
Jeremy Fincher
3bd1e009fa Lower the priority, so other snarfers run first. 2004-08-16 18:46:13 +00:00
James Vega
46c71a7521 Add dbi.NoRecordError and update Quotes to use it 2004-08-16 17:34:58 +00:00
James Vega
57c2f263f9 Fix broken Quotes.info and improve Quotes.search by passing the predicate
to QuotesDB.search instead of the regexp.
2004-08-16 16:36:18 +00:00
James Vega
1a6754a307 Http.cyborg now uses the user's nick if non is specified 2004-08-16 04:48:35 +00:00
James Vega
176c71b6a9 Fix Currency.xe. Also, some slight reply cleanups and default Currency.currency
to use Currency.yahoo
2004-08-16 03:34:36 +00:00
Jeremy Fincher
60a0810b97 Added change command. 2004-08-15 18:38:07 +00:00
Grant Bowman
7f9a95d50b Updated docstring for def rfes method to give Request For Enhancement acronym. 2004-08-13 15:33:58 +00:00
Jeremy Fincher
31b1bdfcc8 Changed an info log to a debug log. 2004-08-13 12:31:38 +00:00
James Vega
c2d5ac56ce Updated for database independence 2004-08-13 03:50:38 +00:00
Jeremy Fincher
f45c3f5923 Default to msg.nick. 2004-08-12 18:53:11 +00:00
James Vega
25858a7c00 Some slight adjustments brought about by investigating Bug #1002363 2004-08-12 14:15:27 +00:00
Jeremy Fincher
a1a703df32 Let's go to repr. Beware, people, this may invalidate certain databases. 2004-08-12 07:41:05 +00:00
Jeremy Fincher
1c69d9746c No notes to self. 2004-08-12 07:40:11 +00:00
Jeremy Fincher
d64bc77b5a Testing remotely blows. 2004-08-11 23:40:56 +00:00
Jeremy Fincher
7f1c57c388 Testing remotely blows. 2004-08-11 23:37:41 +00:00
Jeremy Fincher
a6f03fa33a Updated as a precursor to making it database-independent. 2004-08-11 23:35:11 +00:00
Jeremy Fincher
3af85f301b Updated as a precursor to making it database-independent. 2004-08-11 23:31:18 +00:00
Jeremy Fincher
985eb7beee Updated as a precursor to making it database-independent. 2004-08-11 23:28:45 +00:00
Jeremy Fincher
a9ab89664c Moved logfilesize to Status. 2004-08-11 17:04:57 +00:00
Jeremy Fincher
58e40a81bc Small type change. 2004-08-11 17:04:08 +00:00
Jeremy Fincher
0768ce1c85 Converted to use dbi. 2004-08-11 06:17:11 +00:00
Jeremy Fincher
ab29dbb479 Removed useless DunnoDBInterface. 2004-08-11 05:50:53 +00:00
Jeremy Fincher
c941521ba0 Converted to use dbi. 2004-08-11 05:48:28 +00:00
Jeremy Fincher
e5e98fdc2f Initial checkin. 2004-08-11 05:14:15 +00:00
Jeremy Fincher
759f38f8e0 Use makeChannelFilename. 2004-08-11 05:00:09 +00:00
Jeremy Fincher
92a04920cb Added a bit more flushing. 2004-08-11 04:57:55 +00:00
Jeremy Fincher
9ceb89c254 Dumb, error. 2004-08-10 15:45:26 +00:00
Jeremy Fincher
1b10c0ad26 Only write the file if we're monitoring words. 2004-08-10 15:45:03 +00:00
Jeremy Fincher
532ac414a0 Added includeNetwork. 2004-08-10 15:40:21 +00:00
Jeremy Fincher
e908b14c64 Added a field command. 2004-08-10 15:24:01 +00:00
Jeremy Fincher
245c77d69b Made the maximum length configurable. 2004-08-10 08:09:25 +00:00
Jeremy Fincher
ad0ffd2752 Let's make sure people can't run levenshtein (an O(n**3) algorithm) on large inputs. I gave it to lambdaman almost 10 minutes ago and it's still not finished. 2004-08-10 07:42:38 +00:00
Jeremy Fincher
a39ad7b801 Changed info logs to debug logs. 2004-08-10 06:14:31 +00:00
Jeremy Fincher
4e92a0d0dd No => Neutral. 2004-08-09 15:04:52 +00:00
Jeremy Fincher
f19c98a8f1 Extra space zapped\! 2004-08-08 19:34:15 +00:00
Jeremy Fincher
efc34691bf Added Note.reply). 2004-08-08 16:50:09 +00:00
Jeremy Fincher
52cbec4838 Fixed some bugs with note orders, etc. 2004-08-07 00:48:03 +00:00
Jeremy Fincher
ec16cf9622 New implementation using FlatfileDB. 2004-08-07 00:41:55 +00:00
Jeremy Fincher
a59ba2563d Bugzor fix0red. 2004-08-06 17:37:28 +00:00
Jeremy Fincher
efc095fcc6 Broke user and last commands off. 2004-08-06 17:35:00 +00:00
James Vega
a290f4bff5 Excuses are gone 2004-08-06 12:41:07 +00:00
Jeremy Fincher
3a916b2486 Updated to allow a dirname, so I can use it later for ChannelLogger. 2004-08-06 11:29:51 +00:00
Jeremy Fincher
542a9a8193 Not die, close. Close, not die. 2004-08-06 11:23:25 +00:00
Jeremy Fincher
42bd2d42ae Updated to use FlatfileDB. 2004-08-06 11:16:05 +00:00
Jeremy Fincher
8a835a0b15 Removed configure and added a class docstring. 2004-08-06 09:52:36 +00:00
James Vega
04d0e5f667 Infobot is looking pretty complete! 2004-08-06 02:42:20 +00:00
James Vega
2952ed4d07 Make sure we don't start a game if the file doesn't exist. Also, complete
sentences are nice to have.
2004-08-06 02:01:35 +00:00
James Vega
5728974ea2 We only want to hide/count characters in string.ascii_lowercase 2004-08-05 20:29:20 +00:00
Jeremy Fincher
d134a2d9ac Updated to use webutils throughout. 2004-08-05 18:29:26 +00:00
Jeremy Fincher
667b5ff0b7 Extra data directory, no yuo\! 2004-08-05 05:59:14 +00:00
Jeremy Fincher
5c4d0e48cb Extra space. 2004-08-05 05:57:53 +00:00
Jeremy Fincher
2bbfc6f67a Forgot to import sets. 2004-08-05 05:32:18 +00:00
Jeremy Fincher
8daceeaebd Changed the way channel databases are handled, added supybot.databases.plugins.channelSpecific. 2004-08-05 05:23:44 +00:00
Jeremy Fincher
75f1eb4eee Updated to handle some EnvironmentErrors. 2004-08-05 05:20:13 +00:00
Jeremy Fincher
4be774363a Yeah, shouldn't have committed this without testing first. 2004-08-05 04:15:33 +00:00
Jeremy Fincher
fdc8cdb15c Let's make relaying the hostmasks on join optional. 2004-08-05 04:01:52 +00:00
Jeremy Fincher
250df8538c Slight update to make the code a touch cleaner. 2004-08-05 04:01:22 +00:00
Jeremy Fincher
76a79b0d76 New Dunno implementation. 2004-08-05 03:59:40 +00:00
Jeremy Fincher
cb52197d1b Forgot to close the files. 2004-08-04 12:39:24 +00:00
Jeremy Fincher
68516b8fec Let's catch some socket.timeout action. 2004-08-04 06:19:31 +00:00
Jeremy Fincher
350f189041 FlatfileDB rulez0rs. Now we just have to convert Dunno and FunDB to use it. 2004-08-04 05:56:30 +00:00
James Vega
9db07346dc Fix (and cleanup) thanks to the suggestion in Bug #1002547 2004-08-04 02:33:57 +00:00
Jeremy Fincher
bbd401533f Added requireCapability. 2004-08-03 07:32:18 +00:00
Jeremy Fincher
53c19e314b supybot.plugins.Dunno.prefixNick. 2004-08-03 07:28:14 +00:00
Jeremy Fincher
86f2cb8efa Registry values for Status.cpu. 2004-08-03 07:03:56 +00:00
Jeremy Fincher
c51a9db841 Updated to use the same scheme as Bugzilla. 2004-08-03 05:52:03 +00:00
Jeremy Fincher
cf90f3ce38 Later is now persistent. 2004-08-03 05:10:47 +00:00
Jeremy Fincher
e729915fec Updated severely. 2004-08-03 04:39:11 +00:00
Jeremy Fincher
b6a03d9ac1 Proxy for Google. 2004-08-03 04:29:25 +00:00
Jeremy Fincher
766d77e107 Updated to be smarter, though we still need ctime watching. 2004-08-02 20:33:58 +00:00
Jeremy Fincher
64d5f53dc4 Comment our use of sendMsg instead of queueMsg. 2004-08-02 19:42:48 +00:00
James Vega
c08ee5ecc6 model Tail._send after LogToIrc's setup 2004-08-02 19:14:28 +00:00
Jeremy Fincher
f9e96770a3 Let's make sure the angle brackets don't change color based on capitalization. 2004-08-02 18:03:27 +00:00
Daniel DiPaolo
55a38cb211 Fixed lingerinb bug from when random quotegrabs stuff was converted to config vars 2004-08-02 17:00:40 +00:00
James Vega
35ab104533 No need to import registry twice, and Strike can't even remember what that
jab at me is for, so I'm removing it.
2004-08-02 16:19:32 +00:00
Jeremy Fincher
47a098eb2d Ininital checkin of Tail. 2004-08-02 12:39:36 +00:00