Commit Graph

18 Commits

Author SHA1 Message Date
Elián Hanisch 46d07b8095 bantracker: add options --verbose --view and --flush to banreview command.
intended for manually fix the review queue when the bot messes up.
2011-05-29 19:21:27 -03:00
Terence Simpson ad7a493262 Update copyright/license/author/contributors information
Make sure all files have encoding set to utf-8 unless they already have an encoding
Added COPYING with contense of GPL-2
Added plugin name prefix to all log output. This should take the form of self.log.severity("Plugin: message"),
when not logging from plugin.py use: "Plugin/file_without_dot_py: message"
Bantracker: Made the confgure() function do something, it also creates an initial database if it doesn't exist
Encyclopedia: Made the configure() function do something, it also creates an initial database if it doesn't exist
PackageInfo: Improve the configure() function, it also now creates some initial .list files and prompts to run update_apt and update_apt_file
This goes some way to getting an "ubottu" package together, all we need to do is patch supybot-wizard to download the plugins
from bzr and put them somewhere supybot will see them, then the wizard will do all the initial setup
2010-05-24 14:38:06 +01:00
Elián Hanisch 42a64c4c18 Bantracker: Don't enqueue ban reviews already in queue. Testcase updated. 2010-05-14 00:09:50 -03:00
Elián Hanisch 9ecf076312 new testcase: testReviewIgnore 2010-04-12 23:06:25 -03:00
Elián Hanisch 7538da2329 fix request ignores, It was matching against full hostmask instead of nick.
New testcase: testCommentIgnore
2010-04-12 23:02:07 -03:00
Elián Hanisch 62201d9a12 setup the db before loading the plugin during testing
this fixes a spurious ERROR when the testcase is run for the first time
2010-04-12 21:41:14 -03:00
Elián Hanisch 93f5ef5b9e fix testcases for forced parts 2010-04-12 21:33:15 -03:00
Elián Hanisch 484d45e705 use check_auth in banreview, and made a workaround so testcases still pass 2010-04-04 01:31:15 -03:00
Elián Hanisch ca60ba5aa2 refactor 2010-04-03 23:48:54 -03:00
Elián Hanisch deef5dbf37 merge with main 2010-04-03 20:06:29 -03:00
Elián Hanisch 44b2133f1c Added a fallback: if for some reason we don't have op's full hostmask,
revert to match by nick for send the review. This may be needed in the
future as operator's full hostmask aren't stored in the db.
2010-04-03 13:20:15 -03:00
Elián Hanisch d1d0fc86ab refactoring and getting ready for production, added testcase 2010-04-03 01:44:57 -03:00
Elián Hanisch fd4516f077 fixed testcases 2010-04-03 00:17:26 -03:00
Elián Hanisch 621a739198 improved testcases 2010-04-01 17:52:53 -03:00
Elián Hanisch 6ec87d68dd more testcases for BanTracker 2010-04-01 16:34:59 -03:00
Elián Hanisch 1807883da2 Use floats in reviewAfterTime, this is less confusing.
And make reviewTime option readonly
2010-03-31 00:03:13 -03:00
Elián Hanisch 0eb45f7822 TestCases for comment request and review request.
run then with "supybot-test Bantracker"
2010-03-30 17:13:51 -03:00
Dennis Kaarsemaker aea38c93ff Initial checkin 2006-06-26 19:57:20 +02:00