Valentin Lorentz
af24192b0f
Allow utils.str.timestamp to take a struct_time as argument.
2014-07-31 18:44:00 +02:00
Valentin Lorentz
c51876b4d6
Allow TruncatableSet to get no argument.
2014-07-31 18:43:40 +02:00
Valentin Lorentz
94fbea6266
Add utils.structures.TruncatableSet.
2014-07-31 14:24:47 +02:00
nyuszika7h
32e3be3dac
src/irclib.py: remove some errors
2014-07-26 11:52:34 +02:00
Valentin Lorentz
39dad55b6f
Make renaming of commands persistant. Closes GH-789.
2014-07-18 20:43:24 +02:00
Valentin Lorentz
ab011a6618
ShrinkUrl & core: Fix encoding issue related to getUrlFd.
2014-07-16 05:42:46 +00:00
nyuszika7h
8e11dc8b28
Use gender-neutral pronouns everywhere
2014-07-13 17:23:11 +02:00
Valentin Lorentz
6f19088724
Merge remote-tracking branch 'supybot/master' into testing
...
Conflicts:
.gitignore
plugins/Alias/plugin.py
plugins/Anonymous/plugin.py
plugins/Anonymous/test.py
setup.py
src/callbacks.py
2014-07-12 09:48:27 +02:00
Valentin Lorentz
da4a1c1a32
80 columns.
2014-07-09 07:50:32 +02:00
Mikaela Suomalainen
20f8c5c56a
src/conf.py reword help text for supybot.user
...
and supybot.networks.<network>.user
2014-07-09 07:50:32 +02:00
James McCoy
3d993a0cab
callbacks: Properly handle nested command errors
...
Using Raise=True was only papering over the real problem in the nested
command error handling. The actual issue is that we were trying to
return an IrcMsg from NestedCommandsIrcProxy.__init__. Dropping
Raise=True and moving return to its own line is the correct fix and
resolves the test failure in testMaximumNestingDepth.
This commit reverts 7838cae3bc
Signed-off-by: James McCoy <vega.james@gmail.com>
2014-06-29 19:12:22 -04:00
Valentin Lorentz
aad0f0c88c
i18n: Don't strip spaces at the end of translated strings. Closes GH-750.
2014-06-19 10:28:08 +00:00
Valentin Lorentz
9e74175566
schedule: Move the whole deletion of an event in the same critical section.
2014-06-17 21:19:07 +02:00
Valentin Lorentz
ddc37a7f4a
Revert "Make supybot.reply.oneToOne not always true on channels."
...
This reverts commit 5881c97120
.
2014-06-11 11:13:01 +00:00
James McCoy
7838cae3bc
callbacks: Use Raise=True for nested limit errors
...
Signed-off-by: James McCoy <vega.james@gmail.com>
2014-06-09 23:44:25 -04:00
Mikaela Suomalainen
1762b8090a
fix 2f723e809d
2014-06-09 20:41:04 +03:00
Mikaela Suomalainen
6d3198c2b3
src/conf.py: update help for drivers.module
...
This wording was suggested by @nyuszika7h .
2014-06-09 20:38:45 +03:00
Valentin Lorentz
a138722d73
src/log.py: Display warning instead of raising exception if there is no space left on defice (infinite loop…).
2014-06-09 16:41:58 +00:00
Mikaela Suomalainen
ea0ba24e5c
src/conf.py: reword the config help for reply.oneToOne
.
...
Suggested by @monodemono on `#supybot`.
**Comments wanted:** does this rewording make sense? If it doesn't, how
could it be better?
2014-06-06 20:57:08 +03:00
nyuszika7h
fa06f2af34
Add protocols.irc.certfile
...
Fixes #612 .
2014-06-04 19:12:56 +02:00
venth
76599db944
questions.yn: Perform string, not identity, comparison against 'y'
...
The `is` operator performs object identity comparison. Changing to `==`
implements the expected behavior.
Use the mock library to add tests verifying the API of questions.yn.
2014-06-01 22:52:58 -04:00
Valentin Lorentz
b14ed2c5d9
Config: Prevent variable creation when trying to get the value of a channel-specific variable for a non-channel.
2014-05-31 20:44:56 +02:00
Valentin Lorentz
303c00db1e
Fix previous commit.
2014-05-31 15:23:27 +02:00
Valentin Lorentz
bd638ce350
i18n: Cleaner code and potential bug fix of multi-line translations.
2014-05-31 14:56:28 +02:00
Valentin Lorentz
483e786cde
i18n: Fix internationalization of command help.
2014-05-31 14:53:15 +02:00
Mikaela Suomalainen
8ee273b949
src/conf.py: use ISO 8601 in reply.format.time.
...
If I read the code for Time correctly, it uses this value by default. I
think that this fixes #701 .
2014-05-31 09:46:29 +03:00
Valentin Lorentz
5881c97120
Make supybot.reply.oneToOne not always true on channels.
2014-05-30 17:03:12 +00:00
Valentin Lorentz
8787239f0a
Merge pull request #675 from Mkaysi/html5
...
src/httpserver.py: use HTML5.
2014-05-29 23:28:59 +02:00
Mikaela Suomalainen
85a943c5b1
src/conf.py: fix gender-neutral pronouns.
2014-05-29 18:51:52 +03:00
Mikaela Suomalainen
0f89e12f4d
src/conf.py: set default banmask to host.
...
`*!user@host` is very easy to evade as most of users don't have identd server. This makes bans a little more difficult to evade.
See also:
* weechat/weechat#18
* ProgVal/Limnoria#689
2014-05-28 12:45:07 +03:00
Mikaela Suomalainen
3e9ccf2cdf
src/conf.py: Plugin isn't important plugin
...
See https://github.com/ProgVal/Limnoria/pull/677#issuecomment-44134309 & https://github.com/ProgVal/Limnoria/pull/677#issuecomment-44140276 .
2014-05-25 20:33:33 +03:00
Mikaela Suomalainen
cedae0244c
src/httpserver.py: use HTML5.
2014-05-25 13:50:39 +03:00
nyuszika7h
100ff648be
src/irclib.py: Further improvements to SASL and a few other minor things
2014-05-24 17:25:32 +02:00
nyuszika7h
414249c9ac
src/irclib.py: Delay sending SASL authstring until given green light
...
That means wait until receiving 'AUTHENTICATE +' from the server, which
means the mechanism is supported and we can proceed to send the
authstring.
It generally works anyway, but it's better to follow the standards, plus
old versions of elemental-ircd may crash if we don't do this.
2014-05-24 15:57:27 +02:00
Valentin Lorentz
d5d3171794
Merge pull request #656 from Mkaysi/patch-3
...
src/conf.py: fix #653
2014-05-22 22:10:13 +02:00
Mikaela Suomalainen
fb26c772fc
src/test.py: fix typo
...
standart --> standard
2014-05-22 13:54:25 +03:00
Mikaela Suomalainen
44c579c4f9
src/conf.py: fix #653
...
```
4.4.2 Notice
Command: NOTICE
Parameters: <nickname> <text>
The NOTICE message is used similarly to PRIVMSG. The difference
between NOTICE and PRIVMSG is that automatic replies must never be
sent in response to a NOTICE message. This rule applies to servers
too - they must not send any error reply back to the client on
receipt of a notice. The object of this rule is to avoid loops
between a client automatically sending something in response to
something it received. This is typically used by automatons (clients
with either an AI or other interactive program controlling their
actions) which are always seen to be replying lest they end up in a
loop with another automaton.
See PRIVMSG for more details on replies and examples.
```
2014-05-22 12:55:43 +03:00
Valentin Lorentz
adc1b94f81
Merge pull request #622 from ncoevoet/master
...
Fixes ProgVal/Limnoria#611
2014-05-09 15:42:49 +02:00
Nicolas Coevoet
f9afcffb3a
Fixes ProgVal/Limnoria#611
2014-05-09 14:39:57 +02:00
Valentin Lorentz
9d084e2e70
Allow network-specific username and ident. Closes GH-589.
2014-05-08 08:33:01 +00:00
Valentin Lorentz
9210aa1a33
utils.web.getUrl: add the 'timeout' argument (and fix the doc of getUrlFd).
2014-04-26 12:43:45 +00:00
Valentin Lorentz
5461785ee2
cdb: Remove debug output.
2014-04-19 10:18:34 +02:00
Valentin Lorentz
28536f0528
Fix utils.gen.safeEval to work with instances of ast.NameConstant (introduced in Pythn 3.4).
2014-04-19 10:17:14 +02:00
Valentin Lorentz
65aed8f7ed
Fix previous commit.
2014-04-18 07:16:02 +00:00
Valentin Lorentz
cab4cb5059
Copy the reply_env when copying an IrcMsg object.
2014-04-18 07:08:14 +00:00
Valentin Lorentz
30cc4804eb
Add 'reply_env' attribute to IrcMsg.
2014-04-18 06:53:52 +00:00
Valentin Lorentz
90a1208e9e
httpserver: Fix crash if supybot.servers.http.favicon has not been set.
2014-04-15 18:39:44 +00:00
Valentin Lorentz
5f306a8c74
Fix neutral pronouns.
2014-04-11 21:56:42 +00:00
nyuszika7h
822e6449f9
irclib: Add support for additional SASL numerics
2014-04-10 15:03:20 +02:00
nyuszika7h
6be8204805
irclib: Remove some useless SASL debug messages
2014-04-10 14:57:20 +02:00