Jeremy Fincher
2e0b225d0c
Changed the needed= keyword arg in privmsgs.getArgs to required=.
2003-11-11 13:20:06 +00:00
Jeremy Fincher
c434925798
Updated to use Configurable.
2003-11-08 09:02:30 +00:00
James Vega
57e0e75c20
Finally caught Bug #835371 . Also refactored the plugin and added some tests
2003-11-05 02:13:41 +00:00
Jeremy Fincher
91b01f9fe3
Reduced some lines to fewer than 80 characters.
2003-11-04 07:03:18 +00:00
James Vega
526c4c3e56
setdefault -> defaultproject
...
defaultproject without a project name clears the default project
cleanup bugs and rfes a little (although they aren't working in the case of
'bugs #'. must use 'bugs project #')
2003-11-03 01:12:00 +00:00
James Vega
d74a59a2f5
Cleaned up the snarfer
2003-11-02 19:46:35 +00:00
Jeremy Fincher
646e41bd53
Changed the regexp for sfSnarfer to make it a little easier to read.
2003-10-30 00:13:00 +00:00
James Vega
0400f02f13
Added the Toggleable.__init__'s and therefore the help commands
2003-10-29 07:23:20 +00:00
James Vega
535cdde13c
Switched the togglesnarfers to the new Toggleable mixin
2003-10-29 06:06:56 +00:00
James Vega
fbb37025dc
plugins/Sourceforge.py: lots of cleanups to the code. Also changed how
...
togglesnarfer works.
test/test_Sourceforge.py: updated to follow the plugin changes
2003-10-27 20:24:32 +00:00
James Vega
df3602bf4d
Added another field (Submitted by) to the snarfer. Centralized the re options
...
for the parsers
2003-10-24 12:38:45 +00:00
James Vega
b03e5612d2
Added configure() prompts to automatically disable the snarfer
2003-10-22 18:51:16 +00:00
James Vega
89e5a4aa0e
The snarfer wasn't quite fixed. Should be fixed for good this time. Also added
...
a test to make sure that a bad url isn't snarfed.
2003-10-22 15:58:07 +00:00
James Vega
f57aba4c80
test/test_Souceforge.py: Removed the commented out tests
...
plugins/Sourceforge.py: Reverted the snarfer RE back to how it was, with a
slight improvement. This should make it catch more URLs without having all the
negative feedback the last RE produced.
2003-10-22 12:34:22 +00:00
Jeremy Fincher
8ebef1ec6e
Commented out most of the https tests; made the regexp that the snarfer matches on much less complex so it would match a new URL that it didn't match before (and won't be so complex to maintain, to boot).
2003-10-22 03:11:16 +00:00
Jeremy Fincher
9cb41e6420
Made ordering in PrivmsgCommandAndRegexp depend on the list of regexp-methods.
2003-10-21 21:10:20 +00:00
James Vega
46907405d9
Switch Sf back to Sourceforge due to a conversation I wasn't aware of where
...
they reversed the naming-decision
2003-10-21 16:43:02 +00:00
James Vega
e4909c5f42
Switch the Sourceforge plugin name to Sf
2003-10-21 12:20:23 +00:00
James Vega
ce88b052d0
Added @disablesfsnarfer and its test
2003-10-20 17:52:09 +00:00
James Vega
e1d1343055
Using utils.depluralize now instead of my previous hack
2003-10-18 14:21:03 +00:00
James Vega
29a3264126
Added more information to the snarfer and cleaned up the related tests.
2003-10-18 14:19:06 +00:00
James Vega
6e728e74da
Improve the snarfer re so that index.php is not required
2003-10-17 14:26:33 +00:00
James Vega
3dac2d986e
Escape the .'s in the urls for the snarfer
2003-10-17 14:23:51 +00:00
James Vega
a2c6084fd9
Replaced the old-style irc.queuemsg with newer irc.error
2003-10-17 14:18:00 +00:00
James Vega
b2dd349235
Fixed all the #! lines to be consistent and a couple formatting issues with
...
the copyright
2003-10-16 14:53:42 +00:00
James Vega
a428c6fc91
Add slightly better handling of de-pluralization
2003-10-16 02:42:47 +00:00
Jeremy Fincher
bd7f1f9389
Fixed the snarfer to allow https links.
2003-10-15 05:37:21 +00:00
James Vega
2acf59d781
Added a urlsnarfer and the appropriate tests
2003-10-11 20:52:35 +00:00
James Vega
c202848677
Lots of cleanups.
...
Added a generic _formatResp that works with both bugs and rfes.
Renamed _*Opts and _{bug,rfe}Re so that they can be used with both bugs and rfes (since they're the same for both cases).
Bolded the description when requesting a single bug/rfe.
2003-10-11 18:40:22 +00:00
James Vega
6fa0ef039d
Cleaned up the usage example
2003-10-10 13:55:38 +00:00
James Vega
3c5978a76e
Added the Sourceforge plugin (which has the commands: bugs and rfes) and the
...
accompanying tests
2003-10-10 13:47:06 +00:00