Commit Graph

10409 Commits

Author SHA1 Message Date
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
607e5e0a68 Merge pull request #758 from Mkaysi/desymlink
Revert #714 & #657 && close #757
2014-06-26 09:49:58 +02:00
Mikaela Suomalainen
afdc8815f2 Revert "Merge pull request #657 from Mkaysi/links"
This reverts commit 497df2c14f, reversing
changes made to 21f75b8237.
2014-06-26 10:09:05 +03:00
Mikaela Suomalainen
f4714638ad Revert "Add manual pages for Limnoria* commands as we already have the commands."
This reverts commit d8cd749a86.
2014-06-26 10:07:08 +03:00
Valentin Lorentz
402b80cd01 Delete messages.pot 2014-06-24 19:18:06 +00:00
James McCoy
27ffff7ad6 release: Remove reference to freshmeat^Wfreecode
freecode.com, nee freshmeat.net, is now a completely static site.  Since
it is no longer allowing updates, no need to worry about pushing
information about Supybot releases to it.

Signed-off-by: James McCoy <vega.james@gmail.com>
2014-06-22 22:36:16 -04:00
Valentin Lorentz
1a2f720857 Merge pull request #754 from Mkaysi/patch-1
RSS: make more sense to default config
2014-06-20 22:52:07 +02:00
Mikaela Suomalainen
2caade8f7c RSS: make more sense to default config
* Change default separator to `|` as used by Topic plugin.
* Show links with manual calling and automatic announcement.
    * In most of cases we want to know where does new RSS feed title point to...
2014-06-20 22:09:30 +03: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
00c1c62346 Merge pull request #753 from Mkaysi/patch-1
INSTALL.md: add installing requirements under pip.
2014-06-18 20:35:14 +02:00
Mikaela Suomalainen
f1ebccb9f1 INSTALL: install requirements with pip before Limnoria itself.
[SKIP CI]
2014-06-18 21:31:19 +03:00
Mikaela Suomalainen
f9e8be5d0c INSTALL.md: add installing requirements under pip.
It seems that pip ignores `requirements.txt` unless it's installed separately.
2014-06-18 21:24:50 +03: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
8ec9f1b496 Fill README of some plugins. Closes GH-747. Closes GH-749. 2014-06-14 13:23:06 +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
f5df6695c0 Alias: Restore recursion limit and limit memory use
The (faulty) detection of recursive Aliases was removed in
a656fd0693, claiming that "our nesting
limit will catch issues now."  However, nested Aliases weren't actually
increasing the nesting level.

Actually increasing the nesting level when an alias is executed restores
the intended behavior.  Additionally, limiting the size of the
expanded arguments to an alias prevents exponential growth of memory
usage for certain malicious inputs/aliases.

Signed-off-by: James McCoy <vega.james@gmail.com>
2014-06-09 23:48:41 -04: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
bc7b9c62a0 Scheduler: fix quoting & add plugins in README.md.
[SKIP CI]
2014-06-08 16:59:42 +02:00
Mikaela Suomalainen
91caae2e08 Relay: fix quoting & mention cmdall in README.md
[SKIP CI]
2014-06-08 16:59:42 +02:00
Mikaela Suomalainen
91fcd704ce RSS: fix quoting & mention onetoone in README.md.
[SKIP CI]
2014-06-08 16:59:42 +02:00
Mikaela Suomalainen
decaa09fd6 Praise: fix quoting in README.md.
[SKIP CI]
2014-06-08 16:59:42 +02:00
Mikaela Suomalainen
6eb504325f Nickometer: fix quoting in README.md.
[SKIP CI]
2014-06-08 16:59:42 +02:00
Mikaela Suomalainen
c0b9e06d5c NickAuth: fix quoting and wording in README.md.
[SKIP CI]
2014-06-08 16:59:42 +02:00
Mikaela Suomalainen
4b630e8229 MoobotFactoids: fix quoting in README.md.
[SKIP CI]
2014-06-08 16:59:42 +02:00
Mikaela Suomalainen
64acf863f0 Limiter: fix quoting in README.md. 2014-06-08 16:59:42 +02:00
Mikaela Suomalainen
aa73cbbd9e Later: fix topics and quoting in README.md.
Also updated to reflect our default settings.

[SKIP CI]
2014-06-08 16:59:42 +02:00
Mikaela Suomalainen
cebce8c56e Lart: fix README.md.
[SKIP CI]
2014-06-08 16:59:42 +02:00
Mikaela Suomalainen
4d6c7ab39e Karma: fix quoting in README.md and one mistake.
* plugins.karma.allowunaddressedkarma doesn't mean that the bot must be addressed by nick. It must be addressed, but that can also happen with prefix.

[SKIP CI]
2014-06-08 17:10:28 +03:00
Mikaela Suomalainen
b6085d60bc Ctcp: Mention channel mode +C in README. 2014-06-08 16:46:05 +03:00
Valentin Lorentz
8e48abbcdf Merge pull request #729 from Mkaysi/core-l10n-fi
core: update messages.pot & l10n-fi.
2014-06-08 13:03:20 +02:00
Mikaela Suomalainen
0a31dd18cf AutoMode: update README.md.
[SKIP CI]
2014-06-08 13:54:09 +03:00
Mikaela Suomalainen
f44cc389a9 Anonymous: add another example & add notice about...
...this plugin not meant for identifying even if it's possible and tell
how the identifying should happen.
2014-06-08 13:37:59 +03:00
Mikaela Suomalainen
56f8d54583 Alias: improve formatting of README.md. 2014-06-08 13:19:58 +03:00
Valentin Lorentz
2ea9e7187f Time & User & Web: Fix metadata of translation files. 2014-06-08 12:16:52 +02:00
Mikaela Suomalainen
5d6a2f009b I am Mikaela.
And I thought this was already made clear to Limnoria, but seems that it
wasn't. because the wrong name appears in translations that I don't
remember touching.

[SKIP CI]
2014-06-08 13:07:36 +03:00
Mikaela Suomalainen
c500517fcf Factoids: update l10n-fi & messages.pot. 2014-06-07 23:26:08 +02:00
Mikaela Suomalainen
cc5887f685 locales/fi.po: update header.
[SKIP CI]
2014-06-07 22:35:01 +03:00
Mikaela Suomalainen
9a2b8b2dc8 core: update messages.pot & l10n-fi. 2014-06-07 22:33:27 +03:00
Mikaela Suomalainen
1a93246e4e .travis.yml: add check_trans for core too. 2014-06-07 21:55:10 +03:00
Mikaela Suomalainen
d4a6434190 Factoids: fix tests. 2014-06-06 23:12:40 +03:00
Mikaela Suomalainen
52e1ffcc50 Factoids: make more sense with default config.
* Default separator to `is`.
    * It's more used than `as`.
    * Help text updated too.
* Default value as `$value`. Like with Topic plugin, the `$key could be`
is just annoyance which users are very likely to disable anyway.
2014-06-06 22:52:09 +03: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
Mikaela Suomalainen
37d8a545e9 Services: default NickServ and ChanServ to NickServ and ChanServ.
* Most of networks have services with this name.
    * I can only name QuakeNet from those that don't, but the default
    configuration exludes it.
* If this plugin is loaded in Supybot-wizard, it asks for nicknames of
NickServ and ChanServ.

[SKIP CI] because this is `git commit --amend` and the build already
passed.
2014-06-06 14:19:34 +03:00
Mikaela Suomalainen
7ffff22c6f .gitignore: add README.txt .
[SKIP CI]
2014-06-06 12:42:33 +02:00
Mikaela Suomalainen
fc81013be5 Mass rename README.txt --> README.md .
[SKIP CI]
2014-06-06 12:42:33 +02:00
Mikaela Suomalainen
94feaa5faf scripts/supybot-plugin-create: Fix #721 .
* README template is now cut to two lines for easier reading in non-word
wrapping text editors on normal terminal size.
* README is now saved as `README.md` instead of `README.txt`.
2014-06-06 11:37:13 +03:00
nyuszika7h
fa06f2af34 Add protocols.irc.certfile
Fixes #612.
2014-06-04 19:12:56 +02:00