Commit Graph

1515 Commits

Author SHA1 Message Date
James Vega
a8c3d67cfc Convert Google to using the registry which required adding PositiveInteger
Class to the registry.
2004-01-19 23:42:50 +00:00
Jeremy Fincher
bb97cb3884 Updated not to set the supybot.plugins.Dict value when it registers the plugin. 2004-01-19 23:00:08 +00:00
Jeremy Fincher
4fa547c1c6 Updated the configure function. 2004-01-19 22:37:22 +00:00
Jeremy Fincher
9c0b26ebb0 Updated to make setting channel values and global values easier. 2004-01-19 22:07:41 +00:00
Jeremy Fincher
8424761047 Converted Dict to the new registry format. 2004-01-19 21:38:03 +00:00
James Vega
0b62247ccb self.open() needs to happen *after* self.filename is set 2004-01-19 21:16:58 +00:00
Jeremy Fincher
224cacc966 Fixed several bugs and added the replies rich reply method. 2004-01-19 20:51:04 +00:00
Jeremy Fincher
6950f65c98 Topic sync has broken one of our invariants. 2004-01-19 20:21:30 +00:00
Jeremy Fincher
eb217d82ae Changed num to stats. 2004-01-18 08:19:44 +00:00
Jeremy Fincher
6ca78924f3 HUUUUUUUUGE Configuration change. 2004-01-18 07:58:26 +00:00
Jeremy Fincher
79fb00d8d6 Fixed bug #878955. 2004-01-18 04:55:18 +00:00
Stéphan Kochen
7c9675269d Case insensitive. 2004-01-16 23:37:37 +00:00
Jeremy Fincher
29426e2f1d Moved isIP* to utils from ircutils. 2004-01-16 17:33:51 +00:00
Jeremy Fincher
b2f23c6f63 Updated the rest of the code to use utils.changeFunctionName. 2004-01-16 16:39:00 +00:00
Jeremy Fincher
8a322cfddf Changed from being globally threaded to just threading the email command. 2004-01-16 16:15:10 +00:00
Jeremy Fincher
83cc3132ba Increase timeout to 2 seconds. 2004-01-15 17:08:57 +00:00
Jeremy Fincher
69f8c40119 Added deprecation support. 2004-01-15 14:08:14 +00:00
Jeremy Fincher
4db8dfb773 Catch an exception uncaught before. 2004-01-15 11:25:04 +00:00
James Vega
fbcec1b89f Fix the 'No high bidder' bug (#876914) 2004-01-15 00:03:20 +00:00
Vincent Foley
80da030351 Changed the HangmanGame class a little and how a game works. 2004-01-14 21:10:42 +00:00
Jeremy Fincher
d18d6b63c7 Committed the fix for the bug mentioned by Flumminator. 2004-01-14 15:46:12 +00:00
Jeremy Fincher
fe0e5e9c43 Fixed uncaught exception on messages with just spaces. 2004-01-14 03:29:05 +00:00
Vincent Foley
20984842f3 Fixed a bug 2004-01-13 06:43:58 +00:00
Daniel DiPaolo
18c49c9a56 Fixed case sensitivity on quotegrabs list. Again?? I could have sworn I fixed this already once! Doo-doo-doo-doo doo-doo-doo-doo doo-doo-doo-doo... 2004-01-13 06:39:58 +00:00
James Vega
8eb9effe6f removing debug code is good 2004-01-13 05:56:17 +00:00
James Vega
6c1e115434 Finally put a small band-aid on the sourceforge functions. Now one can
specify the search type, but you'll still get an error if the bug isn't on the
first page.
2004-01-13 05:44:43 +00:00
James Vega
6a48344a98 I don't know why I named it _res in the first place. 2004-01-13 02:48:25 +00:00
Jeremy Fincher
8039679883 Added a dot. 2004-01-12 18:56:10 +00:00
Daniel DiPaolo
9d7c1a64c2 Make it so that ACTIONs don't get added as factoids 2004-01-11 23:22:59 +00:00
Jeremy Fincher
75d529872a Remove some tabs. 2004-01-11 14:47:44 +00:00
Jeremy Fincher
65b139dda9 Changed slightly to use nonCommentNonEmptyLines. 2004-01-11 14:38:11 +00:00
Vincent Foley
57493551ff YABF 2004-01-09 22:17:38 +00:00
Vincent Foley
9f96715768 Fixed a typo in a variable which caused an exception 2004-01-09 22:01:54 +00:00
Jeremy Fincher
049839cda0 Fixed broken URL. 2004-01-09 19:01:54 +00:00
James Vega
27151f6523 Fix for bug 873896 2004-01-09 17:05:52 +00:00
James Vega
cb73cc3b73 Add some logic to the wind chill/heat index regexes so that they don't grab
N/A and clean up the construction of the index string.
2004-01-09 02:50:23 +00:00
Jeremy Fincher
69aaea218f Moved base command to Math (from Fun) and added a test for no escaping ValueError. 2004-01-09 00:13:44 +00:00
James Vega
626958bef9 Change the path back to normal and switch irc.reply back to how it should be 2004-01-09 00:06:48 +00:00
Jeremy Fincher
585eb4a751 Oops, still had a msg! 2004-01-09 00:03:59 +00:00
James Vega
1c2bdcbf3d TinyURLs are now 24 characters in length 2004-01-08 23:53:08 +00:00
James Vega
db16ba33ad Guess I should make sure I delete the debug line and not the code line 2004-01-08 23:45:22 +00:00
James Vega
c6a6fd47b7 Teaches me not to compare strings like they're ints 2004-01-08 23:43:32 +00:00
Jeremy Fincher
57b038ea63 Make sure seen doesn't warp the case of the nick given. 2004-01-08 23:31:01 +00:00
Jeremy Fincher
1c03464fd9 Huge commit to finish refactoring of replies. 2004-01-08 23:03:48 +00:00
Vincent Foley
5700a69aed Used Words dbHandler variable and fixed a couple of bugs 2004-01-08 22:31:31 +00:00
Jeremy Fincher
845142e688 Updated replyNotRegistered stuff. 2004-01-08 21:49:10 +00:00
Jeremy Fincher
2846b4ab2f Updated more replies. 2004-01-08 15:47:38 +00:00
Jeremy Fincher
099b8bc14b Updated some capabilities stuff. 2004-01-08 15:24:56 +00:00
Vincent Foley
25918481ad Moved a couple of methods from Words to HangmanGame 2004-01-08 06:44:52 +00:00
Vincent Foley
b44c7b50e5 Cleaned Hangman code:
- Made it work with the Word db
  - Used a HangmanGame class instead of a dict for states
  - Changed lines that were too long
2004-01-08 05:19:31 +00:00
Jeremy Fincher
530aec2be0 Updated the reply infrastructure. No more msg, it's just not necessary. 2004-01-08 03:12:14 +00:00
Jeremy Fincher
1863c8b6ad Nice ChannelDB... 2004-01-08 00:48:30 +00:00
Jeremy Fincher
1132c63d38 I forget what I did. 2004-01-08 00:44:35 +00:00
Jeremy Fincher
aa7408c09b Changed over to the cool new RichReplyMethods stuff, mostly. 2004-01-07 19:09:24 +00:00
Jeremy Fincher
eb0251c247 Oops, forgot to remove stuff from Fun. 2004-01-07 16:09:44 +00:00
Jeremy Fincher
a6ab624448 Moved Filter stuff out to its own plugin. 2004-01-07 16:00:03 +00:00
Jeremy Fincher
d5aeefeb59 Moved Weather to its own plugin. 2004-01-07 15:17:53 +00:00
Jeremy Fincher
4b9c025d3a Oops\! 2004-01-07 13:40:45 +00:00
Jeremy Fincher
81202ebba2 Fixed bug #871986. 2004-01-07 12:33:00 +00:00
Vincent Foley
58d86e7cd8 Added Hangman 2004-01-07 03:02:03 +00:00
James Vega
f4127b6f03 Added bold configurable 2004-01-06 05:07:30 +00:00
Jeremy Fincher
0d25243fb0 Added configurables for smileys and frowns. 2004-01-06 03:58:48 +00:00
Jeremy Fincher
8d6956f4ae Add a check for an int id so people who use 'note get' will understand the error message more. 2004-01-06 02:40:16 +00:00
Jeremy Fincher
553d7d6060 Inital commit. 2004-01-05 21:26:41 +00:00
Jeremy Fincher
ce93c286e2 Oops, forgot to change the name of the defined function. 2004-01-05 18:00:29 +00:00
Daniel DiPaolo
4dd0e26ddc Added configurable prefix to new news item announcements 2004-01-05 01:04:03 +00:00
Jeremy Fincher
17c6e69d2f Don't replySuccess from Scheduler.repeat. 2004-01-04 15:43:49 +00:00
Jeremy Fincher
f1a68ff16f Moved seconds command to Misc from Scheduler. 2004-01-04 15:19:41 +00:00
Jeremy Fincher
b2c156609f Fixed! 2004-01-04 15:16:20 +00:00
Jeremy Fincher
2dbbdb7a4c Changed the type of the topic-separator configurable. 2004-01-04 13:51:33 +00:00
Jeremy Fincher
4e69914648 Made to relay actions and away messages. 2004-01-04 13:50:43 +00:00
Jeremy Fincher
881a2e000d Stylistic updates. 2004-01-04 13:49:51 +00:00
Jeremy Fincher
a10900da83 Made throttling work correctly. 2004-01-04 13:02:24 +00:00
Jeremy Fincher
bb74f518a1 Fixed several bugz0rs. 2004-01-04 12:59:10 +00:00
Jeremy Fincher
e989cd4bc1 Added an additional logging message. 2004-01-04 12:44:30 +00:00
Jeremy Fincher
a5bfb61471 Added RFE #799694, Automatic posting of new RSS news. 2004-01-04 12:34:01 +00:00
Jeremy Fincher
669ac8995f Moved _urlRe to webutils as urlRe. 2004-01-04 11:18:53 +00:00
Jeremy Fincher
61eb55fa57 Added checking for ops and actually being in the channel to getops. 2004-01-04 09:57:33 +00:00
Jeremy Fincher
a065477bbd Changed get to just plain note, as per RFE #869628. 2004-01-03 15:59:51 +00:00
Jeremy Fincher
c4a122da5a Fixed bug #869652. 2004-01-03 06:26:39 +00:00
Jeremy Fincher
b0559e3d75 Added server command. 2004-01-02 21:36:45 +00:00
Jeremy Fincher
68591b1ec9 Fixed bug #868338 (Relay.whois). 2004-01-02 20:59:14 +00:00
Jeremy Fincher
8b6733ee5d Fixed some bugz0rs. 2004-01-02 19:54:25 +00:00
Jeremy Fincher
8895ffdc1c Should fix bugs #858964 #862544. 2004-01-01 20:09:35 +00:00
Jeremy Fincher
24d191d5dc Added non-snarfing-regexp and title-snarfer-includes-url configurables. 2004-01-01 20:08:03 +00:00
Jeremy Fincher
b1cd34b91e Added better handling, hopefully fixing bug #860614. 2004-01-01 20:06:42 +00:00
Jeremy Fincher
c0e219ecfb Initial checkin. 2004-01-01 19:45:15 +00:00
Jeremy Fincher
6393a0c36e Better handling of unknown memory thingies and proper handling of Darwin and changed memory to RSS and stuff like that. 2004-01-01 19:12:14 +00:00
Jeremy Fincher
526f8d7314 Make sure to relay actions and away messages. 2004-01-01 19:10:20 +00:00
Jeremy Fincher
a247e2f008 Better error handling for calc/icalc. 2004-01-01 19:09:34 +00:00
Jeremy Fincher
2f55345012 Added bold and maximum-results configurable. 2004-01-01 19:09:02 +00:00
Jeremy Fincher
83995296b7 Removed trailing periods in larts and praises. 2004-01-01 19:08:08 +00:00
Jeremy Fincher
8070401018 Added learn-separator and show-factoid-if-only-one-match configurables. 2004-01-01 19:07:38 +00:00
Daniel DiPaolo
629dd867f1 Fixed lack of case-insensitivity in randomquote 2003-12-29 11:12:37 +00:00
Daniel DiPaolo
f886d6529f fixed another .0 bug 2003-12-29 03:12:47 +00:00
Daniel DiPaolo
6000b1c27d Fixed a few places where int()'ing COUNT result cols was required 2003-12-27 09:31:38 +00:00
Daniel DiPaolo
7b0af3d67f Fixed a _really stupid_ error message buglet. Man I suck sometimes. 2003-12-22 01:03:09 +00:00
Daniel DiPaolo
29cdcfb437 Fixed #862667 - floats in 'karma most' output, also made the number of items
shown with 'karma most' into a configurable and fixed a typo in one of the
other configurable descriptions
2003-12-19 03:13:17 +00:00
Daniel DiPaolo
1474c16a5f Fixed #862645 - unquoted spaces getting sent in HTTP request 2003-12-19 01:58:49 +00:00
Jeremy Fincher
bddac5c382 Oops, shouldn't have made self._whois an IrcDict. 2003-12-18 08:29:17 +00:00
Daniel DiPaolo
b995b2fd5c Fixed a kernel bug which only happens when either one of the stable or beta
kernels isn't listed on the page and also fixed the geekquote tests to match
the new behavior.
2003-12-18 04:47:05 +00:00
Jeremy Fincher
7ce4ab206c Added titleSnarfer (RFE #842238). 2003-12-17 13:55:22 +00:00
Jeremy Fincher
eca71949b4 Minor code cleanup. 2003-12-17 13:16:42 +00:00
Jeremy Fincher
751090a556 Some kind of little cleanup. There was a pluralize call that used the wrong order for its arguments. 2003-12-17 13:14:33 +00:00
Jeremy Fincher
d4136073e1 Forgot an import. 2003-12-16 21:20:27 +00:00
Jeremy Fincher
6df8eed142 Caught a previous uncaught exception. 2003-12-16 21:01:59 +00:00
Jeremy Fincher
4a6ac27406 Added a configurable to determine the number of things shown in the ranking. 2003-12-16 20:51:37 +00:00
Jeremy Fincher
a12c4200ac Forgot a return. 2003-12-16 13:45:37 +00:00
Jeremy Fincher
cf80ab7800 Added Relay.command. 2003-12-16 13:44:09 +00:00
Jeremy Fincher
86363520b8 Minor changes. 2003-12-16 13:35:42 +00:00
Jeremy Fincher
bb4d9afe16 Made more platform-neutral (ironically). 2003-12-16 13:34:12 +00:00
Jeremy Fincher
2ba68353dd Added RFE #859119, configurable karma response. 2003-12-16 13:06:21 +00:00
Jeremy Fincher
54102ae5f7 Stupid vim! Didn't show my my syntax error. 2003-12-16 12:27:36 +00:00
Jeremy Fincher
d168314786 Added a little better checking to the spell command. 2003-12-16 04:21:28 +00:00
Jeremy Fincher
dfe9008248 Oops, I'm retarded. f.func_name needed to be just name. 2003-12-16 03:10:02 +00:00
Daniel DiPaolo
35ecd7bd98 Closed #860139 - including wordstat count in stat output as well as rank. Also
made it so that if your name already appears in the top N results that it
doesn't append that rank stuff.
2003-12-15 12:39:38 +00:00
Daniel Berlin
be44ed857e Add Bugzilla search 2003-12-12 22:41:50 +00:00
Jeremy Fincher
0fbfe32538 Added an appropriate error message when acronymfinder.com cuts us off. 2003-12-12 18:33:00 +00:00
Jeremy Fincher
42ce8c33a6 Swapped the argument order for utils.{pluralize,nItems} 2003-12-12 15:41:33 +00:00
Jeremy Fincher
f4f91bcdb0 Removed --exact searching, made to search keys, not values by default, and added --values switch for searching values. 2003-12-12 14:01:16 +00:00
Jeremy Fincher
06c85f5c93 Removed --exact. 2003-12-12 13:25:03 +00:00
Jeremy Fincher
c922957655 Changed got376 to afterConnect. 2003-12-12 12:47:23 +00:00
Jeremy Fincher
a551c32267 Just an early start on the more complex stuff. 2003-12-12 12:29:22 +00:00
James Vega
627dd87baf Now globs will actually be globbed 2003-12-11 00:27:01 +00:00
James Vega
318b9d5d19 Added Lookup.search 2003-12-11 00:25:50 +00:00
James Vega
e196650f20 Fixed some grammar errors 2003-12-10 22:55:48 +00:00
Jeremy Fincher
b7fbaedcad Made sure it doesn't relay CTCP messages. 2003-12-10 18:50:35 +00:00
James Vega
0c3c37b4ba Now Todo.remove can take multiple taskids to be removed instead of just one 2003-12-10 13:51:58 +00:00
Jeremy Fincher
c6d77bb923 Added a topic-sync configurable for determining whether or not the bot should relay topic changes. 2003-12-10 08:27:30 +00:00
Jeremy Fincher
7f7562ef42 Allow ambiguous aliases. 2003-12-10 07:43:45 +00:00
Jeremy Fincher
9678560c98 Made configurable. 2003-12-10 06:58:17 +00:00
Jeremy Fincher
8df0b3888f Nicer error message. 2003-12-09 20:46:40 +00:00
James Vega
66ec4ab4d7 Improve some error handling and test some more uses 2003-12-09 15:57:19 +00:00
James Vega
15a2b84a36 Yeah, for fixing code that wasn't the cause of the problem I was trying to
fix.  Lemme put that back to normal.
2003-12-09 15:24:14 +00:00
James Vega
f4995b4df9 user->nick change for Relay.whois 2003-12-09 14:56:45 +00:00
James Vega
76e20b9c72 Got rid of another urlopen call 2003-12-09 14:52:32 +00:00
James Vega
05238bfcc6 Topic.reorder: Fixed some bugs found via jemfinch's new tests 2003-12-09 14:51:04 +00:00
James Vega
8fe7d7e4e8 Add identified status and away message to Relay.whois 2003-12-09 14:35:54 +00:00
James Vega
03aad1712a Added Http.extension 2003-12-09 14:35:19 +00:00
James Vega
d91cc33c58 Added Topic.reorder 2003-12-09 14:05:32 +00:00
Jeremy Fincher
8fb158d434 Robustified. 2003-12-09 04:57:34 +00:00
Jeremy Fincher
ec16d3ae8b Reverted a version. 2003-12-09 00:39:16 +00:00
Jeremy Fincher
5d9ecea552 Fixed bug in Poll.add, it didn't handle sqlite returning a string. 2003-12-09 00:35:13 +00:00
Jeremy Fincher
60797f770d Handle p.d.o being down gracefully. 2003-12-09 00:32:53 +00:00
Jeremy Fincher
6b5d32c4b5 Removed an old comment. 2003-12-09 00:03:42 +00:00
James Vega
fc1fc32a01 Debian.incoming: glob is now required. Change glob behavior to match the rest
of supybot's globs.
2003-12-08 16:59:46 +00:00
James Vega
607793b6b4 Added Amazon.books and Amazon.videos so that users can search those products
by keywords.  Added tests to match.
2003-12-08 16:32:29 +00:00
James Vega
946d9b234c Http.weather: Cleaned up some regexes and added proper checking to re.search
result assignments. Added reporting of Heat Index/Wind Chill if they are
different than the actual temperature.
2003-12-08 15:38:49 +00:00
Jeremy Fincher
7d7e396bac Converted to use a DBHandler. 2003-12-08 13:15:00 +00:00
Jeremy Fincher
836ef993df Converted to use a DBHandler. 2003-12-08 13:08:14 +00:00