Commit Graph

12 Commits

Author SHA1 Message Date
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
James Vega
c32939ffb1 Using 'was url)' caused problems since () are legal characters in a url.
Switched to 'was <url>)' for tinysnarf replies.
2003-11-07 14:59:33 +00:00
James Vega
a46476a9ca Remove @url get. Add the snarfed url when replying with the tinyurl. Tests are
updated accordingly. @random will display the corresponding tinyurl when
someone decides on the display format
2003-11-05 20:37:39 +00:00
James Vega
84bff2f755 @tiny should be specifying cmd=True when I call _getTinyUrl. That was the
whole point of having a cmd parameter.
2003-11-05 19:45:55 +00:00
Jeremy Fincher
a456c5ea57 Changed the name to URL. 2003-11-04 08:48:05 +00:00