From 904503e67efa169de0f404014cf0a83a4feae152 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Sun, 11 Sep 2011 16:43:21 +0200 Subject: [PATCH 01/14] Ctcp: Update CTCP-Source reply. Closes GH-203. --- plugins/Ctcp/plugin.py | 2 +- src/version.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/Ctcp/plugin.py b/plugins/Ctcp/plugin.py index 94dc3e2ed..57cca6c1f 100644 --- a/plugins/Ctcp/plugin.py +++ b/plugins/Ctcp/plugin.py @@ -107,7 +107,7 @@ class Ctcp(callbacks.PluginRegexp): "\x01SOURCE\x01" self.log.info('Received CTCP SOURCE from %s', msg.prefix) self._reply(irc, msg, - 'SOURCE http://www.sourceforge.net/projects/supybot/') + 'SOURCE https://github.com/ProgVal/Limnoria') def doNotice(self, irc, msg): if ircmsgs.isCtcp(msg): diff --git a/src/version.py b/src/version.py index f90183d52..2c2fb49c3 100644 --- a/src/version.py +++ b/src/version.py @@ -1,3 +1,3 @@ """stick the various versioning attributes in here, so we only have to change them once.""" -version = '0.83.4.1+limnoria (2011-09-02T20:03:44+0000)' +version = '0.83.4.1+limnoria (2011-09-11T16:43:21+0200)' From 2a958cd8e98ea42418fb36901eb79884dc5b5f5e Mon Sep 17 00:00:00 2001 From: Tannn3r Date: Sun, 11 Sep 2011 21:01:13 +0300 Subject: [PATCH 02/14] Karma: added README. --- plugins/Karma/README.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/plugins/Karma/README.txt b/plugins/Karma/README.txt index d60b47a97..922af9197 100644 --- a/plugins/Karma/README.txt +++ b/plugins/Karma/README.txt @@ -1 +1,7 @@ -Insert a description of your plugin here, with any notes, etc. about using it. +This will increase or decrease karma for the item. + +If "config plugins.karma.allowUnaddressedKarma" is set to true, saying "boats++" will give 1 karma to "boats", and "ships--" will subtract 1 karma from "ships". + +However, if you use this in a sentence, like "That deserves a ++. Kevin++", 1 karma will be added to "That deserves a ++. Kevin", so you should only add or subtract karma in a line that doesn't have anything else in it. + +If "config plugins.karma.allowUnaddressedKarma" is set to false, you must use "botname: bots++" to add or subtract karma. From b80d6b27d60af1e584d24874d9d7b59632c5f393 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Sun, 11 Sep 2011 20:13:20 +0200 Subject: [PATCH 03/14] Karma: Fix SQLite threading issue. Closes GH-206. --- plugins/Karma/plugin.py | 4 ++-- src/version.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/Karma/plugin.py b/plugins/Karma/plugin.py index 375770619..91cdad38c 100644 --- a/plugins/Karma/plugin.py +++ b/plugins/Karma/plugin.py @@ -60,11 +60,11 @@ class SqliteKarmaDB(object): if filename in self.dbs: return self.dbs[filename] if os.path.exists(filename): - db = sqlite3.connect(filename) + db = sqlite3.connect(filename, check_same_thread=False) db.text_factory = str self.dbs[filename] = db return db - db = sqlite3.connect(filename) + db = sqlite3.connect(filename, check_same_thread=False) db.text_factory = str self.dbs[filename] = db cursor = db.cursor() diff --git a/src/version.py b/src/version.py index 2c2fb49c3..edae166ae 100644 --- a/src/version.py +++ b/src/version.py @@ -1,3 +1,3 @@ """stick the various versioning attributes in here, so we only have to change them once.""" -version = '0.83.4.1+limnoria (2011-09-11T16:43:21+0200)' +version = '0.83.4.1+limnoria (2011-09-11T20:13:20+0200)' From 4463da24f67bbca01a079d351a5d9e6dd597da5f Mon Sep 17 00:00:00 2001 From: Tannn3r Date: Sun, 11 Sep 2011 19:37:41 -0500 Subject: [PATCH 04/14] Added a description on how to use the Lart plugin. --- plugins/Lart/README.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/Lart/README.txt b/plugins/Lart/README.txt index d60b47a97..f59b09c36 100644 --- a/plugins/Lart/README.txt +++ b/plugins/Lart/README.txt @@ -1 +1,5 @@ -Insert a description of your plugin here, with any notes, etc. about using it. +Allows the use of the Luser Attitude Readjustment Tool on someone or something. +Example: +If you add 'slaps $who'. +Someone says '@lart ChanServ'. +* bot slaps ChanServ \ No newline at end of file From c2af09ff9d55b5e466911be948d7db39cca877b2 Mon Sep 17 00:00:00 2001 From: Tannn3r Date: Sun, 11 Sep 2011 19:54:19 -0500 Subject: [PATCH 05/14] Added a description of the plugin. --- plugins/Limiter/README.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/Limiter/README.txt b/plugins/Limiter/README.txt index d60b47a97..2cefb4c75 100644 --- a/plugins/Limiter/README.txt +++ b/plugins/Limiter/README.txt @@ -1 +1,2 @@ -Insert a description of your plugin here, with any notes, etc. about using it. +This will set a limit on the channel based on plugins.Limiter.MaximumExcess plus the current number of users in the channel. +This is useful to prevent flood attacks. \ No newline at end of file From aad9f566f3ce4cecfa2ebd7670dfd629f38c99a8 Mon Sep 17 00:00:00 2001 From: Tannn3r Date: Sun, 11 Sep 2011 19:57:30 -0500 Subject: [PATCH 06/14] Added a description. --- plugins/Math/README.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Math/README.txt b/plugins/Math/README.txt index d60b47a97..648405224 100644 --- a/plugins/Math/README.txt +++ b/plugins/Math/README.txt @@ -1 +1 @@ -Insert a description of your plugin here, with any notes, etc. about using it. +This plugin provides a calculator, converter, a listo of units and other useful math functions. From 2a16ebea06fe5a611ca3da93ce9b518071626744 Mon Sep 17 00:00:00 2001 From: Tannn3r Date: Sun, 11 Sep 2011 19:59:26 -0500 Subject: [PATCH 07/14] Added a description. --- plugins/NickCapture/README.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/NickCapture/README.txt b/plugins/NickCapture/README.txt index d60b47a97..5388aad1a 100644 --- a/plugins/NickCapture/README.txt +++ b/plugins/NickCapture/README.txt @@ -1 +1 @@ -Insert a description of your plugin here, with any notes, etc. about using it. +This allows the bot to regain access to it's configured nick. From 953149f11fdc64814faf855dbb7012c4e5fa1f15 Mon Sep 17 00:00:00 2001 From: Tannn3r Date: Sun, 11 Sep 2011 20:02:24 -0500 Subject: [PATCH 08/14] Added a description. --- plugins/Network/README.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Network/README.txt b/plugins/Network/README.txt index d60b47a97..539a607a0 100644 --- a/plugins/Network/README.txt +++ b/plugins/Network/README.txt @@ -1 +1 @@ -Insert a description of your plugin here, with any notes, etc. about using it. +Allows connecting, reconnecting, display the bot's latency between the server and other useful network-related commands. \ No newline at end of file From baa966a1b704341638523cdd652aef8d6873994e Mon Sep 17 00:00:00 2001 From: Tannn3r Date: Sun, 11 Sep 2011 20:04:23 -0500 Subject: [PATCH 09/14] Added a description. --- plugins/Nickometer/README.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Nickometer/README.txt b/plugins/Nickometer/README.txt index d60b47a97..7f0636016 100644 --- a/plugins/Nickometer/README.txt +++ b/plugins/Nickometer/README.txt @@ -1 +1 @@ -Insert a description of your plugin here, with any notes, etc. about using it. +Will tell you how lame a nick is by the command '@nickometer [nick]'. \ No newline at end of file From d9a9c64fa4ac57507d645a3f1ac29d1d6c1812e6 Mon Sep 17 00:00:00 2001 From: Tannn3r Date: Sun, 11 Sep 2011 20:06:05 -0500 Subject: [PATCH 10/14] Added a description. --- plugins/Note/README.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Note/README.txt b/plugins/Note/README.txt index d60b47a97..85131f832 100644 --- a/plugins/Note/README.txt +++ b/plugins/Note/README.txt @@ -1 +1 @@ -Insert a description of your plugin here, with any notes, etc. about using it. +Allows you to send notes to other users. \ No newline at end of file From a0a39d0503cdb30933183863544c2569eae63cb7 Mon Sep 17 00:00:00 2001 From: Tannn3r Date: Sun, 11 Sep 2011 20:08:43 -0500 Subject: [PATCH 11/14] Added a description. --- plugins/Plugin/README.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Plugin/README.txt b/plugins/Plugin/README.txt index d60b47a97..4b715f86e 100644 --- a/plugins/Plugin/README.txt +++ b/plugins/Plugin/README.txt @@ -1 +1 @@ -Insert a description of your plugin here, with any notes, etc. about using it. +This plugin allows you to see the plugins, which plugin a command belongs to, you can find out who the author of the command is and who contributed to it. \ No newline at end of file From 46f6314fb4dcfd5e408b3cdfe1cd7612c722d06d Mon Sep 17 00:00:00 2001 From: Tannn3r Date: Sun, 11 Sep 2011 20:09:49 -0500 Subject: [PATCH 12/14] Added a description. --- plugins/PluginDownloader/README.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/PluginDownloader/README.txt b/plugins/PluginDownloader/README.txt index d60b47a97..d667ae887 100644 --- a/plugins/PluginDownloader/README.txt +++ b/plugins/PluginDownloader/README.txt @@ -1 +1 @@ -Insert a description of your plugin here, with any notes, etc. about using it. +This plugin allows you to quickly download and install a plugin from other repositories. \ No newline at end of file From 7ccd1474cda83d48c75b61edbc120f6d626e4557 Mon Sep 17 00:00:00 2001 From: Tannn3r Date: Sun, 11 Sep 2011 20:11:28 -0500 Subject: [PATCH 13/14] Added a description. --- plugins/Praise/README.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/Praise/README.txt b/plugins/Praise/README.txt index d60b47a97..e9871d84f 100644 --- a/plugins/Praise/README.txt +++ b/plugins/Praise/README.txt @@ -1 +1,5 @@ -Insert a description of your plugin here, with any notes, etc. about using it. +Allows someone to praise someone or something. +Example: +If you add 'hugs $who'. +Someone says '@praise ChanServ'. +* bot hugs ChanServ \ No newline at end of file From ca2d73bee5ad2d9e7a364c4c3d368d79b4fa98a6 Mon Sep 17 00:00:00 2001 From: Tannn3r Date: Sun, 11 Sep 2011 20:16:46 -0500 Subject: [PATCH 14/14] Added a description. --- plugins/Quote/README.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Quote/README.txt b/plugins/Quote/README.txt index d60b47a97..8f7d29d68 100644 --- a/plugins/Quote/README.txt +++ b/plugins/Quote/README.txt @@ -1 +1 @@ -Insert a description of your plugin here, with any notes, etc. about using it. +This plugin allows you to add quotes to the database for the channel. \ No newline at end of file