Commit Graph

  • 3dda319c00 PackageInfo/update_apt: Set Dir::Etc::SourceParts to the empty string to avoid reading files in /etc/apt/sources.d/ tsimpson 2012-12-18 17:06:21 +0000
  • 6c4be15c09 If snarfing a bug number, only include the bug tracker description (name) when a tracker is explicitly specified tsimpson 2012-12-18 04:17:05 +0000
  • 432bd6880d fix typo Elián Hanisch 2012-11-09 20:06:07 -0300
  • f9940e8988 add "seconds" unit Elián Hanisch 2012-11-03 19:00:31 -0300
  • a059ab2002 Merge lp:~m4v/ubuntu-bots/fetch-quiets (LP: #799524) tsimpson 2012-10-02 15:16:46 +0100
  • 9618d43707 Check that the server supports quiets. If it doesn't, don't fetch quiets. Elián Hanisch 2012-10-02 09:34:20 -0300
  • 80125ddde0 Fix Launchpad OPPS URL (again) tsimpson 2012-09-28 09:56:08 +0100
  • 778ee4a23c Bots should not respond (incorrectly) to merge request URLs (LP: #868416) tsimpson 2012-09-27 13:53:50 +0100
  • b038dca49c Bugtracker: Fix bugSnarfer regex to (finally) detect "tracker: #number" format PackageInfo: Force apt-file to i386 architecture, as update_apt_file only grabs that anyway tsimpson 2012-09-27 13:16:42 +0100
  • 0e9d2e292b Update OOPS URI Fixes: LP #1051902 tsimpson 2012-09-17 14:19:17 +0100
  • 0a76edf58b Use new oops.canonical.com site when giving oops links Martin Packman 2012-09-17 11:53:01 +0100
  • 32e80e7359 add testcases Elián Hanisch 2012-09-15 20:00:41 -0300
  • 364c2c993e fix, 728 messages doesn't have the same format than 367 ones: Elián Hanisch 2012-09-08 18:37:47 -0300
  • 9b5efcd3c6 sync quiets Elián Hanisch 2012-09-08 18:24:18 -0300
  • b74850a092 Remove the hack that converted "$r:name" into "name (realname)" Seems to be safe enough to do. Elián Hanisch 2012-09-07 23:20:59 -0300
  • 48355cf200 add some tests Elián Hanisch 2012-09-07 23:14:44 -0300
  • fff68ca742 reset the op status if the bot cycles the channel Elián Hanisch 2012-09-07 23:08:11 -0300
  • d396fe0222 don't "$r:name" => "name (realname)" Elián Hanisch 2012-09-07 21:45:14 -0300
  • b69bbb439f ban automatic removal. Elián Hanisch 2012-09-07 13:52:32 -0300
  • a1405ef034 revert previous commit and really fix the notification message when opping fails. Elián Hanisch 2012-09-06 21:05:27 -0300
  • 48f382917b don't request op twice Elián Hanisch 2012-08-27 13:59:30 -0300
  • 4c0dfd1b84 some refactoring Elián Hanisch 2012-08-25 21:24:20 -0300
  • 772a04a329 Don't deop after removing bans If bot fails to get op, and is opped later. Elián Hanisch 2012-08-23 07:50:39 -0300
  • 7774890027 Notification message for when bot fails to get op Elián Hanisch 2012-08-23 07:21:58 -0300
  • 5002195005 ask chanserv for op when needed Elián Hanisch 2012-08-18 11:27:50 -0300
  • 5df52f12f8 when using zero or a negative <duration>, don't autoremove ban. Elián Hanisch 2012-08-03 11:46:17 -0300
  • 0e92619987 fix plural form in @duration Elián Hanisch 2012-07-29 23:53:17 -0300
  • 8205738099 refactor bot replies. Elián Hanisch 2012-07-29 23:36:18 -0300
  • d241665208 don't ignore extra words prefixed to the duration in @comment or @duration Elián Hanisch 2012-07-27 23:12:35 -0300
  • 846667faf2 refactoring replies a bit. Elián Hanisch 2012-07-27 21:44:29 -0300
  • dfd9bdf633 fix bug when using @comment with a comma but bad duration syntax. Elián Hanisch 2012-07-27 21:08:25 -0300
  • 02e5f2aa10 Remove @baninfo. Ban information is fetched with @duration now. Elián Hanisch 2012-07-27 19:21:21 -0300
  • 2e3506c9bd rename the command 'banremove' to 'duration' Elián Hanisch 2012-07-27 16:09:05 -0300
  • 44cd80515d list the ids of bans set to expire if no id is given to @baninfo Elián Hanisch 2012-07-27 16:03:15 -0300
  • e979e864db use a interval of 10 min between ban removal checks instead of one minute. This way bans with close expire dates are more likely to be removed with a single MODE command. Elián Hanisch 2012-07-27 13:45:37 -0300
  • 2f1a087faf set ban duration with @comment command, also allow multiple ban ids example: @comment 1,2 this is a comment, 1 week Elián Hanisch 2012-07-27 00:50:25 -0300
  • 3c7eff0f70 allow setting multiple bans with one command. Elián Hanisch 2012-07-18 21:34:49 -0300
  • 909d56d704 merge multiple mode messages into one (4 modes max) Elián Hanisch 2012-07-15 22:28:38 -0300
  • 6640435520 make @baninfo display time in human readable format, instead of number of seconds. Elián Hanisch 2012-07-15 21:15:06 -0300
  • 401e5ae5d4 fix @baninfo, inform if the ban is inactive Elián Hanisch 2012-07-15 21:06:23 -0300
  • c283e6b924 add a simple @baninfo command for check when a ban expires. Elián Hanisch 2012-07-13 13:45:37 -0300
  • bf93f42503 add some colors in the notification message. Elián Hanisch 2012-07-05 20:40:57 -0300
  • c90821186e fix extbans Elián Hanisch 2012-07-05 19:36:13 -0300
  • b8225fd507 fix previous commit, Ban objects are never going to be of other type than ban and quiet. Elián Hanisch 2012-07-05 19:24:49 -0300
  • 800a228d92 banremove should only work with bans or quiets. Elián Hanisch 2012-07-05 19:12:38 -0300
  • 4d5ea85544 fix autoremoving quiets Elián Hanisch 2012-07-05 19:08:44 -0300
  • 157651f5c1 minor tweaks for bans.cgi Elián Hanisch 2012-07-05 18:20:47 -0300
  • e3dd878cf3 save ban autoremoval information in a csv files, so it isn't lost during plugin reloads. Elián Hanisch 2012-07-05 02:31:53 -0300
  • e3f6aacdf5 added configuration options: * supybot.plugins.Bantracker.autoremove * supybot.plugins.Bantracker.autoremove.notify * supybot.plugins.Bantracker.autoremove.notify.channels Elián Hanisch 2012-07-04 22:12:55 -0300
  • 87f61b1654 send notifications when ban are about to expire (notification channel hardcoded to #test) Elián Hanisch 2012-07-04 21:35:07 -0300
  • 1e92a7002a debug line I forgot to delete. Elián Hanisch 2012-07-04 21:21:46 -0300
  • 929ead6611 add an extra test. Elián Hanisch 2012-07-04 19:52:20 -0300
  • 011a0859a0 refactored readTimeDelta function. Elián Hanisch 2012-07-04 19:49:38 -0300
  • 30c78107af added FuzzyDict class, gives a more flexible matching of the time units. Elián Hanisch 2012-07-04 19:36:19 -0300
  • a3266bc1de @banremoval command now accepts time in different units, such as "2 weeks", "1 month", "24h" and so on. The units are: minutes, hours, days, weeks, months and years. One letter shortcuts allowed. Elián Hanisch 2012-07-04 19:23:37 -0300
  • fbb7a7ae67 Fix Bugzilla/Issuezilla URLs (LP: #1019861) As far as I can tell, IssueZilla and Bugzilla are API compatible (note) tsimpson 2012-07-04 14:21:37 +0100
  • 3e584e6880 add 'banremove' command for set expire time of bans. Elián Hanisch 2012-07-04 00:22:53 -0300
  • 912cc8490c send -b/-q messages when ban/quiet expires Elián Hanisch 2012-06-27 01:14:51 -0300
  • 57c349aace Start hack for the ban autoremoval feature: * BanRemoval class that keeps data about bans that expires. * BanStore class for store BanRemoval objects * testBanAutoRemove testcase Elián Hanisch 2012-06-25 19:40:09 -0300
  • a08559a758 Fix spurious testcase fail, sometimes seconds didn't match. Elián Hanisch 2012-06-25 19:35:42 -0300
  • 5ffcf6511a some refactoing. * added Ban.type property * PersistentCache renamed to ReviewStore and made it work more like defaultdict. Elián Hanisch 2012-06-25 19:30:11 -0300
  • fcbe5e92ec Fix an issue where creating factoids that contain '>' or '|' could be eithe fail, or be interpreted as a redirection tsimpson 2012-05-10 13:43:25 +0100
  • a3027d3eea actually fix number of string format arguments tsimpson 2012-04-12 21:03:02 +0100
  • 03ce743951 fix number of string format arguments tsimpson 2012-04-12 20:49:50 +0100
  • a321713489 try a fix for lp bug #980202 tsimpson 2012-04-12 20:45:02 +0100
  • 72bbcdc34b Workaround translations in apt-cache tsimpson 2012-04-11 00:48:30 +0100
  • f0d7e799d1 Merge ubottu Bugtracker with bzr. Treat the Architecture key from apt-cache as a list, rather than a single string. tsimpson 2012-04-10 14:05:29 +0100
  • 3d087845f1 Update PackageInfo scripts to be a little more useful and robust. Also, in a break from character, I added some documentation. tsimpson 2012-04-09 17:28:49 +0100
  • c5cf91187a Encyclopedia: add testcase for requests. Elián Hanisch 2012-01-30 00:10:38 -0300
  • db4af03f78 Encyclopedia: clarify the help text of the 'editchannel' option Elián Hanisch 2012-01-29 23:42:11 -0300
  • c59d11c308 Fix searching in only bans, or only mutes. We can't use LIMIT and OFFSET if we are going to filter mutes/bans later. We have to get *all* bans and mutes, filter, and do the pagination manually. Elián Hanisch 2011-12-24 13:58:08 -0300
  • 9c4c948a7f print pagination links at the bottom of the page. highlight the current page between [] Elián Hanisch 2011-12-22 21:03:33 -0300
  • 7f104934ab fix the bans counter, it wasn't updated after filtering mutes. Elián Hanisch 2011-12-22 20:55:20 -0300
  • aa88d5529e fix searching only mutes and add option for removed ones. Elián Hanisch 2011-12-22 20:52:37 -0300
  • 4f8d1d1916 fix typos. Elián Hanisch 2011-12-22 19:36:58 -0300
  • fb7f9c7acf Added log.tmpl Terence Simpson 2011-12-21 17:01:41 +0000
  • bb605749a5 Typo++ Terence Simpson 2011-12-21 16:50:46 +0000
  • 3c9161db65 * Update symlinks in the root. * Bantracker/cgi/bans.cgi: * Use action="" in forms, which default to whatever the current URL is (without query or fragment). * Make sure errors are printed to sys.stderr, so they show up in the right pace. * Added irc_network and irc_channel config options, so it's not hard-coded. * replace "X.has_key(Y)" with "Y in X", has_key is "depricated" and removed in 3.x (forward planning) * added isTrue() and isFalse() to test if a form value evaluates to boolean. * True or False, repectivly. Use these in isOn(). * If a bad regex is passed in the log view, show that it was an error. * Wrap INSERT statements in a try block. * Put the generation time in a (X)HTML comment. * Bantracker/config.py: Add SQL to create INDEX. * Bantracker/README.txt: Update with extra information on setting up the web interface. Terence Simpson 2011-12-21 16:38:39 +0000
  • e3669b4465 Don't show the last bans when the page is loaded, it takes a lot of time. This is due to sqlite2, sqlite3 doesn't have this problem. Elián Hanisch 2011-11-07 19:13:43 -0300
  • 9d69828d44 read config settings from 'bantracker.conf' so I don't have to edit the cgi script every bloody time I update it. Also, handle errors more gracefully. Elián Hanisch 2011-11-07 18:29:16 -0300
  • 0556d87d01 fix layout and other stuff, disable sorting since is broken. Elián Hanisch 2011-11-07 18:27:28 -0300
  • 5583fc3f82 move everything to into a "cgi" dir. Show the latest bans, paginate searches, so there's only 100 bans loaded at the time. Elián Hanisch 2011-11-06 22:36:36 -0300
  • 583ea422d9 port changes from bantracker page. Elián Hanisch 2011-11-06 20:11:13 -0300
  • 9d6dfd01f2 lets not hardcode "bans.cgi" in the page. Elián Hanisch 2011-11-06 09:52:17 -0300
  • 838f807a3b Sqlite 2 doesn't have a way of escaping '%', so we can't search in mutes, but we can filter them. Elián Hanisch 2011-11-06 09:44:53 -0300
  • e64b87fe89 add in the README about creating an INDEX for comments so it doesn't traverse the whole table for each ban. Elián Hanisch 2011-11-05 20:34:21 -0300
  • af95f4d3e0 make bantracker page go faster, like, 10 times faster. Elián Hanisch 2011-11-05 20:33:33 -0300
  • 2f5ae3eca8 suggesting a factoid forced a limit of 14 chars in factoid's name. This caused problems with channel specific factoids, now the limit is 35. Elián Hanisch 2011-10-24 14:34:17 -0300
  • 0438d153da Update supybot.plugins.Encyclopedia.cur* config defaults Terence Simpson 2011-08-26 07:51:16 +0100
  • bed505399f Don't just give up if an SQL operation throws an error; try, try, try again... and then some Terence Simpson 2011-08-26 07:48:13 +0100
  • 53451ef83f Handle Launchpad duplicates better Terence Simpson 2011-08-26 07:32:15 +0100
  • a7f415defd And I suck at typing Terence Simpson 2011-08-04 13:37:23 +0100
  • 120035a5c1 $nick apparently was ubottu-specific, now it's in bzr Also added $who which will be replaced with the callers nick Terence Simpson 2011-08-04 13:30:34 +0100
  • 4eeb6ddc7f fix Encyclopedia testcases. Elián Hanisch 2011-08-03 18:33:46 -0300
  • ed91a8a426 bantracker: When joining a channel, discard the ban list for that channel. Elián Hanisch 2011-06-18 23:14:35 -0300
  • 8d61d972fd bantracker: remove an useless extra search Elián Hanisch 2011-06-18 22:43:43 -0300
  • a9a111b8e6 Bantracker: Don't duplicate bans if for some reason the bot request a ban list. Only sort bans when the ban list is over. Elián Hanisch 2011-06-18 22:39:16 -0300
  • af068e2f91 Bantracker: when unbanning, if there was a problem reading the db, bt would fail to remove the ban from self.bans. Elián Hanisch 2011-06-18 22:32:04 -0300
  • 0a435b668c Bantracker: don't re-add bans that are out of sync into self.bans Elián Hanisch 2011-06-18 16:27:51 -0300
  • af3c308926 Add IBugtracker::__str__() so error reporting is prettier Terence Simpson 2011-06-17 19:21:04 +0100