Commit Graph

4969 Commits

Author SHA1 Message Date
Valentin Lorentz
ba9938b735 Fix Python 3 compatibility (broken by f5df6695c0). 2014-07-12 10:13:10 +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
Mikaela Suomalainen
8f0c07cdb4 Ctcp: fix README.md
* Fix quoting
* Remove prefix, quoting should tell that it's a bot command

[SKIP CI]
2014-07-10 23:07:35 +03:00
James McCoy
a629f51328 Anonymous: Move "say $nick" functionality to new tell command
Allowing Anonymous.say to send a message to either a nick or an
(implicit) channel through the use of first('nick', 'inChannel') changed
the behavior of the command by making it impossible for 'inChannel' to
take effect.

This meant that any previous users of the command that expected "say
some text" to send "some text" to the current channel would instead try
to send "text" to the user "some".  Depending on the value of
conf.plugins.Anonymous.allowPrivateTarget, this would result in either
an error or a strange message to a random user.

Creating a new tell command solves this issue as Anonymous.channel now
goes back to its simple 'inChannel' wrapper.

Signed-off-by: James McCoy <vega.james@gmail.com>
2014-07-09 21:03:26 -04:00
Valentin Lorentz
6c3d2dfcd2 Merge pull request #755 from Mkaysi/services
Services: default NickServ and ChanServ to NickServ and ChanServ.
2014-07-04 19:06:47 +02:00
Mikaela Suomalainen
c534e824f0 NickAuth: update l10n-fi & messages.pot .
[SKIP CI]
2014-06-30 14:23:23 +03:00
nyuszika7h
38b933aee9 NickAuth: fix previous commit
I'm too used to JavaScript.
2014-06-30 09:50:43 +02:00
nyuszika7h
8e97ad3707 NickAuth: fix error message in !list 2014-06-30 09:47:55 +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
8ec9f1b496 Fill README of some plugins. Closes GH-747. Closes GH-749. 2014-06-14 13:23:06 +02: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
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
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
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
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
fc81013be5 Mass rename README.txt --> README.md .
[SKIP CI]
2014-06-06 12:42:33 +02:00
Valentin Lorentz
7d716aa8f3 setup.py: Use UTC for version number. Closes GH-717. 2014-06-04 16:50:31 +02:00
Valentin Lorentz
47514f9f98 Merge pull request #713 from monodemono/testing
Fixed iban help text.
2014-06-02 16:25:36 +02:00
Mikaela Suomalainen
b3fc7da275 Channel: update messages.pot & l10n-fi. 2014-06-02 16:03:42 +03:00
monodemono
c42cb8b34d Fixed iban help text.
Removed redundant information, and slightly altered the grammar in certain parts.
2014-06-02 05:54:47 -07:00
Valentin Lorentz
76bc193455 Ctcp: Fix name-crash which made --nicks always interpreted as true. Closes GH-664. 2014-05-31 20:47:16 +02: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
fd2ecf0dec Revert "Relay: set NoticeNonPrivmsgs to True."
This reverts commit cc8f96eeac.
2014-05-31 17:55:44 +02:00
Mikaela Suomalainen
cc8f96eeac Relay: set NoticeNonPrivmsgs to True.
Please see https://github.com/TkTech/notifico/issues/79

* > There is a difference between a NOTICE to a channel and a NOTICE to a user, every client should be able to correctly display notices to a channel. ~~ @Dav1dde

* > They should, but they don't. ~~ @Mkaysi

* > That's besides the point. There are a lot of clients that do handle it properly, and if they don't then that's not notifico's fault, that's their own fault. ~~ @sckasturi
2014-05-31 17:45:41 +02:00
Mikaela Suomalainen
b5fd00b416 ChannelLogger: set FlushImmediately to True.
* This is default behaviour with ZNC and some other IRC related applications.
* Users are often confused when the logs don't appear.
* The logs will less likely get lost if they are written immediately.
* Gribble is doing this too (but not by default).
2014-05-31 18:28:26 +03:00
Mikaela Suomalainen
156cf62c56 Misc: update l10n-fi. 2014-05-31 15:12:22 +03:00
Mikaela Suomalainen
674192f2f0 RSS: update l10n-fi. 2014-05-31 15:10:50 +03:00
Valentin Lorentz
bd0a077482 RSS: Update l10n-fr. 2014-05-31 11:46:31 +02:00
Valentin Lorentz
b6498ba206 Merge pull request #626 from nyuszika7h/rss-announce-prefix
RSS: Change 'New news' to 'News' in announcements
2014-05-31 11:45:50 +02:00
Valentin Lorentz
9569eb22d8 Misc: Only write channel name, instead of prepending it with “channel”. 2014-05-29 18:46:09 +00:00
Valentin Lorentz
a430e3bce5 Misc: Internationalize two strings. 2014-05-29 18:11:38 +00:00
Valentin Lorentz
c66072ffc2 Misc: Improve code in previous merge. 2014-05-29 18:07:20 +00:00
Srijay Kasturi
b3bf19ffe7 Add invalid command was called in.
fixes #584
2014-05-29 12:32:13 -04:00
Valentin Lorentz
c799bb2931 Merge pull request #688 from Mkaysi/user.identify
Make user.whoami more clear to unidentified users.
2014-05-29 00:30:21 +02:00
Mikaela Suomalainen
a769b4f97a User: update messages.pot & l10n-fi. 2014-05-28 19:49:53 +03:00
Mikaela Suomalainen
c810a52afd User: fix #687 2014-05-28 19:47:31 +03:00
Mikaela Suomalainen
f486bdbdba fix previous commit 2014-05-28 18:34:41 +03:00
Mikaela Suomalainen
4d81a55241 Channel: fix test.py . 2014-05-28 12:59:43 +03:00
monodemono
996dd7bf74 Fixed a small oversight. 2014-05-25 13:42:59 -07:00
monodemono
c7b842fad2 Updated to reflect changes to default separator. 2014-05-25 13:26:57 -07:00
monodemono
4be7f6d6c2 Removed extra spaces & pipe from default separator 2014-05-25 13:22:07 -07:00
Valentin Lorentz
7b7b93eee6 Later & Topic: Fix tests to work with latest configuration changes. 2014-05-24 23:26:55 +02:00
Mikaela Suomalainen
bf536d5cd2 Topic: fix default format
The old format also included useless nick. I don't know anyone who has used the default meaning it and it annoys people and it just annoyed me.

> XX:XX:XX  -: blah blah blaa (Mikaela)
2014-05-23 18:05:19 +03:00
Mikaela Suomalainen
404fcbac37 Later: make default settings more sane
private: False
* If #653 gets done, notices are much more easier to lose.

tellOnJoin: False
* Many people are using bouncers or running their IRC clients on 24/7 up server, so in many cases joins don't tell anything on are people really present, so it's better to just wait for them to say something.
2014-05-22 12:48:42 +03:00
Valentin Lorentz
66d0a7acdd Network: Fix @whois to work with multiple 319 messages per whois. 2014-05-20 10:49:23 +00:00
Mikaela Suomalainen
f87052788e Aka: use better quotes for lastfm in README.md. 2014-05-19 12:27:07 +03:00
Mikaela Suomalainen
700d2c7d46 Aka: update README. Fixes #639 for those who read READMEs. 2014-05-19 12:20:55 +03:00
Valentin Lorentz
de41d6f89d Merge pull request #637 from GLolol/spellit-no-space
Filter: remove unneeded leading space from !spellit output
2014-05-17 12:54:29 +02:00
Valentin Lorentz
0888104e28 Filter: Make @uniud linear instead of quadratic. 2014-05-15 16:45:19 +00:00
GLolol
b78319ba2a Filter: remove leading space from !spellit output 2014-05-14 16:00:24 -07:00
Valentin Lorentz
5252f92e61 Relay: Set noticeNonPrivmsgs to False by default. 2014-05-12 11:26:01 +00:00
Mikaela Suomalainen
940b36fdf6 Relay: fix l10n-fi. 2014-05-11 18:33:51 +03:00
Mikaela Suomalainen
d01ab9968a Relay: update *.po 2014-05-11 17:50:58 +03:00
Mikaela Suomalainen
19a8bf556f Relay: fix typo (parts --> part). 2014-05-11 16:57:45 +03:00
Mikaela Suomalainen
4505060e04 README.txt: add note about joining manually on relayed networks. 2014-05-11 16:48:49 +03:00
Mikaela Suomalainen
e1a1a31e2d Relay: fix gender neutral pronoun & update messages.pot 2014-05-11 16:47:32 +03:00
Mikaela Suomalainen
44d74dbfa6 Relay: make default config better.
Enable colours: most of people want them and they are supported by
all IRC clients used nowadays.

Show hostmask: that is standard behaviour of relaybots which I am seeing.

Punish other relaybots: Does this even need explaining? "Let 2009-11-24 <http://echelog.com/logs/browse/supybot/1259017200> be a lesson to you: turn *on* supybot.plugins.Relay.punishOtherRelayBots."

Don't join on all networks: I think that people mostly want to relay
specific networks, not all of them. This is also a method to evade
limitation of LinkRelay ( ProgVal/Supybot-plugins#11 ).

Use notices with nonprivmsgs: This is also standard behaviour and makes
it easier to see the difference between PRIVMSGs and everything else.
2014-05-11 16:41:06 +03:00
nyuszika7h
e791090044 RSS: Update translation files 2014-05-10 23:48:00 +02:00
nyuszika7h
ace561cafa RSS: Change 'New news' to 'News' in announcements
'New news' sounds redundant, and the plugin is known for reannouncing
olf headlines anyway. ;)
2014-05-10 09:28:41 +02:00
Mikaela Suomalainen
623c8130ea fix previous commit 2014-05-09 22:37:17 +03:00
Mikaela Suomalainen
78596582d2 Channel: reply with Success to channel.alert. Fixes #544 . 2014-05-09 22:34:20 +03:00
Valentin Lorentz
94386a27ea Merge pull request #619 from Mkaysi/shrinkurl
ShrinkUrl: use x0 by default.
2014-05-09 15:43:29 +02: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
Mikaela Suomalainen
5b3443eeda ShrinkUrl: use x0 by default. Fixes #617.
x0 has the smallest working output. ur1 had the second smallest.
Their difference is one character.
2014-05-09 14:37:47 +03:00
Valentin Lorentz
0e5694e9c7 Filter: Prevent infinite loop in @binary on characters encoded on more than one byte.
counter ended up to begin negative, and then infinitely decreasing until memoryerror.
2014-05-08 19:57:35 +00:00
Mikaela Suomalainen
09613edb27 Aka: fix README.txt (alias add --> aka add). 2014-05-07 21:24:18 +03:00
Mikaela Suomalainen
e8b6097841 Topic: fix header in locales/fi.po 2014-05-07 19:29:50 +03:00
Mikaela Suomalainen
c8445b8df7 Topic: fix l10n-fi. 2014-05-07 19:28:02 +03:00
Mikaela Suomalainen
e6c66f50d2 Config: update l10n-fi. 2014-05-07 18:58:48 +03:00
Valentin Lorentz
39b30d515d Merge pull request #608 from GLolol/topic-use-halfop+
Topic: If channel is +t, require halfop+ to set topics instead of op.
2014-05-07 07:54:10 +02:00
GLolol
aff9713f81 Topic: I have no clue what i'm doing essentially (fix i18n) 2014-05-06 22:52:56 -07:00
GLolol
07b836f710 Topic: update error messages too
Thanks, Google Translate!
2014-05-06 22:47:26 -07:00
GLolol
ef607f62bc Topic: remove comment i made during testing 2014-05-06 22:16:22 -07:00
GLolol
b39412bf77 Topic: require Halfop+ instead of op 2014-05-06 22:11:43 -07:00
Mikaela Suomalainen
409975d643 Karma: make allowUnaddressedKarma True by default & update README. 2014-05-07 06:08:52 +03:00
Valentin Lorentz
6bdb06c719 Merge pull request #605 from Mkaysi/protector
Disable Protector by default. (Please read additional description!)
2014-05-03 15:45:17 +02:00
Mikaela Suomalainen
54a2cbdd98 Protector: disable by default.
We are mostly seeing questions on why does Protector do weird things which
 it does. They can be solved, by disabling Protector by default.

Another issue is that when Protector is loaded, it affects every channel
 where the bot is on. The users most probably want to protect specific
 channels in case all ops etc. aren't registered to the bot in all channels
 where the bot is.
2014-05-03 16:11:18 +03:00
Mikaela Suomalainen
e854a0de58 AutoMode: use more sane defaults.
Don't automode owner.
Fall though yes.
Auto-op no.
Auto-hop no.
Auto-voice no.
2014-05-03 16:02:04 +03:00
Rico Dittrich
37ac14e747 fix ProgVal/Limnoria#522 2014-05-02 21:36:03 +02:00
Valentin Lorentz
e7169e9143 Unix: Fix @wtf. 2014-05-02 17:32:19 +00:00
Mikaela Suomalainen
030c77f637 Unix: allow wtf to tell that it doesn't know something. Fixes ProgVal/Limnoria#256 . 2014-04-27 14:22:16 +03:00
Valentin Lorentz
5f306a8c74 Fix neutral pronouns. 2014-04-11 21:56:42 +00:00