Commit Graph

8503 Commits

Author SHA1 Message Date
Valentin Lorentz
281e036cee Merge pull request #438 from TheLordOfTime/testing
Conditional: Add description about plugin to init
2012-12-31 08:37:50 -08:00
TheLordOfTime
417182c15a Conditional: Add description about plugin to init
Fixes the issue in supybot-wizard which shows this type of output:

What plugin would you like to look at? [.../Conditional/...] Conditional


Add a description of the plugin (to be presented to the user inside the wizard)
here.  This should describe *what* the plugin does.


 Would you like to load this plugin? [y/n] (default: y)
2012-12-31 11:34:07 -05:00
Valentin Lorentz
79eeb8eb95 Revert "irclib: Apply changes to supybot.protocols.irc.maxHistoryLength immediately."
This reverts commit 1d2eefe880.

IrcState instances are created more than five times a second! Imagine how much
memory is used (hint: 300MB five minutes after startup).
We should first try to reduce this amount.
2012-12-27 16:06:01 +00:00
Valentin Lorentz
1d2eefe880 irclib: Apply changes to supybot.protocols.irc.maxHistoryLength immediately. 2012-12-27 12:24:24 +00:00
Valentin Lorentz
cab1830140 utils.structures: Prevent a RingBuffer from being bigger than the new size, when calling resize(). 2012-12-27 12:22:14 +00:00
Valentin Lorentz
6b7db2e9f1 test_irclib: Make use of context for maxHistoryLength. 2012-12-27 11:05:04 +00:00
Valentin Lorentz
499d68f73a Channel: Remove debug output. 2012-12-26 20:53:49 +01:00
Valentin Lorentz
7b3ef56116 Fix mysterious bug when connecting/disconnecting. 2012-12-26 19:58:39 +01:00
Valentin Lorentz
6cbc6a14dd Rename all 'locale' directories to 'locales'.
Firstly, these directories contains more than one locale. Secondly, it conflicts with the 'locale' python module.
2012-12-26 15:43:35 +01:00
Valentin Lorentz
84148988b3 Fix tests broken by 6a06ca991. 2012-12-26 15:37:52 +01:00
Valentin Lorentz
790f0eea35 socket: Fix compatibility issue with Python 3 (introduced in 8cf094a). 2012-12-26 15:03:57 +01:00
Valentin Lorentz
bcde88ab4d Channel: Add --all parameter to @unban. 2012-12-23 17:28:36 +01:00
Valentin Lorentz
c46602d3f2 Channel: Implement @listbans. 2012-12-23 17:19:29 +01:00
Valentin Lorentz
6a06ca9911 core: Initialize list of bans when joining a channel. 2012-12-23 17:19:25 +01:00
Valentin Lorentz
0418a44d2a Apply Andy's second patch for Freebsd. Closes GH-436. 2012-12-22 00:10:59 +00:00
Valentin Lorentz
097ea23dfc Fix handling of PluginNotFoundException in i18n. 2012-12-22 00:06:26 +00:00
Valentin Lorentz
2363c404b4 Merge pull request #435 from Cubox-/patch-1
Fix issue on FreeBSD.
2012-12-21 15:54:03 -08:00
Andy Pilate
4add76c803 Fix issue on FreeBSD.
The -R at the end of the command line is not working on FreeBSD.
2012-12-22 00:48:58 +01:00
Valentin Lorentz
724e77e5ac Remove useless lines. 2012-12-21 20:17:42 +01:00
Valentin Lorentz
85f8bb3e46 Add unit tests for i18n. 2012-12-21 20:09:40 +01:00
Valentin Lorentz
d58ad0c86f Reload translation of command helps when language changes. 2012-12-21 20:08:34 +01:00
Valentin Lorentz
989c674c58 Reset translation dict when reloading a locale. 2012-12-21 19:19:03 +01:00
Valentin Lorentz
30c56ae19f Add support for arguments to addPeriodicEvent callbacks. 2012-12-19 19:48:46 +01:00
Valentin Lorentz
97b48abaa2 i18n: Initialize translations in __init__. 2012-12-19 17:04:39 +00:00
Valentin Lorentz
0607462dd5 PluginDownloader: Add error messages to assertion errors. 2012-12-19 16:55:54 +00:00
Valentin Lorentz
46a25b913c PluginDownload: Output more detailed error log. 2012-12-19 16:43:14 +00:00
Daniel Folkinshteyn
384e1dc695 core: make network.channels and channel keys private by default. Otherwise these can reveal secret information.
Conflicts:
	src/conf.py
2012-12-18 18:38:33 +01:00
Daniel Folkinshteyn
620a90f4a7 core: make network.channels and channel keys private by default. Otherwise these can reveal secret information. 2012-12-18 18:37:11 +01:00
Daniel Folkinshteyn
f6209a90c2 String: cap maximum soundex length to 1024. 2012-12-17 06:30:04 +01:00
Valentin Lorentz
72bc227e1b registry: Fix Json unserialization. 2012-12-15 22:00:23 +01:00
Valentin Lorentz
cead634055 PluginDownloader: Fix tests. 2012-12-12 19:24:49 +01:00
Valentin Lorentz
f19eb060f3 ChannelStats: Fix tests. 2012-12-12 19:24:39 +01:00
Valentin Lorentz
943f3a0133 Web: Fix test for @title. 2012-12-12 19:24:23 +01:00
Valentin Lorentz
ad3f58efc2 Add the content of the new value of a config var, when it is not compatible with this config type. 2012-12-12 18:47:03 +01:00
Valentin Lorentz
d9f7e0e818 Add editable() method to registry.Json. 2012-12-08 21:13:54 +01:00
Valentin Lorentz
d8bd1f6f92 Add registry.Json. 2012-12-08 20:59:36 +01:00
Valentin Lorentz
3063340ce3 Channel: Make use of the context() method of registry.Value objects. 2012-12-08 20:05:53 +01:00
Valentin Lorentz
4e8c35dd0c Add context() method to registry.Value objects. Closes GH-430.
This method returns a context objet, for use with the 'with' statement.
2012-12-08 20:05:51 +01:00
Valentin Lorentz
69c60ca1f5 Remove debug output. 2012-12-08 05:16:00 +00:00
Valentin Lorentz
8cf094a628 Socket: Use select.select() instead of checking sockets one by one. Closes GH-431. Closes GH-420. 2012-12-07 21:41:50 +01:00
Valentin Lorentz
7d22d3dc36 Prevent NameError if ssl module can't be imported. 2012-12-07 01:48:05 +00:00
Valentin Lorentz
93586d71f4 Add support for extended banmasks. Closes GH-105. 2012-12-02 19:04:48 +01:00
Valentin Lorentz
650cbe548a Channel: Prevent @iban from adding wildcard when an exact banmask is given. 2012-12-02 18:50:41 +01:00
Valentin Lorentz
22febc4a20 Web: Fix encoding issues in title snarfing and @title. 2012-11-17 15:10:36 +00:00
Valentin Lorentz
28cdbaf021 Config: Fix previous commit. 2012-11-09 22:40:10 +00:00
Valentin Lorentz
216df3d472 Config: Rename @reset to @setdefault (reset is a method implemented by the core). 2012-11-09 22:32:01 +00:00
Valentin Lorentz
d9f2235aed callbacks.py: Fix error with commands like @echo "¡". 2012-11-07 19:20:26 +01:00
Valentin Lorentz
25855e5547 Fix crash when loading user with two nicks or more. 2012-11-07 19:00:41 +01:00
Valentin Lorentz
5de01bd222 Merge pull request #424 from Mkaysi/nickauth-l10n-fi
NickAuth: add messages.pot & l10n-fi.
2012-11-07 07:50:40 -08:00
Valentin Lorentz
4552eba9b3 Merge pull request #427 from Erika-Mustermann/testing
Added @reset command per request issue #163
2012-11-07 00:56:03 -08:00