Commit Graph

54 Commits

Author SHA1 Message Date
James Vega
c7170240f2 Unused import 2004-08-17 05:45:47 +00:00
Jeremy Fincher
3bd1e009fa Lower the priority, so other snarfers run first. 2004-08-16 18:46:13 +00:00
Jeremy Fincher
759f38f8e0 Use makeChannelFilename. 2004-08-11 05:00:09 +00:00
James Vega
d47d54bc82 Almost out entire testsuite works, yet again. Yay! 2004-08-01 14:38:37 +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
c83c8c3ec3 Fixed bugz0rs in URL, added vacuum (called on stats). 2004-07-30 23:41:17 +00:00
Jeremy Fincher
565c6b7347 Fixed bugz0rs in URL, added vacuum (called on stats). 2004-07-30 23:39:57 +00:00
Jeremy Fincher
66bad99eaa Let's make sure getUrls doesn't return duplicates. 2004-07-28 06:02:09 +00:00
Jeremy Fincher
d594232c5c Reduced functionality, but I doubt anyone will complain. Much cleaner and clearer now that we're using flat files. 2004-07-28 05:59:30 +00:00
Jeremy Fincher
16f4231780 Forgot questions. 2004-07-25 18:24:51 +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
James Vega
180d2e8392 Fix some help messages 2004-06-28 19:38:05 +00:00
James Vega
18138da1c0 Catch some sqlite exceptions that probably shouldn't be happening, but I
don't have the best of luck with sqlite.
2004-06-19 18:03:58 +00:00
James Vega
5633b9d46b Updated the tiny regexp to match the site's new layout. Added more checks for
nonSnarfingRegexp. Lowered the minimum length we check for tiny URLs since
they can be as short as 20 characters.
2004-06-07 19:45:49 +00:00
Jeremy Fincher
21b1acd3f4 Oops, forgot to update these for the protocols change. 2004-04-30 15:03:20 +00:00
Jeremy Fincher
b5ac09b4e1 Oops, forgot to update these for the reviter=>reversed change. 2004-04-22 02:55:46 +00:00
James Vega
ca9f696c8c Weed out the last of the floating point COUNT bugs 2004-04-19 15:16:31 +00:00
Jeremy Fincher
4b1e5b5a74 Don't display errors in snarfers,, mo. 2004-02-27 17:20:57 +00:00
Jeremy Fincher
4786631c6c Made title snarfer not snarf if the URL is in an addressed message. 2004-02-13 21:57:38 +00:00
Jeremy Fincher
6e062306f2 Added output to the list of functions imported from questions. 2004-02-06 04:36:21 +00:00
Stéphan Kochen
5957eaad5d Lots of wizard updates. Still have to get rid of the onStart and
afterConnect stuff though.
2004-01-31 22:24:43 +00:00
Jeremy Fincher
7f2578a13e Updated to make the tests pass. 2004-01-31 22:04:46 +00:00
Jeremy Fincher
941d4e1523 Updated to put just the domain rather than the whole url in snarfer replies. 2004-01-31 20:52:24 +00:00
James Vega
fac4c5624c Removed any unnecessary configure methods (ones that only called
conf.registerPlugin) and changed all other configure methods to accept the
advanced argument instead of onStart.
2004-01-29 23:58:27 +00:00
Jeremy Fincher
7f107ff9c2 Made maxSize a config variable, supybot.httpPeekSize. 2004-01-28 16:14:12 +00:00
Jeremy Fincher
b2f5fb630c Made hierarchical. 2004-01-28 15:53:46 +00:00
Jeremy Fincher
64f4013a2f Updated to use the registry. 2004-01-27 18:09:35 +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
James Vega
1c2bdcbf3d TinyURLs are now 24 characters in length 2004-01-08 23:53:08 +00:00
Jeremy Fincher
1c03464fd9 Huge commit to finish refactoring of replies. 2004-01-08 23:03:48 +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
669ac8995f Moved _urlRe to webutils as urlRe. 2004-01-04 11:18:53 +00:00
Jeremy Fincher
8b6733ee5d Fixed some bugz0rs. 2004-01-02 19:54:25 +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
7ce4ab206c Added titleSnarfer (RFE #842238). 2003-12-17 13:55:22 +00:00
Jeremy Fincher
3398f1a819 Made the error message better when people try to run a plugin that requires sqlite and they don't have it. 2003-12-03 23:48:00 +00:00
Jeremy Fincher
2aaca31709 Moved Configurable out to its own module. 2003-12-03 23:14:09 +00:00
Jeremy Fincher
48166f4895 Huge update to the logging infrastructure. 2003-11-26 18:21:12 +00:00
Jeremy Fincher
5f4a541fe1 Added __revision__ strings. 2003-11-25 08:23:47 +00:00
Jeremy Fincher
fb4a4ffca7 Changed the default of the snarfer, added a question to configure. 2003-11-19 23:34:53 +00:00
James Vega
f6e848511b All tinyurl related commands now query the local database to see if a tinyurl
already exists for the url that is being snarfed/passed as an argument. If
not, tinyurl.com is used to generate the tinyurl
2003-11-17 17:30:53 +00:00
Jeremy Fincher
3a571c3fb9 Updated to thread tinyurl (there's still an un-passing test, but it seems to work on the bot itself). 2003-11-17 06:02:26 +00:00
James Vega
965d8e0b5f The dots need to escape from tinyurl 2003-11-12 17:30:24 +00:00
James Vega
988ac324b4 Not all tinyurls end in 4 random characters, so I shouldn't be looking for 4
characters. Switched to \w+
2003-11-12 14:39:44 +00:00
Jeremy Fincher
5149d17b6a Made Configurable persistent. 2003-11-11 15:58:20 +00:00
Jeremy Fincher
4cc9579582 Fixed bug in tests; it was caused by the prefix character being snarfed in along with the URL. 2003-11-10 23:24:19 +00:00
Jeremy Fincher
3275859597 Converted to Configurable. Also reverted the _urlRe back to the old version, which works better. I don't care that parentheses are valid URL characters, they simply never happen in practice. Practicality beats Purity. 2003-11-08 09:26:33 +00:00